Open karlhorky opened 1 year ago
To upgrade tsm
's transitive dependency esbuild@^0.15.16
to something newer, you can try using Yarn Resolutions like in the example below (or modify the example below for pnpm Overrides or npm Overrides):
package.json
{
"resolutions": {
"esbuild": "0.18.6"
}
}
Hi there, thanks :)
I wanted to cut a new major release today to include this (because of esbuild breaking changes), but I think that it should include support for Node 20.x (#46) which will probably also include some breaking changes. (Thanks Node team)
Please stick with the workaround for now :/ If there's no likely progress on Node-side with the process.argv
issue within a few weeks, then I'll cut 3.0
and then another 4.0
once Node has act together.
Hi!
Any news on this side?
Thanks!
Hey @lukeed π hope you're well!
It seems that
esbuild@0.17.14
added support for TS 5.0const
type parametersCurrently,
tsm@2.3.0
depends onesbuild@^0.15.16
, and runs into errors likeExpected identifier but found "const"
:Proposed Solution
What do you think about upgrading to
esbuild@^0.18.6
?Seems like forcing the upgrade to the transitive
esbuild
dependency via Yarn Resolutions works in our project and enables theconst
type parameters π