npm-pkgbuild 18.2.22 → 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,15 +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 =>
|
|
112
|
+
withFileTypes: true
|
|
113
|
+
/*exclude: entry =>
|
|
114
114
|
toBeSkipped.test(entry.name) ||
|
|
115
115
|
/@types|tslib|node-addon-api|node-gyp/.test(
|
|
116
116
|
entry.parentPath.substring(startPos)
|
|
117
117
|
)
|
|
118
|
+
*/
|
|
118
119
|
})) {
|
|
120
|
+
if (toBeSkipped.test(entry.name)) {
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
|
|
119
124
|
const name = join(entry.parentPath, entry.name).substring(startPos);
|
|
120
125
|
|
|
126
|
+
if (/@types|tslib|node-addon-api|node-gyp/.test(name)) {
|
|
127
|
+
console.log("SKIP", name);
|
|
128
|
+
continue;
|
|
129
|
+
}
|
|
130
|
+
|
|
121
131
|
if (entry.isFile()) {
|
|
122
132
|
if (entry.name === "package.json") {
|
|
123
133
|
try {
|
|
@@ -213,21 +223,11 @@ const toBeSkipped = new RegExp(
|
|
|
213
223
|
"Copyrightnotice\\.txt",
|
|
214
224
|
"Doxyfile",
|
|
215
225
|
"Dockerfile",
|
|
216
|
-
"CODE_OF_CONDUCT(\\.md|\\.txt)?",
|
|
217
|
-
"GOVERNANCE(\\.md)?",
|
|
218
|
-
"CODEOWNERS(\\.md)?",
|
|
219
226
|
"UPGRAD(E|ING)(\\.md)?",
|
|
220
|
-
"AUTHORS(\\.md|\\.txt)?",
|
|
221
227
|
"OWNERS",
|
|
222
228
|
"CONTRIBUT(ORS|ING)(\\.md)?",
|
|
223
|
-
"CHANGELOG(\\.md)?",
|
|
224
|
-
"CHANGES(\\.md)?",
|
|
225
|
-
"HISTORY(\\.md)?",
|
|
226
|
-
"ROADMAP(\\.md)?",
|
|
227
|
-
"DOCUMENTATION(\\.md)?",
|
|
228
229
|
"LICEN[SC]E(\\-\\w+)?(\\.txt|\\.md|\\.BSD|\\.APACHE2|\\.MIT|\\.terms)?",
|
|
229
|
-
"README(.*\\.md|\\.txt)?",
|
|
230
|
-
"INSTALL(.*\\.md)?",
|
|
230
|
+
"(CODE_OF_CONDUCT|GOVERNANCE|CODEOWNERS|AUTHORS|DOCUMENTATION|CHANGES|CHANGELOG|HISTORY|ROADMAP|README|INSTALL)(.*\\.md|\\.txt)?",
|
|
231
231
|
"\\.armv6\\.node",
|
|
232
232
|
"\\.py",
|
|
233
233
|
"\\.el",
|