.degit.yml
Rich-Harris opened this issue · 2 comments
Rich-Harris commented
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 commented
As of 2.1.0 and the addition of actions, is this issue now a duplicate of the prompt
action in #30?
bernardoadc commented
I think #30 debunks this