From 7ef02adf42c03dbfa4c024ae599e42397f47cedf Mon Sep 17 00:00:00 2001 From: Isaac Lee <16869656+ijlee2@users.noreply.github.com> Date: Thu, 11 Jul 2024 07:29:10 +0200 Subject: [PATCH] Corrected latest version for @codemod-utils/ast-template (#121) * bugfix: Corrected latest version for @codemod-utils/ast-template * chore: Updated fixtures * chore: Added changeset --------- Co-authored-by: ijlee2 --- .changeset/friendly-monkeys-sniff.md | 5 +++++ packages/cli/src/utils/blueprints/get-version.ts | 2 +- .../output/ember-codemod-args-to-signature/package.json | 2 +- .../output/ember-codemod-args-to-signature/package.json | 2 +- .../output/ember-codemod-args-to-signature/package.json | 2 +- .../output/ember-codemod-args-to-signature/package.json | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .changeset/friendly-monkeys-sniff.md diff --git a/.changeset/friendly-monkeys-sniff.md b/.changeset/friendly-monkeys-sniff.md new file mode 100644 index 00000000..33944d05 --- /dev/null +++ b/.changeset/friendly-monkeys-sniff.md @@ -0,0 +1,5 @@ +--- +"@codemod-utils/cli": patch +--- + +Corrected latest version for @codemod-utils/ast-template diff --git a/packages/cli/src/utils/blueprints/get-version.ts b/packages/cli/src/utils/blueprints/get-version.ts index 70a381e0..8aa3f020 100644 --- a/packages/cli/src/utils/blueprints/get-version.ts +++ b/packages/cli/src/utils/blueprints/get-version.ts @@ -6,7 +6,7 @@ const latestVersions = new Map([ ['@changesets/cli', '2.27.5'], ['@changesets/get-github-info', '0.6.0'], ['@codemod-utils/ast-javascript', '1.2.6'], - ['@codemod-utils/ast-template', '1.1.3'], + ['@codemod-utils/ast-template', '1.1.2'], ['@codemod-utils/blueprints', '1.1.3'], ['@codemod-utils/ember-cli-string', '1.1.2'], ['@codemod-utils/files', '2.0.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 412f7128..2867d9f3 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 @@ -32,7 +32,7 @@ }, "dependencies": { "@codemod-utils/ast-javascript": "^1.2.6", - "@codemod-utils/ast-template": "^1.1.3", + "@codemod-utils/ast-template": "^1.1.2", "@codemod-utils/blueprints": "^1.1.3", "@codemod-utils/ember-cli-string": "^1.1.2", "@codemod-utils/files": "^2.0.2", 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 412f7128..2867d9f3 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 @@ -32,7 +32,7 @@ }, "dependencies": { "@codemod-utils/ast-javascript": "^1.2.6", - "@codemod-utils/ast-template": "^1.1.3", + "@codemod-utils/ast-template": "^1.1.2", "@codemod-utils/blueprints": "^1.1.3", "@codemod-utils/ember-cli-string": "^1.1.2", "@codemod-utils/files": "^2.0.2", 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 d988773e..1405d00e 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 @@ -34,7 +34,7 @@ }, "dependencies": { "@codemod-utils/ast-javascript": "^1.2.6", - "@codemod-utils/ast-template": "^1.1.3", + "@codemod-utils/ast-template": "^1.1.2", "@codemod-utils/blueprints": "^1.1.3", "@codemod-utils/ember-cli-string": "^1.1.2", "@codemod-utils/files": "^2.0.2", 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 d988773e..1405d00e 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 @@ -34,7 +34,7 @@ }, "dependencies": { "@codemod-utils/ast-javascript": "^1.2.6", - "@codemod-utils/ast-template": "^1.1.3", + "@codemod-utils/ast-template": "^1.1.2", "@codemod-utils/blueprints": "^1.1.3", "@codemod-utils/ember-cli-string": "^1.1.2", "@codemod-utils/files": "^2.0.2",