Skip to content

build: remove @angular-devkit/schematics devDependency from tests - #34708

Closed
alan-agius4 wants to merge 1 commit into
angular:mainfrom
alan-agius4:remove-tests-schematics-dep
Closed

alan-agius4 wants to merge 1 commit into
angular:mainfrom
alan-agius4:remove-tests-schematics-dep

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

tests/package.json declares @angular-devkit/schematics in devDependencies solely so //tests/angular_devkit/schematics/tools/file-system-engine-host:file_system_engine_host_test_lib can reference //tests:node_modules/@angular-devkit/schematics.

Issue Number: N/A

What is the new behavior?

@angular-devkit/schematics is removed from tests/package.json (and pnpm-lock.yaml), and file_system_engine_host_test_lib depends directly on //packages/angular_devkit/schematics.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Update file_system_engine_host_test_lib to depend directly on
//packages/angular_devkit/schematics instead of linking the workspace
package through tests/package.json.
@angular-robot angular-robot Bot added the area: build & ci Related the build and CI infrastructure of the project label Nov 12, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Bazel build dependencies for the file system engine host tests to reference the local '@angular-devkit/schematics' package directly from '//packages/angular_devkit/schematics' instead of referencing it via 'node_modules' in the tests directory. Consequently, the '@angular-devkit/schematics' dependency has been removed from 'tests/package.json'. There are no review comments, and I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build & ci Related the build and CI infrastructure of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant