Skip to content

feat: Add IPFS, Swarm as Another Providers for The File Service into Mask - #5195

Merged
guanbinrui merged 75 commits into
DimensionDev:developfrom
lljxx1:develop
Feb 21, 2022
Merged

feat: Add IPFS, Swarm as Another Providers for The File Service into Mask#5195
guanbinrui merged 75 commits into
DimensionDev:developfrom
lljxx1:develop

Conversation

@lljxx1 lljxx1 changed the title Add IPFS, Swarm as Another Providers for The File Service into Mask feat: Add IPFS, Swarm as Another Providers for The File Service into Mask Dec 15, 2021
Comment thread .pnpmfile.cjs Outdated
Comment thread packages/mask/src/plugins/FileService/types.ts Outdated
@guanbinrui
guanbinrui requested a review from septs December 15, 2021 07:10
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/Preview.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/Preview.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/components/Upload.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/components/Uploading.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/components/Uploading.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/components/Uploading.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/components/Uploading.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/ipfs.ts Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/swarm.ts Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/swarm.ts Outdated
Comment thread .pnpmfile.cjs Outdated
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/components/Upload.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/SNSAdaptor/components/Uploading.tsx Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/ipfs.ts Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/ipfs.ts Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/ipfs.ts Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/ipfs.ts Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/service.ts Outdated
Comment thread packages/mask/src/plugins/FileService/Worker/swarm.ts Outdated
Comment thread packages/mask/src/plugins/FileService/types.ts Outdated
@lljxx1
lljxx1 requested a review from septs February 12, 2022 01:44
Comment thread pnpm-lock.yaml Outdated
Jack-Works
Jack-Works previously approved these changes Feb 14, 2022
@Jack-Works

Copy link
Copy Markdown
Member
ERROR in ../plugins/FileService/src/Worker/swarm.ts 12:15-18
export 'Bee' (imported as 'Bee') was not found in '@ethersphere/bee-js' (module has no exports)

ERROR in ../../node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs/index.js 1:0-28
Module not found: Error: Can't resolve './bee' in '/home/circleci/repo/node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs'
Did you mean 'bee.js'?
BREAKING CHANGE: The request './bee' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

ERROR in ../../node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs/index.js 2:0-39
Module not found: Error: Can't resolve './bee-debug' in '/home/circleci/repo/node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs'
Did you mean 'bee-debug.js'?
BREAKING CHANGE: The request './bee-debug' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

ERROR in ../../node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs/index.js 3:0-40
Module not found: Error: Can't resolve './utils/expose' in '/home/circleci/repo/node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs'
Did you mean 'expose.js'?
BREAKING CHANGE: The request './utils/expose' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

ERROR in ../../node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs/index.js 4:0-24
Module not found: Error: Can't resolve './types' in '/home/circleci/repo/node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs'
Did you mean 'index.js'?
BREAKING CHANGE: The request './types' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

ERROR in ../../node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs/index.js 5:0-30
Module not found: Error: Can't resolve './utils/error' in '/home/circleci/repo/node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs'
Did you mean 'error.js'?
BREAKING CHANGE: The request './utils/error' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

ERROR in ../../node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs/index.js 6:0-92
Module not found: Error: Can't resolve './modules/debug/status' in '/home/circleci/repo/node_modules/.pnpm/@ethersphere+bee-js@3.3.0/node_modules/@ethersphere/bee-js/dist/mjs'
Did you mean 'status.js'?
BREAKING CHANGE: The request './modules/debug/status' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

Looks like there is some problem with the dependency @etherspher/bee-js

@Jack-Works

Copy link
Copy Markdown
Member

I have reported this issue to the upstream ethersphere/bee-js#555

Comment thread packages/mask/.webpack/config.ts Outdated
Jack-Works
Jack-Works previously approved these changes Feb 14, 2022
@lljxx1

lljxx1 commented Feb 15, 2022

Copy link
Copy Markdown
Contributor Author

@wenluomask plz take a look again!

@wenluomask

Copy link
Copy Markdown
Contributor

Checked.

Jack-Works
Jack-Works previously approved these changes Feb 16, 2022
Jack-Works
Jack-Works previously approved these changes Feb 16, 2022
Jack-Works
Jack-Works previously approved these changes Feb 16, 2022
septs
septs previously approved these changes Feb 16, 2022
@guanbinrui
guanbinrui dismissed stale reviews from septs and Jack-Works via d52da43 February 21, 2022 07:44
@guanbinrui
guanbinrui merged commit 47253c5 into DimensionDev:develop Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty] Add Swarm as Another Provider for The File Service into Mask [Bounty] Add IPFS as Another Provider for The File Service into Mask

6 participants