Skip to content

Commit 6f2325c

Browse files
authored
Merge pull request #182 from Sphereon-Opensource/develop
New release
2 parents 730c459 + 3a8ac2a commit 6f2325c

237 files changed

Lines changed: 16350 additions & 15359 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"root": true,
33
"parser": "@typescript-eslint/parser",
4-
// "parserOptions": { "project": "./packages/tsconfig.json" },
4+
// "parserOptions": { "project": "./packages/tsconfig.json" },
55
"env": { "es6": true },
66
"ignorePatterns": ["node_modules", "dist", "coverage", "jest.js"],
77
"plugins": ["import", "eslint-comments"],
@@ -12,28 +12,17 @@
1212
"plugin:import/typescript",
1313
"prettier"
1414
],
15-
"globals": { "BigInt": true, "console": true, "WebAssembly": true },
15+
"globals": { "BigInt": true, "console": true, "WebAssembly": true, "vitest": true },
1616
"rules": {
1717
"@typescript-eslint/explicit-module-boundary-types": "off",
18-
"eslint-comments/disable-enable-pair": [
19-
"error",
20-
{ "allowWholeFile": true }
21-
],
18+
"eslint-comments/disable-enable-pair": ["error", { "allowWholeFile": true }],
2219
"eslint-comments/no-unused-disable": "error",
23-
"import/order": [
24-
"error",
25-
{ "newlines-between": "always", "alphabetize": { "order": "asc" } }
26-
],
27-
"sort-imports": [
28-
"error",
29-
{ "ignoreDeclarationSort": true, "ignoreCase": true }
30-
]
20+
"import/order": ["error", { "newlines-between": "always", "alphabetize": { "order": "asc" } }],
21+
"sort-imports": ["error", { "ignoreDeclarationSort": true, "ignoreCase": true }]
3122
},
3223
"overrides": [
3324
{
34-
"files": [
35-
"**/__tests__/**/*.ts"
36-
],
25+
"files": ["**/__tests__/**/*.ts"],
3726
"rules": {
3827
"@typescript-eslint/no-non-null-assertion": "off"
3928
}

.github/workflows/build-test-on-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: '20.x'
2626
- uses: pnpm/action-setup@v4
2727
with:
28-
version: 9.15.3 # TODO remove later, we are temporary dealing with a broken pnpm version in the CI container
28+
version: 10.8.1
2929
- run: pnpm install
3030
- run: pnpm build
3131
- name: run CI tests

.github/workflows/build-test-publish-on-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
node-version: '20.x'
4040
- uses: pnpm/action-setup@v4
4141
with:
42-
version: 9.15.3 # TODO remove later, we are temporary dealing with a broken pnpm version in the CI container
42+
version: 10.8.1
4343
- run: pnpm install
4444
- run: pnpm build
4545
- name: run integration tests
@@ -58,7 +58,7 @@ jobs:
5858

5959
- name: setup git coordinates
6060
run: |
61-
git remote set-url origin https://Sphereon-Opensource:$GH_TOKEN@github.com/Sphereon-Opensource/OID4VCI.git
61+
git remote set-url origin https://Sphereon-Opensource:$GH_TOKEN@github.com/Sphereon-Opensource/OID4VC.git
6262
git config user.name $GH_USER
6363
git config user.email $GH_EMAIL
6464

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@
1515
*.log
1616
packages/siop-oid4vp/lib/schemas/validation/schemaValidation.js
1717
packages/siop-oid4vp/lib/generator/*
18-
!packages/siop-oid4vp/lib/generator/schemaGenerator.ts
18+
!packages/siop-oid4vp/lib/generator/schemaGenerator.cts
19+
/packages/siop-oid4vp/lib/schemas/validation/schemaValidation.cjs
20+
21+
.env
22+
/.turbo/

CHANGELOG.md

Lines changed: 289 additions & 265 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<br>
66
</h1>
77

8-
[![CI](https://github.com/Sphereon-Opensource/OID4VCI/actions/workflows/build-test-on-pr.yml/badge.svg)](https://github.com/Sphereon-Opensource/OID4VCI/actions/workflows/build-test-on-pr.yml) [![codecov](https://codecov.io/gh/Sphereon-Opensource/OID4VCI/branch/develop/graph/badge.svg)](https://codecov.io/gh/Sphereon-Opensource/OID4VCI) [![NPM Version](https://img.shields.io/npm/v/@sphereon/oid4vci-client.svg)](https://npm.im/@sphereon/oid4vci-client)
8+
[![CI](https://github.com/Sphereon-Opensource/OID4VC/actions/workflows/build-test-on-pr.yml/badge.svg)](https://github.com/Sphereon-Opensource/OID4VC/actions/workflows/build-test-on-pr.yml) [![codecov](https://codecov.io/gh/Sphereon-Opensource/OID4VC/branch/develop/graph/badge.svg)](https://codecov.io/gh/Sphereon-Opensource/OID4VC) [![NPM Version](https://img.shields.io/npm/v/@sphereon/oid4vci-client.svg)](https://npm.im/@sphereon/oid4vci-client)
99

1010
_IMPORTANT the packages are still in an early development stage, which means that breaking changes are to be expected_
1111

@@ -57,7 +57,7 @@ authenticate first.
5757

5858
The below diagram shows the steps involved in the pre-authorized code flow. Note that inner wallet functionalities (like
5959
saving VCs) are out of scope for this library. Also This library doesn't include any functionalities of a VC Issuer
60-
![Flow diagram](https://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/Sphereon-Opensource/OID4VCI-client/develop/docs/preauthorized-code-flow.puml)
60+
![Flow diagram](https://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/Sphereon-Opensource/OID4VC-client/develop/docs/preauthorized-code-flow.puml)
6161

6262
# OpenID for VP Flows
6363

biome.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
4+
"files": { "ignoreUnknown": false, "ignore": [] },
5+
"formatter": {
6+
"enabled": true,
7+
"useEditorconfig": true,
8+
"formatWithErrors": false,
9+
"indentStyle": "space",
10+
"indentWidth": 2,
11+
"lineEnding": "lf",
12+
"lineWidth": 150,
13+
"attributePosition": "auto",
14+
"bracketSpacing": true,
15+
"ignore": ["**/dist/*", "**/coverage/*", "**/*/node_modules", "packages/siop-oid4vp/lib/schemas", "**/*tsconfig*", "**/schemaValidation.*js"]
16+
},
17+
"organizeImports": { "enabled": true },
18+
"linter": {
19+
"enabled": true,
20+
"rules": { "recommended": false },
21+
"ignore": ["**/node_modules", "**/dist/*", "**/coverage/*", "**/jest.js", "**/*tsconfig*", "**/schemaValidation.*js"]
22+
},
23+
"javascript": {
24+
"formatter": {
25+
"jsxQuoteStyle": "double",
26+
"quoteProperties": "asNeeded",
27+
"trailingCommas": "all",
28+
"semicolons": "asNeeded",
29+
"arrowParentheses": "always",
30+
"bracketSameLine": false,
31+
"quoteStyle": "single",
32+
"attributePosition": "auto",
33+
"bracketSpacing": true
34+
},
35+
"globals": ["BigInt", "vitest", "WebAssembly", "console"]
36+
},
37+
"overrides": [
38+
{
39+
"include": ["**/__tests__/**/*.ts"],
40+
"linter": { "rules": { "style": { "noNonNullAssertion": "off" } } }
41+
}
42+
]
43+
}

jest.json

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

lerna.json

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
{
22
"packages": ["packages/*"],
3-
"version": "0.17.0",
3+
"version": "0.18.2",
44
"npmClient": "pnpm",
5-
"command": {
6-
"publish": {
7-
"allowBranch": ["main", "master"],
8-
"conventionalCommits": true,
9-
"gitRemote": "origin",
10-
"message": "chore(release): %s"
11-
}
12-
}
5+
"workspaces": ["packages/*"]
136
}

package.json

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,35 @@
11
{
22
"name": "@sphereon/oid4vci-workspace",
3-
"version": "0.11.0",
3+
"version": "0.18.0",
44
"description": "OpenID for Verifiable Credentials",
55
"author": "Sphereon",
66
"license": "Apache-2.0",
77
"private": true,
8+
"packageManager": "pnpm@10.8.1",
9+
"workspaces": ["packages/*"],
810
"scripts": {
911
"preinstall": "npx only-allow pnpm",
1012
"fix": "pnpm run-s fix:*",
11-
"fix:lint": "eslint . --fix --ext .ts",
12-
"fix:prettier": "prettier --write \"{packages,__tests__,!dist}/**/*.{ts,tsx,js,json,md,yml}\"",
13-
"build": "pnpm -r --stream build",
14-
"build:clean": "lerna clean -y && pnpm install && lerna run build:clean --concurrency 1",
15-
"test:ci": "jest --config=jest.json && jest --config=packages/siop-oid4vp/jest.json",
16-
"test": "jest --verbose --config=jest.json --coverage=true --detectOpenHandles && jest --verbose --config=packages/siop-oid4vp/jest.json --coverage=true --detectOpenHandles",
17-
"clean": "rimraf --glob **/dist **/coverage **/pnpm-lock.yaml packages/**/node_modules node_modules packages/**/tsconfig.tsbuildinfo",
13+
"fix:lint": "biome lint --error-on-warnings",
14+
"fix:prettier": "biome format --write",
15+
"build": "turbo run build",
16+
"test:ci": "vitest run --config ./vitest.config.ts --coverage",
17+
"test": "turbo run test:vitest",
18+
"test:vitest": "vitest run --config ./vitest.config.ts --coverage",
19+
"clean": "rimraf --glob **/dist **/.turbo **/.tsup **/coverage **/pnpm-lock.yaml packages/**/node_modules node_modules packages/**/tsconfig.tsbuildinfo",
1820
"publish:latest": "lerna publish --conventional-commits --include-merged-tags --create-release github --yes --dist-tag latest --registry https://registry.npmjs.org",
1921
"publish:next": "lerna publish --conventional-prerelease --force-publish --canary --no-git-tag-version --include-merged-tags --preid next --pre-dist-tag next --yes --registry https://registry.npmjs.org",
2022
"publish:unstable": "lerna publish --conventional-prerelease --force-publish --canary --no-git-tag-version --include-merged-tags --preid unstable --pre-dist-tag unstable --yes --registry https://registry.npmjs.org"
2123
},
2224
"engines": {
23-
"node": ">=18"
25+
"node": ">=20.6",
26+
"pnpm": ">=10"
2427
},
2528
"resolutions": {
26-
"@sphereon/ssi-types": "^0.32.1-next.161",
27-
"dcql": "0.2.19",
28-
"node-fetch": "2.6.12"
29+
"@sphereon/ssi-types": "0.33.1-next.73",
30+
"dcql": "0.2.22",
31+
"node-fetch": "2.6.12",
32+
"typescript": "5.8.3"
2933
},
3034
"prettier": {
3135
"endOfLine": "auto",
@@ -34,17 +38,18 @@
3438
"printWidth": 150
3539
},
3640
"devDependencies": {
41+
"@swc/core": "^1.11.18",
3742
"@types/debug": "^4.1.12",
38-
"@types/jest": "^29.5.12",
39-
"@types/node": "^18.19.39",
40-
"jest": "^29.7.0",
41-
"lerna": "^8.1.6",
42-
"lerna-changelog": "^2.2.0",
43+
"@types/node": "^20.17.30",
44+
"@vitest/coverage-v8": "^3.1.1",
4345
"npm-run-all": "^4.1.5",
44-
"prettier": "^3.3.2",
46+
"@biomejs/biome": "^1.9.4",
4547
"rimraf": "^5.0.8",
46-
"ts-jest": "^29.1.5",
47-
"typescript": "5.4.5"
48+
"lerna": "^8.2.2",
49+
"tsup": "^8.4.0",
50+
"turbo": "^2.5.0",
51+
"typescript": "5.8.3",
52+
"vitest": "^3.1.1"
4853
},
4954
"keywords": [
5055
"Sphereon",
@@ -65,5 +70,6 @@
6570
"OIDC4VP",
6671
"OID4VCI",
6772
"OID4VP"
68-
]
73+
],
74+
"repository": "https://github.com/Sphereon-Opensource/OID4VC"
6975
}

0 commit comments

Comments
 (0)