File tree Expand file tree Collapse file tree 4 files changed +37
-14
lines changed
Expand file tree Collapse file tree 4 files changed +37
-14
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,18 @@ jobs:
2626 - uses : actions/checkout@v4
2727 with :
2828 fetch-depth : 0 # required for git-diff later
29+ # 2 ▸ Set up pnpm
30+ - uses : pnpm/action-setup@v3
31+ with :
32+ version : 10.12.1
33+ run_install : false
2934
30- # 2 ▸ Node + pnpm-store cache
35+ # 3 ▸ Node + pnpm-store cache
3136 - uses : actions/setup-node@v4
3237 with :
3338 node-version : 20
3439 cache : pnpm
3540
36- # 3 ▸ Set up pnpm
37- - uses : pnpm/action-setup@v3
38- with :
39- version : 10.12.1
40- run_install : false
41-
4241 # 4 ▸ Install deps (deterministic)
4342 - name : Install dependencies
4443 run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change 66 " packages/*"
77 ],
88 "packageManager" :
" [email protected] " ,
9+ "references" : [
10+ {
11+ "path" : " packages/core"
12+ },
13+ {
14+ "path" : " packages/cli"
15+ }
16+ ],
917 "scripts" : {
1018 "preinstall" : " npx only-allow pnpm" ,
1119 "reset" : " git clean -fdx && pnpm install --frozen-lockfile && pnpm prepack:core && pnpm i-tarball" ,
2230 "format" : " prettier --write ." ,
2331 "lint" : " eslint ." ,
2432 "lint:fix" : " eslint . --fix" ,
25- "typecheck" : " tsc --noEmit" ,
33+ "typecheck" : " tsc --noEmit --project tsconfig.base.json " ,
2634 "size" : " npx esbuild ./packages/core/dist/index.js --bundle --minify --format=esm --external:react --define:process.env.NODE_ENV='\" production\" ' | gzip -c | wc -c"
2735 },
2836 "devDependencies" : {
Original file line number Diff line number Diff line change 11{
22 "extends" : " ../../tsconfig.base.json" ,
33 /* — compile exactly one file — */
4- "include" : [" src/**/*" ],
5- "exclude" : [" src/postcss/coming-soon" ],
4+ "include" : [
5+ " src/**/*"
6+ ],
7+ "exclude" : [
8+ " src/postcss/coming-soon" ,
9+ " node_modules" ,
10+ ],
611 /* — compiler output — */
712 "compilerOptions" : {
813 "target" : " ES2020" ,
1924 "strict" : true , // enable all strict type-checking options
2025 "skipLibCheck" : true // Hides all errors coming from node_modules
2126 }
22- }
27+ }
Original file line number Diff line number Diff line change 1212 "declaration" : true , // <- emit declaration files
1313 "emitDeclarationOnly" : false , // <- emit declaration files only
1414 "outDir" : " dist" , // <- output directory
15+ "skipLibCheck" : true , // <- skip type checking of declaration files in node_modules
1516 /* Maps for monorepo imports like "@react-zero-ui/core" */
1617 "composite" : true ,
17- "rootDir" : " src " ,
18+ "rootDir" : " ./ " ,
1819 "forceConsistentCasingInFileNames" : true
1920 },
20- "exclude" : [" dist" , " node_modules" ]
21- }
21+ "exclude" : [
22+ " dist" ,
23+ " **/*.tsx" ,
24+ " **/*.jsx" ,
25+ " **/*.test.ts" ,
26+ " pnpm-lock.yaml" ,
27+ " pnpm-workspace.yaml" ,
28+ " examples/**" ,
29+ " **/fixtures/**" ,
30+ " **/coming-soon/**"
31+ ]
32+ }
You can’t perform that action at this time.
0 commit comments