trailsjs / generator-trails-old

:package: Trails Generator.
Other
6 stars 8 forks source link

Remove "files" property from generated package.json #28

Closed tjwebb closed 8 years ago

tjwebb commented 8 years ago

Confusingly, npm only publishes the folders listed in the files array.

tjwebb commented 8 years ago

This must be added somewhere by the generator-node project...

jaumard commented 8 years ago

You're right I think it's here https://github.com/trailsjs/generator-node/blob/master/generators/app/index.js#L195 ?

tjwebb commented 8 years ago

resolved: https://github.com/trailsjs/generator-node/commit/2e5730ae5cd4a4183673339e52866ffe209f4a40

tjwebb commented 8 years ago

I just generated a new project, and this is still happening somehow. Opening until I can confirm resolution again.

jaumard commented 8 years ago

Are you sure @tjwebb ? I didn't have it on new project...

jaumard commented 8 years ago

I just test with last version didn't see files on package.json. Feel free to reopen again if you have it.