@autoglm.js/cli 0.0.1 → 0.0.2-beta.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.
- package/dist/index.mjs +5 -8
- package/package.json +4 -7
package/dist/index.mjs
CHANGED
|
@@ -16,6 +16,7 @@ import Gradient from "ink-gradient";
|
|
|
16
16
|
import { ScrollList } from "ink-scroll-list";
|
|
17
17
|
import { create } from "zustand";
|
|
18
18
|
import TextInput from "ink-text-input";
|
|
19
|
+
import { version } from "autoglm.js/package.json";
|
|
19
20
|
|
|
20
21
|
//#region rolldown:runtime
|
|
21
22
|
var __create = Object.create;
|
|
@@ -3180,13 +3181,9 @@ function App() {
|
|
|
3180
3181
|
}
|
|
3181
3182
|
var App_default = App;
|
|
3182
3183
|
|
|
3183
|
-
//#endregion
|
|
3184
|
-
//#region ../core/package.json
|
|
3185
|
-
var version$1 = "0.0.7-beta.4";
|
|
3186
|
-
|
|
3187
3184
|
//#endregion
|
|
3188
3185
|
//#region package.json
|
|
3189
|
-
var version$2 = "0.0.1";
|
|
3186
|
+
var version$2 = "0.0.2-beta.1";
|
|
3190
3187
|
|
|
3191
3188
|
//#endregion
|
|
3192
3189
|
//#region src/pages/Version.tsx
|
|
@@ -3296,7 +3293,7 @@ function VersionPage({ onExit }) {
|
|
|
3296
3293
|
name: "pastel",
|
|
3297
3294
|
children: /* @__PURE__ */ jsxs(Text, {
|
|
3298
3295
|
bold: true,
|
|
3299
|
-
children: ["v", version
|
|
3296
|
+
children: ["v", version]
|
|
3300
3297
|
})
|
|
3301
3298
|
})
|
|
3302
3299
|
] })
|
|
@@ -3326,8 +3323,8 @@ function VersionPage({ onExit }) {
|
|
|
3326
3323
|
|
|
3327
3324
|
//#endregion
|
|
3328
3325
|
//#region src/index.tsx
|
|
3329
|
-
const { version } = (0, import_minimist.default)(process$1.argv.slice(2), { alias: { version: ["v", "V"] } });
|
|
3330
|
-
if (version) render(/* @__PURE__ */ jsx(VersionPage, { onExit: () => process$1.exit(0) }));
|
|
3326
|
+
const { version: version$1 } = (0, import_minimist.default)(process$1.argv.slice(2), { alias: { version: ["v", "V"] } });
|
|
3327
|
+
if (version$1) render(/* @__PURE__ */ jsx(VersionPage, { onExit: () => process$1.exit(0) }));
|
|
3331
3328
|
else render(/* @__PURE__ */ jsx(App_default, {}));
|
|
3332
3329
|
|
|
3333
3330
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autoglm.js/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.1",
|
|
4
|
+
"version": "0.0.2-beta.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "AutoGLM.js Command Line Interface",
|
|
7
7
|
"author": "FliPPeDround <flippedround@qq.com>",
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"react-i18next": "^16.5.1",
|
|
45
45
|
"react-router": "^7.11.0",
|
|
46
46
|
"unconfig": "^7.4.2",
|
|
47
|
-
"zustand": "^5.0.9"
|
|
47
|
+
"zustand": "^5.0.9",
|
|
48
|
+
"autoglm.js": "0.0.7-beta.4"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
51
|
"@clack/prompts": "^0.11.0",
|
|
@@ -53,15 +54,11 @@
|
|
|
53
54
|
"@types/minimist": "^1.2.5",
|
|
54
55
|
"@types/node-notifier": "^8.0.5",
|
|
55
56
|
"@types/react": "^19.2.7",
|
|
56
|
-
"consola": "^3.4.2",
|
|
57
57
|
"dayjs": "^1.11.19",
|
|
58
58
|
"fs-extra": "^11.3.3",
|
|
59
|
-
"kolorist": "^1.8.0",
|
|
60
59
|
"minimist": "^1.2.8",
|
|
61
|
-
"std-env": "^3.10.0",
|
|
62
60
|
"tsx": "^4.21.0",
|
|
63
|
-
"@autoglm.js/shared": "1.0.0"
|
|
64
|
-
"autoglm.js": "0.0.7-beta.4"
|
|
61
|
+
"@autoglm.js/shared": "1.0.0"
|
|
65
62
|
},
|
|
66
63
|
"scripts": {
|
|
67
64
|
"start": "node dist/index.mjs",
|