feat(create-rslib): add Rspress documentation tool templates#1459
Merged
feat(create-rslib): add Rspress documentation tool templates#1459
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds Rspress as a documentation tool option for React templates in create-rslib, expanding the available tooling options for library developers.
Changes:
- Added Rspress as a selectable documentation tool option in the CLI for React templates
- Created 12 new template combinations supporting Rspress with various testing and documentation tools (rstest, vitest, storybook)
- Added comprehensive test coverage for all new Rspress template combinations
Reviewed changes
Copilot reviewed 230 out of 232 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/create-rslib/src/index.ts | Added Rspress option to the CLI tool selection menu for React templates |
| packages/create-rslib/src/helpers.ts | Registered 12 new template combinations with Rspress support for both JS and TS variants |
| packages/create-rslib/test/index.test.ts | Added test cases for all 12 new Rspress template combinations |
| packages/create-rslib/fragments/tools/rspress-react-ts/* | Created Rspress fragment files for TypeScript React projects including config, docs, and AGENTS.md |
| packages/create-rslib/fragments/tools/rspress-react-js/* | Created Rspress fragment files for JavaScript React projects |
| packages/create-rslib/template-[react]-[rspress]-/ | Created standalone Rspress templates for both JS and TS variants |
| packages/create-rslib/template-[react]-[rspress,]-/* | Created combined templates supporting Rspress with rstest, vitest, and/or storybook |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fi3ework
reviewed
Jan 29, 2026
Member
fi3ework
left a comment
There was a problem hiding this comment.
too much files updated, i think it's time for us to make template- ignored by git and only ship them to npm 🤔
Contributor
Already WIP |
43c25fb to
64bc1f8
Compare
64bc1f8 to
6d6f1e5
Compare
6d6f1e5 to
4192143
Compare
4192143 to
b670764
Compare
Timeless0911
approved these changes
Jan 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
create-rslibCLI offers Rspress as a documentation tool optionpnpm test🤖 Generated with Claude Code