@joystick.js/cli-canary 0.0.0-canary.589 → 0.0.0-canary.590

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.
@@ -1 +1 @@
1
- import e from"./index.js";const a={description:"Update all Joystick packages to their latest version.",args:{},options:{release:{flags:{"-r":{set:!!raw_args.includes("-r"),value:!!raw_args.includes("-r")&&raw_args[raw_args.indexOf("-r")+1],parent:"create"},"--release":{set:!!raw_args.includes("--release"),value:!!raw_args.includes("--release")&&raw_args[raw_args.indexOf("--release")+1],parent:"create"}},description:"The release of Joystick to update (production or canary)."}},command:e};var s=a;export{s as default};
1
+ import r from"./index.js";const[t,o,...e]=process.argv,a={description:"Update all Joystick packages to their latest version.",args:{},options:{release:{flags:{"-r":{set:!!e.includes("-r"),value:!!e.includes("-r")&&e[e.indexOf("-r")+1],parent:"create"},"--release":{set:!!e.includes("--release"),value:!!e.includes("--release")&&e[e.indexOf("--release")+1],parent:"create"}},description:"The release of Joystick to update (production or canary)."}},command:r};var i=a;export{i as default};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@joystick.js/cli-canary",
3
3
  "type": "module",
4
- "version": "0.0.0-canary.589",
4
+ "version": "0.0.0-canary.590",
5
5
  "description": "The CLI for Joystick.",
6
6
  "main": "dist/index.js",
7
7
  "bin": {
@@ -1,5 +1,7 @@
1
1
  import update from './index.js';
2
2
 
3
+ const [_node, _bin, ...raw_args] = process.argv;
4
+
3
5
  const definition = {
4
6
  description: 'Update all Joystick packages to their latest version.',
5
7
  args: {},