Skip to content

Commit e7efcb9

Browse files
chore: fix broken and redirecting links in docs
Update all outdated links in README.md and docs/ that pointed to old /rules/ and /rulesets/ URL patterns or HTTP redirects: - docs.aspect.build/rules/* and /rulesets/* → new /bazel/ path structure - docs.aspect.build/workflows → aspect-workflows/get-started/overview - docs.aspect.build/rules → docs.aspect.build/ - github.com/bazelbuild/rules_nodejs → github.com/bazel-contrib/rules_nodejs - http://typescriptlang.orghttps://www.typescriptlang.org - https://cypress.iohttps://www.cypress.io - jq rule link removed (rule no longer exists in bazel_lib) - rules_jest troubleshooting link removed (page no longer exists) Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent 199fbdd commit e7efcb9

15 files changed

Lines changed: 23 additions & 23 deletions

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ The fastest way to try this in an empty project is to click the green "Use this
1818

1919
rules_js is just a part Aspect's monorepo developer platform:
2020

21-
- [Aspect Workflows](https://docs.aspect.build/workflows) delivers on Bazel's promises of speed and cost-savings.
21+
- [Aspect Workflows](https://docs.aspect.build/aspect-workflows/get-started/overview) delivers on Bazel's promises of speed and cost-savings.
2222
It provides Continuous Integration and Delivery, including Remote Cache and Remote Build Execution (RBE).
2323
Best of all, it includes all the expertise that you expect from the team at Aspect!
2424
- _Need help?_
2525
- Best-effort community support is available on the #javascript channel on [Bazel Slack](https://slack.bazel.build/)
2626
- Commercial support as a Slack Connect channel is offered by https://aspect.build/services.
27-
- See [Aspect's Bazel rules](https://docs.aspect.build/rules), especially those built for rules_js:
28-
- [rules_ts](https://github.com/aspect-build/rules_ts) - Bazel rules for [TypeScript](http://typescriptlang.org)
27+
- See [Aspect's Bazel rules](https://docs.aspect.build/), especially those built for rules_js:
28+
- [rules_ts](https://github.com/aspect-build/rules_ts) - Bazel rules for [TypeScript](https://www.typescriptlang.org)
2929
- [rules_swc](https://github.com/aspect-build/rules_swc) - Bazel rules for [swc](https://swc.rs)
3030
- [rules_jest](https://github.com/aspect-build/rules_jest) - Bazel rules to run tests using [Jest](https://jestjs.io)
3131
- [rules_esbuild](https://github.com/aspect-build/rules_esbuild) - Bazel rules for [esbuild](https://esbuild.github.io) JS bundler
3232
- [rules_webpack](https://github.com/aspect-build/rules_webpack) - Bazel rules for [Webpack](https://webpack.js.org)
3333
- [rules_rollup](https://github.com/aspect-build/rules_rollup) - Bazel rules for [Rollup](https://rollupjs.org) - a JavaScript bundler
3434
- [rules_jasmine](https://github.com/aspect-build/rules_jasmine) - Bazel rules to run tests using [Jasmine](https://jasmine.github.io/)
3535
- [rules_terser](https://github.com/aspect-build/rules_terser) - Bazel rules for [Terser](https://terser.org) - a JavaScript minifier
36-
- [rules_cypress](https://github.com/aspect-build/rules_cypress) - Bazel rules to run tests using [Cypress](https://cypress.io)
36+
- [rules_cypress](https://github.com/aspect-build/rules_cypress) - Bazel rules to run tests using [Cypress](https://www.cypress.io)
3737
- [rules_lint](https://github.com/aspect-build/rules_lint) includes [eslint support](https://registry.bazel.build/docs/aspect_rules_lint#lint-eslint-bzl).
3838

3939
## Known issues
@@ -70,10 +70,10 @@ Larger examples can be found in our [bazel-examples](https://github.com/aspect-b
7070
## Relationship to rules_nodejs
7171

7272
rules_js is an alternative to the `build_bazel_rules_nodejs` Bazel module and
73-
accompanying npm packages hosted in https://github.com/bazelbuild/rules_nodejs,
73+
accompanying npm packages hosted in https://github.com/bazel-contrib/rules_nodejs,
7474
which is now unmaintained. All users are recommended to use rules_js instead.
7575

76-
rules_js replaces some parts of [bazelbuild/rules_nodejs](http://github.com/bazelbuild/rules_nodejs) and re-uses other parts:
76+
rules_js replaces some parts of [bazelbuild/rules_nodejs](https://github.com/bazel-contrib/rules_nodejs) and re-uses other parts:
7777

7878
| Layer | Legacy | Modern |
7979
| ------------------------------- | ----------------------------- | ----------------------- |

docs/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,4 @@ npm.npm_exclude_package_contents(
199199

200200
#### Jest
201201

202-
See [rules_jest](https://github.com/aspect-build/rules_jest) specific [troubleshooting](https://docs.aspect.build/rulesets/aspect_rules_jest/docs/troubleshooting#performance).
202+
See [rules_jest](https://github.com/aspect-build/rules_jest) for troubleshooting.

e2e/pnpm_lockfiles/v101/snapshots/is-odd-v0_resolved.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/pnpm_lockfiles/v101/snapshots/is-odd_resolved.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/pnpm_lockfiles/v101/snapshots/lodash_resolved.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/pnpm_lockfiles/v90/snapshots/is-odd-v0_resolved.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/pnpm_lockfiles/v90/snapshots/is-odd_resolved.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/pnpm_lockfiles/v90/snapshots/lodash_resolved.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/private/js_binary.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following environment variables are made available to the Node.js runtime ba
5454
The following environment variables are made available to the Node.js runtime based the runtime environment:
5555
5656
* JS_BINARY__NODE_BINARY: the Node.js binary path run by the `js_binary` target
57-
* JS_BINARY__NPM_BINARY: the npm binary path; this is available when [`include_npm`](https://docs.aspect.build/rules/aspect_rules_js/docs/js_binary#include_npm) is `True` on the `js_binary` target
57+
* JS_BINARY__NPM_BINARY: the npm binary path; this is available when [`include_npm`](https://docs.aspect.build/bazel/javascript/aspect_rules_js/js_defs#include_npm) is `True` on the `js_binary` target
5858
* JS_BINARY__NODE_WRAPPER: the Node.js wrapper script used to run Node.js which is available as `node` on the `PATH` at runtime
5959
* JS_BINARY__RUNFILES: the absolute path to the Bazel runfiles directory
6060
* JS_BINARY__EXECROOT: the absolute path to the root of the execution root for the action; if in the sandbox, this path absolute path to the root of the execution root within the sandbox

js/private/js_helpers.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Expected to find source file {file_basename} in '{this_package}', but instead it
8383
All source and data files that are not in the Bazel output tree must be in the same package as the
8484
target so that they can be copied to the output tree in an action.
8585
86-
See https://docs.aspect.build/rules/aspect_rules_js/docs/#javascript for more context on why this is required.
86+
See https://docs.aspect.build/bazel/javascript/rules_js for more context on why this is required.
8787
8888
Either move {file_basename} to '{this_package}', or add a 'js_library'
8989
target in {file_basename}'s package and add that target to the deps of {this_target}:

0 commit comments

Comments
 (0)