bazelbuild / rules_nodejs

NodeJS toolchain for Bazel.

Home Page:https://bazelbuild.github.io/rules_nodejs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation at https://www.npmjs.com/package/@bazel/typescript/v/0.32.0 is out of date

Katee opened this issue · comments

The documentation at https://www.npmjs.com/package/@bazel/typescript/v/0.32.0 mentions a few things that are not longer used:

Possibly other items I'm not aware of.

ts_setup_workspace is also mentioned at https://github.com/bazelbuild/rules_nodejs/wiki/scratch

That's a versioned URL, for the 0.32.0 package.
The latest version (https://www.npmjs.com/package/@bazel/typescript) seems to have the correct documentation?

I think scratch is just that, a scratch pad. I guess we could remove it as it's ~3 years old.

I am so sorry. I had been searching for instructions on how to use an absolute path for ts_project imports which led me to the "Writing TypeScript code for Bazel" section of that very outdated version. I did not realize that the "Last publish" part of the sidebar on npmjs.com does not refer to the version one is currently looking at.