@docupace/pipeline 1.0.0-alpha.15 → 1.0.0-alpha.17

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": "@docupace/pipeline",
3
- "version": "1.0.0-alpha.15",
3
+ "version": "1.0.0-alpha.17",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -5,7 +5,7 @@ import path from 'path';
5
5
  import {validateChangesets} from "./validate.js";
6
6
 
7
7
  const program = new Command();
8
- const args = process.argv.slice(2);
8
+ const args = process.argv.slice(1);
9
9
 
10
10
  const DIR = path.resolve(process.cwd());
11
11
 
@@ -46,7 +46,7 @@ program
46
46
 
47
47
  // Command: commit-and-tag
48
48
  program
49
- .command('commit-and-tag')
49
+ .command('commit-tag')
50
50
  .description('Commit and tag the new version')
51
51
  .action(async () => {
52
52
  console.log('📌 Committing and tagging the new version...');
@@ -62,12 +62,12 @@ program
62
62
 
63
63
  // Command: all
64
64
  program
65
- .command('all')
65
+ .command('version-commit-tag')
66
66
  .description('Run versioning and commit-and-tag in sequence')
67
67
  .action(async () => {
68
68
  console.log('📦 Running all steps...');
69
69
  await program.commands.find((cmd) => cmd.name() === 'version').action();
70
- await program.commands.find((cmd) => cmd.name() === 'commit-and-tag').action();
70
+ await program.commands.find((cmd) => cmd.name() === 'commit-tag').action();
71
71
  });
72
72
 
73
73
  // Parse arguments