npm-pkgbuild 7.19.9 → 7.20.0

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": "7.19.9",
3
+ "version": "7.20.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -55,7 +55,7 @@ export class NodeModulesContentProvider extends ContentProvider {
55
55
  })) {
56
56
  if (
57
57
  !name.match(
58
- /(~|\.orig|\.log|\.tmp|\.bak|\.bat|\.gyp|yarn\.lock|\.DS_Store|\.travis\.yml|\.npm.*|\.git.*|rollup\.config\.(js|mjs|cjs)|CHANGELOG(\.md?)|HISTORY\.md|LICENSE(\-\w+|\.md)?|readme.*\.md|\.a|\.c|\.cc|\.h|Makefile|\.cmake|\.mk|\.\d)$/i
58
+ /(~|\.orig|\.log|\.tmp|\.bak|\.bat|\.gyp|yarn\.lock|\.DS_Store|\.travis\.yml|\.npm.*|\.git.*|rollup\.config\.(js|mjs|cjs)|CONTRIBUTING(.md)?|CHANGELOG(\.md)?|HISTORY(\.md)?|LICENSE(\-\w+|\.md)?|README(.*\.md)?|\.o|\.a|\.c|\.cc|\.h|Makefile(\.in)?|\.cmake|\.mk|\.\d)$/i
59
59
  )
60
60
  ) {
61
61
  yield Object.assign(
@@ -109,7 +109,6 @@ const toBeIgnored = [
109
109
  {
110
110
  options: { ignoreCase: true },
111
111
  pattern: [
112
- "CONTRIBUTING*",
113
112
  "Contributors*",
114
113
  "PATENTS*",
115
114
  "AUTHORS*",
@@ -49,7 +49,16 @@ program
49
49
  .addOption(
50
50
  new program.Option("--publish <url>", "publishing url of the package").env(
51
51
  "PACMAN_PUBLISH"
52
- )
52
+ ).argParser((value) => {
53
+ let [url, user, password] = value.split(/,/);
54
+ if(user) {
55
+ url = process.env[url];
56
+ console.log(this,url,user,password);
57
+ return url;
58
+ }
59
+
60
+ return value;
61
+ })
53
62
  )
54
63
  .action(async options => {
55
64
  try {