docs: add enablePrePostScripts option to run config page#801
Merged
branchseer merged 3 commits intomainfrom Mar 12, 2026
Merged
docs: add enablePrePostScripts option to run config page#801branchseer merged 3 commits intomainfrom
branchseer merged 3 commits intomainfrom
Conversation
Documents the new `run.enablePrePostScripts` option that controls automatic pre/post lifecycle hooks for package.json scripts. https://claude.ai/code/session_0139LsSbe67hcD8NKKaK6Y8U
✅ Deploy Preview for viteplus-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
fengmk2
approved these changes
Mar 12, 2026
Member
|
Can you walk me through why we are adding this option? It is on by default, and I don't see why anyone would want to disable it? Why not call it "disableHookScripts" instead (default: false). Not going to block this, I'm sure there are reasons, but it seems kinda too much to add this option that we'll have to support for 10 years. |
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.
Summary
run.enablePrePostScriptsoption on the run config pagepreX/postXlifecycle hooks for package.json scripts (added in feat: add pre/post lifecycle hooks for package.json scripts vite-task#231)Test plan