Skip to content

chore: remove prepare scripts - #16729

Merged
Rich-Harris merged 15 commits into
version-3from
remove-prepare-scripts
Aug 11, 2026
Merged

chore: remove prepare scripts#16729
Rich-Harris merged 15 commits into
version-3from
remove-prepare-scripts

Conversation

@teemingc

@teemingc teemingc commented Aug 11, 2026

Copy link
Copy Markdown
Member

There's no reason to run all these prepare scripts on every pnpm i. Our check CI action already runs svelte-kit sync before type checking.

This PR removes them and ignores the postinstall scripts from packages which only use them to emit warnings. Cuts 8s from pnpm i on my M1 Pro; maybe it's a little more in CI for each job seems to cut about 19 seconds from the install step.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 11, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 3b8ce36:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/3b8ce3603f1554003d3d8c135501d69d550ddf45

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16729

@changeset-bot

changeset-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3b8ce36

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

Comment thread packages/kit/test/apps/options/package.json Outdated
teemingc and others added 3 commits August 11, 2026 17:58
@teemingc
teemingc marked this pull request as draft August 11, 2026 10:08
@teemingc
teemingc marked this pull request as ready for review August 11, 2026 17:16

@Rich-Harris Rich-Harris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hell yeah

@Rich-Harris
Rich-Harris merged commit bc07967 into version-3 Aug 11, 2026
27 checks passed
@Rich-Harris
Rich-Harris deleted the remove-prepare-scripts branch August 11, 2026 22:44
SobolievOleksii added a commit to SobolievOleksii/kit that referenced this pull request Aug 28, 2026
- pnpm-lock.yaml: re-add the fixture importer against the current catalog
  (vite 8.2.1 / svelte 5.56.8 / vite-plugin-svelte 7.3.0), matching the
  sibling basic app so no extra package versions enter the lockfile
- drop the fixture's prepare script, gone from adapter-node test apps
  upstream (sveltejs#16729)
- tsconfig extends $app/tsconfig instead of ./.svelte-kit/tsconfig.json

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants