Repository navigation
fix(deps): declare chokidar and open for root scripts - #9113
Conversation
scripts/dev-docs.mjs imports chokidar and scripts/google-oauth-setup.ts imports open, but neither was declared. Both came from the Mintlify dependency tree, and adcontextprotocol#9110 pruned that tree, so `npm run dev:docs` and the OAuth setup script now fail with ERR_MODULE_NOT_FOUND after a clean install. Declare them as root devDependencies on the majors the scripts already ran against (chokidar 3, open 8). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
Ladon verdict: Approve
Approve — clean dependency-maintenance PR.
Checked: declares chokidar ^3.5.3 and open ^8.4.2 as root devDependencies to fix two bare imports (scripts/dev-docs.mjs:26, scripts/google-oauth-setup.ts:14) that previously resolved transitively via mint and broke after #9110 pruned that tree. Majors match existing usage (chokidar v3 default export, open v8 CJS default); devDependencies is the correct section (dev/build scripts, not server runtime); lockfile additions are all dev-only transitives. No protocol surface touched (static/schemas/source/**, docs/reference/**, dist/** untouched), so no changeset required and no spec/docs coherence, oneOf, or artifact-immutability concerns apply.
Gate check: gated_paths false, high_risk false, no no-auto-approve team match, no prior decision. review_decision is REVIEW_REQUIRED, but with gated_paths false that does not force escalate. No findings of any severity. Falls through to row 9.
Follow-up to #9110, from the Codex review on that PR.
scripts/dev-docs.mjsimportschokidarandscripts/google-oauth-setup.tsimportsopen. Neither was declared in the rootpackage.json. They came from the Mintlify dependency tree, and #9110 pruned that tree (mint 4.2 -> 4.3), so after a cleannpm ci,npm run dev:docsand the OAuth setup script fail withERR_MODULE_NOT_FOUND.This adds both as root devDependencies on the majors the scripts already ran against:
chokidar ^3.5.3(resolves 3.6.0) andopen ^8.4.2. The lockfile was refreshed withnpm install --package-lock-only(npm 10.9.4).I checked for anything else the pruning broke. I compared every top-level package #9110 removed with the bare imports in
server/,scripts/,tests/,workers/,examples/,implementations/,.github/andvitest.config.ts.chokidarandopenwere the only matches. None of the removed packages' bins appear inpackage.jsonscripts, workflows or shell scripts. The two server type gaps are already fixed in #9110.npm auditis unchanged at 7 findings, all of them the sharp/minimatch items listed in #9110. No Dependabot alerts change. No changeset, because this is dependency maintenance with no protocol change.🤖 Generated with Claude Code