diff --git a/src/blueprints/ember-addon/__addonLocation__/tsconfig.json b/src/blueprints/ember-addon/__addonLocation__/tsconfig.json index 48d8242e..ac13aad0 100644 --- a/src/blueprints/ember-addon/__addonLocation__/tsconfig.json +++ b/src/blueprints/ember-addon/__addonLocation__/tsconfig.json @@ -15,7 +15,8 @@ ]<% if (options.packages.addon.hasGlint) { %>, "glint": { "environment": [ - "ember-loose" + "ember-loose", + "ember-template-imports" ] }<% } %> } diff --git a/src/blueprints/ember-addon/__addonLocation__/unpublished-development-types/index.d.ts b/src/blueprints/ember-addon/__addonLocation__/unpublished-development-types/index.d.ts index 72ab4637..c1556bce 100644 --- a/src/blueprints/ember-addon/__addonLocation__/unpublished-development-types/index.d.ts +++ b/src/blueprints/ember-addon/__addonLocation__/unpublished-development-types/index.d.ts @@ -2,13 +2,15 @@ // These will *not* be published as part of your addon, so be careful that your published code does not rely on them! <% if (options.packages.addon.hasGlint) { %> import '@glint/environment-ember-loose'; +import '@glint/environment-ember-template-imports'; +import 'ember-source/types'; -declare module '@glint/environment-ember-loose/registry' { - // Remove this once entries have been added! 👇 - // eslint-disable-next-line @typescript-eslint/no-empty-interface - export default interface Registry { - // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) - // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons - } -} +// Uncomment if you need to support consuming projects in loose mode +// +// declare module '@glint/environment-ember-loose/registry' { +// export default interface Registry { +// // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) +// // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons +// } +// } <% } %> \ No newline at end of file diff --git a/src/steps/update-addon-package-json/update-dev-dependencies.ts b/src/steps/update-addon-package-json/update-dev-dependencies.ts index 71b30887..f2315544 100644 --- a/src/steps/update-addon-package-json/update-dev-dependencies.ts +++ b/src/steps/update-addon-package-json/update-dev-dependencies.ts @@ -41,9 +41,6 @@ export function updateDevDependencies( packagesToInstall.delete('@babel/eslint-parser'); packagesToInstall.add('@babel/plugin-transform-typescript'); packagesToInstall.add('@tsconfig/ember'); - packagesToInstall.add('@types/ember__component'); - packagesToInstall.add('@types/ember__object'); - packagesToInstall.add('@types/ember__service'); packagesToInstall.add('@typescript-eslint/eslint-plugin'); packagesToInstall.add('@typescript-eslint/parser'); packagesToInstall.add('typescript'); @@ -52,7 +49,9 @@ export function updateDevDependencies( if (packages.addon.hasGlint) { packagesToInstall.add('@glint/core'); packagesToInstall.add('@glint/environment-ember-loose'); + packagesToInstall.add('@glint/environment-ember-template-imports'); packagesToInstall.add('@glint/template'); + packagesToInstall.add('ember-source'); } Array.from(packagesToInstall).forEach((packageName) => { diff --git a/src/utils/blueprints/get-version.ts b/src/utils/blueprints/get-version.ts index 7671678f..405b3831 100644 --- a/src/utils/blueprints/get-version.ts +++ b/src/utils/blueprints/get-version.ts @@ -3,40 +3,39 @@ import { decideVersion } from '@codemod-utils/blueprints'; import type { Options } from '../../types/index.js'; const latestVersions = new Map([ - ['@babel/core', '7.25.2'], - ['@babel/eslint-parser', '7.25.1'], - ['@babel/plugin-transform-typescript', '7.25.2'], - ['@babel/runtime', '7.25.0'], - ['@embroider/addon-dev', '5.0.0'], - ['@embroider/addon-shim', '1.8.9'], + ['@babel/core', '7.26.0'], + ['@babel/eslint-parser', '7.25.9'], + ['@babel/plugin-transform-typescript', '7.26.3'], + ['@babel/runtime', '7.26.0'], + ['@embroider/addon-dev', '7.1.1'], + ['@embroider/addon-shim', '1.9.0'], ['@embroider/test-setup', '4.0.0'], - ['@glint/core', '1.4.0'], - ['@glint/environment-ember-loose', '1.4.0'], - ['@glint/template', '1.4.0'], + ['@glint/core', '1.5.0'], + ['@glint/environment-ember-loose', '1.5.0'], + ['@glint/environment-ember-template-imports', '1.5.0'], + ['@glint/template', '1.5.0'], ['@rollup/plugin-babel', '6.0.4'], ['@tsconfig/ember', '3.0.8'], - ['@types/ember__component', '4.0.22'], - ['@types/ember__object', '4.0.12'], - ['@types/ember__service', '4.0.9'], - ['@typescript-eslint/eslint-plugin', '8.1.0'], - ['@typescript-eslint/parser', '8.1.0'], - ['babel-plugin-ember-template-compilation', '2.2.5'], - ['concurrently', '8.2.2'], - ['decorator-transforms', '2.0.0'], - ['ember-auto-import', '2.7.4'], - ['ember-cli-babel', '8.1.0'], + ['@typescript-eslint/eslint-plugin', '8.18.2'], + ['@typescript-eslint/parser', '8.18.2'], + ['babel-plugin-ember-template-compilation', '2.3.0'], + ['concurrently', '9.1.0'], + ['decorator-transforms', '2.3.0'], + ['ember-auto-import', '2.10.0'], + ['ember-cli-babel', '8.2.0'], ['ember-cli-htmlbars', '6.3.0'], + ['ember-source', '6.1.0'], ['ember-template-lint', '6.0.0'], - ['eslint', '8.57.0'], + ['eslint', '8.57.1'], ['eslint-config-prettier', '9.1.0'], - ['eslint-plugin-ember', '12.1.1'], - ['eslint-plugin-import', '2.29.1'], - ['eslint-plugin-n', '17.10.2'], + ['eslint-plugin-ember', '12.3.3'], + ['eslint-plugin-import', '2.31.0'], + ['eslint-plugin-n', '17.15.1'], ['eslint-plugin-prettier', '5.2.1'], - ['prettier', '3.3.3'], - ['rollup', '4.20.0'], + ['prettier', '3.4.2'], + ['rollup', '4.29.1'], ['rollup-plugin-copy', '3.5.0'], - ['typescript', '5.5.4'], + ['typescript', '5.7.2'], ]); export function getLatestVersion(packageName: string): string { diff --git a/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/package.json b/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/package.json index dfd480bb..06b07988 100644 --- a/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/package.json @@ -51,41 +51,40 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", - "@glint/core": "^1.4.0", - "@glint/environment-ember-loose": "^1.4.0", - "@glint/template": "^1.4.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", + "@glint/core": "^1.5.0", + "@glint/environment-ember-loose": "^1.5.0", + "@glint/environment-ember-template-imports": "^1.5.0", + "@glint/template": "^1.5.0", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", + "ember-source": "^6.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/tsconfig.json b/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/tsconfig.json index 91f8ea3f..d6c89f58 100644 --- a/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/tsconfig.json +++ b/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/tsconfig.json @@ -15,7 +15,8 @@ ], "glint": { "environment": [ - "ember-loose" + "ember-loose", + "ember-template-imports" ] } } diff --git a/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/unpublished-development-types/index.d.ts b/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/unpublished-development-types/index.d.ts index b7d610a3..179d359d 100644 --- a/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/unpublished-development-types/index.d.ts +++ b/tests/fixtures/ember-container-query-customizations/output/packages/ember-container-query/unpublished-development-types/index.d.ts @@ -2,12 +2,14 @@ // These will *not* be published as part of your addon, so be careful that your published code does not rely on them! import '@glint/environment-ember-loose'; +import '@glint/environment-ember-template-imports'; +import 'ember-source/types'; -declare module '@glint/environment-ember-loose/registry' { - // Remove this once entries have been added! 👇 - // eslint-disable-next-line @typescript-eslint/no-empty-interface - export default interface Registry { - // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) - // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons - } -} +// Uncomment if you need to support consuming projects in loose mode +// +// declare module '@glint/environment-ember-loose/registry' { +// export default interface Registry { +// // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) +// // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons +// } +// } diff --git a/tests/fixtures/ember-container-query-glint/output/ember-container-query/package.json b/tests/fixtures/ember-container-query-glint/output/ember-container-query/package.json index 5a9db4c2..0877c9a8 100644 --- a/tests/fixtures/ember-container-query-glint/output/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-glint/output/ember-container-query/package.json @@ -51,41 +51,40 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", - "@glint/core": "^1.4.0", - "@glint/environment-ember-loose": "^1.4.0", - "@glint/template": "^1.4.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", + "@glint/core": "^1.5.0", + "@glint/environment-ember-loose": "^1.5.0", + "@glint/environment-ember-template-imports": "^1.5.0", + "@glint/template": "^1.5.0", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", + "ember-source": "^6.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/ember-container-query-glint/output/ember-container-query/tsconfig.json b/tests/fixtures/ember-container-query-glint/output/ember-container-query/tsconfig.json index 91f8ea3f..d6c89f58 100644 --- a/tests/fixtures/ember-container-query-glint/output/ember-container-query/tsconfig.json +++ b/tests/fixtures/ember-container-query-glint/output/ember-container-query/tsconfig.json @@ -15,7 +15,8 @@ ], "glint": { "environment": [ - "ember-loose" + "ember-loose", + "ember-template-imports" ] } } diff --git a/tests/fixtures/ember-container-query-glint/output/ember-container-query/unpublished-development-types/index.d.ts b/tests/fixtures/ember-container-query-glint/output/ember-container-query/unpublished-development-types/index.d.ts index b7d610a3..179d359d 100644 --- a/tests/fixtures/ember-container-query-glint/output/ember-container-query/unpublished-development-types/index.d.ts +++ b/tests/fixtures/ember-container-query-glint/output/ember-container-query/unpublished-development-types/index.d.ts @@ -2,12 +2,14 @@ // These will *not* be published as part of your addon, so be careful that your published code does not rely on them! import '@glint/environment-ember-loose'; +import '@glint/environment-ember-template-imports'; +import 'ember-source/types'; -declare module '@glint/environment-ember-loose/registry' { - // Remove this once entries have been added! 👇 - // eslint-disable-next-line @typescript-eslint/no-empty-interface - export default interface Registry { - // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) - // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons - } -} +// Uncomment if you need to support consuming projects in loose mode +// +// declare module '@glint/environment-ember-loose/registry' { +// export default interface Registry { +// // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) +// // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons +// } +// } diff --git a/tests/fixtures/ember-container-query-javascript/output/ember-container-query/package.json b/tests/fixtures/ember-container-query-javascript/output/ember-container-query/package.json index 28fb4f94..39ca7e22 100644 --- a/tests/fixtures/ember-container-query-javascript/output/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-javascript/output/ember-container-query/package.json @@ -46,30 +46,30 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "^7.25.9", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0" }, "engines": { diff --git a/tests/fixtures/ember-container-query-scoped/output/ember-container-query/package.json b/tests/fixtures/ember-container-query-scoped/output/ember-container-query/package.json index 11f87afc..9d0c7240 100644 --- a/tests/fixtures/ember-container-query-scoped/output/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-scoped/output/ember-container-query/package.json @@ -51,41 +51,40 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", - "@glint/core": "^1.4.0", - "@glint/environment-ember-loose": "^1.4.0", - "@glint/template": "^1.4.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", + "@glint/core": "^1.5.0", + "@glint/environment-ember-loose": "^1.5.0", + "@glint/environment-ember-template-imports": "^1.5.0", + "@glint/template": "^1.5.0", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", + "ember-source": "^6.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/ember-container-query-scoped/output/ember-container-query/tsconfig.json b/tests/fixtures/ember-container-query-scoped/output/ember-container-query/tsconfig.json index 91f8ea3f..d6c89f58 100644 --- a/tests/fixtures/ember-container-query-scoped/output/ember-container-query/tsconfig.json +++ b/tests/fixtures/ember-container-query-scoped/output/ember-container-query/tsconfig.json @@ -15,7 +15,8 @@ ], "glint": { "environment": [ - "ember-loose" + "ember-loose", + "ember-template-imports" ] } } diff --git a/tests/fixtures/ember-container-query-scoped/output/ember-container-query/unpublished-development-types/index.d.ts b/tests/fixtures/ember-container-query-scoped/output/ember-container-query/unpublished-development-types/index.d.ts index b7d610a3..179d359d 100644 --- a/tests/fixtures/ember-container-query-scoped/output/ember-container-query/unpublished-development-types/index.d.ts +++ b/tests/fixtures/ember-container-query-scoped/output/ember-container-query/unpublished-development-types/index.d.ts @@ -2,12 +2,14 @@ // These will *not* be published as part of your addon, so be careful that your published code does not rely on them! import '@glint/environment-ember-loose'; +import '@glint/environment-ember-template-imports'; +import 'ember-source/types'; -declare module '@glint/environment-ember-loose/registry' { - // Remove this once entries have been added! 👇 - // eslint-disable-next-line @typescript-eslint/no-empty-interface - export default interface Registry { - // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) - // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons - } -} +// Uncomment if you need to support consuming projects in loose mode +// +// declare module '@glint/environment-ember-loose/registry' { +// export default interface Registry { +// // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) +// // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons +// } +// } diff --git a/tests/fixtures/ember-container-query-typescript/output/ember-container-query/package.json b/tests/fixtures/ember-container-query-typescript/output/ember-container-query/package.json index 428c10db..e497c891 100644 --- a/tests/fixtures/ember-container-query-typescript/output/ember-container-query/package.json +++ b/tests/fixtures/ember-container-query-typescript/output/ember-container-query/package.json @@ -51,38 +51,35 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/hello-world/output/hello-world/package.json b/tests/fixtures/hello-world/output/hello-world/package.json index af420143..40965781 100644 --- a/tests/fixtures/hello-world/output/hello-world/package.json +++ b/tests/fixtures/hello-world/output/hello-world/package.json @@ -30,34 +30,31 @@ "test": "echo 'A v2 addon does not have tests, run tests in test-app'" }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0" + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "peerDependencies": { "ember-source": "^3.28.0 || ^4.0.0" diff --git a/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/package.json index b068db09..a50de411 100644 --- a/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/package.json @@ -30,34 +30,31 @@ "test": "echo 'A v2 addon does not have tests, run tests in demo-app'" }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0" + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "peerDependencies": { "ember-source": "^3.28.0 || ^4.0.0" diff --git a/tests/fixtures/new-v1-addon-javascript/output/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-javascript/output/new-v1-addon/package.json index 4d43287e..b0ba449b 100644 --- a/tests/fixtures/new-v1-addon-javascript/output/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-javascript/output/new-v1-addon/package.json @@ -25,26 +25,26 @@ "test": "echo 'A v2 addon does not have tests, run tests in test-app'" }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0" + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "^7.25.9", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0" }, "peerDependencies": { diff --git a/tests/fixtures/new-v1-addon-npm/output/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-npm/output/new-v1-addon/package.json index bb447595..f2c53298 100644 --- a/tests/fixtures/new-v1-addon-npm/output/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-npm/output/new-v1-addon/package.json @@ -25,26 +25,26 @@ "test": "echo 'A v2 addon does not have tests, run tests in test-app'" }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0" + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "^7.25.9", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0" }, "peerDependencies": { diff --git a/tests/fixtures/new-v1-addon-pnpm/output/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-pnpm/output/new-v1-addon/package.json index 984047ed..8e005d53 100644 --- a/tests/fixtures/new-v1-addon-pnpm/output/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-pnpm/output/new-v1-addon/package.json @@ -25,26 +25,26 @@ "test": "echo 'A v2 addon does not have tests, run tests in test-app'" }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0" + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "^7.25.9", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0" }, "peerDependencies": { diff --git a/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/package.json b/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/package.json index 1b7bfdb6..5900596a 100644 --- a/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/package.json +++ b/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/package.json @@ -30,34 +30,31 @@ "test": "echo 'A v2 addon does not have tests, run tests in test-app'" }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0" + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "peerDependencies": { "ember-source": "^3.28.0 || ^4.0.0" diff --git a/tests/fixtures/steps/create-files-from-blueprints/customizations/output/packages/ember-container-query/tsconfig.json b/tests/fixtures/steps/create-files-from-blueprints/customizations/output/packages/ember-container-query/tsconfig.json index 91f8ea3f..d6c89f58 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/customizations/output/packages/ember-container-query/tsconfig.json +++ b/tests/fixtures/steps/create-files-from-blueprints/customizations/output/packages/ember-container-query/tsconfig.json @@ -15,7 +15,8 @@ ], "glint": { "environment": [ - "ember-loose" + "ember-loose", + "ember-template-imports" ] } } diff --git a/tests/fixtures/steps/create-files-from-blueprints/customizations/output/packages/ember-container-query/unpublished-development-types/index.d.ts b/tests/fixtures/steps/create-files-from-blueprints/customizations/output/packages/ember-container-query/unpublished-development-types/index.d.ts index b7d610a3..179d359d 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/customizations/output/packages/ember-container-query/unpublished-development-types/index.d.ts +++ b/tests/fixtures/steps/create-files-from-blueprints/customizations/output/packages/ember-container-query/unpublished-development-types/index.d.ts @@ -2,12 +2,14 @@ // These will *not* be published as part of your addon, so be careful that your published code does not rely on them! import '@glint/environment-ember-loose'; +import '@glint/environment-ember-template-imports'; +import 'ember-source/types'; -declare module '@glint/environment-ember-loose/registry' { - // Remove this once entries have been added! 👇 - // eslint-disable-next-line @typescript-eslint/no-empty-interface - export default interface Registry { - // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) - // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons - } -} +// Uncomment if you need to support consuming projects in loose mode +// +// declare module '@glint/environment-ember-loose/registry' { +// export default interface Registry { +// // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) +// // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons +// } +// } diff --git a/tests/fixtures/steps/create-files-from-blueprints/glint/output/ember-container-query/tsconfig.json b/tests/fixtures/steps/create-files-from-blueprints/glint/output/ember-container-query/tsconfig.json index 91f8ea3f..d6c89f58 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/glint/output/ember-container-query/tsconfig.json +++ b/tests/fixtures/steps/create-files-from-blueprints/glint/output/ember-container-query/tsconfig.json @@ -15,7 +15,8 @@ ], "glint": { "environment": [ - "ember-loose" + "ember-loose", + "ember-template-imports" ] } } diff --git a/tests/fixtures/steps/create-files-from-blueprints/glint/output/ember-container-query/unpublished-development-types/index.d.ts b/tests/fixtures/steps/create-files-from-blueprints/glint/output/ember-container-query/unpublished-development-types/index.d.ts index b7d610a3..179d359d 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/glint/output/ember-container-query/unpublished-development-types/index.d.ts +++ b/tests/fixtures/steps/create-files-from-blueprints/glint/output/ember-container-query/unpublished-development-types/index.d.ts @@ -2,12 +2,14 @@ // These will *not* be published as part of your addon, so be careful that your published code does not rely on them! import '@glint/environment-ember-loose'; +import '@glint/environment-ember-template-imports'; +import 'ember-source/types'; -declare module '@glint/environment-ember-loose/registry' { - // Remove this once entries have been added! 👇 - // eslint-disable-next-line @typescript-eslint/no-empty-interface - export default interface Registry { - // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) - // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons - } -} +// Uncomment if you need to support consuming projects in loose mode +// +// declare module '@glint/environment-ember-loose/registry' { +// export default interface Registry { +// // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) +// // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons +// } +// } diff --git a/tests/fixtures/steps/create-files-from-blueprints/scoped/output/ember-container-query/tsconfig.json b/tests/fixtures/steps/create-files-from-blueprints/scoped/output/ember-container-query/tsconfig.json index 91f8ea3f..d6c89f58 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/scoped/output/ember-container-query/tsconfig.json +++ b/tests/fixtures/steps/create-files-from-blueprints/scoped/output/ember-container-query/tsconfig.json @@ -15,7 +15,8 @@ ], "glint": { "environment": [ - "ember-loose" + "ember-loose", + "ember-template-imports" ] } } diff --git a/tests/fixtures/steps/create-files-from-blueprints/scoped/output/ember-container-query/unpublished-development-types/index.d.ts b/tests/fixtures/steps/create-files-from-blueprints/scoped/output/ember-container-query/unpublished-development-types/index.d.ts index b7d610a3..179d359d 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/scoped/output/ember-container-query/unpublished-development-types/index.d.ts +++ b/tests/fixtures/steps/create-files-from-blueprints/scoped/output/ember-container-query/unpublished-development-types/index.d.ts @@ -2,12 +2,14 @@ // These will *not* be published as part of your addon, so be careful that your published code does not rely on them! import '@glint/environment-ember-loose'; +import '@glint/environment-ember-template-imports'; +import 'ember-source/types'; -declare module '@glint/environment-ember-loose/registry' { - // Remove this once entries have been added! 👇 - // eslint-disable-next-line @typescript-eslint/no-empty-interface - export default interface Registry { - // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) - // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons - } -} +// Uncomment if you need to support consuming projects in loose mode +// +// declare module '@glint/environment-ember-loose/registry' { +// export default interface Registry { +// // Add any registry entries from other addons here that your addon itself uses (in non-strict mode templates) +// // See https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons +// } +// } diff --git a/tests/fixtures/steps/update-addon-package-json/blueprints/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/blueprints/output/ember-container-query/package.json index dd6fe167..eb16466e 100644 --- a/tests/fixtures/steps/update-addon-package-json/blueprints/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/blueprints/output/ember-container-query/package.json @@ -51,38 +51,35 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/steps/update-addon-package-json/customizations/output/packages/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/customizations/output/packages/ember-container-query/package.json index dfd480bb..06b07988 100644 --- a/tests/fixtures/steps/update-addon-package-json/customizations/output/packages/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/customizations/output/packages/ember-container-query/package.json @@ -51,41 +51,40 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", - "@glint/core": "^1.4.0", - "@glint/environment-ember-loose": "^1.4.0", - "@glint/template": "^1.4.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", + "@glint/core": "^1.5.0", + "@glint/environment-ember-loose": "^1.5.0", + "@glint/environment-ember-template-imports": "^1.5.0", + "@glint/template": "^1.5.0", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", + "ember-source": "^6.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/steps/update-addon-package-json/glint/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/glint/output/ember-container-query/package.json index 5a9db4c2..0877c9a8 100644 --- a/tests/fixtures/steps/update-addon-package-json/glint/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/glint/output/ember-container-query/package.json @@ -51,41 +51,40 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", - "@glint/core": "^1.4.0", - "@glint/environment-ember-loose": "^1.4.0", - "@glint/template": "^1.4.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", + "@glint/core": "^1.5.0", + "@glint/environment-ember-loose": "^1.5.0", + "@glint/environment-ember-template-imports": "^1.5.0", + "@glint/template": "^1.5.0", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", + "ember-source": "^6.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/steps/update-addon-package-json/javascript/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/javascript/output/ember-container-query/package.json index 28fb4f94..39ca7e22 100644 --- a/tests/fixtures/steps/update-addon-package-json/javascript/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/javascript/output/ember-container-query/package.json @@ -46,30 +46,30 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "^7.25.9", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0" }, "engines": { diff --git a/tests/fixtures/steps/update-addon-package-json/public-assets/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/public-assets/output/ember-container-query/package.json index ac02aef9..2fec7efa 100644 --- a/tests/fixtures/steps/update-addon-package-json/public-assets/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/public-assets/output/ember-container-query/package.json @@ -51,38 +51,35 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/steps/update-addon-package-json/scoped/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/scoped/output/ember-container-query/package.json index 11f87afc..9d0c7240 100644 --- a/tests/fixtures/steps/update-addon-package-json/scoped/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/scoped/output/ember-container-query/package.json @@ -51,41 +51,40 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", - "@glint/core": "^1.4.0", - "@glint/environment-ember-loose": "^1.4.0", - "@glint/template": "^1.4.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", + "@glint/core": "^1.5.0", + "@glint/environment-ember-loose": "^1.5.0", + "@glint/environment-ember-template-imports": "^1.5.0", + "@glint/template": "^1.5.0", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", + "ember-source": "^6.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/fixtures/steps/update-addon-package-json/typescript/output/ember-container-query/package.json b/tests/fixtures/steps/update-addon-package-json/typescript/output/ember-container-query/package.json index 428c10db..e497c891 100644 --- a/tests/fixtures/steps/update-addon-package-json/typescript/output/ember-container-query/package.json +++ b/tests/fixtures/steps/update-addon-package-json/typescript/output/ember-container-query/package.json @@ -51,38 +51,35 @@ } }, "dependencies": { - "@embroider/addon-shim": "^1.8.9", - "decorator-transforms": "^2.0.0", + "@embroider/addon-shim": "^1.9.0", + "decorator-transforms": "^2.3.0", "ember-element-helper": "^0.6.1", "ember-modifier": "^3.2.7", "ember-resize-observer-service": "^1.1.0", "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/plugin-transform-typescript": "^7.25.2", - "@babel/runtime": "^7.25.0", - "@embroider/addon-dev": "^5.0.0", + "@babel/core": "^7.26.0", + "@babel/plugin-transform-typescript": "^7.26.3", + "@babel/runtime": "^7.26.0", + "@embroider/addon-dev": "^7.1.1", "@rollup/plugin-babel": "^6.0.4", "@tsconfig/ember": "^3.0.8", - "@types/ember__component": "^4.0.22", - "@types/ember__object": "^4.0.12", - "@types/ember__service": "^4.0.9", - "@typescript-eslint/eslint-plugin": "^8.1.0", - "@typescript-eslint/parser": "^8.1.0", - "babel-plugin-ember-template-compilation": "^2.2.5", - "concurrently": "^8.2.2", + "@typescript-eslint/eslint-plugin": "^8.18.2", + "@typescript-eslint/parser": "^8.18.2", + "babel-plugin-ember-template-compilation": "^2.3.0", + "concurrently": "^9.1.0", "ember-template-lint": "^6.0.0", - "eslint": "^8.57.0", + "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.1.1", - "eslint-plugin-import": "^2.29.1", - "eslint-plugin-n": "^17.10.2", + "eslint-plugin-ember": "^12.3.3", + "eslint-plugin-import": "^2.31.0", + "eslint-plugin-n": "^17.15.1", "eslint-plugin-prettier": "^5.2.1", - "prettier": "^3.3.3", - "rollup": "^4.20.0", + "prettier": "^3.4.2", + "rollup": "^4.29.1", "rollup-plugin-copy": "^3.5.0", - "typescript": "^5.5.4" + "typescript": "^5.7.2" }, "engines": { "node": "14.* || 16.* || >= 18" diff --git a/tests/utils/blueprints/get-version.test.ts b/tests/utils/blueprints/get-version.test.ts index 308f3117..d6020d30 100644 --- a/tests/utils/blueprints/get-version.test.ts +++ b/tests/utils/blueprints/get-version.test.ts @@ -4,6 +4,6 @@ import { getLatestVersion, getVersion } from '../../../src/utils/blueprints.js'; import { options } from '../../helpers/shared-test-setups/typescript.js'; test('utils | blueprints | get-version', function () { - assert.strictEqual(getLatestVersion('prettier'), '^3.3.3'); + assert.strictEqual(getLatestVersion('prettier'), '^3.4.2'); assert.strictEqual(getVersion('prettier', options), '^2.8.1'); });