File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106
106
path : dist/
107
107
108
108
- name : Prepare Dist
109
- run : |
109
+ run : | # shell
110
110
chmod +x ./dist/*/minijson
111
111
zip -9 -j ./dist/minijson-windows-x64.zip ./dist/win32-x64/minijson.exe
112
112
tar -czf ./dist/minijson-macos-x64.tar.gz -C ./dist/darwin-x64 minijson
@@ -126,6 +126,11 @@ jobs:
126
126
dist/minijson-macos-arm64.tar.gz
127
127
dist/minijson-linux-x64.tar.gz
128
128
129
+ - name : Clean up dist
130
+ run : | # shell
131
+ rm -rf ./dist/*.tar.gz ./dist/*.zip
132
+ ls -l ./dist
133
+
129
134
- uses : actions/checkout@v4
130
135
131
136
- name : Setup Node
@@ -141,6 +146,6 @@ jobs:
141
146
run : pnpm install
142
147
143
148
- name : Publish to npm
144
- run : npm publish --provenance --access public
149
+ run : pnpm publish --provenance --access public
145
150
env :
146
151
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @aminya/minijson" ,
3
- "version" : " 1.1.2 " ,
3
+ "version" : " 1.1.3 " ,
4
4
"description" : " Minify JSON files blazing fast, removing comments/whitespace." ,
5
5
"homepage" : " https://github.com/aminya/minijson" ,
6
6
"repository" : {
15
15
"minijson" : " dist/cli.js"
16
16
},
17
17
"files" : [
18
- " dist/**/*"
18
+ " dist/" ,
19
+ " src/node"
19
20
],
20
21
"scripts" : {
21
22
"build" : " dub build --config=executable" ,
You can’t perform that action at this time.
0 commit comments