npm-pkgbuild 18.2.21 → 18.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -110,13 +110,11 @@ export class NodeModulesContentProvider extends ContentProvider {
|
|
|
110
110
|
for await (const entry of glob("**/*", {
|
|
111
111
|
cwd: nodeModulesDir,
|
|
112
112
|
withFileTypes: true,
|
|
113
|
-
exclude: entry =>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
return flag;
|
|
119
|
-
}
|
|
113
|
+
exclude: entry =>
|
|
114
|
+
toBeSkipped.test(entry.name) ||
|
|
115
|
+
/@types|tslib|node-addon-api|node-gyp/.test(
|
|
116
|
+
entry.parentPath.substring(startPos)
|
|
117
|
+
)
|
|
120
118
|
})) {
|
|
121
119
|
const name = join(entry.parentPath, entry.name).substring(startPos);
|
|
122
120
|
|