Skip to content

fix(create): only pack dist - #515

Open
43081j wants to merge 1 commit into
TanStack:mainfrom
43081j:jg/pack-less
Open

43081j wants to merge 1 commit into
TanStack:mainfrom
43081j:jg/pack-less

Conversation

@43081j

@43081j 43081j commented Sep 23, 2026 •

Copy link
Copy Markdown

We currently pack sources, tests, etc, since files is not specified.

This sets it to the same as the CLI (minus the skills/ as create has
none).

Summary by CodeRabbit

  • Chores
    • Published releases of the create package now contain only its distributable build, keeping the package contents focused when installing or using it.

We currently pack sources, tests, etc, since `files` is not specified.

This sets it to the same as the CLI (minus the `skills/` as create has
none).
@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: f8f01d98-c041-4598-895a-8d99a21a86e3

📥 Commits

Reviewing files that changed from the base of the PR and between 4f7744c and a6130bb.

📒 Files selected for processing (1)
  • packages/create/package.json

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The @tanstack/create package manifest now includes a files array that limits npm publishing to the dist directory.

Changes

Package publishing

Layer / File(s) Summary
Published file selection
packages/create/package.json
The manifest lists dist in the files array.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Suggested reviewers: tannerlinsley

Merge Risk: ⚪ Minimal · up to a6130

The dist allowlist includes the CLI entrypoints and runtime framework assets, so no package-content issue remains that should block merging.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: limiting the published @tanstack/create package to the dist directory.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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