diff --git a/.changeset/chilly-dolls-sparkle.md b/.changeset/chilly-dolls-sparkle.md new file mode 100644 index 00000000..9ecaca54 --- /dev/null +++ b/.changeset/chilly-dolls-sparkle.md @@ -0,0 +1,5 @@ +--- +"@codemod-utils/cli": patch +--- + +Updated latestVersions diff --git a/packages/cli/src/utils/blueprints/get-version.ts b/packages/cli/src/utils/blueprints/get-version.ts index adadd700..814e4996 100644 --- a/packages/cli/src/utils/blueprints/get-version.ts +++ b/packages/cli/src/utils/blueprints/get-version.ts @@ -1,35 +1,35 @@ import { decideVersion } from '@codemod-utils/blueprints'; const latestVersions = new Map([ - ['@babel/core', '7.23.3'], + ['@babel/core', '7.23.6'], ['@babel/eslint-parser', '7.23.3'], - ['@changesets/cli', '2.26.2'], - ['@changesets/get-github-info', '0.5.2'], - ['@codemod-utils/ast-javascript', '1.2.1'], + ['@changesets/cli', '2.27.1'], + ['@changesets/get-github-info', '0.6.0'], + ['@codemod-utils/ast-javascript', '1.2.2'], ['@codemod-utils/ast-template', '1.1.0'], ['@codemod-utils/blueprints', '1.1.0'], ['@codemod-utils/ember-cli-string', '1.1.0'], ['@codemod-utils/files', '1.1.0'], - ['@codemod-utils/json', '1.1.2'], + ['@codemod-utils/json', '1.1.3'], ['@codemod-utils/tests', '1.1.1'], ['@sondr3/minitest', '0.1.2'], ['@tsconfig/node18', '18.2.2'], ['@tsconfig/strictest', '2.0.2'], - ['@types/node', '18.18.13'], + ['@types/node', '18.19.3'], ['@types/yargs', '17.0.32'], - ['@typescript-eslint/eslint-plugin', '6.12.0'], - ['@typescript-eslint/parser', '6.12.0'], + ['@typescript-eslint/eslint-plugin', '6.14.0'], + ['@typescript-eslint/parser', '6.14.0'], ['concurrently', '8.2.2'], - ['eslint', '8.54.0'], - ['eslint-config-prettier', '9.0.0'], + ['eslint', '8.56.0'], + ['eslint-config-prettier', '9.1.0'], ['eslint-import-resolver-typescript', '3.6.1'], - ['eslint-plugin-import', '2.29.0'], - ['eslint-plugin-n', '16.3.1'], + ['eslint-plugin-import', '2.29.1'], + ['eslint-plugin-n', '16.4.0'], ['eslint-plugin-prettier', '5.0.1'], ['eslint-plugin-simple-import-sort', '10.0.0'], ['eslint-plugin-typescript-sort-keys', '3.1.0'], - ['prettier', '3.1.0'], - ['typescript', '5.3.2'], + ['prettier', '3.1.1'], + ['typescript', '5.3.3'], ['yargs', '17.7.2'], ]); diff --git a/packages/cli/tests/fixtures/javascript-with-addons/output/ember-codemod-args-to-signature/package.json b/packages/cli/tests/fixtures/javascript-with-addons/output/ember-codemod-args-to-signature/package.json index 6c4ed936..c1e3f16e 100644 --- a/packages/cli/tests/fixtures/javascript-with-addons/output/ember-codemod-args-to-signature/package.json +++ b/packages/cli/tests/fixtures/javascript-with-addons/output/ember-codemod-args-to-signature/package.json @@ -31,29 +31,29 @@ "test": "mt tests --quiet" }, "dependencies": { - "@codemod-utils/ast-javascript": "^1.2.1", + "@codemod-utils/ast-javascript": "^1.2.2", "@codemod-utils/ast-template": "^1.1.0", "@codemod-utils/blueprints": "^1.1.0", "@codemod-utils/ember-cli-string": "^1.1.0", "@codemod-utils/files": "^1.1.0", - "@codemod-utils/json": "^1.1.2", + "@codemod-utils/json": "^1.1.3", "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.23.3", + "@babel/core": "^7.23.6", "@babel/eslint-parser": "^7.23.3", - "@changesets/cli": "^2.26.2", - "@changesets/get-github-info": "^0.5.2", + "@changesets/cli": "^2.27.1", + "@changesets/get-github-info": "^0.6.0", "@codemod-utils/tests": "^1.1.1", "@sondr3/minitest": "^0.1.2", "concurrently": "^8.2.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.4.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", - "prettier": "^3.1.0" + "prettier": "^3.1.1" }, "engines": { "node": "18.* || >= 20" diff --git a/packages/cli/tests/fixtures/javascript/output/ember-codemod-pod-to-octane/package.json b/packages/cli/tests/fixtures/javascript/output/ember-codemod-pod-to-octane/package.json index ae1bc06a..be6f5db1 100644 --- a/packages/cli/tests/fixtures/javascript/output/ember-codemod-pod-to-octane/package.json +++ b/packages/cli/tests/fixtures/javascript/output/ember-codemod-pod-to-octane/package.json @@ -35,20 +35,20 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.23.3", + "@babel/core": "^7.23.6", "@babel/eslint-parser": "^7.23.3", - "@changesets/cli": "^2.26.2", - "@changesets/get-github-info": "^0.5.2", + "@changesets/cli": "^2.27.1", + "@changesets/get-github-info": "^0.6.0", "@codemod-utils/tests": "^1.1.1", "@sondr3/minitest": "^0.1.2", "concurrently": "^8.2.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.4.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", - "prettier": "^3.1.0" + "prettier": "^3.1.1" }, "engines": { "node": "18.* || >= 20" diff --git a/packages/cli/tests/fixtures/steps/update-package-json/javascript-with-addons/output/ember-codemod-args-to-signature/package.json b/packages/cli/tests/fixtures/steps/update-package-json/javascript-with-addons/output/ember-codemod-args-to-signature/package.json index 6c4ed936..c1e3f16e 100644 --- a/packages/cli/tests/fixtures/steps/update-package-json/javascript-with-addons/output/ember-codemod-args-to-signature/package.json +++ b/packages/cli/tests/fixtures/steps/update-package-json/javascript-with-addons/output/ember-codemod-args-to-signature/package.json @@ -31,29 +31,29 @@ "test": "mt tests --quiet" }, "dependencies": { - "@codemod-utils/ast-javascript": "^1.2.1", + "@codemod-utils/ast-javascript": "^1.2.2", "@codemod-utils/ast-template": "^1.1.0", "@codemod-utils/blueprints": "^1.1.0", "@codemod-utils/ember-cli-string": "^1.1.0", "@codemod-utils/files": "^1.1.0", - "@codemod-utils/json": "^1.1.2", + "@codemod-utils/json": "^1.1.3", "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.23.3", + "@babel/core": "^7.23.6", "@babel/eslint-parser": "^7.23.3", - "@changesets/cli": "^2.26.2", - "@changesets/get-github-info": "^0.5.2", + "@changesets/cli": "^2.27.1", + "@changesets/get-github-info": "^0.6.0", "@codemod-utils/tests": "^1.1.1", "@sondr3/minitest": "^0.1.2", "concurrently": "^8.2.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.4.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", - "prettier": "^3.1.0" + "prettier": "^3.1.1" }, "engines": { "node": "18.* || >= 20" diff --git a/packages/cli/tests/fixtures/steps/update-package-json/javascript/output/ember-codemod-pod-to-octane/package.json b/packages/cli/tests/fixtures/steps/update-package-json/javascript/output/ember-codemod-pod-to-octane/package.json index ae1bc06a..be6f5db1 100644 --- a/packages/cli/tests/fixtures/steps/update-package-json/javascript/output/ember-codemod-pod-to-octane/package.json +++ b/packages/cli/tests/fixtures/steps/update-package-json/javascript/output/ember-codemod-pod-to-octane/package.json @@ -35,20 +35,20 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.23.3", + "@babel/core": "^7.23.6", "@babel/eslint-parser": "^7.23.3", - "@changesets/cli": "^2.26.2", - "@changesets/get-github-info": "^0.5.2", + "@changesets/cli": "^2.27.1", + "@changesets/get-github-info": "^0.6.0", "@codemod-utils/tests": "^1.1.1", "@sondr3/minitest": "^0.1.2", "concurrently": "^8.2.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.4.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", - "prettier": "^3.1.0" + "prettier": "^3.1.1" }, "engines": { "node": "18.* || >= 20" diff --git a/packages/cli/tests/fixtures/steps/update-package-json/typescript-with-addons/output/ember-codemod-args-to-signature/package.json b/packages/cli/tests/fixtures/steps/update-package-json/typescript-with-addons/output/ember-codemod-args-to-signature/package.json index 31d5b796..65fa0c0a 100644 --- a/packages/cli/tests/fixtures/steps/update-package-json/typescript-with-addons/output/ember-codemod-args-to-signature/package.json +++ b/packages/cli/tests/fixtures/steps/update-package-json/typescript-with-addons/output/ember-codemod-args-to-signature/package.json @@ -33,44 +33,44 @@ "test": "./build.sh --test && mt dist-for-testing --quiet" }, "dependencies": { - "@codemod-utils/ast-javascript": "^1.2.1", + "@codemod-utils/ast-javascript": "^1.2.2", "@codemod-utils/ast-template": "^1.1.0", "@codemod-utils/blueprints": "^1.1.0", "@codemod-utils/ember-cli-string": "^1.1.0", "@codemod-utils/files": "^1.1.0", - "@codemod-utils/json": "^1.1.2", + "@codemod-utils/json": "^1.1.3", "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.23.3", - "@changesets/cli": "^2.26.2", - "@changesets/get-github-info": "^0.5.2", + "@babel/core": "^7.23.6", + "@changesets/cli": "^2.27.1", + "@changesets/get-github-info": "^0.6.0", "@codemod-utils/tests": "^1.1.1", "@sondr3/minitest": "^0.1.2", "@tsconfig/node18": "^18.2.2", "@tsconfig/strictest": "^2.0.2", - "@types/node": "^18.18.13", + "@types/node": "^18.19.3", "@types/yargs": "^17.0.32", - "@typescript-eslint/eslint-plugin": "^6.12.0", - "@typescript-eslint/parser": "^6.12.0", + "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/parser": "^6.14.0", "concurrently": "^8.2.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.4.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-typescript-sort-keys": "^3.1.0", - "prettier": "^3.1.0", - "typescript": "^5.3.2" + "prettier": "^3.1.1", + "typescript": "^5.3.3" }, "engines": { "node": "18.* || >= 20" }, "pnpm": { "overrides": { - "eslint-plugin-import@2.29.0>tsconfig-paths": "^4.2.0" + "eslint-plugin-import@2.29.1>tsconfig-paths": "^4.2.0" } } } diff --git a/packages/cli/tests/fixtures/steps/update-package-json/typescript/output/ember-codemod-pod-to-octane/package.json b/packages/cli/tests/fixtures/steps/update-package-json/typescript/output/ember-codemod-pod-to-octane/package.json index e5a520dd..3523d728 100644 --- a/packages/cli/tests/fixtures/steps/update-package-json/typescript/output/ember-codemod-pod-to-octane/package.json +++ b/packages/cli/tests/fixtures/steps/update-package-json/typescript/output/ember-codemod-pod-to-octane/package.json @@ -37,35 +37,35 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.23.3", - "@changesets/cli": "^2.26.2", - "@changesets/get-github-info": "^0.5.2", + "@babel/core": "^7.23.6", + "@changesets/cli": "^2.27.1", + "@changesets/get-github-info": "^0.6.0", "@codemod-utils/tests": "^1.1.1", "@sondr3/minitest": "^0.1.2", "@tsconfig/node18": "^18.2.2", "@tsconfig/strictest": "^2.0.2", - "@types/node": "^18.18.13", + "@types/node": "^18.19.3", "@types/yargs": "^17.0.32", - "@typescript-eslint/eslint-plugin": "^6.12.0", - "@typescript-eslint/parser": "^6.12.0", + "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/parser": "^6.14.0", "concurrently": "^8.2.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.4.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-typescript-sort-keys": "^3.1.0", - "prettier": "^3.1.0", - "typescript": "^5.3.2" + "prettier": "^3.1.1", + "typescript": "^5.3.3" }, "engines": { "node": "18.* || >= 20" }, "pnpm": { "overrides": { - "eslint-plugin-import@2.29.0>tsconfig-paths": "^4.2.0" + "eslint-plugin-import@2.29.1>tsconfig-paths": "^4.2.0" } } } diff --git a/packages/cli/tests/fixtures/typescript-with-addons/output/ember-codemod-args-to-signature/package.json b/packages/cli/tests/fixtures/typescript-with-addons/output/ember-codemod-args-to-signature/package.json index 31d5b796..65fa0c0a 100644 --- a/packages/cli/tests/fixtures/typescript-with-addons/output/ember-codemod-args-to-signature/package.json +++ b/packages/cli/tests/fixtures/typescript-with-addons/output/ember-codemod-args-to-signature/package.json @@ -33,44 +33,44 @@ "test": "./build.sh --test && mt dist-for-testing --quiet" }, "dependencies": { - "@codemod-utils/ast-javascript": "^1.2.1", + "@codemod-utils/ast-javascript": "^1.2.2", "@codemod-utils/ast-template": "^1.1.0", "@codemod-utils/blueprints": "^1.1.0", "@codemod-utils/ember-cli-string": "^1.1.0", "@codemod-utils/files": "^1.1.0", - "@codemod-utils/json": "^1.1.2", + "@codemod-utils/json": "^1.1.3", "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.23.3", - "@changesets/cli": "^2.26.2", - "@changesets/get-github-info": "^0.5.2", + "@babel/core": "^7.23.6", + "@changesets/cli": "^2.27.1", + "@changesets/get-github-info": "^0.6.0", "@codemod-utils/tests": "^1.1.1", "@sondr3/minitest": "^0.1.2", "@tsconfig/node18": "^18.2.2", "@tsconfig/strictest": "^2.0.2", - "@types/node": "^18.18.13", + "@types/node": "^18.19.3", "@types/yargs": "^17.0.32", - "@typescript-eslint/eslint-plugin": "^6.12.0", - "@typescript-eslint/parser": "^6.12.0", + "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/parser": "^6.14.0", "concurrently": "^8.2.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.4.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-typescript-sort-keys": "^3.1.0", - "prettier": "^3.1.0", - "typescript": "^5.3.2" + "prettier": "^3.1.1", + "typescript": "^5.3.3" }, "engines": { "node": "18.* || >= 20" }, "pnpm": { "overrides": { - "eslint-plugin-import@2.29.0>tsconfig-paths": "^4.2.0" + "eslint-plugin-import@2.29.1>tsconfig-paths": "^4.2.0" } } } diff --git a/packages/cli/tests/fixtures/typescript/output/ember-codemod-pod-to-octane/package.json b/packages/cli/tests/fixtures/typescript/output/ember-codemod-pod-to-octane/package.json index e5a520dd..3523d728 100644 --- a/packages/cli/tests/fixtures/typescript/output/ember-codemod-pod-to-octane/package.json +++ b/packages/cli/tests/fixtures/typescript/output/ember-codemod-pod-to-octane/package.json @@ -37,35 +37,35 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.23.3", - "@changesets/cli": "^2.26.2", - "@changesets/get-github-info": "^0.5.2", + "@babel/core": "^7.23.6", + "@changesets/cli": "^2.27.1", + "@changesets/get-github-info": "^0.6.0", "@codemod-utils/tests": "^1.1.1", "@sondr3/minitest": "^0.1.2", "@tsconfig/node18": "^18.2.2", "@tsconfig/strictest": "^2.0.2", - "@types/node": "^18.18.13", + "@types/node": "^18.19.3", "@types/yargs": "^17.0.32", - "@typescript-eslint/eslint-plugin": "^6.12.0", - "@typescript-eslint/parser": "^6.12.0", + "@typescript-eslint/eslint-plugin": "^6.14.0", + "@typescript-eslint/parser": "^6.14.0", "concurrently": "^8.2.2", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.1", - "eslint-plugin-import": "^2.29.0", - "eslint-plugin-n": "^16.3.1", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.4.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-typescript-sort-keys": "^3.1.0", - "prettier": "^3.1.0", - "typescript": "^5.3.2" + "prettier": "^3.1.1", + "typescript": "^5.3.3" }, "engines": { "node": "18.* || >= 20" }, "pnpm": { "overrides": { - "eslint-plugin-import@2.29.0>tsconfig-paths": "^4.2.0" + "eslint-plugin-import@2.29.1>tsconfig-paths": "^4.2.0" } } }