Skip to content

build(deps-dev): bump shadcn from 4.7.0 to 4.16.0 - #368

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/shadcn-4.15.0
Closed

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/shadcn-4.15.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Bumps shadcn from 4.7.0 to 4.16.0.

Release notes

Sourced from shadcn's releases.

[email protected]

Minor Changes

[email protected]

Minor Changes

[email protected]

Patch Changes

[email protected]

Minor Changes

[email protected]

Patch Changes

[email protected]

Minor Changes

[email protected]

Minor Changes

[email protected]

Patch Changes

... (truncated)

Changelog

Sourced from shadcn's changelog.

4.16.0

Minor Changes

4.15.0

Minor Changes

4.14.1

Patch Changes

4.14.0

Minor Changes

4.13.1

Patch Changes

4.13.0

Minor Changes

4.12.0

Minor Changes

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 27, 2026
@dependabot
dependabot Bot requested a review from Ducksss as a code owner July 27, 2026 07:59
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Jul 27, 2026
@vercel

vercel Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jul 29, 2026 8:14am
payload-components-97bf Ready Ready Preview, Comment Jul 29, 2026 8:14am

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/ducksss-projects?upgradeToPro=build-rate-limit

@dependabot dependabot Bot changed the title build(deps-dev): bump shadcn from 4.7.0 to 4.15.0 build(deps-dev): bump shadcn from 4.7.0 to 4.16.0 Jul 29, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/dev/shadcn-4.15.0 branch from 3288328 to 4989936 Compare July 29, 2026 07:32
@Ducksss

Ducksss commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Superseded by #401, which single-sources the shadcn pin across all four sites (package.json, the compiled CLI's shadcnCliPackage, and two int specs). A bump that only touches package.json trips the gate on the version assertions, which is why this one could not pass.

@Ducksss Ducksss closed this Jul 29, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/dev/shadcn-4.15.0 branch July 29, 2026 10:01
Ducksss added a commit that referenced this pull request Jul 29, 2026
Supersedes the Dependabot bump in #368, which could only ever touch the
`shadcn` devDependency and so always failed the release gate.

The version was previously written in four places — the devDependency,
`shadcnCliPackage` in tools/payload-components/utils.ts (compiled into the
published CLI), the mocked argument strings in the registry install spec, and
a literal `toBe('4.7.0')` assertion. Any bump that moved only one of them
tripped the gate, which is why #259, #300 and #368 each failed identically.

Now the `shadcn` devDependency is the single source. tsup inlines it into the
bundle via `define`, so the published CLI keeps working without reading the
repo's package.json at runtime; the source path (vitest, tsx) falls back to
reading the pin off package.json. The gate still asserts what it cared about —
that the pin is an exact version, not a range, and that the CLI spec tracks it.

Verified against 4.15.0:
- `shadcn add` output is byte-identical to 4.7.0 for our full public-UI
  surface (accordion, badge, button, card, input, textarea) and for a built
  registry item; still Radix-backed, no Base UI switch on the default style
- `registry:build` produces zero artifact churn
- test:int 379 passed, lint / test:registry / test:pack all clean
- a simulated future bump to 4.16.0 passes with no test or source edits

Co-Authored-By: Claude Opus 5 <[email protected]>
Ducksss added a commit that referenced this pull request Jul 29, 2026
Supersedes the Dependabot bump in #368, which could only ever touch the
`shadcn` devDependency and so always failed the release gate.

The version was previously written in four places — the devDependency,
`shadcnCliPackage` in tools/payload-components/utils.ts (compiled into the
published CLI), the mocked argument strings in the registry install spec, and
a literal `toBe('4.7.0')` assertion. Any bump that moved only one of them
tripped the gate, which is why #259, #300 and #368 each failed identically.

Now the `shadcn` devDependency is the single source. tsup inlines it into the
bundle via `define`, so the published CLI keeps working without reading the
repo's package.json at runtime; the source path (vitest, tsx) falls back to
reading the pin off package.json. The gate still asserts what it cared about —
that the pin is an exact version, not a range, and that the CLI spec tracks it.

Verified against 4.15.0:
- `shadcn add` output is byte-identical to 4.7.0 for our full public-UI
  surface (accordion, badge, button, card, input, textarea) and for a built
  registry item; still Radix-backed, no Base UI switch on the default style
- `registry:build` produces zero artifact churn
- test:int 379 passed, lint / test:registry / test:pack all clean
- a simulated future bump to 4.16.0 passes with no test or source edits

Co-authored-by: Claude Opus 5 <[email protected]>
@Ducksss Ducksss mentioned this pull request Aug 2, 2026

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — d25c40c0 Deployed Jul 29, 2026 by vercel[bot]
Preview – payload-components — d25c40c0 Deployed Jul 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant