Repository navigation
TypeScript: Bring the remaining route projects under the typecheck run #81847
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
Changes from all commits
3c0d2b3
6937c60
5da7a56
40c0f24
7430c18
9989ef4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig.json", | ||
| "extends": "../../tsconfig.base.json", | ||
| "compilerOptions": { | ||
| "jsx": "react-jsx", | ||
| "rootDir": ".", | ||
| "noEmit": true, | ||
| "emitDeclarationOnly": false, | ||
| "composite": false, | ||
| "types": [ "style-imports" ] | ||
| }, | ||
| "references": [ | ||
| { "path": "../../packages/a11y/tsconfig.build.json" }, | ||
| { "path": "../../packages/admin-ui/tsconfig.build.json" }, | ||
| { "path": "../../packages/api-fetch/tsconfig.build.json" }, | ||
| { "path": "../../packages/components/tsconfig.build.json" }, | ||
| { "path": "../../packages/connectors/tsconfig.build.json" }, | ||
| { "path": "../../packages/core-data/tsconfig.build.json" }, | ||
| { "path": "../../packages/data" }, | ||
| { "path": "../../packages/element/tsconfig.build.json" }, | ||
| { "path": "../../packages/i18n/tsconfig.build.json" }, | ||
| { "path": "../../packages/icons/tsconfig.build.json" }, | ||
| { "path": "../../packages/notices/tsconfig.build.json" }, | ||
| { "path": "../../packages/ui/tsconfig.build.json" }, | ||
| { "path": "../../packages/url" } | ||
| ], | ||
| "include": [ "**/*.ts", "**/*.tsx" ], | ||
| "exclude": [ "**/test/**", "build", "node_modules" ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig.json", | ||
| "extends": "../../tsconfig.dev.base.json", | ||
| /* Route tests live beside the route sources, not under src. */ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. TIL that TS config JSON files don't mind code comments! Just double-checking, though, I assume it's fine since all the Github actions are passing, and the build succeeds locally.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, tsconfig have always supported comments. |
||
| "compilerOptions": { | ||
| "jsx": "react-jsx", | ||
| "rootDir": ".", | ||
| "composite": false, | ||
| "types": [ "jest" ] | ||
| }, | ||
| "include": [ "**/test/**/*.ts", "**/test/**/*.tsx" ], | ||
| "exclude": [ "build", "node_modules" ], | ||
| "references": [ | ||
| { "path": "../../packages/components/tsconfig.build.json" }, | ||
| { "path": "../../packages/connectors/tsconfig.build.json" }, | ||
| { "path": "../../packages/core-data/tsconfig.build.json" }, | ||
| { "path": "../../packages/data" }, | ||
| { "path": "../../packages/element/tsconfig.build.json" }, | ||
| { "path": "../../packages/i18n/tsconfig.build.json" }, | ||
| { "path": "../../packages/notices/tsconfig.build.json" }, | ||
| { "path": "../../packages/private-apis" }, | ||
| { "path": "../../packages/ui/tsconfig.build.json" }, | ||
| { "path": "../../packages/url" } | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig.json", | ||
| "extends": "../../tsconfig.base.json", | ||
| "compilerOptions": { | ||
| "jsx": "react-jsx", | ||
| "rootDir": ".", | ||
| "noEmit": true, | ||
| "emitDeclarationOnly": false, | ||
| "composite": false, | ||
| "types": [ "style-imports" ] | ||
| }, | ||
| "references": [ | ||
| { "path": "../../packages/admin-ui/tsconfig.build.json" }, | ||
| { "path": "../../packages/api-fetch/tsconfig.build.json" }, | ||
| { "path": "../../packages/components/tsconfig.build.json" }, | ||
| { "path": "../../packages/core-data/tsconfig.build.json" }, | ||
| { "path": "../../packages/data" }, | ||
| { "path": "../../packages/dataviews/tsconfig.build.json" }, | ||
| { "path": "../../packages/element/tsconfig.build.json" }, | ||
| { "path": "../../packages/i18n/tsconfig.build.json" }, | ||
| { "path": "../../packages/notices/tsconfig.build.json" }, | ||
| { "path": "../../packages/ui/tsconfig.build.json" } | ||
| ], | ||
| "include": [ "**/*.ts", "**/*.tsx" ], | ||
| "exclude": [ "build", "node_modules" ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig.json", | ||
| "extends": "../../tsconfig.base.json", | ||
| "compilerOptions": { | ||
| "jsx": "react-jsx", | ||
| "rootDir": ".", | ||
| "noEmit": true, | ||
| "emitDeclarationOnly": false, | ||
| "composite": false, | ||
| "types": [ "style-imports" ] | ||
| }, | ||
| "references": [ | ||
| { "path": "../../packages/admin-ui/tsconfig.build.json" }, | ||
| { "path": "../../packages/components/tsconfig.build.json" }, | ||
| { "path": "../../packages/compose/tsconfig.build.json" }, | ||
| { "path": "../../packages/core-data/tsconfig.build.json" }, | ||
| { "path": "../../packages/data" }, | ||
| { "path": "../../packages/editor/tsconfig.build.json" }, | ||
| { "path": "../../packages/element/tsconfig.build.json" }, | ||
| { "path": "../../packages/global-styles-engine/tsconfig.build.json" }, | ||
| { "path": "../../packages/global-styles-ui" }, | ||
| { "path": "../../packages/i18n/tsconfig.build.json" }, | ||
| { "path": "../../packages/private-apis" }, | ||
| { "path": "../../packages/route" } | ||
| ], | ||
| "include": [ "**/*.ts", "**/*.tsx" ], | ||
| "exclude": [ "build", "node_modules" ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "$schema": "https://json.schemastore.org/tsconfig.json", | ||
| "extends": "../../tsconfig.base.json", | ||
| "compilerOptions": { | ||
| "jsx": "react-jsx", | ||
| "rootDir": ".", | ||
| "noEmit": true, | ||
| "emitDeclarationOnly": false, | ||
| "composite": false, | ||
| "types": [] | ||
| }, | ||
| "references": [ { "path": "../../packages/route" } ], | ||
| "include": [ "**/*.ts", "**/*.tsx" ], | ||
| "exclude": [ "build", "node_modules" ] | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.