Skip to content

Commit

Permalink
Upgrade pnpm to v9 (openwallet-foundation#232)
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
  • Loading branch information
cre8 authored May 13, 2024
1 parent bb867ba commit 721d788
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 262 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test-publish-on-push-cached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
persist-credentials: false
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- run: pnpm add -g pnpm
- name: 'Setup Node.js with pnpm cache'
uses: actions/setup-node@v4
Expand All @@ -42,7 +42,7 @@ jobs:
steps:
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
steps:
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
token: ${{secrets.GITHUB_TOKEN }}
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- run: pnpm add -g pnpm
- name: 'Setup Node.js with pnpm cache'
uses: actions/setup-node@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
persist-credentials: false
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- run: pnpm add -g pnpm
- name: 'Setup Node.js with pnpm cache'
uses: actions/setup-node@v4
Expand All @@ -64,7 +64,7 @@ jobs:
steps:
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
steps:
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- run: pnpm add -g pnpm
- name: 'Restore build output'
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
token: ${{secrets.GITHUB_TOKEN }}
- uses: pnpm/action-setup@v3
with:
version: 8
version: 9
- run: pnpm add -g pnpm
- name: 'Setup Node.js with pnpm cache'
uses: actions/setup-node@v4
Expand Down
4 changes: 1 addition & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"npmClient": "pnpm",
"exact": true,
"message": "chore(release): %s",
"packages": [
"packages/*"
],
"packages": ["packages/*"],
"command": {
"publish": {
"conventionalCommits": true
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"engines": {
"node": ">=18"
"node": ">=18",
"pnpm": ">=9"
},
"repository": {
"type": "git",
Expand Down
15 changes: 3 additions & 12 deletions packages/browser-crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
"test:browser": "vitest run ./src/test/*.spec.ts",
"test:cov": "vitest run --coverage"
},
"keywords": [
"sd-jwt",
"sdjwt",
"sd-jwt-vc"
],
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"repository": {
"type": "git",
"url": "https://github.com/openwallet-foundation-labs/sd-jwt-js"
Expand All @@ -37,17 +33,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
15 changes: 3 additions & 12 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
"test:browser": "vitest run ./src/test/*.spec.ts --environment jsdom",
"test:cov": "vitest run --coverage"
},
"keywords": [
"sd-jwt",
"sdjwt",
"sd-jwt-vc"
],
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"engines": {
"node": ">=18"
},
Expand All @@ -50,17 +46,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
15 changes: 3 additions & 12 deletions packages/decode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
"test:node": "vitest run ./src/test/*.spec.ts --coverage",
"test:browser": "vitest run ./src/test/*.spec.ts --environment jsdom --coverage"
},
"keywords": [
"sd-jwt",
"sdjwt",
"sd-jwt-vc"
],
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"engines": {
"node": ">=18"
},
Expand All @@ -47,17 +43,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
15 changes: 3 additions & 12 deletions packages/hash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
"test:browser": "vitest run ./src/test/*.spec.ts --environment jsdom",
"test:cov": "vitest run --coverage"
},
"keywords": [
"sd-jwt",
"sdjwt",
"sd-jwt-vc"
],
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"engines": {
"node": ">=18"
},
Expand All @@ -48,17 +44,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
15 changes: 3 additions & 12 deletions packages/jwt-status-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
"test:browser": "vitest run ./src/test/*.spec.ts --environment jsdom",
"test:cov": "vitest run --coverage"
},
"keywords": [
"sd-jwt-vc",
"status-list",
"sd-jwt"
],
"keywords": ["sd-jwt-vc", "status-list", "sd-jwt"],
"engines": {
"node": ">=18"
},
Expand All @@ -50,17 +46,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
15 changes: 3 additions & 12 deletions packages/node-crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
"test:node": "vitest run ./src/test/*.spec.ts",
"test:cov": "vitest run --coverage"
},
"keywords": [
"sd-jwt",
"sdjwt",
"sd-jwt-vc"
],
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"engines": {
"node": ">=18"
},
Expand All @@ -40,17 +36,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
15 changes: 3 additions & 12 deletions packages/present/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
"test:browser": "vitest run ./src/test/*.spec.ts --environment jsdom",
"test:cov": "vitest run --coverage"
},
"keywords": [
"sd-jwt",
"sdjwt",
"sd-jwt-vc"
],
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"engines": {
"node": ">=18"
},
Expand All @@ -49,17 +45,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
15 changes: 3 additions & 12 deletions packages/sd-jwt-vc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@
"test:e2e": "vitest run ./test/*e2e.spec.ts --environment node",
"test:cov": "vitest run --coverage"
},
"keywords": [
"sd-jwt",
"sdjwt",
"sd-jwt-vc"
],
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"engines": {
"node": ">=18"
},
Expand All @@ -51,17 +47,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
15 changes: 3 additions & 12 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
"test:browser": "vitest run ./src/test/*.spec.ts --environment jsdom",
"test:cov": "vitest run --coverage"
},
"keywords": [
"sd-jwt",
"sdjwt",
"sd-jwt-vc"
],
"keywords": ["sd-jwt", "sdjwt", "sd-jwt-vc"],
"engines": {
"node": ">=18"
},
Expand All @@ -41,17 +37,12 @@
"access": "public"
},
"tsup": {
"entry": [
"./src/index.ts"
],
"entry": ["./src/index.ts"],
"sourceMap": true,
"splitting": false,
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
]
"format": ["cjs", "esm"]
},
"gitHead": "ded40e4551bde7ae93083181bf26bd1b38bbfcfb"
}
Loading

0 comments on commit 721d788

Please sign in to comment.