Skip to content

fix(site): match the lockfile name to package.json - #106

Merged
Muawiya-contact merged 1 commit into
mainfrom
fix/site-lockfile-name
Sep 7, 2026
Merged

fix(site): match the lockfile name to package.json#106
Muawiya-contact merged 1 commit into
mainfrom
fix/site-lockfile-name

Conversation

@Muawiya-contact

Copy link
Copy Markdown
Member

What & why

site/package.json declares "name": "diskern-site". The committed
site/package-lock.json still said "site", in both the root object and
packages[""].

npm rewrites those two lines on every npm install in site/, so every
contributor who touches the site ends up with a modified lockfile they
did not ask for — the kind of stray hunk that gets swept into an
unrelated PR. npm ci tolerates the mismatch, so CI stayed green and
nothing surfaced it.

Two lines, no dependency changes.

Checklist

  • Commits are small and focused (one logical change each)
  • Doesn't weaken a safety principle (read-only scans, quarantine over deletion, deterministic verdicts)
  • No Rust changes, so the core/CLI gates are unaffected

`site/package.json` is `diskern-site`; the lockfile still said `site` in
both the root object and `packages[""]`, so npm rewrote those two lines
on every install and left a modified file in the working tree.

`npm ci` tolerates the mismatch, so CI stayed green and nothing ever
surfaced it — it just sat there as a stray hunk waiting to be swept into
an unrelated PR.
@Muawiya-contact Muawiya-contact added the chore Maintenance, cleanup, tooling label Sep 7, 2026

@Muawiya-contact Muawiya-contact left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Muawiya-contact
Muawiya-contact merged commit 59874b1 into main Sep 7, 2026
10 checks passed
@Muawiya-contact
Muawiya-contact deleted the fix/site-lockfile-name branch September 7, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance, cleanup, tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant