Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

fix: add missing dependencies #1663

Merged
merged 2 commits into from
Nov 14, 2018
Merged

fix: add missing dependencies #1663

merged 2 commits into from
Nov 14, 2018

Conversation

hugomrdias
Copy link
Member

This PR also add a npm script to check missing dependencies this should in the future go into aegir.

@ghost ghost assigned hugomrdias Oct 24, 2018
@ghost ghost added the status/in-progress In progress label Oct 24, 2018
@alanshaw
Copy link
Member

@hugomrdias please use ~ for versions < 0

@hugomrdias
Copy link
Member Author

lol i did just didn't save the file :/

fixed with the last commit

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@alanshaw
Copy link
Member

@hugomrdias everything is failing 😞 - would you mind taking a look?

@hugomrdias
Copy link
Member Author

did someone merged or rebased this branch ?

@hugomrdias
Copy link
Member Author

Updated aegir to make tests run and rebased with master.

Please don't rebase branches you don't own.

@daviddias
Copy link
Member

@hugomrdias I don't think anyone rebased, otherwise you would see double authors.

@daviddias daviddias changed the title fix: add missing dependencies [WIP] fix: add missing dependencies Oct 31, 2018
Copy link
Member

@daviddias daviddias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase master onto this branch and get CI to be green

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@alanshaw
Copy link
Member

ping @hugomrdias can we get this PR in order? People are reporting duplicates of issues that this PR will fix.

fix: deps semver

fix: remove safe-buffer

fix: use defaults-deep instead of deep-extend

fix: rebase, sort webrtc and add more paths to dep-check

fix: change to peer deps
@hugomrdias hugomrdias changed the title [WIP] fix: add missing dependencies fix: add missing dependencies Nov 14, 2018
@hugomrdias
Copy link
Member Author

tests passing ship it

@alanshaw alanshaw merged commit 4bcf4a7 into master Nov 14, 2018
@alanshaw alanshaw deleted the fix/deps-check branch November 14, 2018 21:22
@ghost ghost removed the status/in-progress In progress label Nov 14, 2018
"peerDependencies": {
"electron-webrtc": "~0.3.0",
"wrtc": "~0.2.1"
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We get the following warning now when installing dependencies for js-ipfs:

npm WARN ipfs@0.33.1 requires a peer of electron-webrtc@~0.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN ipfs@0.33.1 requires a peer of wrtc@~0.2.1 but none is installed. You must install peer dependencies yourself.

This makes people think that those dependencies are required when they are not. @achingbrain @hugomrdias do you think these should be moved to optionalDependencies instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With optional they get installed and Jenkins goes crazy 😑😑 . It's missing some lib to compile

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙄 it shouldn't break...reading the docs, that seems to be the whole point of optionalDependencies...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, remove them for now as they were before...?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants