rman 0.36.2 → 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.
@@ -76,8 +76,9 @@ class PublishCommand extends run_command_js_1.RunCommand {
76
76
  cwd = path_1.default.join(pkg.dirname, contents);
77
77
  }
78
78
  const npmHelper = new npm_utils_js_1.NpmHelper({ cwd: pkg.dirname, userconfig: this.options.userconfig });
79
- return super._exec(pkg, 'echo npm publish' +
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',
@@ -72,8 +72,9 @@ export class PublishCommand extends RunCommand {
72
72
  cwd = path.join(pkg.dirname, contents);
73
73
  }
74
74
  const npmHelper = new NpmHelper({ cwd: pkg.dirname, userconfig: this.options.userconfig });
75
- return super._exec(pkg, 'echo npm publish' +
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rman",
3
3
  "description": "Monorepo repository manager",
4
- "version": "0.36.2",
4
+ "version": "0.36.5",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "dependencies": {
@@ -15,6 +15,7 @@ export declare namespace PublishCommand {
15
15
  interface Options extends RunCommand.Options {
16
16
  contents?: string;
17
17
  access?: string;
18
+ tag?: string;
18
19
  checkOnly?: boolean;
19
20
  userconfig?: string;
20
21
  }