Merge pull request #13 from AurorNZ/migrate_pnpm

Migrate to PNPM and Volta
This commit is contained in:
Alex Miller 2024-09-11 12:27:11 +12:00 committed by GitHub
commit 9a1e626831
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 4368 additions and 7084 deletions

View File

@ -5,14 +5,18 @@ on:
branches:
- master
env:
VOLTA_FEATURE_PNPM: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- run: |
npm install
npm run all
pnpm install
pnpm run all
self-test:
runs-on: ubuntu-latest

View File

@ -6,14 +6,18 @@ on:
- master
- '**'
env:
VOLTA_FEATURE_PNPM: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v4
- run: |
npm install
npm run all
pnpm install
pnpm run all
test-inline:
runs-on: ubuntu-latest

7079
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@
"lint": "eslint src/**/*.ts",
"pack": "ncc build -m",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run pack && npm test"
"all": "pnpm run build && pnpm run format && pnpm run lint && pnpm run pack && pnpm test"
},
"repository": {
"type": "git",
@ -50,5 +50,9 @@
"prettier": "^3.2.4",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"volta": {
"node": "20.17.0",
"pnpm": "8.15.8"
}
}

4351
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff