diff --git a/_artifacts/domain_map.yaml b/_artifacts/domain_map.yaml index 61570d6d29..f88f073315 100644 --- a/_artifacts/domain_map.yaml +++ b/_artifacts/domain_map.yaml @@ -112,7 +112,7 @@ api_discovery_policy: feature_source: 'node_modules/@tanstack/table-core/dist/features//' ember_entrypoint: 'node_modules/@tanstack/ember-table/declarations/index.d.ts' angular_entrypoint: 'node_modules/@tanstack/angular-table/dist/types/' - octane_entrypoint: 'node_modules/@tanstack/octane-table/dist/types/index.d.ts' + octane_entrypoint: 'node_modules/@tanstack/octane-table/src/index.d.ts' fallback: 'If declarations are unavailable, resolve the installed package root and inspect published types; do not open package src/ or substitute v8 / another adapter API.' coverage: diff --git a/_artifacts/skill_spec.md b/_artifacts/skill_spec.md index b08a0cfd69..cb08151978 100644 --- a/_artifacts/skill_spec.md +++ b/_artifacts/skill_spec.md @@ -47,11 +47,11 @@ Every skill that discusses APIs must tell the consuming agent how to inspect the - Stock feature API: node_modules/@tanstack/table-core/dist/features/FEATURE/. - Ember API: node_modules/@tanstack/ember-table/declarations/index.d.ts (and sibling `declarations/*.d.ts`). - Angular API: node_modules/@tanstack/angular-table/dist/types/\*.d.ts (bundled public API; do not expect `src/helpers/` under the published package). -- Octane API: node_modules/@tanstack/octane-table/dist/types/index.d.ts (and sibling `dist/types/*.d.ts`). +- Octane API: node_modules/@tanstack/octane-table/src/index.d.ts, the matching `*.tsrx.d.ts` sidecar, and `src/types.ts` (the package intentionally distributes authored source). - Devtools API: node_modules/@tanstack/FRAMEWORK-table-devtools/dist/index.d.ts or @tanstack/table-devtools/dist/index.d.ts. - Fuzzy ranking API: node_modules/@tanstack/match-sorter-utils/dist/index.d.ts. -Do not open package `src/` under `node_modules` (it is not published). Do not direct agents to a GitHub main-branch source file when an installed package is available. Installed declarations keep guidance aligned with the consumer package version. +Do not open package `src/` under `node_modules` unless the package intentionally publishes source, as `@tanstack/octane-table` does. Do not direct agents to a GitHub main-branch source file when an installed package is available. Installed declarations and published source keep guidance aligned with the consumer package version. ## Skill writing contract @@ -307,7 +307,7 @@ All Devtools skills must emphasize the required non-empty table options.key, lif ### Octane -- The adapter ships compiled JavaScript and declarations. Consumer tooling compiles the application's TSRX components, which use TSRX component bodies plus keyed `@for` loops where appropriate. +- The package distributes authored TypeScript and TSRX; consumer tooling compiles it for the current target and mode. Components use TSRX component bodies plus keyed `@for` loops where appropriate. - `useTable` stages fresh options for same-render reads, selects `table.state`, and publishes controlled state only from an accepted layout commit; abandoned work cannot notify the store. - Render `table.Subscribe` and the createTableHook App wrappers as components so each has an independent Octane hook/context scope; never invoke them as plain functions. - Use `@tanstack/octane-store` for external atoms. External atoms are synchronous owners and take precedence over controlled `options.state`. diff --git a/docs/framework/octane/quick-start.md b/docs/framework/octane/quick-start.md index 7d68e21897..b5a4f6c4f5 100644 --- a/docs/framework/octane/quick-start.md +++ b/docs/framework/octane/quick-start.md @@ -95,7 +95,7 @@ A few things to note: - `tableFeatures({})` declares which optional features the table uses. Registering only what you need keeps bundles small and gives TypeScript accurate types for the table instance. - The core row model is always included automatically. Feature row models (sorting, filtering, pagination) are registered as slots directly on the `tableFeatures({...})` call when you need them. - `table.FlexRender` renders the `header`, `cell`, and `footer` definitions from your columns, whether they are plain values or Octane components. -- Octane compiles your application's authored TSRX for the current client or server target. The Table adapter itself ships compiled JavaScript and declarations. +- Octane compiles your application and the Table adapter's authored TypeScript and TSRX for the current target and mode. See the full [Basic useTable example](./examples/basic-use-table) for a runnable version with more columns and a footer. diff --git a/docs/framework/octane/reference/functions/createTableHook.md b/docs/framework/octane/reference/functions/createTableHook.md index 6f6e96b4a9..93494318f7 100644 --- a/docs/framework/octane/reference/functions/createTableHook.md +++ b/docs/framework/octane/reference/functions/createTableHook.md @@ -9,7 +9,7 @@ title: createTableHook function createTableHook(options): CreateTableHookResult; ``` -Defined in: createTableHook.tsrx.d.ts:11 +Defined in: [createTableHook.tsrx.d.ts:13](https://github.com/TanStack/table/blob/main/packages/octane-table/src/createTableHook.tsrx.d.ts#L13) ## Type Parameters diff --git a/docs/framework/octane/reference/functions/useTable.md b/docs/framework/octane/reference/functions/useTable.md index ba486b91dd..6e78b68355 100644 --- a/docs/framework/octane/reference/functions/useTable.md +++ b/docs/framework/octane/reference/functions/useTable.md @@ -9,7 +9,7 @@ title: useTable function useTable(tableOptions, selector?): OctaneTable; ``` -Defined in: useTable.tsrx.d.ts:12 +Defined in: [useTable.tsrx.d.ts:14](https://github.com/TanStack/table/blob/main/packages/octane-table/src/useTable.tsrx.d.ts#L14) ## Type Parameters diff --git a/docs/framework/octane/reference/variables/Subscribe.md b/docs/framework/octane/reference/variables/Subscribe.md index 95d7cdc4b0..69150fb07c 100644 --- a/docs/framework/octane/reference/variables/Subscribe.md +++ b/docs/framework/octane/reference/variables/Subscribe.md @@ -9,4 +9,4 @@ title: Subscribe const Subscribe: SubscribeComponent; ``` -Defined in: Subscribe.tsrx.d.ts:6 +Defined in: [Subscribe.tsrx.d.ts:8](https://github.com/TanStack/table/blob/main/packages/octane-table/src/Subscribe.tsrx.d.ts#L8) diff --git a/docs/installation.md b/docs/installation.md index 6558c250e5..77feb0e310 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -36,7 +36,7 @@ The `@tanstack/preact-table` package works with Preact 10 or newer. # Octane -The `@tanstack/octane-table` package works with Octane 0.1.21. Configure Octane's compiler integration (for example, `octane()` with Vite) for your application's TSRX components. +The `@tanstack/octane-table` package works with Octane 0.1.21. It publishes authored TypeScript and TSRX, so your application must use Octane's compiler integration (for example, the Octane Vite plugin) to compile the package for its current target and mode. # Vue diff --git a/examples/octane/aggregation/package.json b/examples/octane/aggregation/package.json index 0e8c925adf..215572f867 100644 --- a/examples/octane/aggregation/package.json +++ b/examples/octane/aggregation/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@faker-js/faker": "^10.5.0", - "@tanstack/octane-store": "^0.12.0", + "@tanstack/octane-store": "^0.12.1", "@tanstack/octane-table": "^9.0.0-beta.66", "octane": "0.1.21" }, diff --git a/examples/octane/basic-external-atoms/package.json b/examples/octane/basic-external-atoms/package.json index 6b1867dcdb..29834ed2e2 100644 --- a/examples/octane/basic-external-atoms/package.json +++ b/examples/octane/basic-external-atoms/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@faker-js/faker": "^10.5.0", - "@tanstack/octane-store": "^0.12.0", + "@tanstack/octane-store": "^0.12.1", "@tanstack/octane-table": "^9.0.0-beta.66", "octane": "0.1.21" }, diff --git a/examples/octane/basic-subscribe/package.json b/examples/octane/basic-subscribe/package.json index f9b4ff4039..fcbd32ba35 100644 --- a/examples/octane/basic-subscribe/package.json +++ b/examples/octane/basic-subscribe/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@faker-js/faker": "^10.5.0", - "@tanstack/octane-store": "^0.12.0", + "@tanstack/octane-store": "^0.12.1", "@tanstack/octane-table": "^9.0.0-beta.66", "octane": "0.1.21" }, diff --git a/examples/octane/composable-tables/package.json b/examples/octane/composable-tables/package.json index e68cb41621..6597a908dd 100644 --- a/examples/octane/composable-tables/package.json +++ b/examples/octane/composable-tables/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@faker-js/faker": "^10.5.0", - "@tanstack/octane-store": "^0.12.0", + "@tanstack/octane-store": "^0.12.1", "@tanstack/octane-table": "^9.0.0-beta.66", "octane": "0.1.21" }, diff --git a/examples/octane/pagination/package.json b/examples/octane/pagination/package.json index 70232434db..757c907be4 100644 --- a/examples/octane/pagination/package.json +++ b/examples/octane/pagination/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@faker-js/faker": "^10.5.0", - "@tanstack/octane-store": "^0.12.0", + "@tanstack/octane-store": "^0.12.1", "@tanstack/octane-table": "^9.0.0-beta.66", "octane": "0.1.21" }, diff --git a/examples/octane/row-selection/package.json b/examples/octane/row-selection/package.json index e1f25de609..f4890c34e9 100644 --- a/examples/octane/row-selection/package.json +++ b/examples/octane/row-selection/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@faker-js/faker": "^10.5.0", - "@tanstack/octane-store": "^0.12.0", + "@tanstack/octane-store": "^0.12.1", "@tanstack/octane-table": "^9.0.0-beta.66", "octane": "0.1.21" }, diff --git a/knip.json b/knip.json index ac4eab13b4..160170d684 100644 --- a/knip.json +++ b/knip.json @@ -39,15 +39,11 @@ "packages/octane-table": { "entry": [ "docs-entry.d.ts!", - "src/index.ts!", "src/Subscribe.tsrx!", "src/createTableHook.tsrx!", "src/useTable.tsrx!", "src/internal.ts!", "src/reactivity.ts!", - "src/static-functions.ts!", - "src/flex-render.ts!", - "src/experimental-worker-plugin.ts!", "tests/type-tests/public-surface.tsx!" ] }, diff --git a/packages/octane-table/package.json b/packages/octane-table/package.json index 6da3b3e876..3ec134f221 100644 --- a/packages/octane-table/package.json +++ b/packages/octane-table/package.json @@ -22,34 +22,17 @@ "tanstack-intent" ], "type": "module", - "types": "./dist/types/index.d.ts", - "main": "./dist/server/index.js", - "module": "./dist/client/index.js", + "main": "./src/index.ts", + "module": "./src/index.ts", + "types": "./src/index.d.ts", "exports": { ".": { - "types": "./dist/types/index.d.ts", - "browser": "./dist/client/index.js", - "node": "./dist/server/index.js", - "default": "./dist/client/index.js" - }, - "./experimental-worker-plugin": { - "types": "./dist/types/experimental-worker-plugin.d.ts", - "browser": "./dist/client/experimental-worker-plugin.js", - "node": "./dist/server/experimental-worker-plugin.js", - "default": "./dist/client/experimental-worker-plugin.js" - }, - "./flex-render": { - "types": "./dist/types/flex-render.d.ts", - "browser": "./dist/client/flex-render.js", - "node": "./dist/server/flex-render.js", - "default": "./dist/client/flex-render.js" - }, - "./static-functions": { - "types": "./dist/types/static-functions.d.ts", - "browser": "./dist/client/static-functions.js", - "node": "./dist/server/static-functions.js", - "default": "./dist/client/static-functions.js" + "types": "./src/index.d.ts", + "default": "./src/index.ts" }, + "./experimental-worker-plugin": "./src/experimental-worker-plugin.ts", + "./flex-render": "./src/flex-render.ts", + "./static-functions": "./src/static-functions.ts", "./package.json": "./package.json" }, "sideEffects": false, @@ -57,29 +40,23 @@ "node": ">=22" }, "files": [ - "dist", - "skills" + "src", + "skills", + "README.md" ], - "octane": { - "hookSlots": { - "manual": [ - "dist" - ] - } - }, "scripts": { "clean": "rimraf ./build && rimraf ./dist", - "test:eslint": "eslint ./src --ext .ts", + "test:eslint": "eslint ./src --ext .ts --ignore-pattern src/index.d.ts", "test:lib": "vitest --passWithNoTests && vitest --config vitest.ssr.config.ts --passWithNoTests", "test:lib:client": "vitest --passWithNoTests", "test:lib:ssr": "vitest --config vitest.ssr.config.ts --passWithNoTests", "test:lib:dev": "pnpm test:lib:client --watch", "test:types": "tsrx-tsc --noEmit", "test:build": "publint --strict", - "build": "rimraf ./dist && tsdown && tsrx-tsc -p tsconfig.build.json && node scripts/finalize-types.mjs" + "build": "tsrx-tsc --noEmit" }, "dependencies": { - "@tanstack/octane-store": "^0.12.0", + "@tanstack/octane-store": "^0.12.1", "@tanstack/table-core": "workspace:*" }, "devDependencies": { diff --git a/packages/octane-table/scripts/finalize-types.mjs b/packages/octane-table/scripts/finalize-types.mjs deleted file mode 100644 index 2aba377ca1..0000000000 --- a/packages/octane-table/scripts/finalize-types.mjs +++ /dev/null @@ -1,69 +0,0 @@ -import { - copyFileSync, - readFileSync, - readdirSync, - statSync, - writeFileSync, -} from 'node:fs' -import { join, resolve } from 'node:path' - -const packageRoot = resolve(import.meta.dirname, '..') -const sourceRoot = join(packageRoot, 'src') -const typesRoot = join(packageRoot, 'dist/types') - -for (const [source, target] of [ - ['Subscribe.tsrx.d.ts', 'Subscribe.d.ts'], - ['createTableHook.tsrx.d.ts', 'createTableHook.d.ts'], - ['useTable.tsrx.d.ts', 'useTable.d.ts'], -]) { - copyFileSync(join(sourceRoot, source), join(typesRoot, target)) -} - -const indexPath = join(typesRoot, 'index.d.ts') -writeFileSync( - indexPath, - readFileSync(indexPath, 'utf8').replaceAll( - /(Subscribe|createTableHook|useTable)\.tsrx/g, - '$1', - ), -) - -for (const file of readdirSync(typesRoot)) { - if (!file.endsWith('.d.ts')) continue - const source = readFileSync(join(typesRoot, file), 'utf8') - if (/(?:from\s+|import\s*\()['"][^'"]*\.tsrx['"]/.test(source)) { - throw new Error(`Declaration output retained a TSRX import: ${file}`) - } -} - -function walk(directory) { - return readdirSync(directory).flatMap((entry) => { - const path = join(directory, entry) - return statSync(path).isDirectory() ? walk(path) : [path] - }) -} - -const clientRoot = join(packageRoot, 'dist/client') -const serverRoot = join(packageRoot, 'dist/server') -const runtimeFiles = [...walk(clientRoot), ...walk(serverRoot)] - -for (const file of runtimeFiles) { - if (file.endsWith('.map')) { - throw new Error(`Build emitted a source map: ${file}`) - } - if (!file.endsWith('.js')) continue - - const source = readFileSync(file, 'utf8') - if (/(?:from\s+|import\s*\()['"][^'"]*\.tsrx['"]/.test(source)) { - throw new Error(`Runtime output retained a TSRX import: ${file}`) - } - if ( - file.startsWith(clientRoot) && - /from\s+['"]octane\/server['"]/.test(source) - ) { - throw new Error(`Client output imported the Octane server runtime: ${file}`) - } - if (file.startsWith(serverRoot) && /from\s+['"]octane['"]/.test(source)) { - throw new Error(`Server output imported the Octane client runtime: ${file}`) - } -} diff --git a/packages/octane-table/skills/getting-started/SKILL.md b/packages/octane-table/skills/getting-started/SKILL.md index 0aa5619daa..2fd8a89159 100644 --- a/packages/octane-table/skills/getting-started/SKILL.md +++ b/packages/octane-table/skills/getting-started/SKILL.md @@ -17,7 +17,7 @@ sources: - 'TanStack/table:packages/octane-table/src/useTable.tsrx' --- -This skill builds on `@tanstack/table-core#core` and `@tanstack/table-core#table-features`. The adapter ships compiled JavaScript; configure Octane's Vite integration to compile the application's TSRX components. +This skill builds on `@tanstack/table-core#core` and `@tanstack/table-core#table-features`. The adapter publishes authored TypeScript and TSRX, so the consuming app must compile it with Octane's integration. ## Setup @@ -167,4 +167,4 @@ Source: `examples/octane/basic-use-table` ## API Discovery -Inspect `node_modules/@tanstack/octane-table/dist/types/index.d.ts`, then `useTable.d.ts`, `Subscribe.d.ts`, `createTableHook.d.ts`, or `FlexRender.d.ts`; follow core exports into installed `@tanstack/table-core/dist/`. +Inspect `node_modules/@tanstack/octane-table/src/index.d.ts`, then the specific `*.tsrx.d.ts` sidecars and `types.ts`. This package intentionally ships authored source; follow core exports into installed `@tanstack/table-core/dist/`. diff --git a/packages/octane-table/src/Subscribe.tsrx.d.ts b/packages/octane-table/src/Subscribe.tsrx.d.ts index 069ba5d1b7..9c702ba88e 100644 --- a/packages/octane-table/src/Subscribe.tsrx.d.ts +++ b/packages/octane-table/src/Subscribe.tsrx.d.ts @@ -1,6 +1,8 @@ -// Focused public declaration for the compiled Subscribe client/server modules. -// Keeping this specific to Subscribe avoids a wildcard ambient declaration for -// consumer-authored .tsrx modules. +// Declaration companion for Subscribe.tsrx. +// +// A SPECIFIC module declaration (resolved by relative path), not an ambient +// `declare module '*.tsrx'` — so it types only this module and doesn't pollute a +// consumer's own .tsrx imports. The runtime resolves the authored .tsrx source. import type { SubscribeComponent } from './types' export declare const Subscribe: SubscribeComponent diff --git a/packages/octane-table/src/createTableHook.tsrx.d.ts b/packages/octane-table/src/createTableHook.tsrx.d.ts index c7b98c50b7..3611f3bbcc 100644 --- a/packages/octane-table/src/createTableHook.tsrx.d.ts +++ b/packages/octane-table/src/createTableHook.tsrx.d.ts @@ -1,6 +1,8 @@ -// Focused public declaration for the compiled createTableHook client/server -// modules. Keeping this specific to createTableHook avoids a wildcard ambient -// declaration for consumer-authored .tsrx modules. +// Declaration companion for createTableHook.tsrx. +// +// A SPECIFIC module declaration (resolved by relative path), not an ambient +// `declare module '*.tsrx'` — so it types only this module and doesn't pollute a +// consumer's own .tsrx imports. The runtime resolves the authored .tsrx source. import type { TableFeatures } from '@tanstack/table-core' import type { CreateTableHookOptions, diff --git a/packages/octane-table/src/index.d.ts b/packages/octane-table/src/index.d.ts new file mode 100644 index 0000000000..1dac9576c4 --- /dev/null +++ b/packages/octane-table/src/index.d.ts @@ -0,0 +1,8 @@ +export * from '@tanstack/table-core' + +export * from './FlexRender' +export * from './Subscribe.tsrx' +export * from './createTableHook.tsrx' +export * from './createTableHookContexts' +export * from './types' +export * from './useTable.tsrx' diff --git a/packages/octane-table/src/useTable.tsrx.d.ts b/packages/octane-table/src/useTable.tsrx.d.ts index 85326c4198..cf34ebf9cf 100644 --- a/packages/octane-table/src/useTable.tsrx.d.ts +++ b/packages/octane-table/src/useTable.tsrx.d.ts @@ -1,6 +1,8 @@ -// Focused public declaration for the compiled useTable client/server modules. -// Keeping this specific to useTable avoids a wildcard ambient declaration for -// consumer-authored .tsrx modules. +// Declaration companion for useTable.tsrx. +// +// A SPECIFIC module declaration (resolved by relative path), not an ambient +// `declare module '*.tsrx'` — so it types only this module and doesn't pollute a +// consumer's own .tsrx imports. The runtime resolves the authored .tsrx source. import type { RowData, TableFeatures, diff --git a/packages/octane-table/tsconfig.build.json b/packages/octane-table/tsconfig.build.json deleted file mode 100644 index 19db8b5174..0000000000 --- a/packages/octane-table/tsconfig.build.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "declaration": true, - "declarationMap": false, - "emitDeclarationOnly": true, - "noEmit": false, - "outDir": "./dist/types", - "rootDir": "./src", - "types": ["node"] - }, - "include": ["src"] -} diff --git a/packages/octane-table/tsdown.config.ts b/packages/octane-table/tsdown.config.ts deleted file mode 100644 index 74d34a87e5..0000000000 --- a/packages/octane-table/tsdown.config.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { createOctaneCompiler } from 'octane/compiler/bundler' -import { defineConfig } from 'tsdown' - -const runtimeEntries = [ - './src/index.ts', - './src/static-functions.ts', - './src/flex-render.ts', - './src/experimental-worker-plugin.ts', -] - -function octaneCompiler(environment: 'client' | 'server') { - const compiler = createOctaneCompiler({ - root: import.meta.dirname, - environment, - }) - - return { - name: `octane-${environment}`, - resolveId: { - order: 'pre' as const, - handler(source: string) { - if (environment === 'server' && source === 'octane') { - return { id: 'octane/server', external: true } - } - return null - }, - }, - transform(code: string, id: string) { - const result = compiler.transform(code, id, { - dev: false, - environment, - hmr: false, - }) - - return result && 'code' in result - ? { code: result.code, map: result.map } - : null - }, - } -} - -const runtimeConfig = { - entry: runtimeEntries, - format: ['esm'] as const, - unbundle: true, - dts: false, - sourcemap: false, - clean: true, - minify: false, - fixedExtension: false, - banner: { - js: '// octane-no-slot: this package already contains compiler-assigned hook slots.', - }, -} - -export default defineConfig([ - { - ...runtimeConfig, - name: 'client', - outDir: './dist/client', - platform: 'browser', - plugins: [octaneCompiler('client')], - }, - { - ...runtimeConfig, - name: 'server', - outDir: './dist/server', - platform: 'node', - plugins: [octaneCompiler('server')], - }, -]) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c39bbdfcc6..3b4b35973d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5905,8 +5905,8 @@ importers: specifier: ^10.5.0 version: 10.5.0 '@tanstack/octane-store': - specifier: ^0.12.0 - version: 0.12.0(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) + specifier: ^0.12.1 + version: 0.12.1(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) '@tanstack/octane-table': specifier: workspace:* version: link:../../../packages/octane-table @@ -5952,8 +5952,8 @@ importers: specifier: ^10.5.0 version: 10.5.0 '@tanstack/octane-store': - specifier: ^0.12.0 - version: 0.12.0(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) + specifier: ^0.12.1 + version: 0.12.1(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) '@tanstack/octane-table': specifier: workspace:* version: link:../../../packages/octane-table @@ -5999,8 +5999,8 @@ importers: specifier: ^10.5.0 version: 10.5.0 '@tanstack/octane-store': - specifier: ^0.12.0 - version: 0.12.0(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) + specifier: ^0.12.1 + version: 0.12.1(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) '@tanstack/octane-table': specifier: workspace:* version: link:../../../packages/octane-table @@ -6238,8 +6238,8 @@ importers: specifier: ^10.5.0 version: 10.5.0 '@tanstack/octane-store': - specifier: ^0.12.0 - version: 0.12.0(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) + specifier: ^0.12.1 + version: 0.12.1(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) '@tanstack/octane-table': specifier: workspace:* version: link:../../../packages/octane-table @@ -6495,8 +6495,8 @@ importers: specifier: ^10.5.0 version: 10.5.0 '@tanstack/octane-store': - specifier: ^0.12.0 - version: 0.12.0(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) + specifier: ^0.12.1 + version: 0.12.1(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) '@tanstack/octane-table': specifier: workspace:* version: link:../../../packages/octane-table @@ -6542,8 +6542,8 @@ importers: specifier: ^10.5.0 version: 10.5.0 '@tanstack/octane-store': - specifier: ^0.12.0 - version: 0.12.0(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) + specifier: ^0.12.1 + version: 0.12.1(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) '@tanstack/octane-table': specifier: workspace:* version: link:../../../packages/octane-table @@ -14163,8 +14163,8 @@ importers: packages/octane-table: dependencies: '@tanstack/octane-store': - specifier: ^0.12.0 - version: 0.12.0(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) + specifier: ^0.12.1 + version: 0.12.1(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0))) '@tanstack/table-core': specifier: workspace:* version: link:../table-core @@ -19964,8 +19964,8 @@ packages: peerDependencies: lit: ^3.1.0 - '@tanstack/octane-store@0.12.0': - resolution: {integrity: sha512-6/iR8gjk0qcFxbuxGeJSSqBRlelEanDm15853sCNXYbJ2JjWO6XJfWUW7/WNrfYu2lTR3nC8R6Zpi/VdB9HZZA==} + '@tanstack/octane-store@0.12.1': + resolution: {integrity: sha512-/YcDkLEm6ZBahTx5sZQzODyWsORRpBPaTRvAB3xGYK30qopZvay2BCt8azQuC/pYa241bshNzjzhwvJnSHaL/Q==} engines: {node: '>=22'} peerDependencies: octane: 0.1.21 @@ -33673,7 +33673,7 @@ snapshots: '@tanstack/virtual-core': 3.17.3 lit: 3.3.3 - '@tanstack/octane-store@0.12.0(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0)))': + '@tanstack/octane-store@0.12.1(octane@0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0)))': dependencies: '@tanstack/store': 0.11.0 octane: 0.1.21(@typescript-eslint/types@8.62.0)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(vite@8.1.4(@types/node@26.0.0)(esbuild@0.28.0)(jiti@2.7.0)(less@4.6.4)(sass@1.100.0)(sugarss@5.0.1(postcss@8.5.16))(terser@5.46.2)(yaml@2.9.0)) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 0f6944a1e5..2b3d1e2913 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -49,7 +49,7 @@ allowBuilds: cleanupUnusedCatalogs: true minimumReleaseAge: 1440 minimumReleaseAgeExclude: - - '@tanstack/octane-store@0.12.0' + - '@tanstack/octane-store@0.12.1' linkWorkspacePackages: true preferWorkspacePackages: true diff --git a/scripts/generateDocs.js b/scripts/generateDocs.js index 01ced64caa..6e26a321bd 100644 --- a/scripts/generateDocs.js +++ b/scripts/generateDocs.js @@ -37,6 +37,8 @@ await generateReferenceDocs({ }, { name: 'octane-table', + // Octane ships authored .tsrx. TypeDoc reads the package's public + // declaration entry, which resolves the focused .tsrx.d.ts companions. entryPoints: [ resolve(__dirname, '../packages/octane-table/docs-entry.d.ts'), ],