Skip to content

chore: migrate to Rstack CLI - #83

Merged
chenjiahan merged 2 commits into
mainfrom
chore-migrate-rstack-cli
Sep 2, 2026
Merged

chore: migrate to Rstack CLI#83
chenjiahan merged 2 commits into
mainfrom
chore-migrate-rstack-cli

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

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 through rs staged.
There are no public API changes.

Related Links

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-02T12:19:56.813358Z 73adfe7 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chenjiahan
chenjiahan merged commit 15a874d into main Sep 2, 2026
6 checks passed
@chenjiahan
chenjiahan deleted the chore-migrate-rstack-cli branch September 2, 2026 12:17

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread rstack.config.ts
Comment on lines +4 to +9
define.lib({
lib: [
{ syntax: 'es2021', dts: true },
{ format: 'cjs', syntax: 'es2021' },
],
});

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge 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 👍 / 👎.

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