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

How well does scripty work with preinstall scripts? #33

Closed
greduan opened this issue Apr 19, 2016 · 5 comments
Closed

How well does scripty work with preinstall scripts? #33

greduan opened this issue Apr 19, 2016 · 5 comments

Comments

@greduan
Copy link

greduan commented Apr 19, 2016

Just that, my coworker is working on some complex scripts that work during preinstall, how well would scripty do there?

I imagine it has to be installed as a global in that case?

@searls
Copy link
Member

searls commented Apr 19, 2016

I haven't considered or tested this tbh so I have no idea

@searls
Copy link
Member

searls commented Apr 20, 2016

Sorry for the terse reply last night. I probably should have followed up with "could you describe for me how you'd like it to behave"?

@greduan
Copy link
Author

greduan commented Apr 20, 2016

That's alright, I was just busy.

The thing is our project has some preinstall scripts that check that the environment is properly setup, but of course you can't use scripty in the local folder if npm install hasn't run before.

I was just wondering what could be a workaround for this, that's all. Obviously have the setup script outside of npm is one option, but that doesn't make it so that when you do npm install it runs it before installing anything.

@searls
Copy link
Member

searls commented May 10, 2016

Closing for now because I don't think it's vitally important we answer this. If you do some work on it or have a clear proposal of what we should do (which doesn't involve asking folks to install globally), then I'm game to hear it.

@searls searls closed this as completed May 10, 2016
@greduan
Copy link
Author

greduan commented May 10, 2016

Gotcha. If I come up with anything I'll let you know. :)

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

No branches or pull requests

2 participants