fix: bundle @antfu/ni to resolve tinyexec missing module error#10041
Merged
fix: bundle @antfu/ni to resolve tinyexec missing module error#10041
Conversation
Fixes #10028. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
kristentr
added a commit
to kristentr/ui
that referenced
this pull request
Mar 15, 2026
* feat(registry): added new @shadcnstore registry * feat(registry): add @nessra-ui registry * fix(registry): updated @shadcnstore description for @registries.json * feat(registry): add @nessra-ui to registries.json * feat: add kapwa to registry * Add @fluid registry (Fluid Functionalism) Adds Fluid Functionalism to the registry directory. - Registry URL: https://fluid-functionalism.vercel.app/r/{name}.json - Homepage: https://fluid-functionalism.vercel.app - Open source: https://github.com/mickadesign/fluid-functionalism Fluid components with proximity hover, spring animations, font-weight transitions, and animated focus rings. Built on Radix primitives, Framer Motion, and CVA. * Add @paletteui entry to directory.json * fix: separator color in blocks * docs: preserve base when switching preset codes * ci: add script to check registry * fix: mode switcher toggle * fix: run registry:build and fix directory.json syntax - Fix missing comma between entries in directory.json - Fix multiline SVG logo string - Regenerate registries.json with @paletteui entry Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: added fountsource, @support ovveride when registry:font install, monorepo init * feat: init * fix: animations for sheets and navigation-menu * fix * fix * fix * fix * fix * fix * chore: changeset * chore(release): version packages * feat: add button active state * feat: track preset code * fix: cache in resolveRegistryBaseConfig * chore(release): version packages * feat(registry): add @shadcnmaps * feat: add @gammaui registry with homepage, URL, description, and logo * feat: update handling of init urls * fix * chore(release): version packages * fix: respect detected package manager for monorepo templates All monorepo templates hardcoded `packageManager: "pnpm"` which meant running `bunx --bun shadcn@latest init --monorepo` would still shell out to `pnpm install`, triggering Corepack and crashing under Bun because `process.mainModule` is readonly there. This removes the hardcoded pnpm override from every monorepo template config so `getPackageManager()` can actually detect what the user is running. The scaffold step now adapts the cloned template on the fly: - strips the `packageManager` field from package.json (avoids Corepack) - converts pnpm-workspace.yaml to a `"workspaces"` array in package.json - removes pnpm-lock.yaml - rewrites `workspace:*` refs to `"*"` when the detected PM is npm (npm doesn't support the workspace: protocol) - picks the right install flags per PM (`--no-frozen-lockfile` for pnpm, nothing extra for bun/npm/yarn) pnpm behavior is completely unchanged — `adaptWorkspaceConfig` early- returns when the detected PM is pnpm. * style: fix prettier formatting in create-template.ts * update agents-ui registry from livekit.io to livekit.com * chore: rebase on main * feat(registry): add @JaLCo registry * docs: fix headings in changelog * Add @pacekit-gsap registry information * fix: revert unintended changes and run registry:build * tests: add more tests coverage * chore: changeset * chore(release): version packages * chore: small nit in phrasing * chore: remove deprecated/ directory and related workflow Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add @pacekit-gsap to registry directory * fix: correct homepage url in waves-cn registry entry * fix: homepage and url order in registries.json * feat(registry): add @flx * Rename @blocks registry to @blocks‑s * Revert "fix: added fountsource, @support ovveride when registry:font install, monorepo init" This reverts commit ad99fc9. * Add dependency field to font schema for explicit fontsource package control. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Rename test to clarify non-variable font coverage. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * docs: update font examples * chore: rebuild registry * feat: update schema * chore: changeset * chore(release): version packages (shadcn-ui#10037) * fix(docs): update tanstack commands (shadcn-ui#10045) * fix: bundle @antfu/ni to resolve tinyexec missing module error (shadcn-ui#10041) * fix: bundle @antfu/ni to resolve tinyexec missing module error Fixes shadcn-ui#10028. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore: changeset Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * chore(release): version packages (shadcn-ui#10046) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Rename @hooks registry to @shadcnhooks (shadcn-ui#10036) * Initial plan * Rename @hooks registry to @shadcnhooks Co-authored-by: shadcn <124599+shadcn@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: shadcn <124599+shadcn@users.noreply.github.com> * feat: add namespace validation for registries (shadcn-ui#10033) * fix(registry): register next form examples (shadcn-ui#10021) --------- Co-authored-by: monab <monajmakwana@gmail.com> Co-authored-by: Mehmet Cinar <codewithmehmet@gmail.com> Co-authored-by: Nicu Listana <niculistana@gmail.com> Co-authored-by: Micka.design <34682172+mickadesign@users.noreply.github.com> Co-authored-by: lior-pesoa <lior.pesoa@gmail.com> Co-authored-by: shadcn <m@shadcn.com> Co-authored-by: Frank <97429702+tsubasakong@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: kapishdima <kapishdima@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: LGLabGreg <greg@lglab.co.uk> Co-authored-by: mazyar-kawa02 <mazyar.sl2000@gamil.com> Co-authored-by: Devin Alexander <devinsonlyemail@gmail.com> Co-authored-by: Thomas Yuill <thomas.yuill@livekit.io> Co-authored-by: Ziane-Badreddine <zianebadredddine2004@gmail.com> Co-authored-by: Justin Levine <20596508+justinlevinedotme@users.noreply.github.com> Co-authored-by: Denish Navadiya <57515871+withden@users.noreply.github.com> Co-authored-by: Justin Levine <20596508+jal-co@users.noreply.github.com> Co-authored-by: withden <denishnavadiya1@gmail.com> Co-authored-by: felipemenezes098 <felipemenezes.98@outlook.com> Co-authored-by: Ahmed Zougari <zougarii.ahmed@gmail.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: shadcn <124599+shadcn@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bundle @antfu/ni and tinyexec into the dist using tsup's noExternal option to fix module resolution failures when running via npx.
Fixes #10028.
Test with
npx shadcn@4.0.8-beta.0