Skip to content

chore(docs): increase vitepress build memory limit - #396

Open
xuanlid wants to merge 3 commits into
opentiny:developfrom
xuanlid:fix/node-size
Open

chore(docs): increase vitepress build memory limit#396
xuanlid wants to merge 3 commits into
opentiny:developfrom
xuanlid:fix/node-size

Conversation

@xuanlid

@xuanlid xuanlid commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • Documentation
    • Added configuration options to control local search and build minification.
    • Documentation builds now use increased memory capacity for improved reliability.
    • Improved component documentation and demos with broader access to Tiny Vue components, including buttons, inputs, selections, dialogs, tabs, sliders, switches, and tooltips.
  • Chores
    • Continuous integration documentation builds disable local search and minification for streamlined processing.

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

Next included review available in 39 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2484ef49-1725-4f72-97e1-12facc1a898d

📥 Commits

Reviewing files that changed from the base of the PR and between abdcdd5 and dcfd48c.

📒 Files selected for processing (1)
  • docs/package.json

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5c01c9a1-4ac4-416d-9bb4-265fbee5ea09

📥 Commits

Reviewing files that changed from the base of the PR and between 7d63393 and abdcdd5.

📒 Files selected for processing (4)
  • docs/.vitepress/config.mts
  • docs/.vitepress/tiny-vue-runtime.ts
  • docs/.vitepress/tiny-vue.ts
  • docs/package.json

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


Walkthrough

The documentation site now resolves @opentiny/vue to a local Tiny Vue runtime, exports configured components, and supports environment-controlled local search and minification. The CI workflow disables both options, and the build script increases the Node.js heap limit to 6144 MB.

Changes

Documentation build controls

Layer / File(s) Summary
Tiny Vue runtime integration
docs/.vitepress/tiny-vue.ts, docs/.vitepress/tiny-vue-runtime.ts, docs/package.json
The documentation runtime exports 15 Tiny Vue components, aliases Button and Switch, exports Notify, and provides conventional and Tiny* component names. The required component packages are added at version ^3.20.0.
VitePress environment controls
docs/.vitepress/config.mts
VitePress aliases @opentiny/vue to the local runtime. VP_BUILD_MINIFY controls minification, and VP_LOCAL_SEARCH controls local search.
CI build resource wiring
.github/workflows/pr-ci-build.yml, docs/package.json
The pull request documentation build sets local search and minification to false. The build script raises the Node.js heap limit from 4096 MB to 6144 MB.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to abdcd

This change is merge-ready after normal checks and review; no actionable merge-blocking risk remains.

Sequence Diagram(s)

sequenceDiagram
  participant CIWorkflow
  participant VitePressConfig
  participant TinyVueRuntime
  participant VuePackages
  participant VitePressBuild
  CIWorkflow->>VitePressConfig: Set VP_LOCAL_SEARCH=false and VP_BUILD_MINIFY=false
  VitePressConfig->>TinyVueRuntime: Resolve `@opentiny/vue`
  TinyVueRuntime->>VuePackages: Load Tiny Vue components
  VitePressConfig->>VitePressBuild: Apply search and minification settings
  VitePressBuild-->>CIWorkflow: Build documentation with 6144 MB heap
Loading

Suggested reviewers: gene9831

Poem

A rabbit maps each Tiny name

And links the runtime into the frame
Search and minify pause on cue
More heap builds the docs anew
CI hops forward, clean and tame

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately identifies the documented build memory increase, which is a primary change in the pull request. It is concise and specific.
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: 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. (1 skipped: 1 unsupported.)

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 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.

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