Initially, I did a package in my library (let’s say my-library) with this .npmignore file:
.babelrc .codeclimate.yml .eslintignore .eslintrc .github .nvmrc .travis.yml config_runtime test src scripts webpack.config.js
and also this .gitignore file:
.DS_Store dist node_modules npm-debug.log npm-debug.log.* .nyc_output coverage
In one of the branches of this project (let’s say my-branch) I have removed this .npmignore file. Nevertheless, when I am trying to add this project with this branch in another package.json of another project like this:
node_modules/my-library continues ignoring the
/src folder when I am doing
npm install I tried to clean the cache, change the package version of my-library, but it’s not still working
Do you know some effective way to “restart” or “refresh” the files that the npmignore file are ignored previously?
Thanks in advance.