File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed
Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "name" : " @net7/helloasso-js" ,
3+ "version" : " 0.0.4" ,
4+ "exports" : " ./src/index.ts"
5+ }
Original file line number Diff line number Diff line change 55 "type" : " module" ,
66 "scripts" : {
77 "build" : " bun run build.mjs" ,
8- "prepublishOnly" : " bun run build"
8+ "prepublishOnly" : " bun run build" ,
9+ "publish" : " npm publish && bunx jsr publish"
910 },
1011 "exports" : {
1112 "." : {
Original file line number Diff line number Diff line change 1+ # check if jq and sponge are installed
2+ if ! command -v jq & > /dev/null
3+ then
4+ echo " install jq and sponge"
5+ exit
6+ fi
7+
8+ if ! command -v sponge & > /dev/null
9+ then
10+ echo " install jq and sponge"
11+ exit
12+ fi
13+
14+ jq " .version = \" $1 \" " package.json | sponge package.json
15+ jq " .version = \" $1 \" " jsr.json | sponge jsr.json
You can’t perform that action at this time.
0 commit comments