Skip to content
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

Disable hooks #730

Closed
j opened this Issue Nov 9, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@j
Copy link

commented Nov 9, 2018

Is it possible to disable hooks completely to not run any npm hooks? My CI environment builds and manages cleanups, etc.

@tj

This comment has been minimized.

Copy link
Member

commented Nov 9, 2018

At the moment we infer the build hook from package.json (https://github.com/apex/up/blob/master/config/runtimes.go#L191-L193), but I think you could use "hooks": { "build": "" } as a slight hack for now

@j

This comment has been minimized.

Copy link
Author

commented Nov 9, 2018

@tj yep, that's what I ended up doing. Made me sad. :P haha. It'd be cool to just have apex package what it needs to and not run any hooks inside of the pckage.json.

@tj tj added the Feature Accepted label Dec 4, 2018

@tj tj closed this in 8cb8229 Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.