@flowscripter/example-cli-plugin 1.1.1 → 1.1.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.
@@ -1,4 +1,4 @@
1
- import type { SubCommand } from "@flowscripter/dynamic-cli-framework/plugin";
1
+ import type { SubCommand } from "@flowscripter/dynamic-cli-framework/cli-plugin";
2
2
  declare const helloCommand: SubCommand;
3
3
  export default helloCommand;
4
4
  //# sourceMappingURL=HelloCommand.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelloCommand.d.ts","sourceRoot":"","sources":["../../../src/command/HelloCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EAIX,MAAM,4CAA4C,CAAC;AAQpD,QAAA,MAAM,YAAY,EAAE,UAqBnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"HelloCommand.d.ts","sourceRoot":"","sources":["../../../src/command/HelloCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EAIX,MAAM,gDAAgD,CAAC;AAQxD,QAAA,MAAM,YAAY,EAAE,UAqBnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { CommandFactory } from "@flowscripter/dynamic-cli-framework/plugin";
1
+ import type { CommandFactory } from "@flowscripter/dynamic-cli-framework/cli-plugin";
2
2
  export default class DemoCommandFactory implements CommandFactory {
3
3
  getCommands(): import("@flowscripter/dynamic-cli-framework").SubCommand[];
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DemoCommandFactory.d.ts","sourceRoot":"","sources":["../../../src/factory/DemoCommandFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAGjF,MAAM,CAAC,OAAO,OAAO,kBAAmB,YAAW,cAAc;IAC/D,WAAW;CAGZ"}
1
+ {"version":3,"file":"DemoCommandFactory.d.ts","sourceRoot":"","sources":["../../../src/factory/DemoCommandFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAGrF,MAAM,CAAC,OAAO,OAAO,kBAAmB,YAAW,cAAc;IAC/D,WAAW;CAGZ"}
@@ -1,4 +1,4 @@
1
- import type { ServiceProviderFactory } from "@flowscripter/dynamic-cli-framework/plugin";
1
+ import type { ServiceProviderFactory } from "@flowscripter/dynamic-cli-framework/cli-plugin";
2
2
  import DemoServiceProvider from "../service/DemoServiceProvider.ts";
3
3
  export default class DemoServiceProviderFactory implements ServiceProviderFactory {
4
4
  getServiceProviders(): DemoServiceProvider[];
@@ -1 +1 @@
1
- {"version":3,"file":"DemoServiceProviderFactory.d.ts","sourceRoot":"","sources":["../../../src/factory/DemoServiceProviderFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,mBAAmB,MAAM,mCAAmC,CAAC;AAEpE,MAAM,CAAC,OAAO,OAAO,0BAA2B,YAAW,sBAAsB;IAC/E,mBAAmB;CAGpB"}
1
+ {"version":3,"file":"DemoServiceProviderFactory.d.ts","sourceRoot":"","sources":["../../../src/factory/DemoServiceProviderFactory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,mBAAmB,MAAM,mCAAmC,CAAC;AAEpE,MAAM,CAAC,OAAO,OAAO,0BAA2B,YAAW,sBAAsB;IAC/E,mBAAmB;CAGpB"}
@@ -1,3 +1,3 @@
1
- declare const _default: import("@flowscripter/dynamic-cli-framework/plugin").CLIPlugin;
1
+ declare const _default: import("@flowscripter/dynamic-cli-framework/cli-plugin").CLIPlugin;
2
2
  export default _default;
3
3
  //# sourceMappingURL=plugin.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { ServiceProvider, ServiceInfo, CLIConfig, Context } from "@flowscripter/dynamic-cli-framework/plugin";
1
+ import type { ServiceProvider, ServiceInfo, CLIConfig, Context } from "@flowscripter/dynamic-cli-framework/cli-plugin";
2
2
  export default class DemoServiceProvider implements ServiceProvider {
3
3
  readonly serviceId = "DEMO_SERVICE";
4
4
  readonly servicePriority = 10;
@@ -1 +1 @@
1
- {"version":3,"file":"DemoServiceProvider.d.ts","sourceRoot":"","sources":["../../../src/service/DemoServiceProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,WAAW,EACX,SAAS,EACT,OAAO,EACR,MAAM,4CAA4C,CAAC;AAIpD,MAAM,CAAC,OAAO,OAAO,mBAAoB,YAAW,eAAe;IACjE,QAAQ,CAAC,SAAS,kBAAmB;IACrC,QAAQ,CAAC,eAAe,MAAM;IAExB,cAAc,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC,WAAW,CAAC;IAI3D,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;CACpD"}
1
+ {"version":3,"file":"DemoServiceProvider.d.ts","sourceRoot":"","sources":["../../../src/service/DemoServiceProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,WAAW,EACX,SAAS,EACT,OAAO,EACR,MAAM,gDAAgD,CAAC;AAIxD,MAAM,CAAC,OAAO,OAAO,mBAAoB,YAAW,eAAe;IACjE,QAAQ,CAAC,SAAS,kBAAmB;IACrC,QAAQ,CAAC,eAAe,MAAM;IAExB,cAAc,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC,WAAW,CAAC;IAI3D,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;CACpD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowscripter/example-cli-plugin",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Example CLI plugin for the https://github.com/flowscripter/dynamic-cli-framework",
5
5
  "keywords": [
6
6
  "bun",
@@ -45,7 +45,7 @@
45
45
  "cowsay": "^1.6.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@flowscripter/dynamic-cli-framework": "1.7.0",
48
+ "@flowscripter/dynamic-cli-framework": "1.7.3",
49
49
  "@types/bun": "^1.3.14",
50
50
  "oxfmt": "0.56.0",
51
51
  "oxlint": "1.71.0"
@@ -3,11 +3,11 @@ import type {
3
3
  Context,
4
4
  ArgumentValues,
5
5
  PrinterService,
6
- } from "@flowscripter/dynamic-cli-framework/plugin";
6
+ } from "@flowscripter/dynamic-cli-framework/cli-plugin";
7
7
  import {
8
8
  ArgumentValueTypeName,
9
9
  PRINTER_SERVICE_ID,
10
- } from "@flowscripter/dynamic-cli-framework/plugin";
10
+ } from "@flowscripter/dynamic-cli-framework/cli-plugin";
11
11
  import { DEMO_SERVICE_ID } from "../service/DemoService.ts";
12
12
  import type DemoService from "../service/DemoService.ts";
13
13
 
@@ -1,4 +1,4 @@
1
- import type { CommandFactory } from "@flowscripter/dynamic-cli-framework/plugin";
1
+ import type { CommandFactory } from "@flowscripter/dynamic-cli-framework/cli-plugin";
2
2
  import helloCommand from "../command/HelloCommand.ts";
3
3
 
4
4
  export default class DemoCommandFactory implements CommandFactory {
@@ -1,4 +1,4 @@
1
- import type { ServiceProviderFactory } from "@flowscripter/dynamic-cli-framework/plugin";
1
+ import type { ServiceProviderFactory } from "@flowscripter/dynamic-cli-framework/cli-plugin";
2
2
  import DemoServiceProvider from "../service/DemoServiceProvider.ts";
3
3
 
4
4
  export default class DemoServiceProviderFactory implements ServiceProviderFactory {
package/src/plugin.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { createCLIPlugin } from "@flowscripter/dynamic-cli-framework/plugin";
1
+ import { createCLIPlugin } from "@flowscripter/dynamic-cli-framework/cli-plugin";
2
2
  import DemoCommandFactory from "./factory/DemoCommandFactory.ts";
3
3
  import DemoServiceProviderFactory from "./factory/DemoServiceProviderFactory.ts";
4
4
 
@@ -3,7 +3,7 @@ import type {
3
3
  ServiceInfo,
4
4
  CLIConfig,
5
5
  Context,
6
- } from "@flowscripter/dynamic-cli-framework/plugin";
6
+ } from "@flowscripter/dynamic-cli-framework/cli-plugin";
7
7
  import { DEMO_SERVICE_ID } from "./DemoService.ts";
8
8
  import DefaultDemoService from "./DefaultDemoService.ts";
9
9