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
5 changes: 5 additions & 0 deletions packages/auth/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
// about them and `tsc` is the only thing that can.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/collaboration/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
// and only `tsc` can check.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// not inherit `composite` / `declaration` from the build config.
"composite": false,
"declaration": false,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["ES2022", "DOM", "DOM.Iterable"],
// Naming `types` at all switches off automatic `@types/*` inclusion.
// `node` is required: several suites read fixtures off disk through
// `node:fs` / `node:url` / `__dirname`, and the ActionRunner suites stub
Expand Down
5 changes: 5 additions & 0 deletions packages/create-plugin/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
// this project CHAINED from `type-check` — the script CI actually runs.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// `templates.test.ts` reads the repo-root manifest off disk (readFileSync,
// fileURLToPath, isBuiltin) to assert the generated dependency ranges are
Expand Down
2 changes: 1 addition & 1 deletion packages/fields/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// 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.
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["ES2022", "DOM", "DOM.Iterable"],
//
// `types` is deliberately NOT named, unlike plugin-dashboard's. Naming it
// switches off automatic `@types/*` inclusion, and this package's build
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"composite": false,
"declaration": false,
"jsx": "react-jsx",
"lib": ["ES2020", "DOM"],
"lib": ["ES2022", "DOM"],
// Two global augmentations, neither of them an import:
// - `node` for the seven locale-parity / namespace suites, which walk the
// locale packs off disk (`readFileSync`, `__dirname`, `node:path`) to
Expand Down
5 changes: 5 additions & 0 deletions packages/layout/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// `page-node-renderer-stays-deleted.test.ts` reads this package's own
// sources off disk to prove the renderer objectui#3223 removed has not been
Expand Down
5 changes: 5 additions & 0 deletions packages/permissions/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-ai/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
// scripts/check-type-check-coverage.mjs` exits 1 naming both of them.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// `registrationInputs-8178.test.ts` reads the three component sources off
// disk (`node:fs` / `node:path` / `node:url`) to derive the keys each
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-calendar/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-charts/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
// already reads schema-catalog fixtures off disk from a `*-6939` render pin.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-chatbot/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
// about them and `tsc` is the only thing that can.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-dashboard/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// whose suites needed ES2022 for `Array.prototype.at`. Measured: this
// package's 47 test files compile clean against the root's ES2020 baseline,
// so the tests are held to the same lib the shipped SOURCE targets.
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["ES2022", "DOM", "DOM.Iterable"],
// Naming `types` at all switches off automatic `@types/*` inclusion.
// `node` is load-bearing and measured: dropping it turns five suites red
// with TS2304 `Cannot find name 'global'` — they all install a `global.fetch`
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-designer/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-detail/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
// turned this project red.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-editor/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"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": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["ES2022", "DOM", "DOM.Iterable"],
// `paths` drops the root tsconfig's source-tree mappings so `@object-ui/*`
// resolves through each workspace dependency's built `.d.ts` rather than
// pulling sibling package sources in as program inputs. `type-check`
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-form/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// not inherit `composite` / `declaration` from the build config.
"composite": false,
"jsx": "react-jsx",
"lib": ["ES2020", "DOM"],
"lib": ["ES2022", "DOM"],
// Two global augmentations, neither of them an import:
// - `node` for `spec-symbol-batch7.test.tsx`, which resolves
// `@objectstack/spec`'s own `.d.ts` off disk to read the spec's export
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-gantt/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-kanban/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-map/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-markdown/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-report/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing.
"composite": false,
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-tree/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/plugin-view/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing.
"composite": false,
Expand Down
5 changes: 5 additions & 0 deletions packages/providers/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/react-runtime/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
2 changes: 1 addition & 1 deletion packages/react/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// The root baseline, plus `DOM.Iterable` (which the root already sets and
// the retired narrow project did not) — strictly wider than what compiled
// the parity test before.
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"lib": ["ES2022", "DOM", "DOM.Iterable"],
// The parity test resolves `@objectstack/spec`'s own `.d.ts` files off disk
// (createRequire / readFileSync / node:path) to read the spec's export
// names through the TypeScript checker. Naming `types` at all switches off
Expand Down
5 changes: 5 additions & 0 deletions packages/runner/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// them, so a test could assert a contract the compiler never checked.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing, so it must
// not inherit `composite` / `declaration` from the build config.
Expand Down
5 changes: 5 additions & 0 deletions packages/sdui-parser/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
// test resolves them the way a consumer would.
"extends": "../../tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"noEmit": true,
// The package build emits `dist`; this project emits nothing.
"composite": false,
Expand Down
2 changes: 1 addition & 1 deletion packages/types/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": true,
"lib": ["ES2020", "DOM"],
"lib": ["ES2022", "DOM"],
// `spec-ui-schema-reexports.test.ts` reads sibling sources off disk to prove
// no spec/ui zod value hides inside an `export type` block (#2561).
"types": ["node"],
Expand Down
5 changes: 5 additions & 0 deletions packages/vscode-extension/tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
// objectui#3009 failure itself.
"extends": "./tsconfig.json",
"compilerOptions": {
// objectui#8691: test programs only. One notch above the package build's
// ES2020, mirroring packages/app-shell. The package SOURCE tsconfig is
// untouched, so what this package SHIPS still compiles at the ES2020
// baseline; nothing here is emitted.
"lib": ["ES2022"],
// A checking project, never an emitting one.
"noEmit": true,
"declaration": false,
Expand Down
Loading