File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 33 "workspaces" : [
44 " packages/*"
55 ],
6- "version" : " 0.1.36 " ,
6+ "version" : " 1.0.0 " ,
77 "packageManager" :
" [email protected] " ,
88 "scripts" : {
99 "build" : " yarn workspaces foreach --all run build" ,
Original file line number Diff line number Diff line change 3030 "clean" : " rm -rf tsconfig.build.tsbuildinfo && rm -rf dist" ,
3131 "build:js" : " yarn node esbuild.config.js" ,
3232 "build:types" : " tsc -p tsconfig.build.json" ,
33- "build" : " yarn run clean && yarn run build:js && yarn run build:types" ,
33+ "build" : " yarn run clean && yarn run build:js && yarn run build:types && yarn run copy:readme " ,
3434 "start" : " tsx --tsconfig tsconfig.json src/index.ts" ,
3535 "dev" : " npm run build:js -- --watch" ,
3636 "dev:types" : " npm run build:types -- --watch" ,
37- "prepublishOnly" : " cp ../../README.md ./ && if [ -z \" $CI\" ]; then echo 'please publish with CI!' && exit 1; fi"
37+ "copy:readme" : " cp ../../README.md ./" ,
38+ "prepublishOnly" : " if [ -z \" $CI\" ]; then echo 'please publish with CI!' && exit 1; fi"
3839 },
3940 "main" : " dist/index.js" ,
4041 "types" : " dist/index.d.ts" ,
4142 "source" : " src/index.ts" ,
4243 "files" : [
43- " dist"
44+ " dist" ,
45+ " ./README.md"
4446 ],
4547 "type" : " module" ,
4648 "exports" : {
You can’t perform that action at this time.
0 commit comments