This repository was archived by the owner on Jul 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
feat: Update Libp2p to latest version. Add standalone bundled JS Client #239
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
e348ed8
extract tsconfig into top-level
coder11 99355e0
fix outdir
coder11 397b639
the project partly builds
coder11 652d2a4
wip
coder11 9532ae6
fix KeyPair stuff
coder11 65865d8
fix jest config
coder11 9785c3c
some progress
coder11 41766e9
fuck jest
coder11 29d0c38
WIP
coder11 0582813
WIP
coder11 4b254e2
Add comment
coder11 dc9b62e
Dump everything into one npm package
coder11 7155cef
Add more tests to keypair
coder11 69f7669
Tests kinda run
coder11 578372e
Update libp2p/crypto
coder11 e7a41ac
forgot npm lock
coder11 6c7e8d1
Bundled build works
coder11 45d7761
fix pnpm lock
coder11 a72a647
skip non-working tests
coder11 dc9cb86
Keep internal version of marine-js
coder11 05b6fcb
cleaning up
coder11 a4b16a0
uncomment
coder11 6b7721b
A little bit of renaming
coder11 2373f5a
fix lockfile
coder11 cffa585
regenerate pnpm-lock
coder11 41bb1cb
remove a bunch of ts-node's
coder11 367ad87
get pnpm workspace back
coder11 12fe816
regenerate pnpm-lock once more
coder11 7faa284
moduleResolution: nodenext by default
coder11 235b7d2
Update packages/client/js-client.web.standalone/build.ts
coder11 746e79c
Update packages/core/src/marine/deps-loader/common.ts
coder11 0db05d5
Update packages/core/src/marine/deps-loader/node.ts
coder11 362af53
Update packages/core/src/marine/deps-loader/common.ts
coder11 335d223
Update packages/client/js-client.web.standalone/build.ts
coder11 de513d5
pr comment fixes
coder11 95a1426
Fix pr comment
coder11 5469be9
Use release version of marine-js
coder11 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,2 +1,2 @@ | ||
| auto-install-peers=true | ||
| save-exact=true | ||
| save-exact=true |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,19 @@ | ||
| { | ||
| "name": "common-dev-deps", | ||
| "version": "0.1.0", | ||
| "main": "./dist/index.js", | ||
| "typings": "./dist/index.d.ts", | ||
| "type": "module", | ||
| "engines": { | ||
| "node": ">=10", | ||
| "pnpm": ">=3" | ||
| }, | ||
| "scripts": {}, | ||
| "author": "Fluence Labs", | ||
| "license": "Apache-2.0", | ||
| "dependencies": {}, | ||
| "devDependencies": { | ||
| "ts-node": "10.9.1", | ||
| "typescript": "4.7" | ||
| } | ||
| } | ||
File renamed without changes.
This file contains hidden or 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,17 +1,7 @@ | ||
| { | ||
| "extends": "../../../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "lib": ["es2015", "dom"], | ||
| "outDir": "./dist/", | ||
| "target": "es5", | ||
| "module": "commonjs", | ||
| "strict": true, | ||
| "esModuleInterop": true, | ||
| "skipLibCheck": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
| "declaration": true, | ||
| "declarationMap": false, | ||
| "sourceMap": true | ||
| "outDir": "./dist" | ||
| }, | ||
| "exclude": ["node_modules", "dist"], | ||
| "include": ["src"] | ||
| "exclude": ["node_modules", "dist"] | ||
| } |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,23 +1,7 @@ | ||
| { | ||
| "extends": "../../../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "./dist/", | ||
| "allowJs": true, | ||
| "baseUrl": ".", | ||
| "sourceMap": false, | ||
| "inlineSources": false, | ||
| "pretty": true, | ||
| "target": "esnext", | ||
| "module": "esnext", | ||
| "moduleResolution": "node", | ||
| "declaration": false, | ||
| "esModuleInterop": true, | ||
| "declarationMap": false, | ||
| "strict": true, | ||
| "noImplicitAny": false, | ||
| "alwaysStrict": true, | ||
| "noImplicitThis": true, | ||
| "strictNullChecks": false | ||
| "outDir": "./dist" | ||
| }, | ||
| "exclude": ["node_modules", "dist"], | ||
| "include": ["src", "test"] | ||
| "exclude": ["node_modules", "dist"] | ||
| } |
This file contains hidden or 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,26 +1,7 @@ | ||
| { | ||
| "compilerOptions": { | ||
| "target": "es5", | ||
| "lib": [ | ||
| "dom", | ||
| "dom.iterable", | ||
| "esnext" | ||
| ], | ||
| "allowJs": true, | ||
| "skipLibCheck": true, | ||
| "esModuleInterop": true, | ||
| "allowSyntheticDefaultImports": true, | ||
| "strict": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
| "noFallthroughCasesInSwitch": true, | ||
| "module": "esnext", | ||
| "moduleResolution": "node", | ||
| "resolveJsonModule": true, | ||
| "isolatedModules": true, | ||
| "noEmit": true, | ||
| "jsx": "react-jsx" | ||
| }, | ||
| "include": [ | ||
| "src" | ||
| ] | ||
| "extends": "../../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "./dist" | ||
| }, | ||
| "exclude": ["node_modules", "dist"] | ||
| } |
This file contains hidden or 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 hidden or 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,7 @@ | ||
| { | ||
| "extends": "../../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "./dist/", | ||
| "module": "commonjs", | ||
| "moduleResolution": "node", | ||
| "sourceMap": true, | ||
| "declaration": true, | ||
| "skipDefaultLibCheck": true | ||
| }, | ||
| "exclude": ["node_modules", "dist"], | ||
| "include": ["src/**/*"] | ||
| "outDir": "./dist" | ||
| }, | ||
| "exclude": ["node_modules", "dist"] | ||
| } |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,21 +1,7 @@ | ||
| { | ||
| "extends": "../../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "./dist/", | ||
| "baseUrl": ".", | ||
| "downlevelIteration": true, | ||
| "sourceMap": true, | ||
| "inlineSources": true, | ||
| "allowSyntheticDefaultImports": true, | ||
| "resolveJsonModule": true, | ||
| "target": "ES5", | ||
| "module": "commonjs", | ||
| "moduleResolution": "node", | ||
| "declaration": true, | ||
| "esModuleInterop": true, | ||
| "declarationMap": true, | ||
| "strict": true, | ||
| "skipLibCheck": true | ||
| "outDir": "./dist" | ||
| }, | ||
| "exclude": ["node_modules", "dist", "bundle"], | ||
| "include": ["src/**/*"] | ||
| "exclude": ["node_modules", "dist"] | ||
| } |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is package-lock.json necessary top-level? Because there is already a pnpm-lock.yaml here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No,
package-lock.jsonisn't necessary at any level since we are using pnpm. The idea behind pacakge.json is to extract commonly used dev dependencies into a single place