@flowscripter/example-cli 1.8.4 → 1.8.5

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.
@@ -2,7 +2,7 @@ Feature: Plugin management
2
2
 
3
3
  Note: These scenarios require @flowscripter/example-cli-plugin to be
4
4
  published on npmjs.com and the test machine to have network access.
5
- The plugin install folder is ~/.example-cli/plugins.
5
+ The plugin install folder is ~/.examplecli/plugins.
6
6
 
7
7
  Scenario: Search for example-cli-plugin on npmjs
8
8
  When the executable is launched with "plugin:search example-cli-plugin"
@@ -105,7 +105,7 @@ def step_impl(context):
105
105
 
106
106
  @then('the installed plugin dependencies should not include "{packages}"')
107
107
  def step_impl(context, packages):
108
- plugins_node_modules = os.path.expanduser('~/.example-cli/plugins/node_modules')
108
+ plugins_node_modules = os.path.expanduser('~/.examplecli/plugins/node_modules')
109
109
  found = []
110
110
  for package in packages.split(','):
111
111
  package = package.strip()
@@ -3,7 +3,7 @@ import os
3
3
  from behave import then
4
4
 
5
5
  PLUGINS_NODE_MODULES = os.path.expanduser(
6
- os.path.join('~', '.example-cli', 'plugins', 'node_modules')
6
+ os.path.join('~', '.examplecli', 'plugins', 'node_modules')
7
7
  )
8
8
 
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowscripter/example-cli",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "Simple example CLI using https://github.com/flowscripter/dynamic-cli-framework",
5
5
  "keywords": [
6
6
  "bun",
package/src/cli.ts CHANGED
@@ -13,7 +13,7 @@ import path from "node:path";
13
13
  import os from "node:os";
14
14
 
15
15
  export async function cli(): Promise<void> {
16
- const pluginsDir = path.join(os.homedir(), ".example-cli", "plugins", "node_modules");
16
+ const pluginsDir = path.join(os.homedir(), ".examplecli", "plugins", "node_modules");
17
17
 
18
18
  await launchMultiCommandCLI(
19
19
  [demo],