From 28ed3cfe8077496e725f043802075f062d644f55 Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Mon, 2 Dec 2024 15:20:37 +0100 Subject: [PATCH 1/3] chore: Updated latestVersions --- .../cli/src/utils/blueprints/get-version.ts | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/packages/cli/src/utils/blueprints/get-version.ts b/packages/cli/src/utils/blueprints/get-version.ts index 975353c1..b44eeb2f 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.25.2'], - ['@babel/eslint-parser', '7.25.1'], - ['@changesets/cli', '2.27.8'], + ['@babel/core', '7.26.0'], + ['@babel/eslint-parser', '7.25.9'], + ['@changesets/cli', '2.27.10'], ['@changesets/get-github-info', '0.6.0'], - ['@codemod-utils/ast-javascript', '1.2.8'], - ['@codemod-utils/ast-template', '1.1.4'], - ['@codemod-utils/blueprints', '1.1.5'], - ['@codemod-utils/ember', '2.0.0'], - ['@codemod-utils/files', '2.0.4'], - ['@codemod-utils/json', '1.1.9'], - ['@codemod-utils/tests', '1.1.7'], + ['@codemod-utils/ast-javascript', '1.2.9'], + ['@codemod-utils/ast-template', '1.1.5'], + ['@codemod-utils/blueprints', '1.1.6'], + ['@codemod-utils/ember', '2.0.1'], + ['@codemod-utils/files', '2.0.5'], + ['@codemod-utils/json', '1.1.10'], + ['@codemod-utils/tests', '1.1.8'], ['@sondr3/minitest', '0.1.2'], ['@tsconfig/node18', '18.2.4'], ['@tsconfig/strictest', '2.0.5'], - ['@types/node', '18.19.50'], + ['@types/node', '18.19.67'], ['@types/yargs', '17.0.33'], - ['@typescript-eslint/eslint-plugin', '8.4.0'], - ['@typescript-eslint/parser', '8.4.0'], - ['concurrently', '9.0.0'], - ['eslint', '8.57.0'], + ['@typescript-eslint/eslint-plugin', '8.16.0'], + ['@typescript-eslint/parser', '8.16.0'], + ['concurrently', '9.1.0'], + ['eslint', '8.57.1'], ['eslint-config-prettier', '9.1.0'], ['eslint-import-resolver-typescript', '3.6.3'], - ['eslint-plugin-import', '2.30.0'], - ['eslint-plugin-n', '17.10.2'], + ['eslint-plugin-import', '2.31.0'], + ['eslint-plugin-n', '17.14.0'], ['eslint-plugin-prettier', '5.2.1'], ['eslint-plugin-simple-import-sort', '12.1.1'], - ['eslint-plugin-typescript-sort-keys', '3.2.0'], - ['prettier', '3.3.3'], - ['typescript', '5.5.4'], + ['eslint-plugin-typescript-sort-keys', '3.3.0'], + ['prettier', '3.4.1'], + ['typescript', '5.7.2'], ['yargs', '17.7.2'], ]); From 52cc92147dd8683a1c84cec2a3f64d1176f47b61 Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Mon, 2 Dec 2024 15:22:10 +0100 Subject: [PATCH 2/3] chore: Updated fixtures --- .../package.json | 30 +++++++------- .../ember-codemod-pod-to-octane/package.json | 20 +++++----- .../package.json | 40 +++++++++---------- .../ember-codemod-pod-to-octane/package.json | 30 +++++++------- 4 files changed, 60 insertions(+), 60 deletions(-) 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 426d0d5d..821f147a 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.8", - "@codemod-utils/ast-template": "^1.1.4", - "@codemod-utils/blueprints": "^1.1.5", - "@codemod-utils/ember": "^2.0.0", - "@codemod-utils/files": "^2.0.4", - "@codemod-utils/json": "^1.1.9", + "@codemod-utils/ast-javascript": "^1.2.9", + "@codemod-utils/ast-template": "^1.1.5", + "@codemod-utils/blueprints": "^1.1.6", + "@codemod-utils/ember": "^2.0.1", + "@codemod-utils/files": "^2.0.5", + "@codemod-utils/json": "^1.1.10", "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@changesets/cli": "^2.27.8", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "^7.25.9", + "@changesets/cli": "^2.27.10", "@changesets/get-github-info": "^0.6.0", - "@codemod-utils/tests": "^1.1.7", + "@codemod-utils/tests": "^1.1.8", "@sondr3/minitest": "^0.1.2", - "concurrently": "^9.0.0", - "eslint": "^8.57.0", + "concurrently": "^9.1.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.30.0", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.14.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-simple-import-sort": "^12.1.1", - "prettier": "^3.3.3" + "prettier": "^3.4.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 33684f6c..6a7ca28b 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 @@ -31,24 +31,24 @@ "test": "mt tests --quiet" }, "dependencies": { - "@codemod-utils/files": "^2.0.4", + "@codemod-utils/files": "^2.0.5", "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@changesets/cli": "^2.27.8", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "^7.25.9", + "@changesets/cli": "^2.27.10", "@changesets/get-github-info": "^0.6.0", - "@codemod-utils/tests": "^1.1.7", + "@codemod-utils/tests": "^1.1.8", "@sondr3/minitest": "^0.1.2", - "concurrently": "^9.0.0", - "eslint": "^8.57.0", + "concurrently": "^9.1.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.30.0", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.14.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-simple-import-sort": "^12.1.1", - "prettier": "^3.3.3" + "prettier": "^3.4.1" }, "engines": { "node": "18.* || >= 20" 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 26ee76ed..d537498b 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.8", - "@codemod-utils/ast-template": "^1.1.4", - "@codemod-utils/blueprints": "^1.1.5", - "@codemod-utils/ember": "^2.0.0", - "@codemod-utils/files": "^2.0.4", - "@codemod-utils/json": "^1.1.9", + "@codemod-utils/ast-javascript": "^1.2.9", + "@codemod-utils/ast-template": "^1.1.5", + "@codemod-utils/blueprints": "^1.1.6", + "@codemod-utils/ember": "^2.0.1", + "@codemod-utils/files": "^2.0.5", + "@codemod-utils/json": "^1.1.10", "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@changesets/cli": "^2.27.8", + "@babel/core": "^7.26.0", + "@changesets/cli": "^2.27.10", "@changesets/get-github-info": "^0.6.0", - "@codemod-utils/tests": "^1.1.7", + "@codemod-utils/tests": "^1.1.8", "@sondr3/minitest": "^0.1.2", "@tsconfig/node18": "^18.2.4", "@tsconfig/strictest": "^2.0.5", - "@types/node": "^18.19.50", + "@types/node": "^18.19.67", "@types/yargs": "^17.0.33", - "@typescript-eslint/eslint-plugin": "^8.4.0", - "@typescript-eslint/parser": "^8.4.0", - "concurrently": "^9.0.0", - "eslint": "^8.57.0", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "@typescript-eslint/parser": "^8.16.0", + "concurrently": "^9.1.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.3", - "eslint-plugin-import": "^2.30.0", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.14.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-simple-import-sort": "^12.1.1", - "eslint-plugin-typescript-sort-keys": "^3.2.0", - "prettier": "^3.3.3", - "typescript": "^5.5.4" + "eslint-plugin-typescript-sort-keys": "^3.3.0", + "prettier": "^3.4.1", + "typescript": "^5.7.2" }, "engines": { "node": "18.* || >= 20" }, "pnpm": { "overrides": { - "eslint-plugin-import@2.30.0>tsconfig-paths": "^4.2.0" + "eslint-plugin-import@2.31.0>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 2e8f0a8c..5688755b 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 @@ -33,39 +33,39 @@ "test": "./build.sh --test && mt dist-for-testing --quiet" }, "dependencies": { - "@codemod-utils/files": "^2.0.4", + "@codemod-utils/files": "^2.0.5", "yargs": "^17.7.2" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@changesets/cli": "^2.27.8", + "@babel/core": "^7.26.0", + "@changesets/cli": "^2.27.10", "@changesets/get-github-info": "^0.6.0", - "@codemod-utils/tests": "^1.1.7", + "@codemod-utils/tests": "^1.1.8", "@sondr3/minitest": "^0.1.2", "@tsconfig/node18": "^18.2.4", "@tsconfig/strictest": "^2.0.5", - "@types/node": "^18.19.50", + "@types/node": "^18.19.67", "@types/yargs": "^17.0.33", - "@typescript-eslint/eslint-plugin": "^8.4.0", - "@typescript-eslint/parser": "^8.4.0", - "concurrently": "^9.0.0", - "eslint": "^8.57.0", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "@typescript-eslint/parser": "^8.16.0", + "concurrently": "^9.1.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.3", - "eslint-plugin-import": "^2.30.0", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.14.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-simple-import-sort": "^12.1.1", - "eslint-plugin-typescript-sort-keys": "^3.2.0", - "prettier": "^3.3.3", - "typescript": "^5.5.4" + "eslint-plugin-typescript-sort-keys": "^3.3.0", + "prettier": "^3.4.1", + "typescript": "^5.7.2" }, "engines": { "node": "18.* || >= 20" }, "pnpm": { "overrides": { - "eslint-plugin-import@2.30.0>tsconfig-paths": "^4.2.0" + "eslint-plugin-import@2.31.0>tsconfig-paths": "^4.2.0" } } } From 67df1c362df91ce471f03af2ca24663c928f70e3 Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Mon, 2 Dec 2024 15:22:26 +0100 Subject: [PATCH 3/3] chore: Added changeset --- .changeset/cold-elephants-argue.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cold-elephants-argue.md diff --git a/.changeset/cold-elephants-argue.md b/.changeset/cold-elephants-argue.md new file mode 100644 index 00000000..9ecaca54 --- /dev/null +++ b/.changeset/cold-elephants-argue.md @@ -0,0 +1,5 @@ +--- +"@codemod-utils/cli": patch +--- + +Updated latestVersions