-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
We're at @bazel/typescript 5.2.0 which is more than a year old and has some older deps. However, @bazel/typescript itself has been deprecated, see notice at https://www.npmjs.com/package/@bazel/typescript. The deprecation says https://github.com/aspect-build/rules_ts should be used instead.
It is also cause of concern because it pins node types to a very old version:
$ yarn why @types/node
yarn why v1.22.19
[1/4] Why do we have the module "@types/node"...?
[2/4] Initialising dependency graph...
[3/4] Finding dependency...
[4/4] Calculating file sizes...
=> Found "@types/node@18.11.19"
info Has been hoisted to "@types/node"
info This module exists because it's specified in "devDependencies".
info Disk size without dependencies: "3.68MB"
info Disk size with unique dependencies: "3.68MB"
info Disk size with transitive dependencies: "3.68MB"
info Number of shared dependencies: 0
=> Found "protobufjs#@types/node@10.17.60"
Leading to error like:
node_modules/typescript/lib/lib.dom.d.ts:2071:13
2071 declare var AbortSignal: {
~~~~~~~~~~~
'AbortSignal' was also declared here.
When attempting to upgrade to TypeScript 4.9.
Metadata
Metadata
Assignees
Labels
No labels