Closed voronianski closed 8 years ago
It's fixed in version 6.0.2
however @latest
tag still return 6.0.0
- https://www.npmjs.com/package/@cycle/core
It's entirely possible to get modules with scoped names. (example). Something else is going on.
As far as resolving latest goes, that's a cache invalidation issue.
@jfhbrook ok, then I'm closing this one.
For caching issues, probably https://github.com/jfhbrook/wzrd.in/issues/75 is the most appropriate issue to follow.
@jfhbrook I have a quick question, is it possible when making multi POST to return one bundle without duplicating dependencies?
For now sometimes libraries cannot work with including them twice (e.g. React) - https://github.com/voronianski/esnextbin/issues/5
The short answer is "no."
The long answer is that this is dependent on npm's behavior. npm2 doesn't flatten dependencies, but npm3 does (or at least tries). We're using npm2 because we don't feel npm3 is ready for prime time. Regardless, there's no real way to make guarantees about how npm decides to install dependencies.
@jfhbrook but what if create another version of multi endpoint with somekind of payload similar to package.json
. It will create one folder on server -> run npm install
and package all dependencies in one bundle, m?
We're using npm2 because we don't feel npm3 is ready for prime time.
Would transitioning to npm3 or even allowing both involve a lot of effort? npm3 has been out for quite some time, and it’s pretty stable apart from the speed issues.
I cast my vote for upgrading to npm3. This issue is quite annoying..
Unfortunately it's not possible to bundle modules with names like
@cycle/core
.I tried to encode
/
symbol - https://wzrd.in/standalone/@cycle%2Fcore@latest - and this results in such error:https://wzrd.in/debug-bundle/@cycle%2Fcore@latest debug: