npm-pkgbuild 18.2.21 → 18.2.23
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/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
[](https://www.npmjs.com/package/npm-pkgbuild)
|
|
2
2
|
[](https://spdx.org/licenses/0BSD.html)
|
|
3
3
|
[](https://typescriptlang.org)
|
|
4
|
-
[](https://packagephobia.now.sh/result?p=npm-pkgbuild@18.2.18)
|
|
5
4
|
[](https://bundlejs.com/?q=npm-pkgbuild)
|
|
6
5
|
[](https://npmjs.org/package/npm-pkgbuild)
|
|
7
6
|
[](https://github.com/arlac77/npm-pkgbuild/issues)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-pkgbuild",
|
|
3
|
-
"version": "18.2.
|
|
3
|
+
"version": "18.2.23",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": false
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"uti": "^8.9.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@types/node": "^24.2.
|
|
76
|
+
"@types/node": "^24.2.1",
|
|
77
77
|
"ava": "^6.4.1",
|
|
78
78
|
"c8": "^10.1.3",
|
|
79
79
|
"documentation": "^14.0.3",
|
|
@@ -109,17 +109,25 @@ export class NodeModulesContentProvider extends ContentProvider {
|
|
|
109
109
|
|
|
110
110
|
for await (const entry of glob("**/*", {
|
|
111
111
|
cwd: nodeModulesDir,
|
|
112
|
-
withFileTypes: true
|
|
113
|
-
exclude: entry =>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
112
|
+
withFileTypes: true
|
|
113
|
+
/*exclude: entry =>
|
|
114
|
+
toBeSkipped.test(entry.name) ||
|
|
115
|
+
/@types|tslib|node-addon-api|node-gyp/.test(
|
|
116
|
+
entry.parentPath.substring(startPos)
|
|
117
|
+
)
|
|
118
|
+
*/
|
|
120
119
|
})) {
|
|
120
|
+
if (toBeSkipped.test(entry.name)) {
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
|
|
121
124
|
const name = join(entry.parentPath, entry.name).substring(startPos);
|
|
122
125
|
|
|
126
|
+
if (/@types|tslib|node-addon-api|node-gyp/.test(name)) {
|
|
127
|
+
console.log("SKIP", name);
|
|
128
|
+
continue;
|
|
129
|
+
}
|
|
130
|
+
|
|
123
131
|
if (entry.isFile()) {
|
|
124
132
|
if (entry.name === "package.json") {
|
|
125
133
|
try {
|
|
@@ -215,21 +223,11 @@ const toBeSkipped = new RegExp(
|
|
|
215
223
|
"Copyrightnotice\\.txt",
|
|
216
224
|
"Doxyfile",
|
|
217
225
|
"Dockerfile",
|
|
218
|
-
"CODE_OF_CONDUCT(\\.md|\\.txt)?",
|
|
219
|
-
"GOVERNANCE(\\.md)?",
|
|
220
|
-
"CODEOWNERS(\\.md)?",
|
|
221
226
|
"UPGRAD(E|ING)(\\.md)?",
|
|
222
|
-
"AUTHORS(\\.md|\\.txt)?",
|
|
223
227
|
"OWNERS",
|
|
224
228
|
"CONTRIBUT(ORS|ING)(\\.md)?",
|
|
225
|
-
"CHANGELOG(\\.md)?",
|
|
226
|
-
"CHANGES(\\.md)?",
|
|
227
|
-
"HISTORY(\\.md)?",
|
|
228
|
-
"ROADMAP(\\.md)?",
|
|
229
|
-
"DOCUMENTATION(\\.md)?",
|
|
230
229
|
"LICEN[SC]E(\\-\\w+)?(\\.txt|\\.md|\\.BSD|\\.APACHE2|\\.MIT|\\.terms)?",
|
|
231
|
-
"README(.*\\.md|\\.txt)?",
|
|
232
|
-
"INSTALL(.*\\.md)?",
|
|
230
|
+
"(CODE_OF_CONDUCT|GOVERNANCE|CODEOWNERS|AUTHORS|DOCUMENTATION|CHANGES|CHANGELOG|HISTORY|ROADMAP|README|INSTALL)(.*\\.md|\\.txt)?",
|
|
233
231
|
"\\.armv6\\.node",
|
|
234
232
|
"\\.py",
|
|
235
233
|
"\\.el",
|