Skip to content

Conversation

alan-agius4
Copy link
Collaborator

Within our module.bazel file when describing the version of typescript to use for rules_ts, we use ts_version instead of ts_version_from to prevent our package.json file from being part of the set of files used to calculate the sha for the lock file. Any unrelated change to the version of the typescript file would end up causing our lockfile to be out of date. This amount of churn has proven to be too much for our current setup. We instead now test to validate the versions defined in the package.json and MODULE.bazel files match.

@alan-agius4 alan-agius4 marked this pull request as ready for review August 28, 2025 07:23
@alan-agius4 alan-agius4 requested a review from crisbeto August 28, 2025 07:23
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Aug 28, 2025
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Aug 28, 2025
@alan-agius4 alan-agius4 force-pushed the bazel-lock-file-ts- branch 2 times, most recently from e62da9f to 3888e9a Compare August 28, 2025 07:59
Within our module.bazel file when describing the version of typescript to use for rules_ts, we use ts_version instead of ts_version_from to prevent our package.json file from being
part of the set of files used to calculate the sha for the lock file.  Any unrelated change to the version of the typescript file would end up causing our lockfile to be out of date.
This amount of churn has proven to be too much for our current setup. We instead now test to validate the versions defined in the package.json and MODULE.bazel files match.
@alan-agius4 alan-agius4 merged commit 0a450ca into angular:main Aug 28, 2025
31 checks passed
@alan-agius4 alan-agius4 deleted the bazel-lock-file-ts- branch August 28, 2025 09:25
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