We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.gitignore 中配置了 lib,因为 lib 目录是代码生成的
.npmignore 未配置 lib,因为这个代码是被最终依赖的代码,所以 npm publish 会带上 lib
但是现在 spm 会读取所有的 ignore 文件进行忽略,这样就会有问题
The text was updated successfully, but these errors were encountered:
https://github.com/npm/fstream-npm/ https://github.com/npm/npm/blob/v2.1.14/lib/utils/tar.js
Sorry, something went wrong.
应该是要只读 .spmignore 和 spm.ignore 吧?
.spmignore
https://github.com/npm/fstream-npm/blob/master/fstream-npm.js#L168-L182
有 .npmignore 后就不读 .gitignore 了。
.npmignore
.gitignore
Successfully merging a pull request may close this issue.
.gitignore 中配置了 lib,因为 lib 目录是代码生成的
.npmignore 未配置 lib,因为这个代码是被最终依赖的代码,所以 npm publish 会带上 lib
但是现在 spm 会读取所有的 ignore 文件进行忽略,这样就会有问题
The text was updated successfully, but these errors were encountered: