Skip to content

Commit

Permalink
build: migrate @angular-devkit/architect-cli tests to rules_js
Browse files Browse the repository at this point in the history
Migrates `@angular-devkit/architect-cli` jasmine rules to the
native `rules_js` variant.
  • Loading branch information
devversion authored and alan-agius4 committed Jan 20, 2025
1 parent 4700c5d commit e5e0947
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
package.json=750671300
packages/angular/cli/package.json=349838588
packages/angular_devkit/architect/package.json=-1496633956
packages/angular_devkit/architect_cli/package.json=1551210941
packages/angular_devkit/core/package.json=339935828
packages/angular_devkit/schematics/package.json=673943597
packages/schematics/angular/package.json=251715148
pnpm-lock.yaml=1860194410
pnpm-workspace.yaml=1839001260
pnpm-lock.yaml=-1842536727
pnpm-workspace.yaml=-1051214858
yarn.lock=1185228888
1 change: 1 addition & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ npm_translate_lock(
"//:pnpm-workspace.yaml",
"//packages/angular/cli:package.json",
"//packages/angular_devkit/architect:package.json",
"//packages/angular_devkit/architect_cli:package.json",
"//packages/angular_devkit/core:package.json",
"//packages/angular_devkit/schematics:package.json",
"//packages/schematics/angular:package.json",
Expand Down
Binary file added npm_package_archive.tgz
Binary file not shown.
9 changes: 5 additions & 4 deletions packages/angular_devkit/architect_cli/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
load("@npm2//:defs.bzl", "npm_link_all_packages")
load("//tools:defaults2.bzl", "npm_package", "ts_project")

# Copyright Google Inc. All Rights Reserved.
Expand All @@ -8,21 +9,21 @@ licenses(["notice"])

package(default_visibility = ["//visibility:public"])

npm_link_all_packages()

ts_project(
name = "architect_cli",
srcs = [
"bin/architect.ts",
] + glob(["src/**/*.ts"]),
module_name = "@angular-devkit/architect-cli",
deps = [
":node_modules/@angular-devkit/architect",
":node_modules/@angular-devkit/core",
"//:node_modules/@types/node",
"//:node_modules/@types/progress",
"//:node_modules/@types/yargs-parser",
"//:node_modules/ansi-colors",
"//packages/angular_devkit/architect:architect_rjs",
"//packages/angular_devkit/architect/node:node_rjs",
"//packages/angular_devkit/core:core_rjs",
"//packages/angular_devkit/core/node:node_rjs",
],
)

Expand Down
4 changes: 2 additions & 2 deletions packages/angular_devkit/architect_cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"tooling"
],
"dependencies": {
"@angular-devkit/architect": "0.0.0-EXPERIMENTAL-PLACEHOLDER",
"@angular-devkit/core": "0.0.0-PLACEHOLDER",
"@angular-devkit/architect": "workspace:0.0.0-EXPERIMENTAL-PLACEHOLDER",
"@angular-devkit/core": "workspace:0.0.0-PLACEHOLDER",
"ansi-colors": "4.1.3",
"progress": "2.0.3",
"symbol-observable": "4.0.0",
Expand Down
27 changes: 25 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
packages:
- .
- packages/angular_devkit/architect
- packages/angular_devkit/architect_cli
- packages/angular_devkit/core
- packages/angular_devkit/schematics
- packages/angular/cli
Expand Down

0 comments on commit e5e0947

Please sign in to comment.