File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish Package
22
33on :
4+ workflow_dispatch :
45 push :
56 branches :
67 - main
78 paths :
89 - " package.json"
10+ - " lib/**"
11+ - " .github/workflows/publish.yml"
912
1013jobs :
1114 publish :
5861
5962 - name : Build
6063 if : steps.version-check.outputs.changed == 'true'
61- run : bun run build:lib
64+ run : bun run build
6265
6366 - name : Publish
6467 if : steps.version-check.outputs.changed == 'true'
Original file line number Diff line number Diff line change 88* .tsbuildinfo
99.DS_Store
1010pnpm-lock.yaml
11- package-lock.json
11+ package-lock.json
Original file line number Diff line number Diff line change 1717 " !**/dist" ,
1818 " !**/bun.lock" ,
1919 " !**/*.lock" ,
20+ " !lib/validate.ts" ,
2021 " !lib/validate.js"
2122 ]
2223 },
Original file line number Diff line number Diff line change 3131 "check-types" : " tsc --noEmit" ,
3232 "lint" : " bunx @biomejs/biome ci ." ,
3333 "lint:fix" : " bunx @biomejs/biome check --write ." ,
34- "build:lib" : " esbuild lib/validate.ts --bundle --minify --format=esm --platform= node --target=es2022 --external:node:crypto --outfile= lib/validate.js" ,
34+ "build:lib" : " node -e \" const fs=require(' node:fs'); fs.accessSync(' lib/validate.js'); fs.accessSync('lib/validate.d.ts') \" " ,
3535 "prepack" : " npm run build"
3636 },
3737 "peerDependencies" : {
You can’t perform that action at this time.
0 commit comments