Skip to content

Commit f27bd20

Browse files
authored
chore: update dependencies, use pnpm (#180)
* chore: update dependencies * feat: use pnpm * fix(ci): add explciit build step for alpine
1 parent dda4841 commit f27bd20

File tree

5 files changed

+5651
-828
lines changed

5 files changed

+5651
-828
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/builds.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ jobs:
2020
- uses: actions/setup-node@master
2121
with:
2222
node-version: ${{ matrix.node }}
23-
- run: yarn --frozen-lockfile
23+
- run: npm i -g pnpm
24+
- run: pnpm i --frozen-lockfile
2425
env:
2526
npm_config_build_from_source: true
26-
- run: yarn lint
27-
- run: yarn tsd
28-
- run: yarn test
29-
- run: yarn package
27+
- run: pnpm lint
28+
- run: pnpm tsd
29+
- run: pnpm test
30+
- run: pnpm package
3031
- uses: actions/upload-artifact@v2
3132
with:
3233
name: ${{ matrix.os }}-${{ matrix.node }}-binary
@@ -43,13 +44,15 @@ jobs:
4344
- uses: actions/checkout@v2
4445
- run: |
4546
apk add --no-cache python3 make g++
46-
- run: yarn --frozen-lockfile
47+
- run: npm i -g pnpm
48+
- run: pnpm i --frozen-lockfile
4749
env:
4850
npm_config_build_from_source: true
49-
- run: yarn lint
50-
- run: yarn tsd
51-
- run: yarn test
52-
- run: yarn package
51+
- run: pnpm lint
52+
- run: pnpm tsd
53+
- run: pnpm build
54+
- run: pnpm test
55+
- run: pnpm package
5356
- uses: actions/upload-artifact@v2
5457
with:
5558
name: alpine-${{ matrix.node }}-binary

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"Jeff Smick",
66
"Marco Rogers"
77
],
8+
"packageManager": "[email protected]",
89
"binary": {
910
"module_name": "xmljs",
1011
"module_path": "./build/Release/",
@@ -44,17 +45,17 @@
4445
"Makefile"
4546
],
4647
"dependencies": {
47-
"@mapbox/node-pre-gyp": "^1.0.5",
48+
"@mapbox/node-pre-gyp": "^1.0.9",
4849
"bindings": "~1.5.0",
4950
"nan": "~2.15.0"
5051
},
5152
"devDependencies": {
52-
"eslint": "^7.32.0",
53-
"eslint-config-marudor": "^8.0.1",
54-
"jest": "^27.3.1",
53+
"eslint": "^8.14.0",
54+
"eslint-config-marudor": "^9.0.0",
55+
"jest": "^27.5.1",
5556
"jest-watch-typeahead": "^1.0.0",
56-
"prettier": "^2.4.1",
57-
"tsd": "^0.18.0",
58-
"typescript": "^4.4.4"
57+
"prettier": "^2.6.2",
58+
"tsd": "^0.20.0",
59+
"typescript": "^4.6.3"
5960
}
6061
}

0 commit comments

Comments
 (0)