build: update aspect_rules_js to 3.0.2 (#67518)

This updates the major version of `aspect_rules_js`.

PR Close #67518
This commit is contained in:
Alan Agius
2026-03-09 09:00:12 +00:00
committed by Andrew Scott
parent cfb8aff968
commit 4febb8ad31
19 changed files with 84 additions and 222 deletions
@@ -22,7 +22,7 @@ export function getAngularPackagesFromRunfiles() {
const runfilesManifestPath = process.env['RUNFILES_MANIFEST_FILE'];
if (!runfilesManifestPath) {
const packageRunfilesDir = path.join(process.env['RUNFILES']!, '_main/packages');
const packageRunfilesDir = path.join(process.env['JS_BINARY__RUNFILES']!, '_main/packages');
return fs
.readdirSync(packageRunfilesDir)
@@ -43,5 +43,5 @@ export function getAngularPackagesFromRunfiles() {
/** Resolves a file or directory from the Bazel runfiles. */
export function resolveFromRunfiles(manifestPath: string) {
return path.resolve(process.env['RUNFILES']!, manifestPath);
return path.resolve(process.env['JS_BINARY__RUNFILES']!, manifestPath);
}
@@ -1,4 +1,4 @@
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_file")
load("@bazel_lib//lib:write_source_files.bzl", "write_source_file")
load("//tools:defaults.bzl", "js_binary", "js_run_binary")
def partial_compliance_golden(filePath):