|
Maël
@
arcanis
Paris, France
|
|
Lead @yarnpkg 🧶, your friendly package manager next door. Senior engineer @datadoghq, ex @facebook, I make JS a delightful language. Love pancakes 🥞
|
|
|
24.322
Tweetovi
|
531
Pratim
|
3.528
Osobe koje vas prate
|
| Tweetovi |
|
Maël
@arcanis
|
19 h |
|
One example where the error message could easily be contextualized:
babeljs.io/repl#?browsers…
TypeScript is doing pretty good on this:
typescriptlang.org/play/#code/GYV…
|
||
|
|
||
|
Maël
@arcanis
|
20 h |
|
Fwiw the 2.1 will introduce a "loose mode" which will gently print warning instead of expecting you to fix all the errors by yourself.
|
||
|
|
||
|
Maël
@arcanis
|
22 h |
|
Negations, equality operators, concatenations ... it would be nice if Prolog had a more intuitive syntaxes for such basic operations.
|
||
|
|
||
|
Maël
@arcanis
|
22 h |
|
I think one challenge with Prolog will be its syntax, which is sometimes a bit difficult to grasp for newcomers (like many French programming languages actually, sorry about that... 🙃)
|
||
|
|
||
| Maël proslijedio/la je tweet | ||
|
Yoann Moinet
@YoannM
|
3. velj |
|
Tired of waiting after a long running CLI 💻 ?
Introducing Notee, a very basic wrapper that will notify you once the command is done.
So you can enjoy reddit while it's running in the background.
github.com/yoannmoinet/no…
#protip #cli #terminal #node pic.twitter.com/9qDnVQ50JE
|
||
|
|
||
|
Maël
@arcanis
|
2. velj |
|
|
||
|
Maël
@arcanis
|
2. velj |
|
With Babel you can strip the types, but not generate the declaration files (for that you need the TS engine). Although maybe you can ship the original TS source in your "typings" field? Never tried 🤔
|
||
|
|
||
|
Maël
@arcanis
|
1. velj |
|
@BenJ_Ayc0 is doing incredibly well documented website improvements on the Yarn website 🤯
github.com/yarnpkg/berry/…
|
||
|
|
||
|
Maël
@arcanis
|
1. velj |
|
Do you have one in mind in particular?
|
||
|
|
||
|
Maël
@arcanis
|
1. velj |
|
Going live in 5mns to dive into Yarn 2.x. I can't promise my prolog will work on the first try though 😛
twitch.tv/arcanisgh
|
||
|
|
||
|
Maël
@arcanis
|
1. velj |
|
Let's talk about my friends node-gyp and node-pre-gyp
|
||
|
|
||
|
Maël
@arcanis
|
31. sij |
|
Interesting - can you open an issue on our repo (yarnpkg/berry)? I'm not entirely sure where it comes from, but it's probably worth looking 🤔
|
||
|
|
||
|
Maël
@arcanis
|
31. sij |
|
I seem to remember that the `<` operator used to cause syntax errors when the page was xHTML 🤔
|
||
|
|
||
|
Maël
@arcanis
|
31. sij |
|
The third option is literally "fork a project to toggle the default settings". If noone did it with Prettier I don't see it really valuable for 2.x.
|
||
|
|
||
|
Maël
@arcanis
|
30. sij |
|
I understand, but at some point I think it's important to just take a step back and let people live. I've played along for a week, the plan has been adjusted based on feedback, and it never feels enough. Seriously, if I was slightly less equipped I'd be in burn-out.
|
||
|
|
||
|
Maël
@arcanis
|
30. sij |
|
We're following along the Loader spec to eventually implement it as it would simplify our own code. The CJS system is very frozen though, so I don't know if the loaders could apply there (cc @guybedford wdyt?)
|
||
|
|
||
|
Maël
@arcanis
|
30. sij |
|
And that's something we'll change on 2.1 to only warn. We'll find the migration path by trial and experiments: that's how we work, for the better and the worst. We're no React team and our workflows may be different, but I don't see the point to literally spend hours debating us.
|
||
|
|
||
|
Maël
@arcanis
|
30. sij |
|
yarnpkg.com/configuration/… for reference
|
||
|
|
||
|
Maël
@arcanis
|
30. sij |
|
Also note that I implemented manifest generation in Yarn precisely for TS - you can use it right now. It never got used because it never was the problem.
|
||
|
|
||
|
Maël
@arcanis
|
30. sij |
|
Yep but as I mentioned their case goes much deeper than resolution. Flow would need to also support reading files from zip archives, and they don't care. TS should have a resolution API (PnP isn't the only thing a resolver would like to do)
|
||
|
|
||