diff --git a/files/__addonLocation__/package.json b/files/__addonLocation__/package.json index cd95fcb4..b1ba6be2 100644 --- a/files/__addonLocation__/package.json +++ b/files/__addonLocation__/package.json @@ -30,7 +30,7 @@ }, "devDependencies": { "@babel/core": "^7.17.0", - <% if (typescript) { %>"@babel/preset-typescript": "7.18.6"<% } else { %>"@babel/eslint-parser": "^7.18.2"<% } %>, + <% if (typescript) { %>"@babel/preset-typescript": "^7.18.6"<% } else { %>"@babel/eslint-parser": "^7.18.2"<% } %>, "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-decorators": "^7.17.0", "@babel/plugin-syntax-decorators": "^7.17.0", @@ -56,8 +56,8 @@ "@types/ember__component": "^4.0.0", "@types/ember__routing": "^4.0.0", "@types/ember__test-helpers": "^2.6.1", - "@typescript-eslint/eslint-plugin": "5.30.5", - "@typescript-eslint/parser": "5.30.5",<% } else { %> + "@typescript-eslint/eslint-plugin": "^5.30.5", + "@typescript-eslint/parser": "^5.30.5",<% } else { %> "@rollup/plugin-babel": "^5.3.0",<% } %> "concurrently": "^7.2.1", "ember-template-lint": "^4.0.0", diff --git a/files/__addonLocation__/tsconfig.json b/files/__addonLocation__/tsconfig.json index 6561cfe9..0ef98123 100644 --- a/files/__addonLocation__/tsconfig.json +++ b/files/__addonLocation__/tsconfig.json @@ -1,20 +1,10 @@ { "extends": "@tsconfig/ember/tsconfig.json", - "compilerOptions": { - "paths": { - // No paths, no absolute imports, only node_modules imports allowed - // But fallback for type-overrides and such - "*": ["types/*"] - } - }, "include": [ "src/**/*", "types/**/*" ], "glint": { - "environment": "ember-loose", - "transform": { - "include": ["src/**"] - } + "environment": "ember-loose" } } diff --git a/tests/cli.test.ts b/tests/cli.test.ts index 689629d2..a7ba6316 100644 --- a/tests/cli.test.ts +++ b/tests/cli.test.ts @@ -149,7 +149,7 @@ describe('ember addon -b ', () => { }); afterAll(async () => { - fs.rm(tmpDir, { recursive: true, force: true }); + await fs.rm(tmpDir, { recursive: true, force: true }); }); it('was generated correctly', async () => {