refactor(create-rslib): remove vitest template#1481
Merged
chenjiahan merged 2 commits intomainfrom Feb 11, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Removes the Vitest testing-tool template from packages/create-rslib so newly generated projects can no longer select Vitest, and deletes the associated template artifacts and test coverage for that option.
Changes:
- Removed
vitesttool option from thecreate-rslibgenerator’s extra tools list. - Deleted the
template-vitest/templates (node/react/vue, js/ts) and related agent docs. - Updated
create-rslibtests/helpers to stop generating and validating Vitest-based projects.
Reviewed changes
Copilot reviewed 28 out of 28 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/create-rslib/test/index.test.ts | Removes Vitest-related template case permutations from generator tests. |
| packages/create-rslib/test/helper.ts | Removes validation logic that asserted Vitest files/deps exist in generated output. |
| packages/create-rslib/src/index.ts | Removes the Vitest tool option and its template-copy action from the generator. |
| packages/create-rslib/template-vitest/AGENTS.md | Deletes Vitest agent instructions for generated projects. |
| packages/create-rslib/template-vitest/node-js/package.json | Deletes the Node JS Vitest tool template. |
| packages/create-rslib/template-vitest/node-js/tests/index.test.js | Deletes the Node JS Vitest test template file. |
| packages/create-rslib/template-vitest/node-js/vitest.config.js | Deletes the Node JS Vitest config template. |
| packages/create-rslib/template-vitest/node-ts/package.json | Deletes the Node TS Vitest tool template. |
| packages/create-rslib/template-vitest/node-ts/tests/index.test.ts | Deletes the Node TS Vitest test template file. |
| packages/create-rslib/template-vitest/node-ts/tests/tsconfig.json | Deletes the Node TS Vitest tests tsconfig template. |
| packages/create-rslib/template-vitest/node-ts/vitest.config.ts | Deletes the Node TS Vitest config template. |
| packages/create-rslib/template-vitest/react-js/package.json | Deletes the React JS Vitest tool template. |
| packages/create-rslib/template-vitest/react-js/tests/index.test.jsx | Deletes the React JS Vitest test template file. |
| packages/create-rslib/template-vitest/react-js/vitest.config.js | Deletes the React JS Vitest config template. |
| packages/create-rslib/template-vitest/react-js/vitest.setup.js | Deletes the React JS Vitest setup template. |
| packages/create-rslib/template-vitest/react-ts/package.json | Deletes the React TS Vitest tool template. |
| packages/create-rslib/template-vitest/react-ts/tests/index.test.tsx | Deletes the React TS Vitest test template file. |
| packages/create-rslib/template-vitest/react-ts/tests/tsconfig.json | Deletes the React TS Vitest tests tsconfig template. |
| packages/create-rslib/template-vitest/react-ts/vitest.config.ts | Deletes the React TS Vitest config template. |
| packages/create-rslib/template-vitest/react-ts/vitest.setup.ts | Deletes the React TS Vitest setup template. |
| packages/create-rslib/template-vitest/vue-js/package.json | Deletes the Vue JS Vitest tool template. |
| packages/create-rslib/template-vitest/vue-js/tests/index.test.js | Deletes the Vue JS Vitest test template file. |
| packages/create-rslib/template-vitest/vue-js/vitest.config.js | Deletes the Vue JS Vitest config template. |
| packages/create-rslib/template-vitest/vue-js/vitest.setup.js | Deletes the Vue JS Vitest setup template. |
| packages/create-rslib/template-vitest/vue-ts/package.json | Deletes the Vue TS Vitest tool template. |
| packages/create-rslib/template-vitest/vue-ts/tests/index.test.ts | Deletes the Vue TS Vitest test template file. |
| packages/create-rslib/template-vitest/vue-ts/vitest.config.ts | Deletes the Vue TS Vitest config template. |
| packages/create-rslib/template-vitest/vue-ts/vitest.setup.ts | Deletes the Vue TS Vitest setup template. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Deploying rslib with
|
| Latest commit: |
713a712
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c3b95c2d.rslib.pages.dev |
| Branch Preview URL: | https://chore-remove-vitest-template.rslib.pages.dev |
chenjiahan
approved these changes
Feb 11, 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
Remove the
vitesttemplate and all related code/tests frompackages/create-rslibas it is no longer needed since Rstest is stable.Related Links
Checklist