File tree 3 files changed +22
-1
lines changed
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 5
5
"type" : " module" ,
6
6
"scripts" : {
7
7
"build" : " bun run build.mjs" ,
8
- "prepublishOnly" : " bun run build"
8
+ "prepublishOnly" : " bun run build" ,
9
+ "publish" : " npm publish && bunx jsr publish"
9
10
},
10
11
"exports" : {
11
12
"." : {
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