-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
7,285 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"trailingComma": "all", | ||
"tabWidth": 2, | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @lukasjhan: Lukas.J.Han, Hopae Inc. | ||
|
||
* @lukasjhan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json", | ||
"organizeImports": { | ||
"enabled": false | ||
}, | ||
"files": { | ||
"ignore": ["**/dist/**", "**/coverage/**"] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "space", | ||
"indentWidth": 2, | ||
"lineEnding": "lf" | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"quoteStyle": "single" | ||
} | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "vcdm-example", | ||
"private": true, | ||
"version": "0.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"vcdm": "tsx vcdm.ts", | ||
"decode": "tsx decode.ts" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"tsx": "^4.19.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
console.log("vcdm example") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"version": "0.1.0", | ||
"npmClient": "pnpm", | ||
"exact": true, | ||
"message": "chore(release): %s", | ||
"packages": [ | ||
"packages/*" | ||
], | ||
"command": { | ||
"publish": { | ||
"conventionalCommits": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"name": "sd-jwt-vcdm", | ||
"description": "sd-jwt vcdm implementation in typescript", | ||
"scripts": { | ||
"build": "lerna run build --stream", | ||
"lint": "biome lint ./packages", | ||
"format": "biome format . --write", | ||
"biome:ci": "biome ci .", | ||
"test": "vitest run --coverage.enabled=true --coverage.include=packages/*", | ||
"test:watch": "vitest", | ||
"clean": "lerna clean -y", | ||
"publish:latest": "lerna publish --no-private --conventional-commits --include-merged-tags --create-release github --yes --dist-tag latest", | ||
"publish:next": "lerna publish --no-private --conventional-prerelease --force-publish --canary --no-git-tag-version --include-merged-tags --preid next --pre-dist-tag next --yes" | ||
}, | ||
"keywords": [ | ||
"sd-jwt", | ||
"vcdm", | ||
"jwt" | ||
], | ||
"author": "Lukas.J.Han <[email protected]>", | ||
"license": "Apache-2.0", | ||
"engines": { | ||
"node": ">=16" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "^1.6.0", | ||
"@types/node": "^20.10.2", | ||
"@vitest/coverage-v8": "^1.2.2", | ||
"jose": "^5.2.2", | ||
"jsdom": "^24.0.0", | ||
"lerna": "^8.1.2", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.7.0", | ||
"vite": "^5.1.1", | ||
"vitest": "^1.2.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "sd-jwt-vcdm", | ||
"version": "0.1.0", | ||
"description": "SD JWT VCDM implementation in typescript", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
} | ||
}, | ||
"scripts": { | ||
"build": "rm -rf **/dist && tsup", | ||
"lint": "biome lint ./src", | ||
"test": "pnpm run test:node && pnpm run test:browser && pnpm run test:cov", | ||
"test:node": "vitest run ./src/test/*.spec.ts", | ||
"test:browser": "vitest run ./src/test/*.spec.ts --environment jsdom", | ||
"test:cov": "vitest run --coverage" | ||
}, | ||
"keywords": [ | ||
"vcdm", | ||
"sd-jwt", | ||
"jwt" | ||
], | ||
"engines": { | ||
"node": ">=16" | ||
}, | ||
"author": "Lukas.J.Han <[email protected]>", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"tsup": { | ||
"entry": [ | ||
"./src/index.ts" | ||
], | ||
"sourceMap": true, | ||
"splitting": false, | ||
"clean": true, | ||
"dts": true, | ||
"format": [ | ||
"cjs", | ||
"esm" | ||
] | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { describe, expect, test } from 'vitest'; | ||
|
||
describe('Test#1', () => { | ||
test('Test#1', () => { | ||
expect(1).toBe(1); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"rootDir": "./src", | ||
"outDir": "dist" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// vite.config.ts | ||
import { allEnvs } from '../../vitest.shared'; | ||
|
||
export default allEnvs; |
Oops, something went wrong.