Skip to content

Commit

Permalink
chore: migrate to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
guidiaz committed Feb 19, 2024
1 parent 33e4bf4 commit b0110ae
Show file tree
Hide file tree
Showing 4 changed files with 1,271 additions and 125 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn publish
- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm install
- run: pnpm publish
env:
NODE_AUTH_TOKEN: ${{SECRETS.NPM_TOKEN}}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"types": "./dist/lib/radon",
"scripts": {
"build": "tsc -p tsconfig.json",
"prepare": "npm run build",
"prepare": "pnpm run build",
"test": "node ./src/bin/toolkit.js update"
},
"dependencies": {
"axios": "^1.6.7",
"cbor": "^9.0.1",
"graphql-query-compress": "^1.2.4",
"web3-jsonrpc-gateway": "../../witnet/web3-jsonrpc-gateway",
"witnet-radon-js": "^2.0.1"
"web3-jsonrpc-gateway": "^1.9.1",
"witnet-radon-js": "^2.0.0"
},
"devDependencies": {
"@types/node": "^20.11.13",
Expand Down
Loading

0 comments on commit b0110ae

Please sign in to comment.