Skip to content

refactor(create-rslib): remove vitest template#1481

Merged
chenjiahan merged 2 commits intomainfrom
chore/remove-vitest-template-from-create-rslib
Feb 11, 2026
Merged

refactor(create-rslib): remove vitest template#1481
chenjiahan merged 2 commits intomainfrom
chore/remove-vitest-template-from-create-rslib

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

@Timeless0911 Timeless0911 commented Feb 11, 2026

Summary

Remove the vitest template and all related code/tests from packages/create-rslib as it is no longer needed since Rstest is stable.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings February 11, 2026 03:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 vitest tool option from the create-rslib generator’s extra tools list.
  • Deleted the template-vitest/ templates (node/react/vue, js/ts) and related agent docs.
  • Updated create-rslib tests/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.

@Timeless0911 Timeless0911 changed the title chore: remove vitest template from create-rslib refactor: remove vitest template from create-rslib Feb 11, 2026
@Timeless0911 Timeless0911 changed the title refactor: remove vitest template from create-rslib refactor(create-rslib): remove vitest template from create-rslib Feb 11, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Feb 11, 2026

Deploying rslib with  Cloudflare Pages  Cloudflare Pages

Latest commit: 713a712
Status: ✅  Deploy successful!
Preview URL: https://c3b95c2d.rslib.pages.dev
Branch Preview URL: https://chore-remove-vitest-template.rslib.pages.dev

View logs

@Timeless0911 Timeless0911 changed the title refactor(create-rslib): remove vitest template from create-rslib refactor(create-rslib): remove vitest template Feb 11, 2026
@chenjiahan chenjiahan enabled auto-merge (squash) February 11, 2026 03:43
@chenjiahan chenjiahan merged commit e07ebdb into main Feb 11, 2026
14 checks passed
@chenjiahan chenjiahan deleted the chore/remove-vitest-template-from-create-rslib branch February 11, 2026 03:47
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.

3 participants