Skip to content

Commit f721263

Browse files
committed
Switch from npm to pnpm
1 parent 1375bb1 commit f721263

File tree

6 files changed

+5056
-7642
lines changed

6 files changed

+5056
-7642
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ jobs:
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'
29-
- run: npm ci
30-
- run: npm run build --if-present
31-
- run: npm test
32-
- run: npm run lint
33-
- run: npm run typecheck
29+
- run: pnpm install
30+
- run: pnpm run build --if-present
31+
- run: pnpm test
32+
- run: pnpm run lint
33+
- run: pnpm run typecheck

CONTRIBUTION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ Declaring formal releases requires peer review.
2828
### Cutting a new version
2929

3030
- Get your branch merged on master
31-
- Run `npm version major` or `npm version minor` or `npm version patch`
31+
- Run `pnpm version major` or `pnpm version minor` or `pnpm version patch`
3232
- `git push origin master --tags`
33-
- If you are a project owner, then `npm publish`
33+
- If you are a project owner, then `pnpm publish`

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,15 @@ console.log(JSON.stringify(dashboard.generate()));
151151

152152
## Installation
153153

154+
`pnpm install grafana-dash-gen`
155+
156+
OR
157+
154158
`npm install grafana-dash-gen`
155159

156160
## Tests
157161

158-
`npm test`
162+
`pnpm test`
159163

160164
## Contributors
161165

0 commit comments

Comments
 (0)