10000 feat: expose `runsAfter` to add-ons by manuel3108 · Pull Request #554 · sveltejs/cli · GitHub
[go: up one dir, main page]

Skip to content

feat: expose runsAfter to add-ons #554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 17, 2025
Merged

feat: expose runsAfter to add-ons #554

merged 1 commit into from
May 17, 2025

Conversation

manuel3108
Copy link
Member

Supersedes #547
Closes #550

As described in the issue, we now have an add-on that needs to run after some other add-ons. This feature was previously removed as part of #86 since it was not used anymore.

In contrary to the original implementation in #86, if an add-on calls dependsOn, runsAfter is also called in order to only have one property based on which the ordering of the add-ons should occur.

Copy link
changeset-bot bot commented May 2, 2025

🦋 Changeset detected

Latest commit: a24e2ef

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sv Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link
pkg-pr-new bot commented May 2, 2025

Open in StackBlitz

npx https://pkg.pr.new/sveltejs/cli/sv@554
npx https://pkg.pr.new/sveltejs/cli/svelte-migrate@554

commit: a24e2ef

@manuel3108 manuel3108 merged commit c381051 into main May 17, 2025
7 checks passed
@manuel3108 manuel3108 deleted the feat/runs-after branch May 17, 2025 15:18
@github-actions github-actions bot mentioned this pull request May 17, 2025
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.

re-implement runsAfter
1 participant
0