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

.degit.yml #6

Open
Rich-Harris opened this issue Jul 31, 2017 · 3 comments
Open

.degit.yml #6

Rich-Harris opened this issue Jul 31, 2017 · 3 comments

Comments

@Rich-Harris
Copy link
Owner

If a repo has a .degit.yml file, we could put a postinstall script in there that automated setup tasks like npm install. For security reasons, the script should be shown and the user should be prompted for confirmation (typing y, not just hitting Enter) before it happens.

We could also show a success message defined in the YAML file.

success: >
  Congratulations! Now install dependencies with `npm install`, then run `npm run dev` to
  start a development server and open http://localhost:5000 to see your app. Visit
  https://example.com for more information.
postinstall: npm install
@mhkeller
Copy link
Contributor

As of 2.1.0 and the addition of actions, is this issue now a duplicate of the prompt action in #30?

@bernardoadc
Copy link

I think #30 debunks this

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

4 participants
@mhkeller @Rich-Harris @bernardoadc and others