I don't understand this logic. It seems better to work on the thing used by a majority, but hey, the mess keeps me busy.
-
-
Replying to @wycats @mcclure111
By "we" I mean npm Inc. We are trying to keep the registry afloat and improve npm's core; improving webpack is out of scope for now.
2 replies 0 retweets 6 likes -
Replying to @seldo @mcclure111
I don't think npm should improve webpack (wouldn't help Ember), but there are things npm could do to make things generally better for FE.
4 replies 0 retweets 7 likes -
Some (a lot?) is on node core and the modules story. The .mjs proposal is going to wreak havoc on the FE ecosystem, which uses .js for years
2 replies 1 retweet 7 likes -
Replying to @wycats @mcclure111
If there are thing npm could do today to improve FE that are practical for our team of 18 engineers, I am all ears.
4 replies 0 retweets 3 likes -
Replying to @seldo @mcclure111
For me, a lot of what's tricky about FE tooling is the rough edges around introspecting node_modules.
2 replies 0 retweets 0 likes -
For example, require.resolve gives you the main file, but it's not always in the root. These issues are ancient and wontfixed.
1 reply 0 retweets 0 likes -
Maybe there's already a nice npm-maintained package floating around that gives you a graph of node_modules in consumable form?
3 replies 0 retweets 1 like -
Replying to @wycats @mcclure111
Different in what way from the output of `npm ls --json`? File-level granularity instead of module-level?
1 reply 0 retweets 0 likes -
This might be a good enough primitive but I'd have to walk the FS again to find the entry points (this is focused on deps)
-
-
The peerMissing stuff in here is great! Hadn't noticed it.
1 reply 0 retweets 2 likes -
Replying to @wycats @mcclure111
Glad I could (partially) help! Your point on browser entry points is a good one. As you've seen,
@izs is already paying attention.0 replies 0 retweets 1 like
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.