Skip to content

chore: harden npm policy and pin Node.js 26.13.0 - #25

Merged
YouheiNozaki merged 3 commits into
mainfrom
chore/npm-security-policy-and-node-26
Nov 11, 2026
Merged

YouheiNozaki merged 3 commits into
mainfrom
chore/npm-security-policy-and-node-26

Conversation

@YouheiNozaki

Copy link
Copy Markdown
Contributor

Summary

  • Add shared npm hardening keys to .npmrc.
  • Pin Node.js to v26.13.0 / engines.node: 26.x, set packageManager to npm@12.2.1, and declare allowScripts.
  • Keep CI runtime matrix on [22.x, 24.x, 26.x]; install/build on .node-version, then switch Node for tests. Publish uses .node-version.

Test plan

  • CI が Node.js 26.13.0(.node-version)で通ること
  • npm ci が engine-strict / strict-allow-scripts 下で成功すること
  • (該当する場合)publish / release workflow の Node 指定が .node-version 参照になっていること

Made with Cursor

- Add shared npm hardening keys to `.npmrc`.
- Pin Node.js to `v26.13.0` / `engines.node: 26.x`, set `packageManager` to `npm@12.2.1`, and declare `allowScripts`.
- Keep CI runtime matrix on `[22.x, 24.x, 26.x]`; install/build on `.node-version`, then switch Node for tests. Publish uses `.node-version`.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
microcms-rich-editor-handler Ready Ready Preview Nov 11, 2026 9:44am UTC

Request Review

Align published engines with supported runtimes, remove packageManager, and keep .node-version as the toolchain pin.

Co-authored-by: Cursor <cursoragent@cursor.com>
Node 18 is no longer needed in CI for this package.

Co-authored-by: Cursor <cursoragent@cursor.com>
@YouheiNozaki
YouheiNozaki merged commit e49db50 into main Nov 11, 2026
18 checks passed
@YouheiNozaki
YouheiNozaki deleted the chore/npm-security-policy-and-node-26 branch November 11, 2026 09:51

This branch was successfully deployed

1 active deployment
Preview — 7e94e565 Deployed Nov 11, 2026 by vercel[bot]
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