@flowscripter/example-cli 1.8.10 → 1.8.12
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
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"": {
|
|
6
6
|
"name": "@flowscripter/example-cli",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@flowscripter/dynamic-cli-framework": "5.
|
|
8
|
+
"@flowscripter/dynamic-cli-framework": "5.4.0",
|
|
9
9
|
"@flowscripter/dynamic-cli-framework-api": "^2.3.2",
|
|
10
10
|
"@flowscripter/dynamic-plugin-framework": "2.2.4",
|
|
11
11
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
23
|
"packages": {
|
|
24
|
-
"@flowscripter/dynamic-cli-framework": ["@flowscripter/dynamic-cli-framework@5.
|
|
24
|
+
"@flowscripter/dynamic-cli-framework": ["@flowscripter/dynamic-cli-framework@5.4.0", "", { "dependencies": { "@flowscripter/dynamic-cli-framework-api": "^2.3.2", "@flowscripter/dynamic-plugin-framework": "^2.2.4", "emphasize": "^7.0.0", "fastest-levenshtein": "^1.0.16", "figlet": "^1.11.4", "highlight.js": "^11.12.0", "prettier": "^3.9.6", "semver": "^7.8.5", "supports-color": "^11.0.0", "supports-terminal-graphics": "^0.1.0" }, "peerDependencies": { "typescript": "^7.0.2" } }, "sha512-C/ptYPjV1nXLkcjJ6gPe2T0oE19o27mSLLzB1y4+tZ4xFgDpq98mYsdorw0UR07OsgjQV1+60TUR7z3ZnpK9Nw=="],
|
|
25
25
|
|
|
26
26
|
"@flowscripter/dynamic-cli-framework-api": ["@flowscripter/dynamic-cli-framework-api@2.3.2", "", { "peerDependencies": { "typescript": "^7.0.2" } }, "sha512-N6icoIP5WBRt2EUF+PLWZr5iXAbAxa6QGkfBZNbxjJ5Z13+vUyTaTF6jEKGNv/9ekwTTmo0eBvOCqTNtFBi7zw=="],
|
|
27
27
|
|
|
@@ -24,11 +24,13 @@ Feature: Plugin management
|
|
|
24
24
|
And the stderr should contain "Version 0.0.0-does-not-exist of plugin @flowscripter/example-cli-plugin was not found in the configured plugin registry"
|
|
25
25
|
|
|
26
26
|
Scenario: Install example-cli-plugin
|
|
27
|
+
# dynamic-cli-framework 5.4.0+ shows "Searching for plugin: ..."/"Installing ..." via a
|
|
28
|
+
# spinner (PrinterService.showSpinner()), which is a documented no-op when stderr is not a
|
|
29
|
+
# TTY - so this non-interactive capture won't see that text in stderr. Only the final result
|
|
30
|
+
# message (printed via print(), not the spinner) is checked here.
|
|
27
31
|
When the executable stdout is captured for "--no-prompt plugin:add @flowscripter/example-cli-plugin" with timeout 60s
|
|
28
32
|
Then the captured process should complete with exit code 0
|
|
29
33
|
And the stdout should contain "installed"
|
|
30
|
-
And the stderr should contain "Searching for plugin: @flowscripter/example-cli-plugin\n"
|
|
31
|
-
And the stderr should contain "Installing @flowscripter/example-cli-plugin"
|
|
32
34
|
|
|
33
35
|
Scenario: Installing example-cli-plugin does not pull in the full dynamic-cli-framework
|
|
34
36
|
Then the installed plugin dependencies should not include "figlet, emphasize, highlight.js, prettier, supports-color, supports-terminal-graphics"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowscripter/example-cli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.12",
|
|
4
4
|
"description": "Simple example CLI using https://github.com/flowscripter/dynamic-cli-framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bun",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"access": "public"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@flowscripter/dynamic-cli-framework": "5.
|
|
27
|
+
"@flowscripter/dynamic-cli-framework": "5.4.0",
|
|
28
28
|
"@flowscripter/dynamic-cli-framework-api": "^2.3.2",
|
|
29
29
|
"@flowscripter/dynamic-plugin-framework": "2.2.4"
|
|
30
30
|
},
|