|
16 | 16 | "clean:node_modules": "find . -name 'node_modules' -type d -prune -exec rm -rf {} +", |
17 | 17 | "dev": "pnpm run watch", |
18 | 18 | "generate-docs": "node scripts/generateDocs.js", |
19 | | - "format": "pnpm run prettier:write", |
| 19 | + "format": "prettier --experimental-cli --ignore-unknown '**/*' --write", |
20 | 20 | "lint:fix:all": "pnpm run format && nx run-many --targets=lint --fix --exclude=packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}", |
21 | 21 | "lint:fix": "nx affected --target=lint:fix --exclude=examples/**,packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}", |
22 | 22 | "preinstall": "node -e \"if(process.env.CI == 'true') {console.log('Skipping preinstall...'); process.exit(1)}\" || npx -y only-allow pnpm", |
23 | | - "prettier": "prettier --ignore-unknown '**/*'", |
24 | | - "prettier:write": "pnpm run prettier --write", |
25 | 23 | "size": "size-limit", |
26 | 24 | "test": "pnpm run test:ci", |
27 | 25 | "test:build": "nx affected --target=test:build --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'", |
28 | | - "test:ci": "nx run-many --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build -p @tanstack/table-core @tanstack/react-table @tanstack/preact-table @tanstack/angular-table 'examples/react/**' 'examples/preact/**' 'examples/angular/**'", |
| 26 | + "test:ci": "nx run-many --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build -p @tanstack/table-core @tanstack/react-table @tanstack/preact-table @tanstack/angular-table 'examples/react/**' 'examples/preact/**' 'examples/angular/**'", |
29 | 27 | "test:eslint": "nx affected --target=test:eslint --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'", |
30 | | - "test:format": "pnpm run prettier --check", |
31 | 28 | "test:knip": "knip", |
32 | 29 | "test:lib": "nx affected --targets=test:lib --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'", |
33 | 30 | "test:lib:dev": "pnpm test:lib && nx watch --all -- pnpm test:lib", |
34 | | - "test:pr": "nx affected --targets=test:format,test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'", |
| 31 | + "test:pr": "nx affected --targets=test:eslint,test:sherif,test:knip,test:lib,test:types,test:build,build --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'", |
35 | 32 | "test:sherif": "sherif", |
36 | 33 | "test:types": "nx affected --targets=test:types --exclude='examples/{lit,solid,svelte,vanilla,vue}/**' --exclude='packages/{lit-table,solid-table,svelte-table,vue-table,match-sorter-utils}'", |
37 | 34 | "watch": "pnpm run build:all && nx watch --all -- pnpm run build:all" |
38 | 35 | }, |
39 | 36 | "nx": { |
40 | 37 | "includedScripts": [ |
41 | | - "test:format", |
42 | 38 | "test:knip", |
43 | 39 | "test:sherif" |
44 | 40 | ] |
|
0 commit comments