onedesign / generator-one-base

A foundation for One Design Company projects on the web.
Other
1 stars 1 forks source link

Add .nvmrc into gulp generator #151

Open mkornatz opened 6 years ago

mkornatz commented 6 years ago

nvm doesn't use the engines definition in package.json

cmalven commented 6 years ago

Good idea. The trick is to avoid hard-coding the value in this .npmrc and having to change it over time. Ideal might be that it automatically uses the current LTS release at the time the generator is run. Or we just make a point to update this every 6 months.

mkornatz commented 6 years ago

Maybe we can prompt for this when installing?

MikeMcChillin commented 6 years ago

Love the idea of getting a prompt of like 3 commonly used node versions, as well as maybe the option to add my own version.

cmalven commented 6 years ago

There's always this: https://www.npmjs.com/package/nodejs-latest