Skip to content

chore(deps): build against @bquery/bquery 1.18.0 - #2

Merged
JosunLP merged 1 commit into
mainfrom
ccr-cc6438bb-3z15bo
Oct 23, 2026
Merged

JosunLP merged 1 commit into
mainfrom
ccr-cc6438bb-3z15bo

Conversation

@JosunLP

@JosunLP JosunLP commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Builds the plugin against the published @bquery/bquery@1.18.0: the devDependency goes from ^1.17.2 to ^1.18.0, and bun.lock is updated.
  • Regenerates src/export-map.json from 1.18.0, with 1156 exports. It gains 11 root exports, and nothing is removed or moved:
    • forms: createSchemaForm, useSchemaForm, SchemaFormConfig, SchemaFormValues, SchemaIssue, StandardSchemaV1
    • server: validate, ValidateMiddleware, ValidateOptions, ValidateSource
    • store: EmptyStoreRecord
  • prefer-subpath-imports therefore autofixes the new 1.18 root imports.
  • New tests:
    • { createSchemaForm, useSchemaForm, type SchemaFormValues } now autofixes to /forms.
    • A mixed forms + server import is split into two imports.
    • The export map maps the new names.
  • I checked every rule against the 1.18.0 declarations. Signal factories, component hooks, HTML helpers and $ are unchanged, so no rule logic changed.
  • The CHANGELOG is extended. The package version stays at 0.1.0, unreleased.

Validation

  • bun install --frozen-lockfile, bun run typecheck, bun run lint, bun run format:check
  • bun test: 110 pass, 0 fail
  • bun run check:export-map: up to date

Note

package.json has no @bquery/bquery peerDependency. The plugin ships the map and never imports bQuery at runtime, so none was added.


Generated by Claude Code

Summary by CodeRabbit

  • New Features
    • Added recognition of additional bQuery 1.18.0 exports, directing schema-form, validation, and store imports to their appropriate subpaths.
  • Tests
    • Added coverage for the new export mappings and for imports that need to be split across subpaths.
  • Documentation
    • Updated the changelog and bQuery declaration reference to version 1.18.0.

Bump the @bquery/bquery dev dependency to ^1.18.0 and regenerate
src/export-map.json from the published 1.18.0 declarations. The map gains
11 root exports and loses none:

- forms: createSchemaForm, useSchemaForm, SchemaFormConfig,
  SchemaFormValues, SchemaIssue, StandardSchemaV1
- server: validate, ValidateMiddleware, ValidateOptions, ValidateSource
- store: EmptyStoreRecord

isStandardSchema, validateWithSchema, normalizeSchemaIssues and
schemaIssuesToFieldErrors are exported from @bquery/bquery/forms and
/full only, not from the root entry, so they are not in the map.

The other rules need no change: 1.18 removes no APIs and adds no signal
factories, the scoped lifecycle hooks are unchanged, renderStrategy is a
string option rather than a hook, and the storybook unsafeHtml /
storyHtml / storySvg and security trusted / sanitize helpers keep their
names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Ju3jbgag99iuxndoJTrgM
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0d0b0053-05d4-4514-baf3-20ee49c5fa15
📥 Commits

Reviewing files that changed from the base of the PR and between dd8fdf0 and 523f863.

⛔ Files ignored due to path filters: 1
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing: 6
  • CHANGELOG.md
  • package.json
  • src/export-map.json
  • src/rules/no-value-in-untracked.js
  • test/export-map.test.ts
  • test/prefer-subpath-imports.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The export map adds bQuery 1.18 forms, server, and store exports. Tests cover export mappings and routing root imports to the appropriate subpaths. The dependency and version references are updated.

Changes: bQuery 1.18 subpath exports

Layer / File(s) Summary
Update bQuery export mappings
package.json, src/export-map.json, test/export-map.test.ts, src/rules/no-value-in-untracked.js, CHANGELOG.md
Updates the bQuery development dependency to ^1.18.0 and adds forms, server, and store exports to the export map. Updates export-map expectations and bQuery version references.
Test root-import routing
test/prefer-subpath-imports.test.ts
Adds tests for routing schema-form imports to /forms and splitting mixed forms and validate imports between /forms and /server.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: claude

Merge Risk: ⚪ Minimal · up to 523f8

No actionable merge-blocking risk is established for this update.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the devDependency bump and the build target of @bquery/bquery 1.18.0. The raw summary and PR objectives both center on this bump, which regenerates the export map and …
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the devDependency bump and the build target of @bquery/bquery 1.18.0. The raw summary and PR objectives both center on this bump, which regenerates the export map and adds rule tests for the new forms, server, and store exports. The conventional-commit prefix 'chore(deps)' matches a dependency update. The title is specific and concise, and it does not describe anything absent from the changeset.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3 files. (3 skipped: 3 unsupported.)

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JosunLP
JosunLP marked this pull request as ready for review October 23, 2026 12:17
@JosunLP
JosunLP merged commit 222367b into main Oct 23, 2026
3 checks passed
@JosunLP
JosunLP deleted the ccr-cc6438bb-3z15bo branch October 23, 2026 12:23
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