Skip to content

fead: add @b10cks/nuxt module (#1463)#1464

Open
badmike wants to merge 1 commit intonuxt:mainfrom
badmike:main
Open

fead: add @b10cks/nuxt module (#1463)#1464
badmike wants to merge 1 commit intonuxt:mainfrom
badmike:main

Conversation

@badmike
Copy link
Copy Markdown

@badmike badmike commented Apr 27, 2026

Adds @b10cks/nuxt to the catalogue.

b10cks is an open-source headless CMS with a visual infinite-canvas editor, modular block architecture, built-in localization, CDN delivery, and git-like version history. The @b10cks/nuxt module provides first-class Nuxt integration via the b10cks SDK.

Links

Category CMS. Type 3rd-party.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 27, 2026

📝 Walkthrough

Walkthrough

This pull request introduces a new module manifest file for the b10cks CMS integration. The manifest defines the package identity as @b10cks/nuxt, includes repository and documentation links, classifies the module as a CMS and third-party package, specifies the maintainer as b10cks, and establishes compatibility with Nuxt version ^4.0.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title contains a typo ('fead' instead of 'feat') but clearly indicates the main change: adding the @b10cks/nuxt module to the catalogue.
Description check ✅ Passed The description is directly related to the changeset, providing context about b10cks CMS and explaining the module's purpose and integration with Nuxt.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

Warning

⚠️ This pull request might be slop. It has been flagged by CodeRabbit slop detection and should be reviewed carefully.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@modules/b10cks.yml`:
- Line 17: The ModuleCompatibility export contains an unused field devtools set
to "^0.0.0"; remove the devtools property from the ModuleCompatibility type and
all module metadata entries (or, if it must stay for external use, replace the
placeholder with a documented, meaningful version and add JSDoc explaining its
purpose), and update any public API/export that exposes ModuleCompatibility to
no longer include devtools; search for the symbol "devtools" and the type
"ModuleCompatibility" to remove references, and ensure the code path that
processes "nuxt" remains unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: df860d4a-979f-4e54-915b-b6dce0b8a8e9

📥 Commits

Reviewing files that changed from the base of the PR and between da52820 and 91e131d.

⛔ Files ignored due to path filters (1)
  • icons/b10cks.svg is excluded by !**/*.svg
📒 Files selected for processing (1)
  • modules/b10cks.yml

Comment thread modules/b10cks.yml
compatibility:
nuxt: ^4.0.0
requires: {}
devtools: ^0.0.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "1) Check how devtools compatibility is represented across manifests:"
rg -n "^[[:space:]]*devtools:" modules

echo
echo "2) Check if '^0.0.0' appears elsewhere:"
rg -n "^[[:space:]]*devtools:[[:space:]]*\\^0\\.0\\.0$" modules

echo
echo "3) Inspect compatibility evaluation logic in code:"
rg -n -C3 "devtools|semver|satisf" lib

Repository: nuxt/modules

Length of output: 5804


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== 1) Find where devtools compatibility field is actually used ==="
rg -n "\.devtools|compatibility\.devtools|devtools\?" lib --type ts

echo
echo "=== 2) Check what semver.minVersion('^0.0.0') would resolve to ==="
node <<'EOF'
const semver = require('semver');
const range = '^0.0.0';
try {
  const valid = semver.validRange(range);
  const minVer = semver.minVersion(range);
  const testVersion = '0.0.0';
  const satisfies = semver.satisfies(testVersion, range);
  console.log(`Range: ${range}`);
  console.log(`Valid: ${valid}`);
  console.log(`MinVersion: ${minVer}`);
  console.log(`Does 0.0.0 satisfy ${range}? ${satisfies}`);
  console.log(`Does 1.0.0 satisfy ${range}? ${semver.satisfies('1.0.0', range)}`);
} catch(e) {
  console.error(e.message);
}
EOF

echo
echo "=== 3) Search for any conditions checking against devtools versions ==="
rg -n -C5 "devtools" lib --type ts | head -100

Repository: nuxt/modules

Length of output: 1100


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== 1) Check all references to devtools in codebase ==="
rg -n "devtools" --type ts --type js --type json --type yml 

echo
echo "=== 2) Find ModuleCompatibility usage ==="
rg -n "ModuleCompatibility" lib --type ts -A 3 -B 1

echo
echo "=== 3) Check package.json for semver version ==="
cat package.json | grep -A2 '"semver"'

echo
echo "=== 4) Look for any validation or comparison of compatibility object ==="
rg -n "compatibility\[|compatibility\." lib --type ts -C 2

Repository: nuxt/modules

Length of output: 158


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== 1) Check all references to devtools in codebase ==="
rg -n "devtools" --type ts --type js --type json

echo
echo "=== 2) Find ModuleCompatibility usage ==="
rg -n "ModuleCompatibility" lib --type ts -A 3 -B 1

echo
echo "=== 3) Check package.json for semver version ==="
cat package.json | grep -A2 '"semver"'

echo
echo "=== 4) Look for any validation or comparison of compatibility object ==="
rg -n "compatibility\[|compatibility\." lib --type ts -C 2

Repository: nuxt/modules

Length of output: 1588


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== 1) Check what's exported from lib/index.ts or main entry ==="
find lib -name "index.ts" -o -name "index.js" | head -5
if [ -f "lib/index.ts" ]; then
  cat lib/index.ts
fi

echo
echo "=== 2) Check for any README or documentation ==="
cat README.md 2>/dev/null | head -100

echo
echo "=== 3) Look for devtools in tests or examples ==="
find . -name "*.test.*" -o -name "*.spec.*" | head -10
rg "devtools" --type ts --type js 2>/dev/null | grep -i "test\|spec" || echo "No devtools references in tests"

echo
echo "=== 4) Check if ModuleCompatibility is exported ==="
cat lib/types.ts | grep -E "^export|^import"

Repository: nuxt/modules

Length of output: 4105


Remove the unused devtools field or document its intended purpose.

The devtools field in ModuleCompatibility is never read or evaluated in the codebase—only the nuxt field is processed. Since this field is exported in the public API but completely unused internally, it should be removed entirely. If it's intended for future use or external consumption, it should be properly documented and initialized with a meaningful version. Currently, ^0.0.0 across 24 modules is a misleading placeholder that suggests incomplete implementation.

Proposed fix
 compatibility:
   nuxt: ^4.0.0
   requires: {}
-  devtools: ^0.0.0
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
devtools: ^0.0.0
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@modules/b10cks.yml` at line 17, The ModuleCompatibility export contains an
unused field devtools set to "^0.0.0"; remove the devtools property from the
ModuleCompatibility type and all module metadata entries (or, if it must stay
for external use, replace the placeholder with a documented, meaningful version
and add JSDoc explaining its purpose), and update any public API/export that
exposes ModuleCompatibility to no longer include devtools; search for the symbol
"devtools" and the type "ModuleCompatibility" to remove references, and ensure
the code path that processes "nuxt" remains unchanged.

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.

1 participant