chore(release): prepare validated project update - #18
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1e872be862
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| const withoutKnownValidator = source | ||
| ?.split('\n') | ||
| .filter(line => !isKnownCommitlintHook(line)) | ||
| .join('\n') |
There was a problem hiding this comment.
Preserve commands surrounding replaced Commitlint calls
When an existing commit-msg hook combines Commitlint with another command on the same line—for example, commitlint --edit "$1" && node scripts/audit.mjs—this filter removes the entire line rather than only the obsolete validator. It can silently discard unrelated checks or leave a multiline if/then block syntactically invalid, causing all subsequent commits to fail; replace the recognized invocation without deleting the surrounding shell structure.
Useful? React with 👍 / 👎.
| if (selectedActions.has('husky-hook')) { | ||
| const huskyDependencyChanged = | ||
| setDependency(manifest, 'husky', HUSKY_VERSION, true) | ||
|
|
There was a problem hiding this comment.
Preserve existing Husky catalog specifiers
In a pnpm workspace where Husky is already declared as "husky": "catalog:"—as it is in this repository—default project setup unconditionally rewrites that declaration to ^9.1.7. This bypasses the workspace's centrally managed version and makes the supposedly package-manager-aware setup report permanent drift whenever the catalog intentionally selects another version; retain an existing valid specifier or update the relevant catalog instead.
AGENTS.md reference: AGENTS.md:L9-L10
Useful? React with 👍 / 👎.
No description provided.