lincd-cli 0.2.0 → 0.2.1

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.
@@ -25,6 +25,6 @@
25
25
  "lincd": "^0.4"
26
26
  },
27
27
  "devDependencies": {
28
- "lincd-cli": "^0.1"
28
+ "lincd-cli": "^0.2"
29
29
  }
30
30
  }
@@ -49,7 +49,7 @@
49
49
  "@types/react": "^18.0.17",
50
50
  "@types/react-dom": "^18.0.6",
51
51
  "env-cmd": "^10.1.0",
52
- "lincd-cli": "^0.1",
52
+ "lincd-cli": "^0.2",
53
53
  "nodemon": "^2.0.6"
54
54
  }
55
55
  }
@@ -33,6 +33,6 @@
33
33
  "lincd-jsonld": "^0.1"
34
34
  },
35
35
  "devDependencies": {
36
- "lincd-cli": "^0.1"
36
+ "lincd-cli": "^0.2"
37
37
  }
38
38
  }
package/lib/cli.js CHANGED
@@ -162,7 +162,7 @@ program.command('dev [target] [mode]').action(function (target, mode) {
162
162
  developPackage(target, mode);
163
163
  });
164
164
  program
165
- .command('module|m|package|p|pkg')
165
+ .command('package')
166
166
  .action(function (name, command, args) {
167
167
  var fullCommand = command
168
168
  ? command +
@@ -175,7 +175,10 @@ program
175
175
  : null;
176
176
  executeCommandForPackage(name, fullCommand);
177
177
  })
178
+ .alias('p')
179
+ .alias('pkg')
178
180
  .alias('m')
181
+ .alias('module')
179
182
  .description('Searches for a package in this workspace with a partially matching name and executes a command for that package (without needing to execute it from the folder of the package)')
180
183
  .argument('<name>', 'the name of the package. Can be a part of the name.')
181
184
  .argument('[command]', 'the lincd command you want to execute. Like dev or build')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lincd-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Command line tools for the lincd.js library",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {