Skip to content

.degit.yml #6

@Rich-Harris

Description

@Rich-Harris

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions