-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: esm ssi-snap-types * feat: esm connector * fix: add readme to output * chore: update connector deps * chore: lintstaged.cjs * chore: more lintstaged.cjs * chore: connector lintstaged.cjs * feat: esm vcmanager and update configs * feat: esm utils * feat: update tests * chore: deps * fix: build dapp * fix: docs * fix: fixes config issues * fix: fixes config issues * fix: resolve last issues
- Loading branch information
1 parent
10dd843
commit fb7f759
Showing
71 changed files
with
1,020 additions
and
1,537 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
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 |
---|---|---|
|
@@ -7,3 +7,4 @@ CHANGELOG.md | |
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
out | ||
.next |
File renamed without changes.
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['../../.eslintrc.js'], | ||
extends: ['../../.eslintrc.cjs'], | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: './tsconfig.eslint.json', | ||
sourceType: 'module', | ||
tsconfigRootDir: __dirname, | ||
}, | ||
}; |
File renamed without changes.
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 |
---|---|---|
|
@@ -14,14 +14,15 @@ | |
"email": "[email protected]", | ||
"url": "https://blockchain-lab.um.si" | ||
}, | ||
"main": "dist/index.js", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"type": "module", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"source": "./src/index.ts", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist/", | ||
"package.json", | ||
"dist/**", | ||
"README.md", | ||
"LICENSE" | ||
"package.json" | ||
], | ||
"scripts": { | ||
"build": "pnpm clean && pnpm compile", | ||
|
@@ -32,7 +33,8 @@ | |
"lint:prettier": "prettier . --check" | ||
}, | ||
"devDependencies": { | ||
"rimraf": "^3.0.2", | ||
"rimraf": "^4.4.0", | ||
"tsup": "^6.6.3", | ||
"typescript": "^4.9.5" | ||
}, | ||
"publishConfig": { | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
export * from './result'; | ||
export * from './result.js'; |
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 |
---|---|---|
@@ -1,8 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"exclude": [ | ||
// Exclude all test files | ||
"tests/**/*", | ||
"*.spec.ts" | ||
] | ||
"extends": "./tsconfig.json" | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"include": ["**/*", ".eslintrc.js"] | ||
"include": ["**/*", ".eslintrc.cjs"] | ||
} |
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 |
---|---|---|
@@ -1,13 +1,17 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"experimentalDecorators": true, | ||
"target": "ES2020", | ||
"module": "ES2020", | ||
"moduleResolution": "nodenext", | ||
|
||
"outDir": "./dist", | ||
"baseUrl": ".", | ||
"typeRoots": ["./node_modules/@types", "../../node_modules/@types"], | ||
|
||
"declaration": true, | ||
"inlineSourceMap": true | ||
"inlineSourceMap": true, | ||
"incremental": false, | ||
"removeComments": true | ||
}, | ||
"files": [], | ||
"include": ["src/**/*", "tests/**/*"] | ||
"include": ["src/**/*.ts"] | ||
} |
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,14 @@ | ||
import { Options, defineConfig } from 'tsup'; | ||
|
||
export default defineConfig((options: Options) => ({ | ||
target: 'es2020', | ||
treeshake: true, | ||
splitting: true, | ||
tsconfig: './tsconfig.build.json', | ||
entry: ['src/**/*.ts'], | ||
format: 'esm', | ||
dts: true, | ||
minify: false, | ||
clean: true, | ||
...options, | ||
})); |
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 |
---|---|---|
|
@@ -55,10 +55,10 @@ | |
"@commitlint/cli": "^17.4.4", | ||
"@commitlint/config-conventional": "^17.4.4", | ||
"@ianvs/prettier-plugin-sort-imports": "^3.7.1", | ||
"@nrwl/devkit": "15.8.3", | ||
"@nrwl/jest": "15.8.3", | ||
"@nrwl/devkit": "15.8.7", | ||
"@nrwl/jest": "15.8.7", | ||
"@nrwl/nx-cloud": "^15.2.3", | ||
"@types/eslint": "^8.21.3", | ||
"@types/eslint": "^8.21.2", | ||
"@types/jest": "^29.5.0", | ||
"@types/node": "^18.15.3", | ||
"@typescript-eslint/eslint-plugin": "^5.55.0", | ||
|
@@ -70,18 +70,17 @@ | |
"eslint-config-prettier": "^8.7.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-jest-extended": "^2.0.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-webpack-plugin": "^4.0.0", | ||
"husky": "^8.0.3", | ||
"is-ci": "^3.0.1", | ||
"jest": "^29.5.0", | ||
"lint-staged": "^13.2.0", | ||
"nx": "15.7.2", | ||
"prettier": "^2.8.5", | ||
"nx": "15.8.7", | ||
"prettier": "^2.8.4", | ||
"prettier-plugin-packagejson": "^2.4.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.5", | ||
"webpack": "^5.76.2" | ||
"typescript": "^4.9.5" | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
|
@@ -93,9 +92,7 @@ | |
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]", | ||
"@veramo/[email protected]": "patches/@[email protected]" | ||
}, | ||
"allowNonAppliedPatches": true | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/connector/.eslintrc.js → packages/connector/.eslintrc.cjs
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
File renamed without changes.
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 |
---|---|---|
|
@@ -19,15 +19,15 @@ | |
"email": "[email protected]", | ||
"url": "https://blockchain-lab.um.si" | ||
}, | ||
"type": "module", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"module": "./dist/index.js", | ||
"source": "./src/index.ts", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist/", | ||
"dist/**", | ||
"README.md", | ||
"package.json", | ||
"LICENSE" | ||
"package.json" | ||
], | ||
"scripts": { | ||
"build": "pnpm clean && pnpm compile", | ||
|
@@ -42,11 +42,11 @@ | |
"@blockchain-lab-um/ssi-snap-types": "*", | ||
"@blockchain-lab-um/utils": "*", | ||
"@metamask/detect-provider": "^2.0.0", | ||
"@veramo/core": "^5.0.0" | ||
"@veramo/core": "^5.1.2" | ||
}, | ||
"devDependencies": { | ||
"@ianvs/prettier-plugin-sort-imports": "^3.7.1", | ||
"@types/rimraf": "^3.0.2", | ||
"@types/rimraf": "^4.0.5", | ||
"@typescript-eslint/eslint-plugin": "^5.53.0", | ||
"@typescript-eslint/parser": "^5.53.0", | ||
"eslint": "^8.34.0", | ||
|
@@ -56,7 +56,7 @@ | |
"eslint-plugin-unused-imports": "^2.0.0", | ||
"prettier": "^2.8.4", | ||
"prettier-plugin-packagejson": "^2.4.3", | ||
"rimraf": "^3.0.2", | ||
"rimraf": "^4.4.0", | ||
"tsup": "^6.6.3", | ||
"typescript": "^4.9.5" | ||
}, | ||
|
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
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 |
---|---|---|
@@ -1,12 +1,3 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"incremental": false, | ||
"removeComments": true, | ||
"module": "ES2020" | ||
}, | ||
|
||
"exclude": [ | ||
// Exclude all test files | ||
] | ||
"extends": "./tsconfig.json" | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"include": ["**/*", ".eslintrc.js"] | ||
"include": ["**/*", ".eslintrc.cjs"] | ||
} |
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 |
---|---|---|
@@ -1,30 +1,17 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"target": "ES2020", | ||
"module": "ES2020", | ||
"moduleResolution": "nodenext", | ||
|
||
"outDir": "./dist", | ||
"baseUrl": ".", | ||
|
||
"declaration": true, | ||
"inlineSourceMap": true, | ||
"allowJs": true, | ||
|
||
/* Additional Checks */ | ||
"noUnusedLocals": true /* Report errors on unused locals. */, | ||
"noUnusedParameters": true /* Report errors on unused parameters. */, | ||
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */, | ||
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, | ||
|
||
/* Debugging Options */ | ||
"traceResolution": false /* Report module resolution log messages. */, | ||
"listEmittedFiles": false /* Print names of generated files part of the compilation. */, | ||
"listFiles": false /* Print names of files part of the compilation. */, | ||
|
||
"lib": ["es6", "dom", "es2020"], | ||
"typeRoots": [ | ||
"./node_modules/@types", | ||
"../../node_modules/@types", | ||
"globals.d.ts" | ||
] | ||
"incremental": false, | ||
"removeComments": true | ||
}, | ||
"include": ["src/**/*.ts", "globals.d.ts"] | ||
} |
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
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
File renamed without changes.
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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"include": ["**/*", ".eslintrc.js"] | ||
"include": ["**/*", ".eslintrc.cjs"] | ||
} |
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 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['../../.eslintrc.cjs'], | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: './tsconfig.eslint.json', | ||
sourceType: 'module', | ||
}, | ||
ignorePatterns: ['src/post-process/post-process.js'], | ||
}; |
Oops, something went wrong.