-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Initial changes for migrating to rules_js
#28957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c845ef5
build: update to bazel 6
devversion 353c267
build: setup `rules_js` and link dependencies
devversion a7cd21b
build: setup `rules_ts` for compiling TypeScript sources
devversion 09f55a7
build: create `ts_project` interop allowing for incremental migration
devversion 679904d
build: update to more improved `copy_to_bin` rule.
devversion a740e38
build: migrate `angular-devkit/architect` to `ts_project`
devversion 83e4e96
test: update chunk file name to reflect new name
devversion f8ee0f9
build: remove cpp toolchain as it's no longer needed in Bazel 6
devversion e4f27ae
ci: remove extraneous imports lint rule as it doesnt work in monorepo…
devversion 4a3c935
build: workaround aspect bazel lib `tar.gz` windows issue
devversion 7fc5abe
build: rename `//:node_modules` to root modules
devversion 07e9008
refactor: remove unnecessary type conversion failing lint
devversion 8ff8c3a
build: add missing path mapping for `build-webpack` import causing li…
devversion 28c2302
build: use worker for `ts_project` to enable fast DX and avoid no-san…
devversion f76ac01
build: update rules_rs_dependencies to 5.7.2
josephperrott 584eac6
build: update npm_translate_lock and update to to typescript 5.7.2
josephperrott File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
.aspect/rules/external_repository_action_cache/npm_translate_lock_MzA5NzUwNzMx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# @generated | ||
# Input hashes for repository rule npm_translate_lock(name = "npm2", pnpm_lock = "@//:pnpm-lock.yaml"). | ||
# This file should be checked into version control along with the pnpm-lock.yaml file. | ||
.npmrc=-2023857461 | ||
package.json=1044460161 | ||
pnpm-lock.yaml=451366521 | ||
pnpm-workspace.yaml=1711114604 | ||
yarn.lock=-892267542 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.4.1 | ||
6.5.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
engine-strict = true | ||
# Yarn Berry doesn't check engines at all, so pnpm shouldn't either. | ||
engine-strict = false | ||
|
||
# Disabling pnpm [hoisting](https://pnpm.io/npmrc#hoist) by setting `hoist=false` is recommended on | ||
# projects using rules_js so that pnpm outside of Bazel lays out a node_modules tree similar to what | ||
# rules_js lays out under Bazel (without a hidden node_modules/.pnpm/node_modules) | ||
hoist=false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ | |
dist/ | ||
/tests/legacy-cli/e2e/assets/ | ||
/tools/test/*.json | ||
pnpm-lock.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,15 +10,14 @@ | |
"sdk", | ||
"Angular DevKit" | ||
], | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"admin": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only ./scripts/devkit-admin.mjs", | ||
"test": "bazel test //packages/...", | ||
"build": "yarn admin build", | ||
"lint": "eslint --cache --max-warnings=0 \"**/*.@(ts|mts|cts)\"", | ||
"templates": "yarn admin templates", | ||
"validate": "yarn admin validate", | ||
"postinstall": "yarn webdriver-update && yarn husky", | ||
"postinstall": "patch-package && yarn webdriver-update && yarn husky", | ||
"//webdriver-update-README": "ChromeDriver version must match Puppeteer Chromium version, see https://github.com/GoogleChrome/puppeteer/releases http://chromedriver.chromium.org/downloads", | ||
"webdriver-update": "webdriver-manager update --standalone false --gecko false --versions.chrome 106.0.5249.21", | ||
"public-api:check": "node goldens/public-api/manage.js test", | ||
|
@@ -42,18 +41,10 @@ | |
"url": "https://github.com/angular/angular-cli/issues" | ||
}, | ||
"homepage": "https://github.com/angular/angular-cli", | ||
"workspaces": { | ||
"packages": [ | ||
"packages/angular/*", | ||
"packages/angular_devkit/*", | ||
"packages/ngtools/*", | ||
"packages/schematics/*" | ||
] | ||
}, | ||
"devDependencies": { | ||
"@ampproject/remapping": "2.3.0", | ||
"@angular/animations": "19.1.0-next.3", | ||
"@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=07617f0f8540d27f8895b1820a6f994e1e5b7277#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch", | ||
"@angular/bazel": "https://github.com/angular/bazel-builds.git#07617f0f8540d27f8895b1820a6f994e1e5b7277", | ||
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#d17f802de0af0ac409259f97678ce59ddd0671a0", | ||
"@angular/cdk": "19.1.0-next.2", | ||
"@angular/common": "19.1.0-next.3", | ||
|
@@ -81,8 +72,8 @@ | |
"@babel/runtime": "7.26.0", | ||
"@bazel/bazelisk": "1.25.0", | ||
"@bazel/buildifier": "7.3.1", | ||
"@bazel/concatjs": "patch:@bazel/concatjs@npm%3A5.8.1#~/.yarn/patches/@bazel-concatjs-npm-5.8.1-1bf81df846.patch", | ||
"@bazel/jasmine": "patch:@bazel/jasmine@npm%3A5.8.1#~/.yarn/patches/@bazel-jasmine-npm-5.8.1-3370fee155.patch", | ||
"@bazel/concatjs": "5.8.1", | ||
"@bazel/jasmine": "5.8.1", | ||
"@bazel/rollup": "^5.8.1", | ||
"@bazel/runfiles": "^5.8.1", | ||
"@discoveryjs/json-ext": "0.6.3", | ||
|
@@ -175,6 +166,7 @@ | |
"ora": "5.4.1", | ||
"pacote": "20.0.0", | ||
"parse5-html-rewriting-stream": "7.0.0", | ||
"patch-package": "^8.0.0", | ||
alan-agius4 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"picomatch": "4.0.2", | ||
"piscina": "4.8.0", | ||
"postcss": "8.4.49", | ||
|
@@ -225,8 +217,10 @@ | |
"built": true | ||
} | ||
}, | ||
"pnpm": { | ||
"onlyBuiltDependencies": [] | ||
}, | ||
"resolutions": { | ||
"@bazel/concatjs@npm:5.8.1": "patch:@bazel/concatjs@npm%3A5.8.1#~/.yarn/patches/@bazel-concatjs-npm-5.8.1-1bf81df846.patch", | ||
"@microsoft/api-extractor/typescript": "5.6.3" | ||
"typescript": "5.7.2" | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.