ProjectEvergreen / create-evergreen-app

Get up and running with an evergreen web application development stack designed by, and for, today's modern web.
https://projectevergreen.github.io/
16 stars 5 forks source link

generated package.json is not the output from npmInit #82

Closed thescientist13 closed 5 years ago

thescientist13 commented 5 years ago

Type of Change

Summary

CEA Installer is supposed to create a custom package.json when running npmInit, instead the full contents of template/package.json is being generated instead.

Details

Seems to be a small (non breaking) regression from #77.

Looks like the simplest fix is to call initSrc first. This feels like an 🆗 solution since it would make sense to

  1. Start with the contents of template/ as a base
  2. Apply any customizations / configurations