|
1 | 1 | {
|
| 2 | + "name": "table", |
2 | 3 | "private": true,
|
3 | 4 | "repository": "https://github.com/tanstack/table.git",
|
| 5 | + "packageManager": "pnpm@8.12.1", |
4 | 6 | "scripts": {
|
5 |
| - "clean": "npm exec --workspaces -c \"rm -rf build || true\"", |
6 |
| - "test": "(is-ci && npm run test:ci) || npm run test:dev", |
7 |
| - "test:ci": "nx test:ci root", |
8 |
| - "test:dev": "vitest --watch", |
| 7 | + "clean": "pnpm --filter \"./packages/**\" run clean", |
| 8 | + "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm", |
| 9 | + "test": "(is-ci && pnpm run test:lib) || pnpm run test:lib:dev", |
| 10 | + "test:lib": "nx run-many -t test:lib", |
| 11 | + "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib", |
| 12 | + "test:types": "nx run-many -t test:types", |
9 | 13 | "build": "nx build root",
|
10 | 14 | "watch": "concurrently --kill-others \"rollup --config rollup.config.js -w\" \"tsc -b --watch\"",
|
11 |
| - "linkAll": "lerna exec 'npm link' --parallel", |
12 |
| - "unlinkAll": "lerna exec 'npm unlink' --parallel", |
13 |
| - "dev": "npm run watch", |
| 15 | + "dev": "pnpm run watch", |
14 | 16 | "prettier": "prettier \"packages/*/{src/**,examples/**/src/**}.{md,js,jsx,ts,tsx,json}\" --write",
|
15 |
| - "visualize": "lerna exec 'open build/stats-html.html'", |
16 | 17 | "cipublish": "ts-node scripts/publish.ts",
|
17 |
| - "cipublishforce": "CI=true npm run cipublish", |
18 |
| - "typecheck": "nx typecheck root", |
19 |
| - "pr": "nx run-many --targets=test:ci,build,typecheck --projects=root" |
| 18 | + "cipublishforce": "CI=true pnpm run cipublish", |
| 19 | + "pr": "nx run-many --exclude=examples/** --targets=test:lib,build,test:types" |
| 20 | + }, |
| 21 | + "nx": { |
| 22 | + "includedScripts": [ |
| 23 | + "build" |
| 24 | + ] |
20 | 25 | },
|
21 | 26 | "namespace": "@tanstack",
|
22 |
| - "workspaces": [ |
23 |
| - "./examples/react/basic", |
24 |
| - "./examples/react/bootstrap", |
25 |
| - "./examples/react/column-dnd", |
26 |
| - "./examples/react/column-groups", |
27 |
| - "./examples/react/column-ordering", |
28 |
| - "./examples/react/column-pinning", |
29 |
| - "./examples/react/column-resizing-performant", |
30 |
| - "./examples/react/column-sizing", |
31 |
| - "./examples/react/column-visibility", |
32 |
| - "./examples/react/editable-data", |
33 |
| - "./examples/react/expanding", |
34 |
| - "./examples/react/filters", |
35 |
| - "./examples/react/full-width-resizable-table", |
36 |
| - "./examples/react/full-width-table", |
37 |
| - "./examples/react/fully-controlled", |
38 |
| - "./examples/react/grouping", |
39 |
| - "./examples/react/kitchen-sink", |
40 |
| - "./examples/react/material-ui-pagination", |
41 |
| - "./examples/react/pagination", |
42 |
| - "./examples/react/pagination-controlled", |
43 |
| - "./examples/react/row-dnd", |
44 |
| - "./examples/react/row-pinning", |
45 |
| - "./examples/react/row-selection", |
46 |
| - "./examples/react/sorting", |
47 |
| - "./examples/react/sub-components", |
48 |
| - "./examples/react/virtualized-infinite-scrolling", |
49 |
| - "./examples/react/virtualized-rows", |
50 |
| - "./examples/solid/basic", |
51 |
| - "./examples/solid/bootstrap", |
52 |
| - "./examples/solid/column-groups", |
53 |
| - "./examples/solid/column-ordering", |
54 |
| - "./examples/solid/column-visibility", |
55 |
| - "./examples/solid/sorting", |
56 |
| - "./examples/svelte/basic", |
57 |
| - "./examples/svelte/column-groups", |
58 |
| - "./examples/svelte/column-ordering", |
59 |
| - "./examples/svelte/column-pinning", |
60 |
| - "./examples/svelte/column-visibility", |
61 |
| - "./examples/svelte/sorting", |
62 |
| - "./examples/vue/basic", |
63 |
| - "./examples/vue/column-ordering", |
64 |
| - "./examples/vue/column-pinning", |
65 |
| - "./examples/vue/sorting", |
66 |
| - "./examples/vue/pagination-controlled", |
67 |
| - "./examples/vue/pagination", |
68 |
| - "./packages/match-sorter-utils", |
69 |
| - "./packages/react-table", |
70 |
| - "./packages/react-table-devtools", |
71 |
| - "./packages/solid-table", |
72 |
| - "./packages/svelte-table", |
73 |
| - "./packages/table-core", |
74 |
| - "./packages/vue-table" |
75 |
| - ], |
76 | 27 | "devDependencies": {
|
77 | 28 | "@babel/core": "^7.17.9",
|
78 | 29 | "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
90 | 41 | "@tsconfig/svelte": "^3.0.0",
|
91 | 42 | "@types/luxon": "^2.3.1",
|
92 | 43 | "@types/node": "^18.15.10",
|
93 |
| - "@types/react": "^18.0.14", |
94 |
| - "@types/react-dom": "^18.0.5", |
| 44 | + "@types/react": "^18.2.45", |
| 45 | + "@types/react-dom": "^18.2.18", |
95 | 46 | "@types/semver": "^7.3.10",
|
96 | 47 | "axios": "^0.26.1",
|
97 | 48 | "babel-plugin-transform-async-to-promises": "^0.8.18",
|
98 | 49 | "concurrently": "^7.1.0",
|
99 | 50 | "current-git-branch": "^1.1.0",
|
100 | 51 | "git-log-parser": "^1.2.0",
|
101 | 52 | "jsdom": "^21.1.1",
|
102 |
| - "lerna": "^4.0.0", |
103 | 53 | "luxon": "^2.3.2",
|
104 | 54 | "nx": "^17.2.7",
|
105 | 55 | "prettier": "^3.0.3",
|
106 |
| - "react": "^17.0.2", |
107 |
| - "react-dom": "^17.0.2", |
| 56 | + "react": "^18.2.0", |
| 57 | + "react-dom": "^18.2.0", |
| 58 | + "rimraf": "^5.0.5", |
108 | 59 | "rollup": "^2.70.2",
|
109 | 60 | "rollup-plugin-dts": "^4.2.2",
|
110 | 61 | "rollup-plugin-size": "^0.2.2",
|
|
0 commit comments