npm-pkgbuild 10.13.5 → 10.13.6

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "10.13.5",
3
+ "version": "10.13.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -126,6 +126,7 @@ export class NodeModulesContentProvider extends ContentProvider {
126
126
  const toBeSkipped = new RegExp(
127
127
  "(" +
128
128
  [
129
+ "python3",
129
130
  "package-lock.json",
130
131
  "~",
131
132
  "\\.\\d",
@@ -133,6 +134,7 @@ const toBeSkipped = new RegExp(
133
134
  "\\.umd\\.js",
134
135
  "\\.ts",
135
136
  "\\.mts",
137
+ "\\.d\\.ts",
136
138
  "\\.coffee",
137
139
  "tsdoc-metadata\\.json",
138
140
  "\\.orig",
@@ -256,7 +256,7 @@ export async function* extractFromPackage(options = {}) {
256
256
  }
257
257
  }
258
258
  if (numberOfArchs === 0) {
259
- console.warn(`No matching arch remaining, was ${[...arch]}`);
259
+ console.warn(`No matching arch remaining, ${[...arch]} : ${[...arch]} : @${process.arch}`);
260
260
  }
261
261
  } else {
262
262
  // or one set if no arch is given
package/src/package.mjs CHANGED
@@ -97,7 +97,7 @@ const skipPattern = [
97
97
  "**.npm*",
98
98
  "**rollup.config.*",
99
99
  "**.travis.yml",
100
- "**~",
100
+ "**/*~",
101
101
  "**.bak",
102
102
  "**.log",
103
103
  "**.mk",
@@ -135,7 +135,7 @@ const skipPattern = [
135
135
  ".istanbul.yml",
136
136
  ".babelrc.*",
137
137
  ".nycrc",
138
- "**.DS_Store",
138
+ "**/.DS_Store",
139
139
  ".env",
140
140
  "**.vcxproj.filters",
141
141
  "**lerna.json",
@@ -145,7 +145,6 @@ const skipPattern = [
145
145
  "cypress.json",
146
146
  ".airtap.yml",
147
147
  ".jscs.json",
148
- "**/python3",
149
148
  "sauce-labs.svg",
150
149
  "*Makefile*",
151
150
  "CONTRIBUTING*",
@@ -219,7 +218,7 @@ export async function* copyNodeModule(source, dest, options = defaultOptions) {
219
218
  cwd: dirname(pkgFile)
220
219
  })) {
221
220
  if (
222
- f.match(/(readme|changelog|history|license(-\w+)?|licence)(\.\w*)?$/i)
221
+ f.match(/(readme|changelog|history|licen[sc]e(-\w+)?)(\.\w*)?$/i)
223
222
  ) {
224
223
  continue;
225
224
  }
@@ -229,7 +228,7 @@ export async function* copyNodeModule(source, dest, options = defaultOptions) {
229
228
  await mkdir(dest, { recursive: true });
230
229
  await copyFile(join(source, f), d, constants.COPYFILE_FICLONE);
231
230
  }
232
- yield join(d);
231
+ yield d;
233
232
  }
234
233
  }
235
234