chore: クールダウンを7日に統一しDependabot alertsを解消 - #104
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
…oldown # Conflicts: # pnpm-lock.yaml
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.
概要
サプライチェーン対策としてクールダウン期間を 7 日 に統一し、Dependabot alerts の脆弱性 5 件を解消します。あわせて Node.js / pnpm を最新に更新し、Node のバージョンをパッチまで正確に固定します。
変更内容
1. クールダウンを 7 日に統一
pnpm-workspace.yamlminimumReleaseAge: 1420→10080(分単位 = 7 日).github/dependabot.ymlcooldown.default-days: 7を追加github-actionsはdefault-daysのみ対応(semver-*-daysは非対応)のため、両 ecosystem ともdefault-daysで統一しています。2. Dependabot alerts 5 件の解消
next@16.3.0がpostcss: 8.5.23とsharp: ^0.35.3を指定しているため、Next.js の更新だけで 4 件が解消します。fast-uriはajv@8.20.0が^3.0.1指定のため overrides で対応しました。postcsssharpfast-uriapp/ginga-ui.com/next-env.d.tsの差分は Next.js 16.3.0 が自動生成したものです。3. Node 26.7.0 / pnpm 11.21.0
.node-version・mise.toml・package.jsonのengines.nodeの 3 箇所すべてを26.7.0に固定しました。CI は 3 本ともnode-version-file: ".node-version"を参照しているためワークフロー側の変更は不要です。4. 生成される型定義を gitignore
pnpm buildがpackages/utils/src/配下に.d.tsを生成する既存の問題があるため、gitignore に追加しました(packages/core/src/css.d.tsは追跡済みの正規ファイルなので除外)。根本原因はルートtsconfig.jsonの"declaration": trueで、本 PR では対処していません。ダウングレードについて
直接依存 38 件・lockfile 上の解決済み 864 件すべての npm registry 公開日時を照合しましたが、7 日以内に公開されたバージョンは 0 件でした。巻き戻し対象はありません。
検証結果
tsc --noEmit/lint/format/stylelint/knip/pnpm build/ ドキュメントサイトのビルド — すべて成功。next@16.3.0は公開が 2026-08-03 20:39 UTC のため、2026-08-11 05:39 (JST) まではpnpm install --frozen-lockfileがERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATIONで失敗します(新しい 7 日ルール自体が正しく機能している証拠でもあります)。解禁時刻を過ぎてから CI を再実行してください。それまでにローカルで作業する場合は
PNPM_CONFIG_MINIMUM_RELEASE_AGE=0を付けて回避できます。🤖 Generated with Claude Code