Skip to content
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

Fix Node build break on typescript-eslint #771

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

bestbeforetoday
Copy link
Member

typescript-eslint v8.14.0 and earlier were broken by an implementation change in ESLint v9.15.0. This change makes use of package-lock.json files to allow resolved dependency versions to be moved forwards in a more controlled manner, and minimise the chances of unexpected breakages like this in future.

  • Include package-lock.json files to stabilize the Node dependency versions resolved across builds.
  • Change Makefile targets to use npm ci instead of npm install so that package-lock.json files are honored when resolving dependencies.

@bestbeforetoday bestbeforetoday marked this pull request as ready for review November 16, 2024 14:07
@bestbeforetoday bestbeforetoday requested a review from a team as a code owner November 16, 2024 14:07
@bestbeforetoday bestbeforetoday enabled auto-merge (squash) November 16, 2024 14:07
typescript-eslint v8.14.0 and earlier were broken by an implementation
change in ESLint v9.15.0. This change makes use of package-lock.json
files to allow resolved dependency versions to be moved forwards in a
more controlled manner, and minimise the chances of unexpected breakages
like this in future.

- Include package-lock.json files to stabilize the Node dependency
  versions resolved across builds.
- Change Makefile targets to use `npm ci` instead of `npm install` so
  that package-lock.json files are honored when resolving dependencies.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@bestbeforetoday bestbeforetoday merged commit cc10ac3 into hyperledger:main Nov 18, 2024
37 checks passed
@bestbeforetoday bestbeforetoday deleted the typescript-eslint branch November 18, 2024 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants