deps: refresh safe dependency drift#160
Conversation
|
Too many files changed? Review this PR in Change Stack to see how the pieces fit before you dive in. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
WalkthroughThe CLI package dependencies and development tooling versions are refreshed to address version drift. Runtime dependencies ( ChangesCLI Dependency Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks for the PR, @Ronak-D-Shah! This links #152, but that issue isn't assigned to anyone yet. Our workflow is claim the issue first, then submit the PR. It'll still be reviewed — to keep ownership clear, comment on the issue that you'd like it assigned to you. |
There was a problem hiding this comment.
Dependency refresh — review
Only package.json and package-lock.json change. No application logic was touched. High-effort review applied across all seven angles; no Critical or Important blockers found.
Summary of changes (package-lock resolved versions)
| Package | Old | New | Kind |
|---|---|---|---|
@insforge/shared-schemas |
1.1.52 | 1.1.55 | runtime |
posthog-node / @posthog/core |
5.28.9 / 1.24.4 | 5.36.3 / 1.30.9 | runtime |
eslint |
10.0.0 → 10.0.1 (resolved) | 10.4.1 | dev |
typescript-eslint |
8.56.0 → 8.56.1 (resolved) | 8.60.1 | dev |
vitest + rolldown bindings |
4.1.0 | 4.1.8 + rolldown@1.0.3 |
dev |
@types/node |
22.13.4 → 22.19.13 | 22.19.20 | dev |
Observations (non-blocking)
-
@rolldown/binding-wasm32-wasiengine floor raised (package-lock.jsonline ~1080).
The resolved1.0.3entry now declares"node": "^20.19.0 || >=22.12.0", up from>=14.0.0.
The project's ownenginesfield still allows>=18.0.0. In practice this isoptional: true— npm will silently skip the WASM fallback — and native Rolldown bindings cover every tested platform. But a developer running Node 18 without a native rolldown binding would get a silent build degradation.
Recommendation: no action required unless the project actively supports a Node 18 CI lane that lacks a native rolldown platform binary; worth tracking whenenginesis eventually narrowed. -
@posthog/coreinternal dependency swap (package-lock.json~line 851).
cross-spawnwas dropped as a direct dependency of@posthog/core;@posthog/types@1.381.0was added in its place. This is an internal restructuring upstream — the publicposthog-nodeAPI is unchanged and the integration tests confirm it. Worth knowing if a future incident involves cross-platform process spawning via posthog internals. -
@insforge/shared-schemas1.1.52 → 1.1.55 (runtime bump with no changelog visible in the diff).
This is the only runtime-facing bump where tightened or renamed schema fields could silently change validation results without crashing tests. The four live integration tests passing is encouraging; confirming that no new required fields were added or optional fields removed across the.52 → .55range is the remaining due diligence (a quicknpm diff @insforge/shared-schemas@1.1.52 @insforge/shared-schemas@1.1.55on the types folder would close this).
Verdict
All seven review angles (line-by-line diff scan, removed-behavior audit, cross-file callers, reuse, simplification, efficiency, altitude) return no Critical or blocking Important findings. Test evidence is strong: 421 unit tests + 4/4 live integration tests green. The PR correctly defers all major-version upgrades.
Ahead Four.
Greptile SummaryRoutine patch/minor dependency refresh across
Confidence Score: 5/5Safe to merge — only package manifests changed, all within semver ranges already declared, and CI (lint, tests, build, integration) is reported passing. No source files were modified. Every bump is a patch or minor increment within the existing semver range operators, so no breaking-change risk according to semver. The one new transitive entry (@posthog/types) is an additive types-only package. The @napi-rs/wasm-runtime structural change (emnapi moved to peer deps) is already resolved in the lockfile and is a dev/optional-only path. No files require special attention. @insforge/shared-schemas crossed three patch versions (1.1.52 → 1.1.55) and is a runtime schema dependency worth a quick changelog check if any schema-validation regressions are spotted post-deploy. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["@insforge/cli"] --> B["@insforge/shared-schemas\n1.1.52 → 1.1.55"]
A --> C["posthog-node\n5.28.9 → 5.36.3"]
C --> D["@posthog/core\n1.24.4 → 1.30.9"]
D --> E["@posthog/types 1.381.0\n(new transitive dep)"]
A -.->|devDep| F["eslint\n10.0.0 → 10.4.1"]
A -.->|devDep| G["typescript-eslint\n8.56.0 → 8.60.1"]
A -.->|devDep| H["vitest\n4.1.0 → 4.1.8"]
A -.->|devDep| I["@types/node\n22.13.4 → 22.19.20"]
F --> J["@eslint/core\n1.1.0 → 1.2.1"]
F --> K["@eslint/plugin-kit\n0.6.0 → 0.7.2"]
style E fill:#ffe0b2,stroke:#e65100
Reviews (1): Last reviewed commit: "deps: refresh safe dependency drift" | Re-trigger Greptile |
| "dependencies": { | ||
| "@clack/prompts": "^0.9.1", | ||
| "@insforge/shared-schemas": "^1.1.52", | ||
| "@insforge/shared-schemas": "^1.1.55", |
There was a problem hiding this comment.
Did a test on this bump and I think one cleanup worth folding into this PR:
rm -rf node_modules && npm ci
npx tsc --noEmit
and it shows src/commands/metadata.ts(71,18): error TS2339: Property 'aiIntegration' does not exist on type
The root cause is that aiIntegration was removed from AppMetadataSchema, so if we bump the version, we also need to delete the dead code in src/commands/metadata.ts:
if (data.aiIntegration?.models?.length) {
......
and update the command description to drop the now-misleading AI models mention:
.description('Show backend metadata (auth, database, buckets, edge functions, realtime)')
Summary
Refreshes safe patch/minor dependency updates while leaving major version upgrades out of scope. Only
package.jsonandpackage-lock.jsonchanged.Updated
@insforge/shared-schemas→^1.1.55(latest)posthog-nodeeslinttypescript-eslintvitest@types/node(stays on Node 22 types)Deferred
Major-line upgrades (
@clack/prompts,archiver,commander,open,typescript, etc.) left for follow-up.Validation
npm run lint— pass (0 errors; pre-existing warnings only)npm run test— 421 passed, 13 integration tests skipped by defaultnpm run build— passINTEGRATION_TEST_ENABLED=true npm run test:integration:real— 4/4 passed against live projectFixes #152
Summary by cubic
Updates safe minor and patch dependencies to reduce drift; no major upgrades included. Only
package.jsonandpackage-lock.jsonchanged; lint, tests, build, and live integration tests pass.@insforge/shared-schemas→^1.1.55,posthog-node→^5.36.3.eslint→^10.4.1,typescript-eslint→^8.60.1,vitest→^4.1.8,@types/node→^22.19.20(Node 22 types).@clack/prompts,archiver,commander,open,typescript, etc.).Written for commit 1e5e970. Summary will update on new commits.
Note
Refresh npm dependency versions in package.json
Bumps several dependencies to their latest minor/patch versions:
@insforge/shared-schemasto ^1.1.55,posthog-nodeto ^5.36.3,@types/nodeto ^22.19.20,eslintto ^10.4.1,typescript-eslintto ^8.60.1, andvitestto ^4.1.8. The package-lock.json is regenerated to match.Macroscope summarized 1e5e970.
Summary by CodeRabbit