From 6906b875337dcb0cce610614e8bc175a846692db Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Mon, 1 Jan 2024 11:31:37 +1100 Subject: [PATCH] chore: Remove Vite aliases and tsconfig composite (#5247) * Remove vite aliases * Slight tweak to workflows * Remove composite option --- .github/workflows/ci.yml | 3 ++- .github/workflows/pr.yml | 8 ++++---- examples/react/basic/tsconfig.dev.json | 1 - examples/react/basic/vite.config.js | 8 -------- examples/react/bootstrap/tsconfig.dev.json | 1 - examples/react/bootstrap/vite.config.js | 8 -------- examples/react/column-dnd/tsconfig.dev.json | 1 - examples/react/column-dnd/vite.config.js | 8 -------- examples/react/column-groups/tsconfig.dev.json | 1 - examples/react/column-groups/vite.config.js | 8 -------- examples/react/column-ordering/tsconfig.dev.json | 1 - examples/react/column-ordering/vite.config.js | 8 -------- examples/react/column-pinning/tsconfig.dev.json | 1 - examples/react/column-pinning/vite.config.js | 8 -------- .../react/column-resizing-performant/tsconfig.dev.json | 1 - examples/react/column-resizing-performant/vite.config.js | 8 -------- examples/react/column-sizing/tsconfig.dev.json | 1 - examples/react/column-sizing/vite.config.js | 8 -------- examples/react/column-visibility/tsconfig.dev.json | 1 - examples/react/column-visibility/vite.config.js | 8 -------- examples/react/editable-data/tsconfig.dev.json | 1 - examples/react/editable-data/vite.config.js | 8 -------- examples/react/expanding/tsconfig.dev.json | 1 - examples/react/expanding/vite.config.js | 8 -------- examples/react/filters/tsconfig.dev.json | 1 - examples/react/filters/vite.config.js | 8 -------- .../react/full-width-resizable-table/tsconfig.dev.json | 1 - examples/react/full-width-resizable-table/vite.config.js | 8 -------- examples/react/full-width-table/tsconfig.dev.json | 1 - examples/react/full-width-table/vite.config.js | 8 -------- examples/react/fully-controlled/tsconfig.dev.json | 1 - examples/react/fully-controlled/vite.config.js | 8 -------- examples/react/grouping/tsconfig.dev.json | 1 - examples/react/grouping/vite.config.js | 8 -------- examples/react/kitchen-sink/tsconfig.dev.json | 1 - examples/react/kitchen-sink/vite.config.js | 8 -------- examples/react/material-ui-pagination/tsconfig.dev.json | 1 - examples/react/material-ui-pagination/vite.config.js | 8 -------- examples/react/pagination-controlled/tsconfig.dev.json | 1 - examples/react/pagination-controlled/vite.config.js | 8 -------- examples/react/pagination/tsconfig.dev.json | 1 - examples/react/pagination/vite.config.js | 8 -------- examples/react/row-dnd/tsconfig.dev.json | 1 - examples/react/row-dnd/vite.config.js | 8 -------- examples/react/row-pinning/tsconfig.dev.json | 1 - examples/react/row-pinning/vite.config.js | 8 -------- examples/react/row-selection/tsconfig.dev.json | 1 - examples/react/row-selection/vite.config.js | 8 -------- examples/react/sorting/tsconfig.dev.json | 1 - examples/react/sorting/vite.config.js | 8 -------- examples/react/sub-components/tsconfig.dev.json | 1 - examples/react/sub-components/vite.config.js | 8 -------- examples/react/virtualized-columns/tsconfig.dev.json | 1 - examples/react/virtualized-columns/vite.config.js | 8 -------- .../virtualized-infinite-scrolling/tsconfig.dev.json | 1 - .../react/virtualized-infinite-scrolling/vite.config.js | 8 -------- examples/react/virtualized-rows/tsconfig.dev.json | 1 - examples/react/virtualized-rows/vite.config.js | 8 -------- examples/solid/basic/tsconfig.dev.json | 1 - examples/solid/bootstrap/tsconfig.dev.json | 1 - examples/solid/column-groups/tsconfig.dev.json | 1 - examples/solid/column-ordering/tsconfig.dev.json | 1 - examples/solid/column-visibility/tsconfig.dev.json | 1 - examples/solid/sorting/tsconfig.dev.json | 1 - examples/svelte/basic/tsconfig.dev.json | 1 - examples/svelte/basic/vite.config.js | 8 -------- examples/svelte/column-groups/tsconfig.dev.json | 1 - examples/svelte/column-groups/vite.config.js | 8 -------- examples/svelte/column-ordering/tsconfig.dev.json | 1 - examples/svelte/column-ordering/vite.config.js | 8 -------- examples/svelte/column-pinning/tsconfig.dev.json | 1 - examples/svelte/column-pinning/vite.config.js | 8 -------- examples/svelte/column-visibility/tsconfig.dev.json | 1 - examples/svelte/column-visibility/vite.config.js | 8 -------- examples/svelte/sorting/tsconfig.dev.json | 1 - examples/svelte/sorting/vite.config.js | 8 -------- examples/vue/basic/tsconfig.dev.json | 1 - examples/vue/basic/tsconfig.node.json | 1 - examples/vue/column-ordering/tsconfig.dev.json | 1 - examples/vue/column-ordering/tsconfig.node.json | 1 - examples/vue/column-pinning/tsconfig.dev.json | 1 - examples/vue/column-pinning/tsconfig.node.json | 1 - examples/vue/pagination-controlled/tsconfig.node.json | 1 - examples/vue/pagination/tsconfig.dev.json | 1 - examples/vue/pagination/tsconfig.node.json | 1 - examples/vue/row-selection/tsconfig.node.json | 1 - examples/vue/sorting/tsconfig.dev.json | 1 - examples/vue/sorting/tsconfig.node.json | 1 - packages/match-sorter-utils/tsconfig.json | 4 +--- packages/react-table-devtools/tsconfig.json | 4 +--- packages/react-table/tsconfig.json | 4 +--- packages/react-table/vitest.config.ts | 6 ------ packages/solid-table/tsconfig.json | 4 +--- packages/svelte-table/tsconfig.json | 4 +--- packages/table-core/tsconfig.json | 4 +--- packages/vue-table/tsconfig.json | 4 +--- 96 files changed, 13 insertions(+), 356 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0130390038..c2dc98be39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,8 @@ jobs: if: github.repository == 'TanStack/table' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 with: fetch-depth: '0' - name: Setup pnpm diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fc103975dc..aabd20c46d 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,7 +17,7 @@ env: jobs: test: - name: 'Test' + name: Test runs-on: ubuntu-latest steps: - name: Checkout @@ -33,9 +33,9 @@ jobs: with: node-version-file: .nvmrc cache: pnpm - - name: Install Dependencies - run: pnpm install --frozen-lockfile - - name: Get appropriate base and head commits for `nx affected` commands + - name: Install dependencies + run: pnpm install --frozen-lockfile --prefer-offline + - name: Get base and head commits for `nx affected` uses: nrwl/nx-set-shas@v3 with: main-branch-name: 'main' diff --git a/examples/react/basic/tsconfig.dev.json b/examples/react/basic/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/basic/tsconfig.dev.json +++ b/examples/react/basic/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/basic/vite.config.js b/examples/react/basic/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/basic/vite.config.js +++ b/examples/react/basic/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/bootstrap/tsconfig.dev.json b/examples/react/bootstrap/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/bootstrap/tsconfig.dev.json +++ b/examples/react/bootstrap/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/bootstrap/vite.config.js b/examples/react/bootstrap/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/bootstrap/vite.config.js +++ b/examples/react/bootstrap/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/column-dnd/tsconfig.dev.json b/examples/react/column-dnd/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/column-dnd/tsconfig.dev.json +++ b/examples/react/column-dnd/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/column-dnd/vite.config.js b/examples/react/column-dnd/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/column-dnd/vite.config.js +++ b/examples/react/column-dnd/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/column-groups/tsconfig.dev.json b/examples/react/column-groups/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/column-groups/tsconfig.dev.json +++ b/examples/react/column-groups/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/column-groups/vite.config.js b/examples/react/column-groups/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/column-groups/vite.config.js +++ b/examples/react/column-groups/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/column-ordering/tsconfig.dev.json b/examples/react/column-ordering/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/column-ordering/tsconfig.dev.json +++ b/examples/react/column-ordering/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/column-ordering/vite.config.js b/examples/react/column-ordering/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/column-ordering/vite.config.js +++ b/examples/react/column-ordering/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/column-pinning/tsconfig.dev.json b/examples/react/column-pinning/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/column-pinning/tsconfig.dev.json +++ b/examples/react/column-pinning/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/column-pinning/vite.config.js b/examples/react/column-pinning/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/column-pinning/vite.config.js +++ b/examples/react/column-pinning/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/column-resizing-performant/tsconfig.dev.json b/examples/react/column-resizing-performant/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/column-resizing-performant/tsconfig.dev.json +++ b/examples/react/column-resizing-performant/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/column-resizing-performant/vite.config.js b/examples/react/column-resizing-performant/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/column-resizing-performant/vite.config.js +++ b/examples/react/column-resizing-performant/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/column-sizing/tsconfig.dev.json b/examples/react/column-sizing/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/column-sizing/tsconfig.dev.json +++ b/examples/react/column-sizing/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/column-sizing/vite.config.js b/examples/react/column-sizing/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/column-sizing/vite.config.js +++ b/examples/react/column-sizing/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/column-visibility/tsconfig.dev.json b/examples/react/column-visibility/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/column-visibility/tsconfig.dev.json +++ b/examples/react/column-visibility/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/column-visibility/vite.config.js b/examples/react/column-visibility/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/column-visibility/vite.config.js +++ b/examples/react/column-visibility/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/editable-data/tsconfig.dev.json b/examples/react/editable-data/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/editable-data/tsconfig.dev.json +++ b/examples/react/editable-data/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/editable-data/vite.config.js b/examples/react/editable-data/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/editable-data/vite.config.js +++ b/examples/react/editable-data/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/expanding/tsconfig.dev.json b/examples/react/expanding/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/expanding/tsconfig.dev.json +++ b/examples/react/expanding/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/expanding/vite.config.js b/examples/react/expanding/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/expanding/vite.config.js +++ b/examples/react/expanding/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/filters/tsconfig.dev.json b/examples/react/filters/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/filters/tsconfig.dev.json +++ b/examples/react/filters/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/filters/vite.config.js b/examples/react/filters/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/filters/vite.config.js +++ b/examples/react/filters/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/full-width-resizable-table/tsconfig.dev.json b/examples/react/full-width-resizable-table/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/full-width-resizable-table/tsconfig.dev.json +++ b/examples/react/full-width-resizable-table/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/full-width-resizable-table/vite.config.js b/examples/react/full-width-resizable-table/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/full-width-resizable-table/vite.config.js +++ b/examples/react/full-width-resizable-table/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/full-width-table/tsconfig.dev.json b/examples/react/full-width-table/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/full-width-table/tsconfig.dev.json +++ b/examples/react/full-width-table/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/full-width-table/vite.config.js b/examples/react/full-width-table/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/full-width-table/vite.config.js +++ b/examples/react/full-width-table/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/fully-controlled/tsconfig.dev.json b/examples/react/fully-controlled/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/fully-controlled/tsconfig.dev.json +++ b/examples/react/fully-controlled/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/fully-controlled/vite.config.js b/examples/react/fully-controlled/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/fully-controlled/vite.config.js +++ b/examples/react/fully-controlled/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/grouping/tsconfig.dev.json b/examples/react/grouping/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/grouping/tsconfig.dev.json +++ b/examples/react/grouping/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/grouping/vite.config.js b/examples/react/grouping/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/grouping/vite.config.js +++ b/examples/react/grouping/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/kitchen-sink/tsconfig.dev.json b/examples/react/kitchen-sink/tsconfig.dev.json index 94321f0ca7..220bc45c2a 100644 --- a/examples/react/kitchen-sink/tsconfig.dev.json +++ b/examples/react/kitchen-sink/tsconfig.dev.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", "compilerOptions": { "allowSyntheticDefaultImports": true, - "composite": true, "outDir": "./build/types" }, "jsxImportSource": "@emotion/react", diff --git a/examples/react/kitchen-sink/vite.config.js b/examples/react/kitchen-sink/vite.config.js index 4eba3ea78d..ac62e19f34 100644 --- a/examples/react/kitchen-sink/vite.config.js +++ b/examples/react/kitchen-sink/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -29,11 +28,4 @@ export default defineConfig({ }, }), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/material-ui-pagination/tsconfig.dev.json b/examples/react/material-ui-pagination/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/material-ui-pagination/tsconfig.dev.json +++ b/examples/react/material-ui-pagination/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/material-ui-pagination/vite.config.js b/examples/react/material-ui-pagination/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/material-ui-pagination/vite.config.js +++ b/examples/react/material-ui-pagination/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/pagination-controlled/tsconfig.dev.json b/examples/react/pagination-controlled/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/pagination-controlled/tsconfig.dev.json +++ b/examples/react/pagination-controlled/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/pagination-controlled/vite.config.js b/examples/react/pagination-controlled/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/pagination-controlled/vite.config.js +++ b/examples/react/pagination-controlled/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/pagination/tsconfig.dev.json b/examples/react/pagination/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/pagination/tsconfig.dev.json +++ b/examples/react/pagination/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/pagination/vite.config.js b/examples/react/pagination/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/pagination/vite.config.js +++ b/examples/react/pagination/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/row-dnd/tsconfig.dev.json b/examples/react/row-dnd/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/row-dnd/tsconfig.dev.json +++ b/examples/react/row-dnd/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/row-dnd/vite.config.js b/examples/react/row-dnd/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/row-dnd/vite.config.js +++ b/examples/react/row-dnd/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/row-pinning/tsconfig.dev.json b/examples/react/row-pinning/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/row-pinning/tsconfig.dev.json +++ b/examples/react/row-pinning/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/row-pinning/vite.config.js b/examples/react/row-pinning/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/row-pinning/vite.config.js +++ b/examples/react/row-pinning/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/row-selection/tsconfig.dev.json b/examples/react/row-selection/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/row-selection/tsconfig.dev.json +++ b/examples/react/row-selection/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/row-selection/vite.config.js b/examples/react/row-selection/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/row-selection/vite.config.js +++ b/examples/react/row-selection/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/sorting/tsconfig.dev.json b/examples/react/sorting/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/sorting/tsconfig.dev.json +++ b/examples/react/sorting/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/sorting/vite.config.js b/examples/react/sorting/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/sorting/vite.config.js +++ b/examples/react/sorting/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/sub-components/tsconfig.dev.json b/examples/react/sub-components/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/sub-components/tsconfig.dev.json +++ b/examples/react/sub-components/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/sub-components/vite.config.js b/examples/react/sub-components/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/sub-components/vite.config.js +++ b/examples/react/sub-components/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/virtualized-columns/tsconfig.dev.json b/examples/react/virtualized-columns/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/virtualized-columns/tsconfig.dev.json +++ b/examples/react/virtualized-columns/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/virtualized-columns/vite.config.js b/examples/react/virtualized-columns/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/virtualized-columns/vite.config.js +++ b/examples/react/virtualized-columns/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/virtualized-infinite-scrolling/tsconfig.dev.json b/examples/react/virtualized-infinite-scrolling/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/virtualized-infinite-scrolling/tsconfig.dev.json +++ b/examples/react/virtualized-infinite-scrolling/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/virtualized-infinite-scrolling/vite.config.js b/examples/react/virtualized-infinite-scrolling/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/virtualized-infinite-scrolling/vite.config.js +++ b/examples/react/virtualized-infinite-scrolling/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/react/virtualized-rows/tsconfig.dev.json b/examples/react/virtualized-rows/tsconfig.dev.json index 601db1bf8f..621dbdb8af 100644 --- a/examples/react/virtualized-rows/tsconfig.dev.json +++ b/examples/react/virtualized-rows/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types" }, "files": ["src/main.tsx"], diff --git a/examples/react/virtualized-rows/vite.config.js b/examples/react/virtualized-rows/vite.config.js index e567193bbf..2e1361723a 100644 --- a/examples/react/virtualized-rows/vite.config.js +++ b/examples/react/virtualized-rows/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), react(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'react-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/solid/basic/tsconfig.dev.json b/examples/solid/basic/tsconfig.dev.json index e2fbff8bf2..a002ab015f 100644 --- a/examples/solid/basic/tsconfig.dev.json +++ b/examples/solid/basic/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "jsxImportSource": "solid-js", "jsx": "preserve" diff --git a/examples/solid/bootstrap/tsconfig.dev.json b/examples/solid/bootstrap/tsconfig.dev.json index e2fbff8bf2..a002ab015f 100644 --- a/examples/solid/bootstrap/tsconfig.dev.json +++ b/examples/solid/bootstrap/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "jsxImportSource": "solid-js", "jsx": "preserve" diff --git a/examples/solid/column-groups/tsconfig.dev.json b/examples/solid/column-groups/tsconfig.dev.json index e2fbff8bf2..a002ab015f 100644 --- a/examples/solid/column-groups/tsconfig.dev.json +++ b/examples/solid/column-groups/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "jsxImportSource": "solid-js", "jsx": "preserve" diff --git a/examples/solid/column-ordering/tsconfig.dev.json b/examples/solid/column-ordering/tsconfig.dev.json index e2fbff8bf2..a002ab015f 100644 --- a/examples/solid/column-ordering/tsconfig.dev.json +++ b/examples/solid/column-ordering/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "jsxImportSource": "solid-js", "jsx": "preserve" diff --git a/examples/solid/column-visibility/tsconfig.dev.json b/examples/solid/column-visibility/tsconfig.dev.json index e2fbff8bf2..a002ab015f 100644 --- a/examples/solid/column-visibility/tsconfig.dev.json +++ b/examples/solid/column-visibility/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "jsxImportSource": "solid-js", "jsx": "preserve" diff --git a/examples/solid/sorting/tsconfig.dev.json b/examples/solid/sorting/tsconfig.dev.json index e2fbff8bf2..a002ab015f 100644 --- a/examples/solid/sorting/tsconfig.dev.json +++ b/examples/solid/sorting/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "jsxImportSource": "solid-js", "jsx": "preserve" diff --git a/examples/svelte/basic/tsconfig.dev.json b/examples/svelte/basic/tsconfig.dev.json index 4602ceb678..826e3539a1 100644 --- a/examples/svelte/basic/tsconfig.dev.json +++ b/examples/svelte/basic/tsconfig.dev.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", // "extends": "@tsconfig/svelte/tsconfig.json", "compilerOptions": { - "composite": true, "target": "esnext", "useDefineForClassFields": true, "module": "esnext", diff --git a/examples/svelte/basic/vite.config.js b/examples/svelte/basic/vite.config.js index eaba5ca191..c6ced40a24 100644 --- a/examples/svelte/basic/vite.config.js +++ b/examples/svelte/basic/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import { svelte } from '@sveltejs/vite-plugin-svelte' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), svelte(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'svelte-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/svelte/column-groups/tsconfig.dev.json b/examples/svelte/column-groups/tsconfig.dev.json index 4602ceb678..826e3539a1 100644 --- a/examples/svelte/column-groups/tsconfig.dev.json +++ b/examples/svelte/column-groups/tsconfig.dev.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", // "extends": "@tsconfig/svelte/tsconfig.json", "compilerOptions": { - "composite": true, "target": "esnext", "useDefineForClassFields": true, "module": "esnext", diff --git a/examples/svelte/column-groups/vite.config.js b/examples/svelte/column-groups/vite.config.js index eaba5ca191..c6ced40a24 100644 --- a/examples/svelte/column-groups/vite.config.js +++ b/examples/svelte/column-groups/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import { svelte } from '@sveltejs/vite-plugin-svelte' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), svelte(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'svelte-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/svelte/column-ordering/tsconfig.dev.json b/examples/svelte/column-ordering/tsconfig.dev.json index 4602ceb678..826e3539a1 100644 --- a/examples/svelte/column-ordering/tsconfig.dev.json +++ b/examples/svelte/column-ordering/tsconfig.dev.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", // "extends": "@tsconfig/svelte/tsconfig.json", "compilerOptions": { - "composite": true, "target": "esnext", "useDefineForClassFields": true, "module": "esnext", diff --git a/examples/svelte/column-ordering/vite.config.js b/examples/svelte/column-ordering/vite.config.js index eaba5ca191..c6ced40a24 100644 --- a/examples/svelte/column-ordering/vite.config.js +++ b/examples/svelte/column-ordering/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import { svelte } from '@sveltejs/vite-plugin-svelte' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), svelte(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'svelte-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/svelte/column-pinning/tsconfig.dev.json b/examples/svelte/column-pinning/tsconfig.dev.json index 4602ceb678..826e3539a1 100644 --- a/examples/svelte/column-pinning/tsconfig.dev.json +++ b/examples/svelte/column-pinning/tsconfig.dev.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", // "extends": "@tsconfig/svelte/tsconfig.json", "compilerOptions": { - "composite": true, "target": "esnext", "useDefineForClassFields": true, "module": "esnext", diff --git a/examples/svelte/column-pinning/vite.config.js b/examples/svelte/column-pinning/vite.config.js index eaba5ca191..c6ced40a24 100644 --- a/examples/svelte/column-pinning/vite.config.js +++ b/examples/svelte/column-pinning/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import { svelte } from '@sveltejs/vite-plugin-svelte' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), svelte(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'svelte-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/svelte/column-visibility/tsconfig.dev.json b/examples/svelte/column-visibility/tsconfig.dev.json index 4602ceb678..826e3539a1 100644 --- a/examples/svelte/column-visibility/tsconfig.dev.json +++ b/examples/svelte/column-visibility/tsconfig.dev.json @@ -2,7 +2,6 @@ "extends": "../../../tsconfig.json", // "extends": "@tsconfig/svelte/tsconfig.json", "compilerOptions": { - "composite": true, "target": "esnext", "useDefineForClassFields": true, "module": "esnext", diff --git a/examples/svelte/column-visibility/vite.config.js b/examples/svelte/column-visibility/vite.config.js index eaba5ca191..c6ced40a24 100644 --- a/examples/svelte/column-visibility/vite.config.js +++ b/examples/svelte/column-visibility/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import { svelte } from '@sveltejs/vite-plugin-svelte' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), svelte(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'svelte-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/svelte/sorting/tsconfig.dev.json b/examples/svelte/sorting/tsconfig.dev.json index 92be61dc7c..350d64b4ce 100644 --- a/examples/svelte/sorting/tsconfig.dev.json +++ b/examples/svelte/sorting/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "target": "esnext", "useDefineForClassFields": true, "module": "esnext", diff --git a/examples/svelte/sorting/vite.config.js b/examples/svelte/sorting/vite.config.js index eaba5ca191..c6ced40a24 100644 --- a/examples/svelte/sorting/vite.config.js +++ b/examples/svelte/sorting/vite.config.js @@ -1,4 +1,3 @@ -import * as path from 'path' import { defineConfig } from 'vite' import { svelte } from '@sveltejs/vite-plugin-svelte' import rollupReplace from '@rollup/plugin-replace' @@ -15,11 +14,4 @@ export default defineConfig({ }), svelte(), ], - resolve: process.env.USE_SOURCE - ? { - alias: { - 'svelte-table': path.resolve(__dirname, '../../../src/index.ts'), - }, - } - : {}, }) diff --git a/examples/vue/basic/tsconfig.dev.json b/examples/vue/basic/tsconfig.dev.json index 8199439883..bef5571c5d 100644 --- a/examples/vue/basic/tsconfig.dev.json +++ b/examples/vue/basic/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "types": ["vite/client"] }, diff --git a/examples/vue/basic/tsconfig.node.json b/examples/vue/basic/tsconfig.node.json index e993792cb1..f1ed4e7ec5 100644 --- a/examples/vue/basic/tsconfig.node.json +++ b/examples/vue/basic/tsconfig.node.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "composite": true, "module": "esnext", "moduleResolution": "node" }, diff --git a/examples/vue/column-ordering/tsconfig.dev.json b/examples/vue/column-ordering/tsconfig.dev.json index 8199439883..bef5571c5d 100644 --- a/examples/vue/column-ordering/tsconfig.dev.json +++ b/examples/vue/column-ordering/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "types": ["vite/client"] }, diff --git a/examples/vue/column-ordering/tsconfig.node.json b/examples/vue/column-ordering/tsconfig.node.json index e993792cb1..f1ed4e7ec5 100644 --- a/examples/vue/column-ordering/tsconfig.node.json +++ b/examples/vue/column-ordering/tsconfig.node.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "composite": true, "module": "esnext", "moduleResolution": "node" }, diff --git a/examples/vue/column-pinning/tsconfig.dev.json b/examples/vue/column-pinning/tsconfig.dev.json index 8199439883..bef5571c5d 100644 --- a/examples/vue/column-pinning/tsconfig.dev.json +++ b/examples/vue/column-pinning/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "types": ["vite/client"] }, diff --git a/examples/vue/column-pinning/tsconfig.node.json b/examples/vue/column-pinning/tsconfig.node.json index e993792cb1..f1ed4e7ec5 100644 --- a/examples/vue/column-pinning/tsconfig.node.json +++ b/examples/vue/column-pinning/tsconfig.node.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "composite": true, "module": "esnext", "moduleResolution": "node" }, diff --git a/examples/vue/pagination-controlled/tsconfig.node.json b/examples/vue/pagination-controlled/tsconfig.node.json index e993792cb1..f1ed4e7ec5 100644 --- a/examples/vue/pagination-controlled/tsconfig.node.json +++ b/examples/vue/pagination-controlled/tsconfig.node.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "composite": true, "module": "esnext", "moduleResolution": "node" }, diff --git a/examples/vue/pagination/tsconfig.dev.json b/examples/vue/pagination/tsconfig.dev.json index 8199439883..bef5571c5d 100644 --- a/examples/vue/pagination/tsconfig.dev.json +++ b/examples/vue/pagination/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "types": ["vite/client"] }, diff --git a/examples/vue/pagination/tsconfig.node.json b/examples/vue/pagination/tsconfig.node.json index e993792cb1..f1ed4e7ec5 100644 --- a/examples/vue/pagination/tsconfig.node.json +++ b/examples/vue/pagination/tsconfig.node.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "composite": true, "module": "esnext", "moduleResolution": "node" }, diff --git a/examples/vue/row-selection/tsconfig.node.json b/examples/vue/row-selection/tsconfig.node.json index e993792cb1..f1ed4e7ec5 100644 --- a/examples/vue/row-selection/tsconfig.node.json +++ b/examples/vue/row-selection/tsconfig.node.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "composite": true, "module": "esnext", "moduleResolution": "node" }, diff --git a/examples/vue/sorting/tsconfig.dev.json b/examples/vue/sorting/tsconfig.dev.json index 8199439883..bef5571c5d 100644 --- a/examples/vue/sorting/tsconfig.dev.json +++ b/examples/vue/sorting/tsconfig.dev.json @@ -1,7 +1,6 @@ { "extends": "../../../tsconfig.json", "compilerOptions": { - "composite": true, "outDir": "./build/types", "types": ["vite/client"] }, diff --git a/examples/vue/sorting/tsconfig.node.json b/examples/vue/sorting/tsconfig.node.json index e993792cb1..f1ed4e7ec5 100644 --- a/examples/vue/sorting/tsconfig.node.json +++ b/examples/vue/sorting/tsconfig.node.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "composite": true, "module": "esnext", "moduleResolution": "node" }, diff --git a/packages/match-sorter-utils/tsconfig.json b/packages/match-sorter-utils/tsconfig.json index 1f585a4ab6..ed9b7835dd 100644 --- a/packages/match-sorter-utils/tsconfig.json +++ b/packages/match-sorter-utils/tsconfig.json @@ -1,10 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "composite": true, "rootDir": "./src", - "outDir": "./build/lib", - "tsBuildInfoFile": "./build/.tsbuildinfo" + "outDir": "./build/lib" }, "include": ["src"] } diff --git a/packages/react-table-devtools/tsconfig.json b/packages/react-table-devtools/tsconfig.json index 1f585a4ab6..ed9b7835dd 100644 --- a/packages/react-table-devtools/tsconfig.json +++ b/packages/react-table-devtools/tsconfig.json @@ -1,10 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "composite": true, "rootDir": "./src", - "outDir": "./build/lib", - "tsBuildInfoFile": "./build/.tsbuildinfo" + "outDir": "./build/lib" }, "include": ["src"] } diff --git a/packages/react-table/tsconfig.json b/packages/react-table/tsconfig.json index 1f585a4ab6..ed9b7835dd 100644 --- a/packages/react-table/tsconfig.json +++ b/packages/react-table/tsconfig.json @@ -1,10 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "composite": true, "rootDir": "./src", - "outDir": "./build/lib", - "tsBuildInfoFile": "./build/.tsbuildinfo" + "outDir": "./build/lib" }, "include": ["src"] } diff --git a/packages/react-table/vitest.config.ts b/packages/react-table/vitest.config.ts index 198b82781d..76cc838656 100644 --- a/packages/react-table/vitest.config.ts +++ b/packages/react-table/vitest.config.ts @@ -1,5 +1,4 @@ import { defineConfig } from 'vitest/config' -import { resolve } from 'node:path' export default defineConfig({ test: { @@ -9,9 +8,4 @@ export default defineConfig({ globals: true, dir: '__tests__', }, - resolve: { - alias: { - '@tanstack/table-core': resolve(__dirname, '../table-core/src'), - }, - }, }) diff --git a/packages/solid-table/tsconfig.json b/packages/solid-table/tsconfig.json index 1f585a4ab6..ed9b7835dd 100644 --- a/packages/solid-table/tsconfig.json +++ b/packages/solid-table/tsconfig.json @@ -1,10 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "composite": true, "rootDir": "./src", - "outDir": "./build/lib", - "tsBuildInfoFile": "./build/.tsbuildinfo" + "outDir": "./build/lib" }, "include": ["src"] } diff --git a/packages/svelte-table/tsconfig.json b/packages/svelte-table/tsconfig.json index 1f585a4ab6..ed9b7835dd 100644 --- a/packages/svelte-table/tsconfig.json +++ b/packages/svelte-table/tsconfig.json @@ -1,10 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "composite": true, "rootDir": "./src", - "outDir": "./build/lib", - "tsBuildInfoFile": "./build/.tsbuildinfo" + "outDir": "./build/lib" }, "include": ["src"] } diff --git a/packages/table-core/tsconfig.json b/packages/table-core/tsconfig.json index d53d207186..f81fb4951f 100644 --- a/packages/table-core/tsconfig.json +++ b/packages/table-core/tsconfig.json @@ -1,10 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "composite": true, "rootDir": "./src", - "outDir": "./build/lib", - "tsBuildInfoFile": "./build/.tsbuildinfo" + "outDir": "./build/lib" }, "include": ["src/**/*"] } diff --git a/packages/vue-table/tsconfig.json b/packages/vue-table/tsconfig.json index 1f585a4ab6..ed9b7835dd 100644 --- a/packages/vue-table/tsconfig.json +++ b/packages/vue-table/tsconfig.json @@ -1,10 +1,8 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "composite": true, "rootDir": "./src", - "outDir": "./build/lib", - "tsBuildInfoFile": "./build/.tsbuildinfo" + "outDir": "./build/lib" }, "include": ["src"] }