Open dubzzz opened 1 month ago
https://x.com/mattpocockuk/status/1814247057286189102?t=sXGiuZqoSeYFCSmJ5DGAiw&s=19
Requires Node 22
More at https://nodejs.org/docs/latest/api/cli.html#--run
Not feasible with yarn as we would need to use yarn node --run xxx which will probably not be faster than yarn run xxx. That said I don't know what's the cost of yarn run xxx vs npm run xxx.
yarn node --run xxx
yarn run xxx
npm run xxx
💡 Idea
https://x.com/mattpocockuk/status/1814247057286189102?t=sXGiuZqoSeYFCSmJ5DGAiw&s=19
Requires Node 22
More at https://nodejs.org/docs/latest/api/cli.html#--run