generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change bundling strategy for `common` pkg * change bundling strategy for `crypto` pkg * update export directives in crypto pkg * change bundling strategy for `credentials` pkg * change bundling strategy for `dids` pkg * change bundling strategy of `web5-agent` pkk * change bundling strategy for `web5-user-agent` pkg * change bundling strategy for `web5-proxy-agent` pkg * change bundling strategy for `web5` pkg * switch tests back to hitting deployed nodes * bump `dwn-sdk-js` * bump versions * version bumps * alpha versions * fix `cjs` packages * (common) fix `cjs` * bump ion-tools * remove hardcoded alpha version * use non-alpha version of `dwn-sdk-js` * update vscode launch configurations and tasks * bump `dwn-sdk-js` * Use the same version of playwright and ion-tools across packages Signed-off-by: Frank Hinek <[email protected]> * Remove exclusive test Signed-off-by: Frank Hinek <[email protected]> * Fix failing test due to DWN SDK encryption changes Signed-off-by: Frank Hinek <[email protected]> * Fix typo in web5 launch.json and workspace test all Signed-off-by: Frank Hinek <[email protected]> * Switch from @playwright/test to playwright Signed-off-by: Frank Hinek <[email protected]> --------- Signed-off-by: Frank Hinek <[email protected]> Co-authored-by: Frank Hinek <[email protected]>
- Loading branch information
1 parent
d8e2be7
commit 72facd4
Showing
121 changed files
with
1,168 additions
and
1,823 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
**/INDEX/ | ||
**/MESSAGESTORE/ | ||
data | ||
compiled | ||
|
||
**/__tests__/ | ||
**/__TESTDATA__/ | ||
|
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 @@ | ||
{ | ||
"npm.packageManager": "npm" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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,5 +1,5 @@ | ||
{ | ||
"enable-source-maps": true, | ||
"exit": true, | ||
"spec": ["__tests__/**/*.spec.js"] | ||
"spec": ["tests/compiled/**/*.spec.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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import esbuild from 'esbuild'; | ||
import packageJson from '../package.json' assert { type: 'json' }; | ||
|
||
// list of dependencies that _dont_ ship cjs | ||
const includeList = new Set(['multiformats']); | ||
|
||
// create list of dependencies that we _do not_ want to include in our bundle | ||
const excludeList = []; | ||
for (const dependency in packageJson.dependencies) { | ||
if (includeList.has(dependency)) { | ||
continue; | ||
} else { | ||
excludeList.push(dependency); | ||
} | ||
} | ||
|
||
esbuild.build({ | ||
entryPoints : [ './src/main.ts' ], | ||
bundle : true, | ||
external : excludeList, | ||
format : 'cjs', | ||
sourcemap : true, | ||
platform : 'node', | ||
outfile : 'dist/cjs/main.js', | ||
allowOverwrite : 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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"outDir": "compiled", | ||
"declarationDir": "compiled/types", | ||
"sourceMap": true, | ||
}, | ||
"include": [ | ||
"../src", | ||
".", | ||
], | ||
"exclude": [ | ||
"./compiled" | ||
] | ||
} |
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,18 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"lib": [ | ||
"DOM", | ||
"ES5", | ||
], | ||
"target": "ES5", | ||
"module": "CommonJS", | ||
"outDir": "dist/cjs", | ||
"declaration": false, | ||
"declarationMap": false, | ||
"declarationDir": null | ||
}, | ||
"include": [ | ||
"src" | ||
] | ||
} |
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
Oops, something went wrong.