Skip to content

[Kit] Remove unpublished drizzle-kit devDependency that breaks pnpm install - #6131

Open
adaosantos wants to merge 1 commit into
drizzle-team:mainfrom
adaosantos:fix/drizzle-kit-unpublished-devdependency
Open

[Kit] Remove unpublished drizzle-kit devDependency that breaks pnpm install#6131
adaosantos wants to merge 1 commit into
drizzle-team:mainfrom
adaosantos:fix/drizzle-kit-unpublished-devdependency

Conversation

@adaosantos

@adaosantos adaosantos commented Aug 13, 2026

Copy link
Copy Markdown

Problem

pnpm install fails on a clean clone of main, so the setup step in CONTRIBUTING.md cannot be completed:

ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/drizzle-kit/-/drizzle-kit-0.25.0-b1faa33.tgz: Not Found

drizzle-kit/package.json carries a self-referencing devDependency on its own feature-branch prerelease:

"drizzle-kit": "0.25.0-b1faa33",

That version is no longer on npm — presumably removed by the unpublish-release-feature-branch workflow — while pnpm-lock.yaml still pins it, so resolution succeeds and the fetch 404s. npm view drizzle-kit versions confirms only 0.25.0-178591 and 0.25.0 exist in that range.

This blocks every new contributor, not just a specific environment.

Fix

Drop the dependency instead of bumping it to a published version.

Nothing consumes it: there is no from 'drizzle-kit' / require('drizzle-kit') / drizzle-kit/api import anywhere in src/, tests/ or dev/, and no test shells out to the published binary — the CLI tests drive local code through tests/schemaDiffer.ts and the fixtures in tests/cli/. Bumping it would only reintroduce a dependency no code path reaches.

Removing it also drops the esbuild@0.19.12 and esbuild-register subtrees from the lockfile, which that entry alone pulled in (−262 lines).

Verification

  • pnpm install — succeeds
  • pnpm build:orm — succeeds
  • cd drizzle-kit && pnpm tsc — succeeds, no errors

No tests are added: this is a dependency-manifest fix with no runtime behaviour to cover.

`drizzle-kit` listed a self-referencing devDependency on its own
feature-branch prerelease, `drizzle-kit@0.25.0-b1faa33`. That version
has since been unpublished from npm, so a fresh `pnpm install` on a
clean clone fails for everyone:
ERR_PNPM_FETCH_404  GET
https/registry.npmjs.oro/drizzle-kit/-/drizzle-kit-0.25.0-b1faa33.tgz:
Not Found
@adaosantos
adaosantos force-pushed the fix/drizzle-kit-unpublished-devdependency branch from 634298a to 956e628 Compare August 13, 2026 17:59
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