initx 0.0.14 → 0.0.16
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/dist/cli.mjs +2 -2
- package/package.json +3 -4
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.
|
|
5
|
+
const pkgJson = {name:"initx",type:"module",version:"0.0.16",packageManager:"pnpm@9.12.3",description:"A more convenient scripting engine",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
|
|
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,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "initx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.16",
|
|
5
5
|
"description": "A more convenient scripting engine",
|
|
6
|
-
"author": "imba97",
|
|
7
6
|
"license": "MIT",
|
|
8
7
|
"homepage": "https://github.com/initx-collective/initx#readme",
|
|
9
8
|
"repository": {
|
|
@@ -25,8 +24,8 @@
|
|
|
25
24
|
],
|
|
26
25
|
"dependencies": {
|
|
27
26
|
"cac": "^6.7.14",
|
|
28
|
-
"@initx-plugin/core": "0.0.
|
|
29
|
-
"@initx-plugin/utils": "0.0.
|
|
27
|
+
"@initx-plugin/core": "0.0.16",
|
|
28
|
+
"@initx-plugin/utils": "0.0.16"
|
|
30
29
|
},
|
|
31
30
|
"scripts": {
|
|
32
31
|
"stub": "unbuild --stub",
|