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

Move install script running to postinstall script #161

Closed
karlhorky opened this issue Oct 18, 2022 · 2 comments
Closed

Move install script running to postinstall script #161

karlhorky opened this issue Oct 18, 2022 · 2 comments
Assignees

Comments

@karlhorky
Copy link
Member

Run install script in postinstall, so that the only command required to install the config will be:

$ yarn add --dev @upleveled/eslint-config-upleveled
@karlhorky karlhorky self-assigned this Oct 18, 2022
karlhorky added a commit that referenced this issue Oct 18, 2022
karlhorky added a commit that referenced this issue Oct 18, 2022
karlhorky added a commit that referenced this issue Oct 18, 2022
@karlhorky
Copy link
Member Author

karlhorky commented Oct 18, 2022

This doesn't work as I imagined, postinstall scripts in a dependency don't run in the project where the dependency is being installed (eg. they do not run on yarn add --dev)

@karlhorky
Copy link
Member Author

Superseded by #165

(This can be done by publishing a create- starter kit package)

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

1 participant