Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dev): Add placeholder tsconfigs for tests #5169

Merged
merged 1 commit into from
Jun 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/angular/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/browser/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/core/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/gatsby/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/hub/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/integrations/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/nextjs/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/node-integration-tests/suites/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/node/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/react/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/serverless/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/tracing/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/utils/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/vue/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 8 additions & 0 deletions packages/wasm/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}
8 changes: 5 additions & 3 deletions tsconfig-templates/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# `tsconfig` Templates

Every package should get its own copy of these three files. Package-specific options should go in `tsconfig.json` and
test-specific options in `tsconfig.test.json`. The `types` file shouldn't need to be modified, and only exists because
tsconfigs don't support multiple inheritence.
Every package should get its own copy of the three files in this directory and the one in `test/` (which should go in an
analogous spot in the package). Package-specific options should go in `tsconfig.json` and test-specific options in
`tsconfig.test.json`. The `types` file shouldn't need to be modified, and only exists because tsconfigs don't support
multiple inheritence. The same goes for the file in `test/`, which only exists because VSCode only knows to look for a
file named (exactly) `tsconfig.json`.
8 changes: 8 additions & 0 deletions tsconfig-templates/test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// TODO Once https://github.com/microsoft/TypeScript/issues/33094 is done (if it ever is), this file can disappear, as
// it's purely a placeholder to satisfy VSCode.

{
"extends": "../tsconfig.test.json",

"include": ["./**/*"]
}