This package is a web-compatible package manager built with tsserverlib compatibility in mind. It does not require a "real" filesystem or a "real" NPM installation, but instead uses [orogene](https://github.com/orogene/orogene) to perform package manageme
npm install @vscode/ts-package-managerThis package is a web-compatible package manager built with tsserverlib
compatibility in mind. It does not require a "real" filesystem or a "real" NPM
installation, but instead uses orogene
to perform package management operations.
It is largely a thin wrapper around Orogene's node-maintainer WASM
API.
node-maintainerCurrently, this package vendors a prebuilt version of node-maintainer into
the ./node-maintainer directory. This has to be manually built and updated
as needed whenever there are desired changes from orogene.
To update the directory:
1. rm -rf ./node-maintainer
2. clone https://github.com/orogene/orogene somewhere. See the contributing
instructions
for a guide on how to set up and build wasm modules.
3. mv /path/to/orogene/crates/node-maintainer/pkg ./node-maintainer
4. git add node-maintainer && git commit -m 'updated node-maintainer'
To get this branch working, as of today (4/7/2023), you need to use a
TypeScript release that includes this
commit,
which has been merged into main, but not released yet.
In order to use an unreleased TypeScript with VS Code:
1. At the ../.. (vscode/extensions/) level, you should npm link thetypescript
version of typescript you want.
1. Go to your source checkoutnpm link
2. Call vscode/extensions
3. Go to npm link typescript`
4. Call