@flowscripter/example-cli 1.0.0 → 1.0.2
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/bun.lock +5 -5
- package/index.ts +1 -1
- package/package.json +20 -3
- package/src/cli.ts +1 -1
package/bun.lock
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
"": {
|
|
5
5
|
"name": "@flowscripter/example-cli",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@flowscripter/dynamic-cli-framework": "^1.0.
|
|
7
|
+
"@flowscripter/dynamic-cli-framework": "^1.0.8",
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@types/bun": "^1.2.
|
|
10
|
+
"@types/bun": "^1.2.5",
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"typescript": "^5.8.2",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
"packages": {
|
|
18
|
-
"@flowscripter/dynamic-cli-framework": ["@flowscripter/dynamic-cli-framework@1.0.
|
|
18
|
+
"@flowscripter/dynamic-cli-framework": ["@flowscripter/dynamic-cli-framework@1.0.8", "", { "dependencies": { "emphasize": "^7.0.0", "fastest-levenshtein": "^1.0.16", "figlet": "^1.8.0", "highlight.js": "^11.11.1", "supports-color": "^10.0.0", "ts-log": "^2.2.7" }, "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-dyf12LQFHHO6G02otbkb7M1JaO930Xt0ORTFrhPlGsbMeF0sInnT4QOk029aULROxaGYlf96RMVfBZNmwYInoQ=="],
|
|
19
19
|
|
|
20
|
-
"@types/bun": ["@types/bun@1.2.
|
|
20
|
+
"@types/bun": ["@types/bun@1.2.5", "", { "dependencies": { "bun-types": "1.2.5" } }, "sha512-w2OZTzrZTVtbnJew1pdFmgV99H0/L+Pvw+z1P67HaR18MHOzYnTYOi6qzErhK8HyT+DB782ADVPPE92Xu2/Opg=="],
|
|
21
21
|
|
|
22
22
|
"@types/hast": ["@types/hast@3.0.4", "", { "dependencies": { "@types/unist": "*" } }, "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ=="],
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
"@types/ws": ["@types/ws@8.5.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw=="],
|
|
29
29
|
|
|
30
|
-
"bun-types": ["bun-types@1.2.
|
|
30
|
+
"bun-types": ["bun-types@1.2.5", "", { "dependencies": { "@types/node": "*", "@types/ws": "~8.5.10" } }, "sha512-3oO6LVGGRRKI4kHINx5PIdIgnLRb7l/SprhzqXapmoYkFl5m4j6EvALvbDVuuBFaamB46Ap6HCUxIXNLCGy+tg=="],
|
|
31
31
|
|
|
32
32
|
"chalk": ["chalk@5.4.1", "", {}, "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w=="],
|
|
33
33
|
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,18 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowscripter/example-cli",
|
|
3
|
+
"description": "Simple example CLI using https://github.com/flowscripter/dynamic-cli-framework",
|
|
4
|
+
"homepage": "https://github.com/flowscripter/example-cli#readme",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/flowscripter/example-cli.git"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"bun",
|
|
12
|
+
"example",
|
|
13
|
+
"plugin",
|
|
14
|
+
"framework",
|
|
15
|
+
"dynamic",
|
|
16
|
+
"import",
|
|
17
|
+
"executable",
|
|
18
|
+
"cli"
|
|
19
|
+
],
|
|
3
20
|
"module": "index.ts",
|
|
4
21
|
"type": "module",
|
|
5
|
-
"version": "1.0.
|
|
22
|
+
"version": "1.0.2",
|
|
6
23
|
"publishConfig": {
|
|
7
24
|
"access": "public"
|
|
8
25
|
},
|
|
9
26
|
"devDependencies": {
|
|
10
|
-
"@types/bun": "^1.2.
|
|
27
|
+
"@types/bun": "^1.2.5"
|
|
11
28
|
},
|
|
12
29
|
"peerDependencies": {
|
|
13
30
|
"typescript": "^5.8.2"
|
|
14
31
|
},
|
|
15
32
|
"dependencies": {
|
|
16
|
-
"@flowscripter/dynamic-cli-framework": "^1.0.
|
|
33
|
+
"@flowscripter/dynamic-cli-framework": "^1.0.8"
|
|
17
34
|
}
|
|
18
35
|
}
|
package/src/cli.ts
CHANGED
|
@@ -16,7 +16,7 @@ export async function cli(): Promise<void> {
|
|
|
16
16
|
await launchMultiCommandCLI(
|
|
17
17
|
[command1, command2],
|
|
18
18
|
"Simple example CLI using dynamic-cli-framework.",
|
|
19
|
-
|
|
19
|
+
"example-cli", // alternatively, name can be derived from executable name if this is not defined
|
|
20
20
|
packageJson.version,
|
|
21
21
|
false, // simple example, so disable env vars support for configuration defaults
|
|
22
22
|
false, // simple example, so disable configuration support
|