Skip to content
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
1 change: 0 additions & 1 deletion ui/packages/app-shell/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"jsx": "react-jsx",
"lib": ["ES2020", "DOM"],
"types": ["node", "vite/client"],
"noEmit": false,
Expand Down
1 change: 0 additions & 1 deletion ui/packages/app-shell/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
// not inherit `composite` / `declaration` from the build config.
"composite": false,
"declaration": false,
"jsx": "react-jsx",
// One notch above the package build's ES2020: these suites read the last
// emitted call with `calls.at(-1)` and use `Object.hasOwn` / `Array.at`,
// all ES2022. Raised HERE and not in `tsconfig.json`, so the package
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/auth/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand Down Expand Up @@ -37,8 +36,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/collaboration/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand Down Expand Up @@ -37,8 +36,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
1 change: 0 additions & 1 deletion ui/packages/collaboration/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
// not inherit `composite` / `declaration` from the build config.
"composite": false,
"declaration": false,
"jsx": "react-jsx",
// Drop the root tsconfig's source-tree `paths` so `@object-ui/*` and
// `@objectstack/spec` resolve through the workspace dependency's built
// `.d.ts` instead of pulling sibling sources in as program inputs (TS6059).
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/components/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// tree as soon as anything runs `tsc` (objectui#9189). Pinned in every composite
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"skipLibCheck": true
"composite": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
1 change: 0 additions & 1 deletion ui/packages/components/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
// not inherit `composite` / `declaration` from the build config.
"composite": false,
"declaration": false,
"jsx": "react-jsx",
// One notch above the root's ES2020: these suites read the last emitted
// call with `calls.at(-1)`, and `Array.prototype.at` is ES2022. The
// compiler named the remedy itself. Raised HERE and not in `tsconfig.json`,
Expand Down
1 change: 0 additions & 1 deletion ui/packages/fields/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// `noEmit: true`, so `tsc` here only CHECKS; `dist` is written by
// vite-plugin-dts, which overrides `rootDir` to `src` and clears `paths`.
"rootDir": "..",
"jsx": "react-jsx",

// See `packages/react/tsconfig.json` for the full argument: under
// `nodenext` a missing relative extension is TS2835 and a bare directory
Expand Down
1 change: 0 additions & 1 deletion ui/packages/fields/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"noEmit": true,
"composite": false,
"declaration": false,
"jsx": "react-jsx",
// Deliberately NOT raised to ES2022. Measured: no test file in this package
// reaches for `Array.prototype.at` or any other ES2021+ builtin, so the
// tests are held to the same lib the shipped SOURCE targets.
Expand Down
1 change: 0 additions & 1 deletion ui/packages/i18n/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"jsx": "react-jsx",
"lib": ["ES2020", "DOM"]
},
"include": ["src"],
Expand Down
1 change: 0 additions & 1 deletion ui/packages/i18n/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
// not inherit `composite` / `declaration` / `rootDir` from the build config.
"composite": false,
"declaration": false,
"jsx": "react-jsx",
"lib": ["ES2022", "DOM"],
// Two global augmentations, neither of them an import:
// - `node` for the seven locale-parity / namespace suites, which walk the
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/layout/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
// Overriding `paths` drops the root config's `@object-ui/* -> packages/*/src`
// mappings, so workspace deps resolve through their built `.d.ts` instead of
// pulling sibling sources into this program (which would be outside rootDir).
"paths": {
"@/*": ["src/*"]
},
"skipLibCheck": true
}
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/mobile/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand Down Expand Up @@ -37,8 +36,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/permissions/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"compilerOptions": {
"outDir": "dist",
"rootDir": "src",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand Down Expand Up @@ -37,8 +36,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-ai/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
// Overriding `paths` drops the root config's `@object-ui/* -> packages/*/src`
// mappings, so workspace deps resolve through their built `.d.ts` instead of
// pulling sibling sources into this program (which would be outside rootDir).
// vite.config.ts already does the same for the dts program.
"paths": {
"@/*": ["src/*"]
},
"skipLibCheck": true
}
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-calendar/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-charts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// tree as soon as anything runs `tsc` (objectui#9189). Pinned in every composite
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"skipLibCheck": true
"composite": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME — the arrangement
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-chatbot/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-dashboard/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -18,8 +17,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
1 change: 0 additions & 1 deletion ui/packages/plugin-dashboard/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
// not inherit `composite` / `declaration` from the build config.
"composite": false,
"declaration": false,
"jsx": "react-jsx",
// Deliberately NOT raised, unlike plugin-list / plugin-grid / app-shell,
// whose suites needed ES2022 for `Array.prototype.at`. Measured: this
// package's 47 test files compile clean against the root's ES2020 baseline,
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-designer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// The exclusions cover TOOLING DIRECTORIES, not just the `*.test.*` name
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-detail/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-editor/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// tree as soon as anything runs `tsc` (objectui#9189). Pinned in every composite
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"skipLibCheck": true
"composite": true
},
"include": ["src"],
// Tests are excluded from the BUILD program so they stop being emitted into
Expand Down
1 change: 0 additions & 1 deletion ui/packages/plugin-editor/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"noEmit": true,
"composite": false,
"declaration": false,
"jsx": "react-jsx",
// Measured: the single suite compiles clean against the root's ES2020
// baseline, so the test is held to the same lib the shipped SOURCE targets.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-form/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
1 change: 0 additions & 1 deletion ui/packages/plugin-form/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
"composite": false,
"jsx": "react-jsx",
"lib": ["ES2022", "DOM"],
// Two global augmentations, neither of them an import:
// - `node` for `spec-symbol-batch7.test.tsx`, which resolves
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-gantt/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// Tooling is excluded by DIRECTORY, not just by file NAME. A helper under
Expand Down
4 changes: 1 addition & 3 deletions ui/packages/plugin-grid/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
Expand All @@ -17,8 +16,7 @@
// package so the location is a decision, not a side effect of an unrelated option.
"tsBuildInfoFile": "./tsconfig.tsbuildinfo",
"composite": true,
"declarationMap": true,
"skipLibCheck": true
"declarationMap": true
},
"include": ["src"],
// The exclusions cover TOOLING DIRECTORIES, not just the `*.test.*` name
Expand Down
Loading
Loading