initx 0.0.14 → 0.0.15

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.
Files changed (2) hide show
  1. package/dist/cli.mjs +2 -2
  2. package/package.json +3 -3
package/dist/cli.mjs CHANGED
@@ -2,7 +2,7 @@ import cac from 'cac';
2
2
  import { log, inquirer } from '@initx-plugin/utils';
3
3
  import { loadPlugins } from '@initx-plugin/core';
4
4
 
5
- const pkgJson = {name:"initx",type:"module",version:"0.0.14",packageManager:"pnpm@9.12.3",description:"A more convenient scripting engine",author:"imba97",license:"MIT",homepage:"https://github.com/initx-collective/initx#readme",repository:{type:"git",url:"git@github.com:initx-collective/initx.git"},bugs:{url:"https://github.com/initx-collective/initx/issues"},keywords:["initx"],main:"dist/index.mjs",module:"dist/index.mjs",types:"dist/index.d.ts",bin:"bin/initx.mjs",files:["dist"],scripts:{stub:"unbuild --stub",build:"unbuild"},dependencies:{"@initx-plugin/core":"workspace:*","@initx-plugin/utils":"workspace:*",cac:"^6.7.14"}};
5
+ const pkgJson = {name:"initx",type:"module",version:"0.0.15",packageManager:"pnpm@9.12.3",description:"A more convenient scripting engine",author:"imba97",license:"MIT",homepage:"https://github.com/initx-collective/initx#readme",repository:{type:"git",url:"git@github.com:initx-collective/initx.git"},bugs:{url:"https://github.com/initx-collective/initx/issues"},keywords:["initx"],main:"dist/index.mjs",module:"dist/index.mjs",types:"dist/index.d.ts",bin:"bin/initx.mjs",files:["dist"],scripts:{stub:"unbuild --stub",build:"unbuild"},dependencies:{"@initx-plugin/core":"workspace:*","@initx-plugin/utils":"workspace:*",cac:"^6.7.14"}};
6
6
 
7
7
  const cli = cac("initx");
8
8
  cli.help().command("<something>", "see https://github.com/initx-collective/initx").usage("").option("-v, --version", "Display version number");
@@ -47,7 +47,7 @@ if (!key || typeof key !== "string") {
47
47
  await handler();
48
48
  return;
49
49
  }
50
- const { index } = await inquirer.select(
50
+ const index = await inquirer.select(
51
51
  "Which handler do you want to run?",
52
52
  matchedHandlers.map(
53
53
  ({ description, packageInfo }) => `[${packageInfo.name.replace(/^@?initx-plugin[-/]/, "")}] ${description}`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "initx",
3
3
  "type": "module",
4
- "version": "0.0.14",
4
+ "version": "0.0.15",
5
5
  "description": "A more convenient scripting engine",
6
6
  "author": "imba97",
7
7
  "license": "MIT",
@@ -25,8 +25,8 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "cac": "^6.7.14",
28
- "@initx-plugin/core": "0.0.14",
29
- "@initx-plugin/utils": "0.0.14"
28
+ "@initx-plugin/core": "0.0.15",
29
+ "@initx-plugin/utils": "0.0.15"
30
30
  },
31
31
  "scripts": {
32
32
  "stub": "unbuild --stub",