Skip to content

feat(presets): add modelence preset - #5212

Open
artahian wants to merge 1 commit into
nitrojs:mainfrom
modelence:feat/modelence-preset
Open

artahian wants to merge 1 commit into
nitrojs:mainfrom
modelence:feat/modelence-preset

Conversation

@artahian

@artahian artahian commented Dec 4, 2026

Copy link
Copy Markdown

🔗 Linked issue

#2973

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Adds a modelence preset for Modelence. It extends node-server with serveStatic: true, the same as heroku and render, plus a provider page. Tested on Modelence with Nuxt and TanStack Start using the default node-server output.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@artahian
artahian requested a review from pi0 as a code owner December 4, 2026 22:49
@vercel

vercel Bot commented Dec 4, 2026

Copy link
Copy Markdown

@artahian is attempting to deploy a commit to the Nitro Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Adds a Modelence Nitro preset based on node-server with static serving enabled, registers modelence as a preset name, and adds provider documentation with configuration and deployment instructions.

Changes: Modelence preset support

Layer / File(s) Summary
Define and register the preset
src/presets/modelence/preset.ts, src/presets/_types.gen.ts, src/presets/_all.gen.ts
Defines the modelence preset with node-server as its base and static serving enabled. Adds the preset to the registry and to the accepted preset-name types.
Document provider setup
.agents/presets.md, docs/2.deploy/20.providers/modelence.md
Adds Modelence to the provider list. Documents a modelence.config.json example, npm, pnpm, and Yarn commands, and the deployment CLI flow.

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

Change: Feature

Suggested labels: documentation

Merge Risk: Minimal · up to 87399

This adds a new opt-in Modelence preset and its documentation. Existing presets and behavior are not affected, and no merge-blocking risk is apparent.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "feat(presets): add modelence preset" follows the conventional commits format with type feat and scope presets. It names the main change, which adds a Modelence Nitro preset under src/preset…
Description check Passed The description states that it adds a modelence preset for Modelence that extends node-server with serveStatic enabled and includes a provider page. It also gives test details and marks the documentat…
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 "feat(presets): add modelence preset" follows the conventional commits format with type feat and scope presets. It names the main change, which adds a Modelence Nitro preset under src/presets.

Full details: Description check

Explanation

The description states that it adds a modelence preset for Modelence that extends node-server with serveStatic enabled and includes a provider page. It also gives test details and marks the documentation and feature checkboxes. This matches the changeset.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
Fix failing CI checks

  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7738db72-683d-4669-8b47-265311cf27e7
Commits

Reviewing files that changed from the base of the PR and between 68b734e and 873996b.

Files selected for processing: 5

  • .agents/presets.md
  • docs/2.deploy/20.providers/modelence.md
  • src/presets/_all.gen.ts
  • src/presets/_types.gen.ts
  • src/presets/modelence/preset.ts

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

This branch has not been deployed

No deployments
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