some files are missing in v2.0.1
ianhe8x opened this issue · 5 comments
lib/autocomplete-questions.js and lib/make-default-questions.js are missing in the latest release.
When I run git cz, get this error Cannot find module './make-default-questions'
@lukebatchelor I think the problem is caused by your publish pipeline, because i tried to run npm run build locally and those files are there. If that's the case, I won't be able to contribute a fix.
Hiya, I actually published that manually iirc, maybe the pipeline did a release too?. I'll try to take a look later today if I have time.
Should be fixed in 2.0.2
Thanks for reporting/digging @ianhe8x
Ha. Decided to dig in, it looks like this was a breaking change in npm.
The docs say that any files that are gitignored will be npm ignored if you don't have an .npmignore
file and to create an empty .npmignore
file if you want to opt out of that behaviour.
And it looks like that was the case until npm version 5.4.1
.
For anyone interested, you can either add the files you wanted to the files array of your package.json
or explicitly add them to your .npmignore
as never ignored
+lib # make sure we never npmignore the lib directory