@flowscripter/dynamic-cli-framework 5.4.2 → 5.4.4

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 +1 @@
1
- {"version":3,"file":"BaseCLI.d.ts","sourceRoot":"","sources":["../../../src/cli/BaseCLI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAIzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAGvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AA4BzE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AAGpD,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAgBpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,CAAC,OAAO,OAAO,OAAQ,YAAW,GAAG;;IAYzC,YACE,SAAS,EAAE,SAAS,EACpB,oBAAoB,EAAE,cAAc,EACpC,oBAAoB,EAAE,cAAc,EACpC,aAAa,EAAE,OAAO,EACtB,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,QAAQ,EACxB,cAAc,EAAE,QAAQ,EACxB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,GAAG,SAAS,EAChC,OAAO,CAAC,EAAE,qBAAqB,EAgEhC;IAED;;;;;;;OAOG;IACI,kBAAkB,CAAC,eAAe,EAAE,eAAe,QAEzD;IAED;;;;;;;;OAQG;IACI,UAAU,CAAC,OAAO,E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;IAEK,GAAG,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC,CA4MzD;CACF"}
@@ -208,7 +208,9 @@ export default class BaseCLI {
208
208
  this.addServiceProvider(new CompletionServiceProvider(5, completionService, this.#commandRegistry));
209
209
  }
210
210
  if (this.#options.upgradeServiceEnabled) {
211
- this.addServiceProvider(new UpgradeServiceProvider(6, this.#options.upgradeLocationsConfig));
211
+ // 56 runs after Spawn(58)/Fetch(57) - whose dependencies it needs
212
+ // but before the consumer-configured Banner/Plugin(50) priority band.
213
+ this.addServiceProvider(new UpgradeServiceProvider(56, this.#options.upgradeLocationsConfig));
212
214
  }
213
215
  if (this.#options.pluginServiceEnabled) {
214
216
  this.addServiceProvider(new PluginServiceProvider(50, this.#options.pluginServiceRemoteConfig, this.#options.pluginServiceLocalConfig, this.#commandRegistry, this.#serviceProviderRegistry));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowscripter/dynamic-cli-framework",
3
- "version": "5.4.2",
3
+ "version": "5.4.4",
4
4
  "description": "A framework for developing CLI applications which supports dynamic discovery and installation of new commands",
5
5
  "keywords": [
6
6
  "bun",
@@ -48,8 +48,8 @@
48
48
  "build": "tsc -p tsconfig.build.json"
49
49
  },
50
50
  "dependencies": {
51
- "@flowscripter/dynamic-cli-framework-api": "^2.3.3",
52
- "@flowscripter/dynamic-plugin-framework": "^2.2.4",
51
+ "@flowscripter/dynamic-cli-framework-api": "^2.3.4",
52
+ "@flowscripter/dynamic-plugin-framework": "^2.2.5",
53
53
  "emphasize": "^7.0.0",
54
54
  "fastest-levenshtein": "^1.0.16",
55
55
  "figlet": "^1.11.4",
@@ -60,7 +60,7 @@
60
60
  "supports-terminal-graphics": "^0.1.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@types/bun": "^1.4.0",
63
+ "@types/bun": "^1.4.1",
64
64
  "@types/node": "^26.4.1",
65
65
  "@types/semver": "^7.8.0",
66
66
  "oxfmt": "0.66.0",
@@ -294,7 +294,9 @@ export default class BaseCLI implements CLI {
294
294
  }
295
295
 
296
296
  if (this.#options.upgradeServiceEnabled) {
297
- this.addServiceProvider(new UpgradeServiceProvider(6, this.#options.upgradeLocationsConfig));
297
+ // 56 runs after Spawn(58)/Fetch(57) - whose dependencies it needs
298
+ // but before the consumer-configured Banner/Plugin(50) priority band.
299
+ this.addServiceProvider(new UpgradeServiceProvider(56, this.#options.upgradeLocationsConfig));
298
300
  }
299
301
 
300
302
  if (this.#options.pluginServiceEnabled) {