You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The packages contain among other things; .eslintcache, tsconfig.tsbuildinfo, tsconfig.json, and spec files. These files increase package size and might contain personal information.
Examples:
@nodelib/fs.scandir@2.1.4
@nodelib/fs.stat@2.0.4
@nodelib/fs.walk@1.2.6
Instead of using blacklisting with .npmignore I recommend whitelisting with the files property in package.json. That way you can't accidentally publish files.
The text was updated successfully, but these errors were encountered:
I noticed this as well. There are also test files included in the modules that are causing my Typescript builds to fail.
Versions:
@nodelib/fs.walk@1.2.6
@nodelib/fs.scandir@2.1.4
Nodejs version v14.15.4
NPM version 6.14.10
I don't have any testing libraries installed as dependencies.
Removing the src directory and extraneous tsconfig files for each module seems to solve most of my issues.
If these packages are only dependencies for packages that you've installed, you can just add this line to your tsconfig.json:
The packages contain among other things;
.eslintcache
,tsconfig.tsbuildinfo
,tsconfig.json
, and spec files. These files increase package size and might contain personal information.Examples:
@nodelib/fs.scandir@2.1.4
@nodelib/fs.stat@2.0.4
@nodelib/fs.walk@1.2.6
Instead of using blacklisting with
.npmignore
I recommend whitelisting with the files property in package.json. That way you can't accidentally publish files.The text was updated successfully, but these errors were encountered: