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 1717 issues : write # to be able to comment on released issues
1818 pull-requests : write # to be able to comment on released pull requests
1919 id-token : write # to enable use of OIDC for npm provenance
20+
2021 steps :
2122 - name : Checkout
2223 uses : actions/checkout@v4
3233 run : npm ci
3334
3435 - name : Test
35- run : npm test
36+ run : npm test
37+
38+ - name : Build
39+ run : npm run build # This ensures dist/ is created for npx
3640
3741 - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
3842 run : npm audit signatures
Original file line number Diff line number Diff line change 77 "name" : " wazzan"
88 },
99 "type" : " module" ,
10+ "main" : " ./dist/index.js" ,
11+ "exports" : {
12+ "." : " ./dist/index.js"
13+ },
1014 "bin" : {
1115 "mcp-coincap-jj" : " ./dist/index.js"
1216 },
1317 "files" : [
14- " dist" ,
15- " dist/**/*"
18+ " dist"
1619 ],
17- "main" : " ./dist/index.js" ,
1820 "scripts" : {
1921 "build" : " tsc && shx chmod +x dist/*.js" ,
2022 "prepare" : " npm run build" ,
You can’t perform that action at this time.
0 commit comments