Skip to content

build: forward data and package.json to strict_deps_test - #34133

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:strict-deps-remove
Sep 21, 2026
Merged

alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:strict-deps-remove

Conversation

@alan-agius4

@alan-agius4 alan-agius4 commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Forward data and package.json to strict_deps_test in the ts_project macro.

With data assets included in strict deps checks, the @ts-ignore strict-deps workarounds on markdown asset imports across CLI commands are no longer needed.

@angular-robot angular-robot Bot added the area: build & ci Related the build and CI infrastructure of the project label Sep 21, 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 removes unnecessary ts-ignore comments from several CLI command files. Additionally, it updates the ts_project Bazel macro in tools/defaults.bzl to correctly handle package_json and data attributes in strict_deps_test. A review comment identifies a potential build failure in the ts_project macro, noting that package_json should be popped from kwargs before forwarding to _ts_project to avoid passing unexpected arguments.

Comment thread tools/defaults.bzl Outdated
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Sep 21, 2026
@alan-agius4
alan-agius4 requested a review from clydin September 21, 2026 10:45
Forward `data` and `package.json` to `strict_deps_test` in the `ts_project` macro.
With `data` assets included in strict deps checks, the `@ts-ignore strict-deps`
workarounds on markdown asset imports across CLI commands are no longer needed.
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 21, 2026
@alan-agius4
alan-agius4 merged commit 3921ce6 into angular:main Sep 21, 2026
39 of 40 checks passed
@alan-agius4

Copy link
Copy Markdown
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4
alan-agius4 deleted the strict-deps-remove branch September 21, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants