Skip to content

chore(renovate): stop bumping @remoteoss/json-schema-form on its own - #1546

Merged
gabrielseco merged 2 commits into
mainfrom
chore/renovate-ignore-json-schema-form
Oct 13, 2026
Merged

gabrielseco merged 2 commits into
mainfrom
chore/renovate-ignore-json-schema-form

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

@remoteoss/json-schema-form now follows the form kit's version instead of getting standalone Renovate bumps, and CI fails if two copies ever get installed.

Why

The package is declared directly only so the emitted types resolve. Its version must match the one @remoteoss/remote-json-schema-form-kit resolves. A standalone bump (like #1545) or a kit upgrade to a new range can leave two copies installed, with types from one and runtime from the other.

What changed

Toggle details
  • renovate.json: disables standalone updates for @remoteoss/json-schema-form.
  • package.json: the dependency goes from 1.2.18 to ^1.2.18, the kit's range, so npmDedupe resolves one copy and a kit upgrade carries it along. Lockfile resolution is unchanged (1.2.18).
  • scripts/check-single-schema-form.ts: fails when npm ls shows more than one version. Run as part of npm run check-exports, so it runs in the existing "Build and Check Exports" CI job.
  • No public API change.

Screenshots

N/A

Related Resources

Testing

  • Ran the script against the current tree: passes, one version (1.2.18).

  • Pointed the same script at packages with two installed versions (e.g. @babel/code-frame): fails with the versions listed.

  • Tested against the example/ app in a browser: N/A

  • Feature flag: N/A

🤖 Generated with Claude Code


Note

Low Risk
Tooling and dependency-range changes only; no runtime or public API changes, with CI added to catch version skew.

Overview
Stops Renovate from bumping @remoteoss/json-schema-form on its own and adds CI guardrails so only one copy of that package can be installed. The direct dependency exists mainly for emitted types and must stay aligned with what @remoteoss/remote-json-schema-form-kit resolves.

renovate.json disables standalone updates for @remoteoss/json-schema-form. In package.json, the version moves from a pinned 1.2.18 to ^1.2.18 (matching the kit’s range) so dedupe can keep a single install when the kit upgrades. A new check-single-schema-form script runs npm ls and fails if more than one version appears; it is wired into check-exports so existing export CI catches duplicate installs early.

Reviewed by Cursor Bugbot for commit b70fb04. Bugbot is set up for automated code reviews on this repo. Configure here.

It is declared only so the emitted types resolve, and its version has to
match the one @remoteoss/remote-json-schema-form-kit resolves. A separate
bump can leave two copies, so it now moves only with the kit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-l676idpam-remotecom.vercel.app
Latest Commit:b70fb04

Deployed with vercel-action

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-moil3ol5g-remotecom.vercel.app
Latest Commit:b70fb04

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage Report

⚪ Coverage unchanged

Metric Current Previous Change Status
Lines 89.58% 89.58% 0% ⚪
Statements 89.46% 89.46% 0% ⚪
Functions 88.47% 88.47% 0% ⚪
Branches 81.21% 81.21% 0% ⚪

Detailed Breakdown

Lines Coverage
  • Covered: 5393 / 6020
  • Coverage: 89.58%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 5458 / 6101
  • Coverage: 89.46%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 1427 / 1613
  • Coverage: 88.47%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 3345 / 4119
  • Coverage: 81.21%
  • Change: 0% (0 branches)

✅ Coverage check passed

…ate installs

A caret range lets npm dedupe to the copy the kit resolves, so a kit
upgrade carries it along. check-single-schema-form fails check-exports
when more than one version is installed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 230.55 kB 230.55 kB 0 B (0%) 🟢
Total (raw) 642.09 kB 642.09 kB 0 B (0%) 🟢
CSS (gzip) 21.94 kB 21.94 kB 0 B (0%) 🟢
CSS (raw) 114.43 kB 114.43 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 230.55 kB / 350 kB (65.9%)
  • ✅ Total raw: 642.09 kB / 850 kB (75.5%)
  • ✅ CSS gzipped: 21.94 kB / 25 kB (87.8%)

Largest Files (Top 5)

  1. index.esm-wIkXrqU6.js - 11.4 kB (0 B (0%))
  2. styles.css - 10.97 kB (0 B (0%))
  3. index.css - 10.97 kB (0 B (0%))
  4. internals-D6148AAY.js - 6.13 kB (0 B (0%))
  5. hooks-ThU7CDLI.js - 5.85 kB (0 B (0%))
View All Files (291 total)
File Size (gzip) Change
index.esm-wIkXrqU6.js 11.4 kB 0 B (0%)
styles.css 10.97 kB 0 B (0%)
index.css 10.97 kB 0 B (0%)
internals-D6148AAY.js 6.13 kB 0 B (0%)
hooks-ThU7CDLI.js 5.85 kB 0 B (0%)
sdk.gen-BRPiw4M1.js 5.58 kB 0 B (0%)
index.js 5.51 kB 0 B (0%)
flows/Onboarding/hooks.js 4.67 kB 0 B (0%)
utils-CUgvJHl4.js 4.07 kB 0 B (0%)
FieldSetField-QbfQb5Lp.js 4.04 kB 0 B (0%)

✅ Bundle size check passed

@gabrielseco
gabrielseco merged commit 29cf806 into main Oct 13, 2026
18 checks passed
@gabrielseco
gabrielseco deleted the chore/renovate-ignore-json-schema-form branch October 13, 2026 15:24
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.

2 participants