Skip to content

feat(fmt): support custom cache directories - #230

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-fmt-cache-location-directory
Aug 7, 2026
Merged

feat(fmt): support custom cache directories#230
chenjiahan merged 1 commit into
mainfrom
chenjiahan/feat-fmt-cache-location-directory

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

This PR adds --cache-location <path> for storing formatter cache data in a custom directory resolved from the current working directory.

The custom directory is pruned during file discovery, while --no-cache silently ignores the option and leaves that directory discoverable. Custom cache directories are created without an automatic .gitignore.

Related Links

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: e53c162
Status: ✅  Deploy successful!
Preview URL: https://5a904bea.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-feat-fmt-cache-lo.rstack-cli.pages.dev

View logs

@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: e53c16264a

ℹ️ 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 packages/rstack/src/fmt/discovery.ts
@chenjiahan
chenjiahan merged commit 78f6d7b into main Aug 7, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/feat-fmt-cache-location-directory branch August 7, 2026 07:08
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