diff --git a/files/__addonLocation__/package.json b/files/__addonLocation__/package.json index 2be9a7fd..fd3b2bbd 100644 --- a/files/__addonLocation__/package.json +++ b/files/__addonLocation__/package.json @@ -70,17 +70,16 @@ "@types/ember__template": "^4.0.7", "@types/ember__test": "^4.0.6", "@types/ember__utils": "^4.0.7", - "@typescript-eslint/eslint-plugin": "^7.7.1", - "@typescript-eslint/parser": "^7.7.1",<% } %> + "@typescript-eslint/eslint-plugin": "^8.13.0", + "@typescript-eslint/parser": "^8.13.0",<% } %> "@rollup/plugin-babel": "^6.0.4", "babel-plugin-ember-template-compilation": "^2.2.5", "concurrently": "^9.0.1", "ember-source": "^5.4.0", - "ember-template-lint": "^6.0.0",<% if (packageManager === 'npm') { %> - "ember-eslint-parser": "^0.4.2", - <% } %>"eslint": "^8.56.0", + "ember-template-lint": "^6.0.0", + "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-ember": "^12.2.1", + "eslint-plugin-ember": "^12.3.1", "eslint-plugin-import": "^2.30.0", "eslint-plugin-n": "^17.10.3", "eslint-plugin-prettier": "^5.2.1", diff --git a/files/__addonLocation__/src/template-registry.ts b/files/__addonLocation__/src/template-registry.ts index 0758d890..7e1a8b04 100644 --- a/files/__addonLocation__/src/template-registry.ts +++ b/files/__addonLocation__/src/template-registry.ts @@ -4,8 +4,7 @@ // import type MyComponent from './components/my-component'; -// Remove this once entries have been added! 👇 -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export default interface Registry { - // MyComponent: typeof MyComponent -} +// Uncomment this once entries have been added! 👇 +// export default interface Registry { +// MyComponent: typeof MyComponent +// } diff --git a/files/__addonLocation__/unpublished-development-types/index.d.ts b/files/__addonLocation__/unpublished-development-types/index.d.ts index 17935511..45276a70 100644 --- a/files/__addonLocation__/unpublished-development-types/index.d.ts +++ b/files/__addonLocation__/unpublished-development-types/index.d.ts @@ -4,11 +4,11 @@ import '@glint/environment-ember-loose'; import '@glint/environment-ember-template-imports'; -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 +// } +// }