rman 0.36.3 → 0.36.5
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.
|
@@ -78,6 +78,7 @@ class PublishCommand extends run_command_js_1.RunCommand {
|
|
|
78
78
|
const npmHelper = new npm_utils_js_1.NpmHelper({ cwd: pkg.dirname, userconfig: this.options.userconfig });
|
|
79
79
|
return super._exec(pkg, 'npm publish' +
|
|
80
80
|
(this.options.access ? ' --access=' + this.options.access : '') +
|
|
81
|
+
(this.options.tag ? ' --tag=' + this.options.tag : '') +
|
|
81
82
|
(npmHelper.userconfig ? ` --userconfig="${npmHelper.userconfig}"` : ''), {
|
|
82
83
|
...args,
|
|
83
84
|
cwd,
|
|
@@ -103,6 +104,10 @@ PublishCommand.commandName = 'publish';
|
|
|
103
104
|
type: 'string',
|
|
104
105
|
choices: ['public', 'restricted'],
|
|
105
106
|
},
|
|
107
|
+
tag: {
|
|
108
|
+
describe: '',
|
|
109
|
+
type: 'string',
|
|
110
|
+
},
|
|
106
111
|
userconfig: {
|
|
107
112
|
describe: '# Path of .npmrc file to use for authentication',
|
|
108
113
|
type: 'string',
|
|
@@ -74,6 +74,7 @@ export class PublishCommand extends RunCommand {
|
|
|
74
74
|
const npmHelper = new NpmHelper({ cwd: pkg.dirname, userconfig: this.options.userconfig });
|
|
75
75
|
return super._exec(pkg, 'npm publish' +
|
|
76
76
|
(this.options.access ? ' --access=' + this.options.access : '') +
|
|
77
|
+
(this.options.tag ? ' --tag=' + this.options.tag : '') +
|
|
77
78
|
(npmHelper.userconfig ? ` --userconfig="${npmHelper.userconfig}"` : ''), {
|
|
78
79
|
...args,
|
|
79
80
|
cwd,
|
|
@@ -98,6 +99,10 @@ PublishCommand.commandName = 'publish';
|
|
|
98
99
|
type: 'string',
|
|
99
100
|
choices: ['public', 'restricted'],
|
|
100
101
|
},
|
|
102
|
+
tag: {
|
|
103
|
+
describe: '',
|
|
104
|
+
type: 'string',
|
|
105
|
+
},
|
|
101
106
|
userconfig: {
|
|
102
107
|
describe: '# Path of .npmrc file to use for authentication',
|
|
103
108
|
type: 'string',
|
package/package.json
CHANGED