@mokup/cli 0.1.0 → 0.3.0
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/README.md +3 -1
- package/README.zh-CN.md +2 -1
- package/dist/index.cjs +859 -11
- package/dist/index.d.cts +5 -1
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.mjs +855 -10
- package/package.json +6 -8
- package/dist/cli.cjs +0 -118
- package/dist/cli.d.cts +0 -1
- package/dist/cli.d.mts +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.mjs +0 -116
- package/dist/shared/cli.BdZQ4JPf.cjs +0 -727
- package/dist/shared/cli.DqkcmI0-.mjs +0 -724
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Manifest } from '@mokup/runtime';
|
|
2
|
+
import { Command } from 'commander';
|
|
2
3
|
|
|
3
4
|
interface BuildOptions {
|
|
4
5
|
dir?: string | string[];
|
|
@@ -16,5 +17,8 @@ declare function buildManifest(options?: BuildOptions): Promise<{
|
|
|
16
17
|
manifestPath: string;
|
|
17
18
|
}>;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
declare function createCli(): Command;
|
|
21
|
+
declare function runCli(argv?: string[]): Promise<void>;
|
|
22
|
+
|
|
23
|
+
export { buildManifest, createCli, runCli };
|
|
20
24
|
export type { BuildOptions };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Manifest } from '@mokup/runtime';
|
|
2
|
+
import { Command } from 'commander';
|
|
2
3
|
|
|
3
4
|
interface BuildOptions {
|
|
4
5
|
dir?: string | string[];
|
|
@@ -16,5 +17,8 @@ declare function buildManifest(options?: BuildOptions): Promise<{
|
|
|
16
17
|
manifestPath: string;
|
|
17
18
|
}>;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
declare function createCli(): Command;
|
|
21
|
+
declare function runCli(argv?: string[]): Promise<void>;
|
|
22
|
+
|
|
23
|
+
export { buildManifest, createCli, runCli };
|
|
20
24
|
export type { BuildOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Manifest } from '@mokup/runtime';
|
|
2
|
+
import { Command } from 'commander';
|
|
2
3
|
|
|
3
4
|
interface BuildOptions {
|
|
4
5
|
dir?: string | string[];
|
|
@@ -16,5 +17,8 @@ declare function buildManifest(options?: BuildOptions): Promise<{
|
|
|
16
17
|
manifestPath: string;
|
|
17
18
|
}>;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
declare function createCli(): Command;
|
|
21
|
+
declare function runCli(argv?: string[]): Promise<void>;
|
|
22
|
+
|
|
23
|
+
export { buildManifest, createCli, runCli };
|
|
20
24
|
export type { BuildOptions };
|