-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependencies disparities & cleanup #47
Comments
xhr has corrected the issue and published v1.16.1 (naugtur/xhr#48). |
@ngryman I took care of It's also worth noting that browserify wont bundle anything unless it is actually included with But it would be an issue for things in your second example. Like Apologies if this is already what you were saying, I just wanted to clarify to avoid confusion. 😄 |
@lukekarrys My bad, Currently, I just end up with 2 different |
You can also run Seems like it would be a good idea to get Also, we're already planning to move away from underscore so for now that would probably be extra work that wont be used for much longer. |
Nice ! Didn't knew about It works well for npm WARN unavoidable conflict matches-selector { '/xxx/node_modules/ampersand-view/node_modules/events-mixin/node_modules/delegate-events/node_modules/closest/node_modules/matches-selector': '0.0.1',
npm WARN unavoidable conflict '/xxx/node_modules/ampersand-view/node_modules/matches-selector': '1.0.0' }
npm WARN unavoidable conflict Not de-duplicating
npm WARN unavoidable conflict key-tree-store { '/xxx/node_modules/ampersand-state/node_modules/key-tree-store': '0.1.2',
npm WARN unavoidable conflict '/xxx/node_modules/ampersand-view/node_modules/ampersand-dom-bindings/node_modules/key-tree-store': '1.2.0' }
npm WARN unavoidable conflict Not de-duplicating So it would be very nice to bump older versions. On a side note, you should mention Thanks a lot! |
And yeah, I've seen that you are moving away from |
closing this per the discussion in AmpersandJS/ampersand-state#80 (comment) |
Hi guys,
By inspecting the result of
npm list
on my project, I've seen some dependencies disparities among some Ampersand modules.First, it seems that some
devDependencies
are referenced independencies
. They end up being bundled by browserify, increasing bundle's size. Removing them would lighten bundles quite a lot:I'll create an issue in third party projects, and keep you posted here, so you can update the dependency.
Then, would it be possible to normalize common dependencies versions? Browserify includes duplicate dependencies because version is not the same:
Thanks!
The text was updated successfully, but these errors were encountered: