-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
- Loading branch information
0 parents
commit 442d087
Showing
21 changed files
with
15,663 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,60 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Prerequisites | ||
|
||
Please answer the following questions for yourself before submitting an issue. | ||
|
||
- [ ] I am running the latest version | ||
- [ ] I checked the documentation and found no answer | ||
- [ ] I checked to make sure that this issue has not already been filed | ||
|
||
**YOU MAY DELETE THE PREREQUISITES SECTION** if you're sure you checked all the boxes. | ||
|
||
### Current Behavior | ||
|
||
What is the current behavior? | ||
|
||
### Expected Behavior | ||
|
||
Please describe the behavior you are expecting | ||
|
||
### Failure Information | ||
|
||
Please help provide information about the failure. | ||
|
||
#### Steps to Reproduce | ||
|
||
Please provide detailed steps for reproducing the issue. | ||
|
||
1. step 1 | ||
2. step 2 | ||
3. you get it... | ||
|
||
#### Environment Details | ||
|
||
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions. | ||
|
||
* node/browser version: | ||
* OS Version: | ||
* Device details: | ||
|
||
#### Failure Logs/Screenshots | ||
|
||
Please include any relevant log snippets or files here. | ||
Create a [GIST](https://gist.github.com) which is a paste of your _full or sanitized_ logs, and link them here. | ||
Please do _NOT_ paste your full logs here, as it will make this issue very long and hard to read! | ||
|
||
#### Alternatives you considered | ||
|
||
Please provide details about an environment where this bug does not occur. | ||
|
||
--- | ||
|
||
> **Don't paste private keys anywhere public!** |
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,21 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '[proposal]' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
* [ ] I would like to contribute an implementation | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Additional configuration for monorepos | ||
allow: | ||
# Allow updates to devDependencies, runtime dependencies, etc. | ||
- dependency-type: "all" |
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,21 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 70 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 14 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- pinned | ||
- security | ||
- in-progress | ||
- planned-feature | ||
- good-first-issue | ||
- triage | ||
# Label to use when marking an issue as stale | ||
staleLabel: stale | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false |
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,151 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup Git with PAT | ||
run: | | ||
git config --global url."https://x-access-token:${{ secrets.GH_PAT }}@github.com/".insteadOf "git@github.com:" | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- run: pnpm add -g pnpm | ||
- name: 'Setup Node.js with pnpm cache' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
- name: 'Install dependencies' | ||
run: pnpm install | ||
- name: 'Build' | ||
run: pnpm build | ||
- name: 'Save build output' | ||
uses: actions/cache/save@v4 | ||
with: | ||
path: ${{ github.workspace }} | ||
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }} | ||
|
||
test: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- run: pnpm add -g pnpm | ||
- name: 'Restore build output' | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ${{ github.workspace }} | ||
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }} | ||
restore-keys: ${{ runner.os }}-build-${{ github.sha }} | ||
fail-on-cache-miss: true | ||
- name: 'Setup Node.js with pnpm cache' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
- name: 'Run tests' | ||
run: pnpm run coverage | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: coverage-artifacts | ||
path: coverage/ | ||
|
||
report-coverage: | ||
runs-on: ubuntu-latest | ||
needs: [test] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: coverage-artifacts | ||
path: coverage | ||
- name: 'Upload coverage to Codecov' | ||
uses: codecov/codecov-action@v4-beta | ||
with: | ||
fail_ci_if_error: true | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
lint: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- run: pnpm add -g pnpm | ||
- name: 'Restore build output' | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: ${{ github.workspace }} | ||
key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }} | ||
restore-keys: ${{ runner.os }}-build-${{ github.sha }} | ||
fail-on-cache-miss: true | ||
- name: 'Setup Node.js with pnpm cache' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
- name: Setup Biome | ||
uses: biomejs/setup-biome@v2 | ||
with: | ||
version: latest | ||
- name: Run Biome | ||
run: biome ci . | ||
|
||
# release: | ||
# if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
# needs: [test, lint] | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# - uses: pnpm/action-setup@v3 | ||
# with: | ||
# version: 8 | ||
# - run: pnpm add -g pnpm | ||
# - name: 'Restore build output' | ||
# uses: actions/cache/restore@v4 | ||
# with: | ||
# path: ${{ github.workspace }} | ||
# key: ${{ runner.os }}-build-${{ github.sha }}-${{ github.run_id }} | ||
# restore-keys: ${{ runner.os }}-build-${{ github.sha }} | ||
# fail-on-cache-miss: true | ||
# - name: 'Setup Node.js with pnpm cache' | ||
# uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: 20 | ||
# cache: 'pnpm' | ||
# - name: git config | ||
# run: | | ||
# git config user.name "${{github.actor}}" | ||
# git config user.email "${{github.actor}}@users.noreply.github.com" | ||
# - name: Set npm token | ||
# run: npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN | ||
# env: | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# - name: Build | ||
# run: pnpm build | ||
# - run: pnpm run release | ||
# env: | ||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 @@ | ||
build | ||
node_modules | ||
tmp | ||
tsconfig.tsbuildinfo | ||
.idea/ | ||
.env | ||
coverage/ |
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,63 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "debug OpenAPI server", | ||
"skipFiles": ["<node_internals>/**"], | ||
"program": "${workspaceFolder}/node_modules/@veramo/cli/bin/veramo.js", | ||
"args": ["--config", "${workspaceFolder}/agent.yml", "server"], | ||
"sourceMaps": true, | ||
"console": "integratedTerminal", | ||
"internalConsoleOptions": "neverOpen", | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/**", | ||
"**/node_modules/**" | ||
], | ||
"autoAttachChildProcesses": true | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "debug myPluginFoo using @veramo/cli", | ||
"skipFiles": ["<node_internals>/**"], | ||
"program": "${workspaceFolder}/node_modules/@veramo/cli/bin/veramo.js", | ||
"args": [ | ||
"--config", | ||
"${workspaceFolder}/agent.yml", | ||
"execute", | ||
"-m", | ||
"myPluginFoo", | ||
"-a", | ||
"{\"did\": \"did:web:example.com\", \"foo\": \"hello\", \"bar\": \"world\"}" | ||
], | ||
"sourceMaps": true, | ||
"console": "integratedTerminal", | ||
"internalConsoleOptions": "neverOpen", | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/**", | ||
"**/node_modules/**" | ||
], | ||
"autoAttachChildProcesses": true | ||
}, | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "debug integration tests", | ||
"program": "${workspaceFolder}/node_modules/.bin/jest", | ||
"args": ["--runInBand", "--coverage=false", "--config=jest.json"], | ||
"console": "integratedTerminal", | ||
"internalConsoleOptions": "neverOpen", | ||
"disableOptimisticBPs": true, | ||
"windows": { | ||
"program": "${workspaceFolder}/node_modules/jest/bin/jest" | ||
}, | ||
"sourceMaps": true, | ||
"resolveSourceMapLocations": [ | ||
"${workspaceFolder}/**", | ||
"**/node_modules/**" | ||
] | ||
} | ||
] | ||
} |
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,29 @@ | ||
|
||
|
||
## [0.0.5-0](https://github.com/cre8/sd-jwt-veramo/compare/v0.0.4...v0.0.5-0) (2024-03-04) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* add cnf usage ([2dc6e6f](https://github.com/cre8/sd-jwt-veramo/commit/2dc6e6f20ca4375aac10fc56fe09e423cc55bc9a)) | ||
* ignore env file ([404a26f](https://github.com/cre8/sd-jwt-veramo/commit/404a26f49cf4011aba878985eecdeff836d4fb63)) | ||
* key binding and sd-jwt-vc integration ([3f54b75](https://github.com/cre8/sd-jwt-veramo/commit/3f54b75c5645dfa7e79ef40f79969189f1eaee86)) | ||
* using sd-jwt-vc package ([266332b](https://github.com/cre8/sd-jwt-veramo/commit/266332bfdd5589c08cf60021cce4c5433f799f51)) | ||
|
||
## [0.0.4](https://github.com/cre8/sd-jwt-veramo/compare/v0.0.2...v0.0.4) (2024-02-27) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* set version manually ([93c3cc6](https://github.com/cre8/sd-jwt-veramo/commit/93c3cc6e8260ca1c79dfc0da8d0c7fc7a0221b98)) | ||
|
||
## [0.0.2](https://github.com/cre8/sd-jwt-veramo/compare/v0.0.1...v0.0.2) (2024-02-26) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* add release it ([5cab5c8](https://github.com/cre8/sd-jwt-veramo/commit/5cab5c8eb6d872f04c2564c6a8e7ccd435433ad0)) | ||
* build ([b5baa55](https://github.com/cre8/sd-jwt-veramo/commit/b5baa55a1f8350967221d7607b6ec673fc9a4f38)) | ||
* ci ([95b8780](https://github.com/cre8/sd-jwt-veramo/commit/95b8780362ff3a453c1af9f319ceae773cae6591)) | ||
* format files ([cc85fb7](https://github.com/cre8/sd-jwt-veramo/commit/cc85fb7dfdb0ead23b232d30a19c4d9b89ad618c)) | ||
* only release when pushed to main ([49afeee](https://github.com/cre8/sd-jwt-veramo/commit/49afeeec72cb29123fdd0ea8b581c46b154fe569)) |
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 @@ | ||
# SD-JWT-VC plugin for Veramo |
Oops, something went wrong.