Skip to content

Commit 6906b87

Browse files
chore: Remove Vite aliases and tsconfig composite (#5247)
* Remove vite aliases * Slight tweak to workflows * Remove composite option
1 parent d17a62b commit 6906b87

File tree

96 files changed

+13
-356
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+13
-356
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
if: github.repository == 'TanStack/table'
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v4
26+
- name: Checkout
27+
uses: actions/checkout@v4
2728
with:
2829
fetch-depth: '0'
2930
- name: Setup pnpm

.github/workflows/pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717

1818
jobs:
1919
test:
20-
name: 'Test'
20+
name: Test
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout
@@ -33,9 +33,9 @@ jobs:
3333
with:
3434
node-version-file: .nvmrc
3535
cache: pnpm
36-
- name: Install Dependencies
37-
run: pnpm install --frozen-lockfile
38-
- name: Get appropriate base and head commits for `nx affected` commands
36+
- name: Install dependencies
37+
run: pnpm install --frozen-lockfile --prefer-offline
38+
- name: Get base and head commits for `nx affected`
3939
uses: nrwl/nx-set-shas@v3
4040
with:
4141
main-branch-name: 'main'

examples/react/basic/tsconfig.dev.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "../../../tsconfig.json",
33
"compilerOptions": {
4-
"composite": true,
54
"outDir": "./build/types"
65
},
76
"files": ["src/main.tsx"],

examples/react/basic/vite.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as path from 'path'
21
import { defineConfig } from 'vite'
32
import react from '@vitejs/plugin-react'
43
import rollupReplace from '@rollup/plugin-replace'
@@ -15,11 +14,4 @@ export default defineConfig({
1514
}),
1615
react(),
1716
],
18-
resolve: process.env.USE_SOURCE
19-
? {
20-
alias: {
21-
'react-table': path.resolve(__dirname, '../../../src/index.ts'),
22-
},
23-
}
24-
: {},
2517
})

examples/react/bootstrap/tsconfig.dev.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "../../../tsconfig.json",
33
"compilerOptions": {
4-
"composite": true,
54
"outDir": "./build/types"
65
},
76
"files": ["src/main.tsx"],

examples/react/bootstrap/vite.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as path from 'path'
21
import { defineConfig } from 'vite'
32
import react from '@vitejs/plugin-react'
43
import rollupReplace from '@rollup/plugin-replace'
@@ -15,11 +14,4 @@ export default defineConfig({
1514
}),
1615
react(),
1716
],
18-
resolve: process.env.USE_SOURCE
19-
? {
20-
alias: {
21-
'react-table': path.resolve(__dirname, '../../../src/index.ts'),
22-
},
23-
}
24-
: {},
2517
})

examples/react/column-dnd/tsconfig.dev.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "../../../tsconfig.json",
33
"compilerOptions": {
4-
"composite": true,
54
"outDir": "./build/types"
65
},
76
"files": ["src/main.tsx"],

examples/react/column-dnd/vite.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as path from 'path'
21
import { defineConfig } from 'vite'
32
import react from '@vitejs/plugin-react'
43
import rollupReplace from '@rollup/plugin-replace'
@@ -15,11 +14,4 @@ export default defineConfig({
1514
}),
1615
react(),
1716
],
18-
resolve: process.env.USE_SOURCE
19-
? {
20-
alias: {
21-
'react-table': path.resolve(__dirname, '../../../src/index.ts'),
22-
},
23-
}
24-
: {},
2517
})

examples/react/column-groups/tsconfig.dev.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"extends": "../../../tsconfig.json",
33
"compilerOptions": {
4-
"composite": true,
54
"outDir": "./build/types"
65
},
76
"files": ["src/main.tsx"],

examples/react/column-groups/vite.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import * as path from 'path'
21
import { defineConfig } from 'vite'
32
import react from '@vitejs/plugin-react'
43
import rollupReplace from '@rollup/plugin-replace'
@@ -15,11 +14,4 @@ export default defineConfig({
1514
}),
1615
react(),
1716
],
18-
resolve: process.env.USE_SOURCE
19-
? {
20-
alias: {
21-
'react-table': path.resolve(__dirname, '../../../src/index.ts'),
22-
},
23-
}
24-
: {},
2517
})

0 commit comments

Comments
 (0)