From fc61495ac4622bb491cc8d8c50ceccb244c8370a Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Thu, 14 Sep 2023 11:12:53 +0200 Subject: [PATCH 1/3] chore: Updated latestVersions --- src/utils/blueprints/get-version.ts | 13 +++++++------ .../packages/ember-container-query/package.json | 12 ++++++------ .../output/ember-container-query/package.json | 12 ++++++------ .../output/ember-container-query/package.json | 8 ++++---- .../output/ember-container-query/package.json | 12 ++++++------ .../output/ember-container-query/package.json | 12 ++++++------ .../output/packages/new-v1-addon/package.json | 12 ++++++------ .../output/new-v1-addon/package.json | 10 +++++----- .../output/new-v1-addon/package.json | 10 +++++----- .../output/new-v1-addon/package.json | 10 +++++----- .../output/new-v1-addon/package.json | 12 ++++++------ .../packages/ember-container-query/package.json | 12 ++++++------ .../glint/output/ember-container-query/package.json | 12 ++++++------ .../output/ember-container-query/package.json | 8 ++++---- .../output/ember-container-query/package.json | 12 ++++++------ .../output/ember-container-query/package.json | 12 ++++++------ .../output/ember-container-query/package.json | 12 ++++++------ 17 files changed, 96 insertions(+), 95 deletions(-) diff --git a/src/utils/blueprints/get-version.ts b/src/utils/blueprints/get-version.ts index 3f54dc76..d53aadaf 100644 --- a/src/utils/blueprints/get-version.ts +++ b/src/utils/blueprints/get-version.ts @@ -3,20 +3,21 @@ import { decideVersion } from '@codemod-utils/blueprints'; import type { Options } from '../../types/index.js'; const latestVersions = new Map([ - ['@babel/core', '7.22.11'], - ['@babel/plugin-proposal-decorators', '7.22.10'], + ['@babel/core', '7.22.17'], + ['@babel/plugin-proposal-decorators', '7.22.15'], ['@babel/plugin-transform-class-properties', '7.22.5'], - ['@babel/preset-typescript', '7.22.11'], - ['@babel/runtime', '7.22.11'], + ['@babel/preset-typescript', '7.22.15'], + ['@babel/runtime', '7.22.15'], ['@embroider/addon-dev', '4.1.0'], ['@embroider/addon-shim', '1.8.6'], + ['@embroider/test-setup', '3.0.1'], ['@rollup/plugin-babel', '6.0.3'], ['concurrently', '8.2.1'], ['ember-auto-import', '2.6.3'], ['ember-cli-babel', '8.0.0'], ['ember-cli-htmlbars', '6.3.0'], - ['rollup', '3.28.1'], - ['rollup-plugin-copy', '3.4.0'], + ['rollup', '3.29.1'], + ['rollup-plugin-copy', '3.5.0'], ]); export function getVersion(packageName: string, options: Options): 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 95f34d48..3b16ee3e 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "engines": { "node": "14.* || 16.* || >= 18" 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 95f34d48..3b16ee3e 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "engines": { "node": "14.* || 16.* || >= 18" 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 a9092e4c..2c84706e 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 @@ -60,15 +60,15 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", + "@babel/core": "^7.22.17", "@babel/plugin-proposal-decorators": "^7.20.7", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/runtime": "^7.22.11", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "engines": { "node": "14.* || 16.* || >= 18" 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 b8296637..c78cdaf4 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "engines": { "node": "14.* || 16.* || >= 18" 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 c96b73cb..546ba684 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "engines": { "node": "14.* || 16.* || >= 18" 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 2391f0de..d23be418 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 @@ -37,16 +37,16 @@ "ember-cli-typescript": "^5.2.1" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "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 caee984d..3450ccf2 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 @@ -30,15 +30,15 @@ "@embroider/addon-shim": "^1.8.6" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/runtime": "^7.22.11", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "peerDependencies": { "ember-source": "^3.28.0 || ^4.0.0" 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 caee984d..3450ccf2 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 @@ -30,15 +30,15 @@ "@embroider/addon-shim": "^1.8.6" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/runtime": "^7.22.11", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "peerDependencies": { "ember-source": "^3.28.0 || ^4.0.0" 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 caee984d..3450ccf2 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 @@ -30,15 +30,15 @@ "@embroider/addon-shim": "^1.8.6" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/runtime": "^7.22.11", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "peerDependencies": { "ember-source": "^3.28.0 || ^4.0.0" 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 2391f0de..d23be418 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 @@ -37,16 +37,16 @@ "ember-cli-typescript": "^5.2.1" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "peerDependencies": { "ember-source": "^3.28.0 || ^4.0.0" 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 95f34d48..3b16ee3e 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "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 95f34d48..3b16ee3e 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "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 a9092e4c..2c84706e 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 @@ -60,15 +60,15 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", + "@babel/core": "^7.22.17", "@babel/plugin-proposal-decorators": "^7.20.7", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/runtime": "^7.22.11", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "engines": { "node": "14.* || 16.* || >= 18" 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 b3884a45..26aadabc 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "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 b8296637..c78cdaf4 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "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 c96b73cb..546ba684 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 @@ -67,16 +67,16 @@ "ember-test-selectors": "^6.0.0" }, "devDependencies": { - "@babel/core": "^7.22.11", - "@babel/plugin-proposal-decorators": "^7.22.10", + "@babel/core": "^7.22.17", + "@babel/plugin-proposal-decorators": "^7.22.15", "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/preset-typescript": "^7.22.11", - "@babel/runtime": "^7.22.11", + "@babel/preset-typescript": "^7.22.15", + "@babel/runtime": "^7.22.15", "@embroider/addon-dev": "^4.1.0", "@rollup/plugin-babel": "^6.0.3", "concurrently": "^7.6.0", - "rollup": "^3.28.1", - "rollup-plugin-copy": "^3.4.0" + "rollup": "^3.29.1", + "rollup-plugin-copy": "^3.5.0" }, "engines": { "node": "14.* || 16.* || >= 18" From 6c4caa292e80ce00650f7984438a9874e0dc2126 Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Thu, 14 Sep 2023 11:47:36 +0200 Subject: [PATCH 2/3] feature: Downstreamed changes from @embroider/addon-blueprint@2.5.0 and ember-cli@5.2.0 --- .../ember-addon/__testAppLocation__/ember-cli-build.js | 5 ++++- src/steps/update-addon-tsconfig-json.ts | 2 ++ src/steps/update-test-app-tsconfig-json.ts | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/blueprints/ember-addon/__testAppLocation__/ember-cli-build.js b/src/blueprints/ember-addon/__testAppLocation__/ember-cli-build.js index f6509ee6..96bcbd60 100644 --- a/src/blueprints/ember-addon/__testAppLocation__/ember-cli-build.js +++ b/src/blueprints/ember-addon/__testAppLocation__/ember-cli-build.js @@ -7,7 +7,10 @@ module.exports = function (defaults) { // Add options here autoImport: { watchDependencies: ['<%= options.packages.addon.name %>'], - }, + },<% if (options.packages.addon.hasTypeScript) { %> + 'ember-cli-babel': { + enableTypeScriptTransform: true, + },<% } %> }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/src/steps/update-addon-tsconfig-json.ts b/src/steps/update-addon-tsconfig-json.ts index b86d615c..bc513edd 100644 --- a/src/steps/update-addon-tsconfig-json.ts +++ b/src/steps/update-addon-tsconfig-json.ts @@ -19,9 +19,11 @@ function updateCompilerOptions( if (packages.addon.hasGlint) { compilerOptions.set('allowImportingTsExtensions', true); + compilerOptions.set('allowJs', true); compilerOptions.set('declarationDir', 'declarations'); } else { compilerOptions.set('allowImportingTsExtensions', true); + compilerOptions.set('allowJs', true); compilerOptions.set('declaration', true); compilerOptions.set('declarationDir', 'declarations'); compilerOptions.set('emitDeclarationOnly', true); diff --git a/src/steps/update-test-app-tsconfig-json.ts b/src/steps/update-test-app-tsconfig-json.ts index 4c53aafb..5e1a7262 100644 --- a/src/steps/update-test-app-tsconfig-json.ts +++ b/src/steps/update-test-app-tsconfig-json.ts @@ -23,8 +23,8 @@ function updateCompilerOptions( tsConfigJson['compilerOptions'] = convertToObject(compilerOptions); } -function updateInclude(tsConfigJson: TsConfigJson): void { - tsConfigJson['include'] = ['app/**/*', 'tests/**/*', 'types/**/*']; +function removeInclude(tsConfigJson: TsConfigJson) { + delete tsConfigJson['include']; } export function updateTestAppTsConfigJson(options: Options): void { @@ -39,7 +39,7 @@ export function updateTestAppTsConfigJson(options: Options): void { const tsConfigJson = JSON.parse(sanitizeJson(oldFile)); updateCompilerOptions(tsConfigJson, options); - updateInclude(tsConfigJson); + removeInclude(tsConfigJson); const newFile = JSON.stringify(tsConfigJson, null, 2) + '\n'; From 565f60c461c53eb9c4fd4ef7758cc577aaadd734 Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Thu, 14 Sep 2023 11:56:53 +0200 Subject: [PATCH 3/3] chore: Updated test fixtures --- .../output/demo-app/ember-cli-build.js | 3 +++ .../output/demo-app/tsconfig.json | 5 ----- .../output/packages/ember-container-query/tsconfig.json | 1 + .../output/ember-container-query/tsconfig.json | 1 + .../output/test-app/ember-cli-build.js | 3 +++ .../output/test-app/tsconfig.json | 5 ----- .../output/ember-container-query/tsconfig.json | 1 + .../output/test-app/ember-cli-build.js | 3 +++ .../output/test-app/tsconfig.json | 5 ----- .../output/ember-container-query/tsconfig.json | 1 + .../output/test-app/ember-cli-build.js | 3 +++ .../output/test-app/tsconfig.json | 7 +------ .../output/demo-app/ember-cli-build.js | 3 +++ .../output/demo-app/tsconfig.json | 7 +------ .../output/packages/new-v1-addon/tsconfig.json | 1 + .../output/new-v1-addon/tsconfig.json | 1 + .../output/test-app/ember-cli-build.js | 3 +++ .../new-v1-addon-typescript/output/test-app/tsconfig.json | 7 +------ .../customizations/output/demo-app/ember-cli-build.js | 3 +++ .../glint/output/test-app/ember-cli-build.js | 3 +++ .../npm/output/test-app/ember-cli-build.js | 3 +++ .../pnpm/output/test-app/ember-cli-build.js | 3 +++ .../scoped/output/test-app/ember-cli-build.js | 3 +++ .../typescript/output/test-app/ember-cli-build.js | 3 +++ .../output/packages/ember-container-query/tsconfig.json | 1 + .../glint/output/ember-container-query/tsconfig.json | 1 + .../scoped/output/ember-container-query/tsconfig.json | 1 + .../typescript/output/ember-container-query/tsconfig.json | 1 + .../customizations/output/demo-app/tsconfig.json | 7 +------ .../glint/output/test-app/tsconfig.json | 5 ----- .../scoped/output/test-app/tsconfig.json | 5 ----- .../typescript/output/test-app/tsconfig.json | 7 +------ 32 files changed, 51 insertions(+), 55 deletions(-) diff --git a/tests/fixtures/ember-container-query-customizations/output/demo-app/ember-cli-build.js b/tests/fixtures/ember-container-query-customizations/output/demo-app/ember-cli-build.js index 2e0b76ff..691af285 100644 --- a/tests/fixtures/ember-container-query-customizations/output/demo-app/ember-cli-build.js +++ b/tests/fixtures/ember-container-query-customizations/output/demo-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/ember-container-query-customizations/output/demo-app/tsconfig.json b/tests/fixtures/ember-container-query-customizations/output/demo-app/tsconfig.json index 07332b28..607976f5 100644 --- a/tests/fixtures/ember-container-query-customizations/output/demo-app/tsconfig.json +++ b/tests/fixtures/ember-container-query-customizations/output/demo-app/tsconfig.json @@ -15,11 +15,6 @@ }, "skipLibCheck": true }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ], "glint": { "environment": "ember-loose" } 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 fe7ced28..ee319f04 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 @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declarationDir": "declarations", "skipLibCheck": true }, 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 fe7ced28..ee319f04 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 @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declarationDir": "declarations", "skipLibCheck": true }, diff --git a/tests/fixtures/ember-container-query-glint/output/test-app/ember-cli-build.js b/tests/fixtures/ember-container-query-glint/output/test-app/ember-cli-build.js index 2e0b76ff..691af285 100644 --- a/tests/fixtures/ember-container-query-glint/output/test-app/ember-cli-build.js +++ b/tests/fixtures/ember-container-query-glint/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/ember-container-query-glint/output/test-app/tsconfig.json b/tests/fixtures/ember-container-query-glint/output/test-app/tsconfig.json index 01eca010..d07b2337 100644 --- a/tests/fixtures/ember-container-query-glint/output/test-app/tsconfig.json +++ b/tests/fixtures/ember-container-query-glint/output/test-app/tsconfig.json @@ -15,11 +15,6 @@ }, "skipLibCheck": true }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ], "glint": { "environment": "ember-loose" } 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 fe7ced28..ee319f04 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 @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declarationDir": "declarations", "skipLibCheck": true }, diff --git a/tests/fixtures/ember-container-query-scoped/output/test-app/ember-cli-build.js b/tests/fixtures/ember-container-query-scoped/output/test-app/ember-cli-build.js index 09458023..0c2b407c 100644 --- a/tests/fixtures/ember-container-query-scoped/output/test-app/ember-cli-build.js +++ b/tests/fixtures/ember-container-query-scoped/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['@ijlee2/ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/ember-container-query-scoped/output/test-app/tsconfig.json b/tests/fixtures/ember-container-query-scoped/output/test-app/tsconfig.json index 01eca010..d07b2337 100644 --- a/tests/fixtures/ember-container-query-scoped/output/test-app/tsconfig.json +++ b/tests/fixtures/ember-container-query-scoped/output/test-app/tsconfig.json @@ -15,11 +15,6 @@ }, "skipLibCheck": true }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ], "glint": { "environment": "ember-loose" } diff --git a/tests/fixtures/ember-container-query-typescript/output/ember-container-query/tsconfig.json b/tests/fixtures/ember-container-query-typescript/output/ember-container-query/tsconfig.json index 18837b5b..6e9c25a6 100644 --- a/tests/fixtures/ember-container-query-typescript/output/ember-container-query/tsconfig.json +++ b/tests/fixtures/ember-container-query-typescript/output/ember-container-query/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declaration": true, "declarationDir": "declarations", "emitDeclarationOnly": true, diff --git a/tests/fixtures/ember-container-query-typescript/output/test-app/ember-cli-build.js b/tests/fixtures/ember-container-query-typescript/output/test-app/ember-cli-build.js index 2e0b76ff..691af285 100644 --- a/tests/fixtures/ember-container-query-typescript/output/test-app/ember-cli-build.js +++ b/tests/fixtures/ember-container-query-typescript/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/ember-container-query-typescript/output/test-app/tsconfig.json b/tests/fixtures/ember-container-query-typescript/output/test-app/tsconfig.json index 9298fb75..53b30f74 100644 --- a/tests/fixtures/ember-container-query-typescript/output/test-app/tsconfig.json +++ b/tests/fixtures/ember-container-query-typescript/output/test-app/tsconfig.json @@ -14,10 +14,5 @@ ] }, "skipLibCheck": true - }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ] + } } diff --git a/tests/fixtures/new-v1-addon-customizations/output/demo-app/ember-cli-build.js b/tests/fixtures/new-v1-addon-customizations/output/demo-app/ember-cli-build.js index 45964240..27b7d9d2 100644 --- a/tests/fixtures/new-v1-addon-customizations/output/demo-app/ember-cli-build.js +++ b/tests/fixtures/new-v1-addon-customizations/output/demo-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['new-v1-addon'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/new-v1-addon-customizations/output/demo-app/tsconfig.json b/tests/fixtures/new-v1-addon-customizations/output/demo-app/tsconfig.json index 0afeaddb..f87308af 100644 --- a/tests/fixtures/new-v1-addon-customizations/output/demo-app/tsconfig.json +++ b/tests/fixtures/new-v1-addon-customizations/output/demo-app/tsconfig.json @@ -13,10 +13,5 @@ "types/*" ] } - }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ] + } } diff --git a/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/tsconfig.json b/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/tsconfig.json index 81ba5154..3cdebfe8 100644 --- a/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/tsconfig.json +++ b/tests/fixtures/new-v1-addon-customizations/output/packages/new-v1-addon/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declaration": true, "declarationDir": "declarations", "emitDeclarationOnly": true, diff --git a/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/tsconfig.json b/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/tsconfig.json index 81ba5154..3cdebfe8 100644 --- a/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/tsconfig.json +++ b/tests/fixtures/new-v1-addon-typescript/output/new-v1-addon/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declaration": true, "declarationDir": "declarations", "emitDeclarationOnly": true, diff --git a/tests/fixtures/new-v1-addon-typescript/output/test-app/ember-cli-build.js b/tests/fixtures/new-v1-addon-typescript/output/test-app/ember-cli-build.js index 45964240..27b7d9d2 100644 --- a/tests/fixtures/new-v1-addon-typescript/output/test-app/ember-cli-build.js +++ b/tests/fixtures/new-v1-addon-typescript/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['new-v1-addon'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/new-v1-addon-typescript/output/test-app/tsconfig.json b/tests/fixtures/new-v1-addon-typescript/output/test-app/tsconfig.json index 967d1504..1dd674ab 100644 --- a/tests/fixtures/new-v1-addon-typescript/output/test-app/tsconfig.json +++ b/tests/fixtures/new-v1-addon-typescript/output/test-app/tsconfig.json @@ -13,10 +13,5 @@ "types/*" ] } - }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ] + } } diff --git a/tests/fixtures/steps/create-files-from-blueprints/customizations/output/demo-app/ember-cli-build.js b/tests/fixtures/steps/create-files-from-blueprints/customizations/output/demo-app/ember-cli-build.js index 2e0b76ff..691af285 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/customizations/output/demo-app/ember-cli-build.js +++ b/tests/fixtures/steps/create-files-from-blueprints/customizations/output/demo-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/steps/create-files-from-blueprints/glint/output/test-app/ember-cli-build.js b/tests/fixtures/steps/create-files-from-blueprints/glint/output/test-app/ember-cli-build.js index 2e0b76ff..691af285 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/glint/output/test-app/ember-cli-build.js +++ b/tests/fixtures/steps/create-files-from-blueprints/glint/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/steps/create-files-from-blueprints/npm/output/test-app/ember-cli-build.js b/tests/fixtures/steps/create-files-from-blueprints/npm/output/test-app/ember-cli-build.js index 2e0b76ff..691af285 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/npm/output/test-app/ember-cli-build.js +++ b/tests/fixtures/steps/create-files-from-blueprints/npm/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/steps/create-files-from-blueprints/pnpm/output/test-app/ember-cli-build.js b/tests/fixtures/steps/create-files-from-blueprints/pnpm/output/test-app/ember-cli-build.js index 2e0b76ff..691af285 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/pnpm/output/test-app/ember-cli-build.js +++ b/tests/fixtures/steps/create-files-from-blueprints/pnpm/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/steps/create-files-from-blueprints/scoped/output/test-app/ember-cli-build.js b/tests/fixtures/steps/create-files-from-blueprints/scoped/output/test-app/ember-cli-build.js index 09458023..0c2b407c 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/scoped/output/test-app/ember-cli-build.js +++ b/tests/fixtures/steps/create-files-from-blueprints/scoped/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['@ijlee2/ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/steps/create-files-from-blueprints/typescript/output/test-app/ember-cli-build.js b/tests/fixtures/steps/create-files-from-blueprints/typescript/output/test-app/ember-cli-build.js index 2e0b76ff..691af285 100644 --- a/tests/fixtures/steps/create-files-from-blueprints/typescript/output/test-app/ember-cli-build.js +++ b/tests/fixtures/steps/create-files-from-blueprints/typescript/output/test-app/ember-cli-build.js @@ -8,6 +8,9 @@ module.exports = function (defaults) { autoImport: { watchDependencies: ['ember-container-query'], }, + 'ember-cli-babel': { + enableTypeScriptTransform: true, + }, }); const { maybeEmbroider } = require('@embroider/test-setup'); diff --git a/tests/fixtures/steps/update-addon-tsconfig-json/customizations/output/packages/ember-container-query/tsconfig.json b/tests/fixtures/steps/update-addon-tsconfig-json/customizations/output/packages/ember-container-query/tsconfig.json index 528005e6..912bcf92 100644 --- a/tests/fixtures/steps/update-addon-tsconfig-json/customizations/output/packages/ember-container-query/tsconfig.json +++ b/tests/fixtures/steps/update-addon-tsconfig-json/customizations/output/packages/ember-container-query/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declarationDir": "declarations", "skipLibCheck": true }, diff --git a/tests/fixtures/steps/update-addon-tsconfig-json/glint/output/ember-container-query/tsconfig.json b/tests/fixtures/steps/update-addon-tsconfig-json/glint/output/ember-container-query/tsconfig.json index fe7ced28..ee319f04 100644 --- a/tests/fixtures/steps/update-addon-tsconfig-json/glint/output/ember-container-query/tsconfig.json +++ b/tests/fixtures/steps/update-addon-tsconfig-json/glint/output/ember-container-query/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declarationDir": "declarations", "skipLibCheck": true }, diff --git a/tests/fixtures/steps/update-addon-tsconfig-json/scoped/output/ember-container-query/tsconfig.json b/tests/fixtures/steps/update-addon-tsconfig-json/scoped/output/ember-container-query/tsconfig.json index fe7ced28..ee319f04 100644 --- a/tests/fixtures/steps/update-addon-tsconfig-json/scoped/output/ember-container-query/tsconfig.json +++ b/tests/fixtures/steps/update-addon-tsconfig-json/scoped/output/ember-container-query/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declarationDir": "declarations", "skipLibCheck": true }, diff --git a/tests/fixtures/steps/update-addon-tsconfig-json/typescript/output/ember-container-query/tsconfig.json b/tests/fixtures/steps/update-addon-tsconfig-json/typescript/output/ember-container-query/tsconfig.json index 18837b5b..6e9c25a6 100644 --- a/tests/fixtures/steps/update-addon-tsconfig-json/typescript/output/ember-container-query/tsconfig.json +++ b/tests/fixtures/steps/update-addon-tsconfig-json/typescript/output/ember-container-query/tsconfig.json @@ -2,6 +2,7 @@ "extends": "@tsconfig/ember/tsconfig.json", "compilerOptions": { "allowImportingTsExtensions": true, + "allowJs": true, "declaration": true, "declarationDir": "declarations", "emitDeclarationOnly": true, diff --git a/tests/fixtures/steps/update-test-app-tsconfig-json/customizations/output/demo-app/tsconfig.json b/tests/fixtures/steps/update-test-app-tsconfig-json/customizations/output/demo-app/tsconfig.json index 07e467f1..3b07f9a2 100644 --- a/tests/fixtures/steps/update-test-app-tsconfig-json/customizations/output/demo-app/tsconfig.json +++ b/tests/fixtures/steps/update-test-app-tsconfig-json/customizations/output/demo-app/tsconfig.json @@ -14,10 +14,5 @@ ] }, "skipLibCheck": true - }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ] + } } diff --git a/tests/fixtures/steps/update-test-app-tsconfig-json/glint/output/test-app/tsconfig.json b/tests/fixtures/steps/update-test-app-tsconfig-json/glint/output/test-app/tsconfig.json index 01eca010..d07b2337 100644 --- a/tests/fixtures/steps/update-test-app-tsconfig-json/glint/output/test-app/tsconfig.json +++ b/tests/fixtures/steps/update-test-app-tsconfig-json/glint/output/test-app/tsconfig.json @@ -15,11 +15,6 @@ }, "skipLibCheck": true }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ], "glint": { "environment": "ember-loose" } diff --git a/tests/fixtures/steps/update-test-app-tsconfig-json/scoped/output/test-app/tsconfig.json b/tests/fixtures/steps/update-test-app-tsconfig-json/scoped/output/test-app/tsconfig.json index 01eca010..d07b2337 100644 --- a/tests/fixtures/steps/update-test-app-tsconfig-json/scoped/output/test-app/tsconfig.json +++ b/tests/fixtures/steps/update-test-app-tsconfig-json/scoped/output/test-app/tsconfig.json @@ -15,11 +15,6 @@ }, "skipLibCheck": true }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ], "glint": { "environment": "ember-loose" } diff --git a/tests/fixtures/steps/update-test-app-tsconfig-json/typescript/output/test-app/tsconfig.json b/tests/fixtures/steps/update-test-app-tsconfig-json/typescript/output/test-app/tsconfig.json index 9298fb75..53b30f74 100644 --- a/tests/fixtures/steps/update-test-app-tsconfig-json/typescript/output/test-app/tsconfig.json +++ b/tests/fixtures/steps/update-test-app-tsconfig-json/typescript/output/test-app/tsconfig.json @@ -14,10 +14,5 @@ ] }, "skipLibCheck": true - }, - "include": [ - "app/**/*", - "tests/**/*", - "types/**/*" - ] + } }