@vscode/ts-package-manager
v0.0.2
Published
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
Downloads
15,325
Readme
Package Manager
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 to perform package management operations.
It is largely a thin wrapper around Orogene's node-maintainer WASM API.
Updating vendored node-maintainer
Currently, 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:
rm -rf ./node-maintainer
- clone https://github.com/orogene/orogene somewhere. See the contributing instructions for a guide on how to set up and build wasm modules.
mv /path/to/orogene/crates/node-maintainer/pkg ./node-maintainer
- `git add node-maintainer && git commit -m 'updated node-maintainer'
A Note on Build Requirements
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:
- At the
../..
(vscode/extensions/
) level, you shouldnpm link
the version of typescript you want.- Go to your
typescript
source checkout - Call
npm link
- Go to
vscode/extensions
- Call
npm link typescript
- Go to your