chore: migrate to Rstack CLI - #83
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 73adfe7c67
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| define.lib({ | ||
| lib: [ | ||
| { syntax: 'es2021', dts: true }, | ||
| { format: 'cjs', syntax: 'es2021' }, | ||
| ], | ||
| }); |
There was a problem hiding this comment.
Preserve the Node target for the library build
The previous Rslib configuration explicitly set output.target to node, but the replacement relies on Rslib's web-oriented default. This package is executed in Node and its CJS entry uses both node:module and createRequire(import.meta.url) (src/index.ts), so a web-targeted bundle can emit an incompatible base-URI/runtime implementation and fail when consumers load dist/index.cjs. Configure the Rstack library build with the equivalent Node target rather than dropping that setting.
Useful? React with 👍 / 👎.
Summary
This PR migrates the repository from the standalone Rslib, Rstest, Rslint, Prettier, and simple-git-hooks tooling to Rstack CLI 0.7.2.
It consolidates tool configuration in
rstack.config.ts, updates scripts, CI, the playground, and VS Code integration, and runs staged checks throughrs staged.There are no public API changes.
Related Links