Skip to content

Commit

Permalink
Merge pull request #2240 from embroider-build/ts-scenarios
Browse files Browse the repository at this point in the history
move tests/scenarios to a TS sub-project
  • Loading branch information
ef4 authored Feb 4, 2025
2 parents a4178fb + ba21cdc commit fc482ba
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/scenarios/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist/
**/*.js
**/*d.ts
**/*.js.map
**/*.js.map
11 changes: 11 additions & 0 deletions tests/scenarios/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"include": [
"./*.ts",
"./helpers/*.ts",
],
"extends": "../../tsconfig-base.json",
"compilerOptions": {
"composite": true,
"outDir": "dist"
},
}
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"./packages/*/tests/**/*.ts",
"./test-packages/support/**/*.ts",
"./test-packages/release/src/**/*.ts",
"./tests/scenarios/**/*.ts"
],
"extends": "./tsconfig-base.json",
"exclude": [
Expand All @@ -16,13 +15,13 @@
"test-packages/*/dist",
"test-packages/*/node_modules",
"tmp",
"tests/scenarios/output",
"packages/config-meta-loader/src",
"packages/router/src",
"packages/vite"
],
"references": [
{ "path": "packages/config-meta-loader" },
{ "path": "packages/vite" }
{ "path": "packages/vite" },
{ "path": "tests/scenarios" }
]
}

0 comments on commit fc482ba

Please sign in to comment.