npm-pkgbuild 7.19.9 → 7.20.3

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.3",
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
+ /(~|\.map|\.ts|\.orig|\.log|\.tmp|\.bak|\.bat|\.gypi|\.gyp|appveyor\.yml|yarn\.lock|\.DS_Store|jenkinsfile|\.travis\.yml|\.jshint(rc)?|\.npm.*|\.git.*|rollup\.config\.(js|mjs|cjs)|CODE_OF_CONDUCT(\.md)?|GOVERNANCE(\.md)?|CODEOWNERS(\.md)?|UPGRAD(E|ING)(\.md)?|AUTHORS(\.md)?|CONTRIBUT(ORS|ING)(.md)?|CHANGELOG(\.md)?|HISTORY(\.md)?|LICENSE(\-\w+|\.md|\.txt)?|README(.*\.md)?|\.o|\.a|\.c|\.cc|\.h|\.in|Makefile|\.cmake|\.mk|\.\d)$/i
59
59
  )
60
60
  ) {
61
61
  yield Object.assign(
@@ -69,11 +69,9 @@ export class NodeModulesContentProvider extends ContentProvider {
69
69
 
70
70
  const toBeIgnored = [
71
71
  {
72
- options: { filesOnly: true },
73
72
  pattern: [
74
73
  "*.d.ts*",
75
74
  "*.patch",
76
- "*.h.in",
77
75
  ".jshintrc*",
78
76
  ".esl*",
79
77
  ".zuul.yml",
@@ -82,14 +80,12 @@ const toBeIgnored = [
82
80
  ".tern-project",
83
81
  ".dockerignore",
84
82
  ".dir-locals.el",
85
- "appveyor.yml",
86
83
  "gulpfile.js",
87
84
  "jsdoc.json",
88
85
  "Gruntfile.js",
89
86
  "karma.conf.js",
90
87
  "verb.md",
91
88
  ".nvmrc",
92
- "config.gypi",
93
89
  "bower.json",
94
90
  "*.bash_completion.*",
95
91
  ".coveralls.yml",
@@ -103,31 +99,20 @@ const toBeIgnored = [
103
99
  "cypress.json",
104
100
  ".airtap.yml",
105
101
  ".jscs.json",
106
- "sauce-labs.svg"
107
- ]
108
- },
109
- {
110
- options: { ignoreCase: true },
111
- pattern: [
112
- "CONTRIBUTING*",
113
- "Contributors*",
102
+ "sauce-labs.svg",
114
103
  "PATENTS*",
115
- "AUTHORS*",
116
104
  "NOTICE*",
117
105
  "SUMMARY.md",
118
106
  "MIGRAT*.md",
119
- "UPGRAD*.md",
120
107
  "PULL_REQUEST_TEMPLATE.md",
121
108
  "PATTERNS.md",
122
109
  "REFERENCE.md",
123
110
  "SECURITY.md",
124
111
  "SFTPStream.md",
125
112
  "LIMITS.md",
126
- "GOVERNANCE.md",
127
113
  "Porting-Buffer.md",
128
114
  "chains and topics.md",
129
- "CODE_OF_CONDUCT*",
130
- "CODEOWNERS"
115
+ "CODE_OF_CONDUCT*"
131
116
  ]
132
117
  }
133
118
  ];
@@ -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 {