Repository navigation
Conversation
The build ran npm install, which can resolve newer package versions than package-lock.json names and rewrite the lockfile. The other Diridium plugins run npm ci, which installs exactly what the lockfile says and stops if package.json and the lockfile disagree. The build.mjs comment that names the step says so too. Tested with mvn -B -ntp clean verify on Java 17.0.17 and Maven 3.9.16: the build ran npm ci (25 packages) and 14 tests, package-lock.json was byte-identical afterwards, and the zip's 26 files, jar contents included, are identical to main's build; only timestamps differ. A dry run of npm ci with scripts off passed on copies of the two files, and stopped with "npm ci can only install packages when your package.json and package-lock.json ... are in sync" once package.json asked for an esbuild version the lockfile doesn't have. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The build ran
npm install, which can resolve newer package versions thanpackage-lock.jsonnames and rewrite the lockfile. The other Diridium plugins runnpm ci, which installs exactly what the lockfile says and stops ifpackage.jsonand the lockfile disagree. Thebuild.mjscomment that names the step says so too.Tested with
mvn -B -ntp clean verifyon Java 17.0.17 and Maven 3.9.16:npm ci(25 packages) and 14 tests, andpackage-lock.jsonwas byte-identical afterwards.main's build; only timestamps differ.npm ciwith scripts off passed on copies of the two files, and stopped with "npm cican only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync" oncepackage.jsonasked for an esbuild version the lockfile doesn't have.Co-authored with Claude Code.