Skip to content

Commit 41edfeb

Browse files
committed
🐛 fix(app): 修复模块导出
1 parent 49f30f2 commit 41edfeb

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "code-genius",
3-
"version": "0.4.27",
3+
"version": "0.4.28",
44
"description": "CodeGenius's command line tools",
55
"author": {
66
"name": "OSpoon",

src/index.ts

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ import scriptRunInstaller from "@/command/script";
2929
import templateInstaller, { template } from "@/command/template";
3030
import { defineConfig, execCommand, loggerInfo, printInfo } from "@/helper";
3131

32-
import { ACTIVATION, clearGlob } from "./config";
33-
import { ClearOptions, CodeGeniusOptions, Plugins } from "./types";
32+
import { Plugins } from "./types";
33+
34+
export * from "./config";
35+
export * from "./types";
3436

3537
export const plugins = [
3638
rootInstaller,
@@ -73,12 +75,4 @@ export {
7375
template,
7476
};
7577

76-
export {
77-
ACTIVATION,
78-
clearGlob,
79-
ClearOptions,
80-
CodeGeniusOptions,
81-
execCommand,
82-
loggerInfo,
83-
printInfo,
84-
};
78+
export { execCommand, loggerInfo, printInfo };

0 commit comments

Comments
 (0)