Skip to content

Install the web admin's npm packages with npm ci - #27

Merged
pacmano1 merged 1 commit into
mainfrom
npm-ci
Oct 25, 2026
Merged

pacmano1 merged 1 commit into
mainfrom
npm-ci

Conversation

@pacmano1

Copy link
Copy Markdown
Contributor

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, and package-lock.json was byte-identical afterwards.
  • 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 or npm-shrinkwrap.json are in sync" once package.json asked for an esbuild version the lockfile doesn't have.

Co-authored with Claude Code.

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>
@pacmano1
pacmano1 merged commit 8f16a5f into main Oct 25, 2026
6 checks passed
@pacmano1
pacmano1 deleted the npm-ci branch October 25, 2026 21:20
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.

1 participant