@qui-cli/core 5.0.2 → 6.0.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [6.0.0](https://github.com/battis/qui-cli/compare/core/5.0.3...core/6.0.0) (2026-01-29)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * allow errors to be thrown
11
+
12
+ ### Bug Fixes
13
+
14
+ * allow errors to be thrown ([8bf98db](https://github.com/battis/qui-cli/commit/8bf98db45ebe06514cef02572d515379985c7067))
15
+ * preempt all other plugins if --help is set ([db99833](https://github.com/battis/qui-cli/commit/db9983336135080a5fecff6adbf2e2913f55fa8d))
16
+
17
+ ## [5.0.3](https://github.com/battis/qui-cli/compare/core/5.0.2...core/5.0.3) (2026-01-18)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * compile against Node.js v24 ([7b06b4f](https://github.com/battis/qui-cli/commit/7b06b4f4ac4f9688719041ab8b1d837b3a0ee214))
23
+
5
24
  ## [5.0.2](https://github.com/battis/qui-cli/compare/core/5.0.1...core/5.0.2) (2026-01-02)
6
25
 
7
26
 
package/dist/Core.js CHANGED
@@ -1,8 +1,6 @@
1
- import * as Colors from '@qui-cli/colors/dist/Colors.js';
2
1
  import * as Plugin from '@qui-cli/plugin';
3
2
  import * as JackSpeak from './JackSpeak.js';
4
3
  import * as Positionals from './Positionals.js';
5
- import { usage } from './Usage.js';
6
4
  export * from './Usage.js';
7
5
  let initialized = false;
8
6
  export async function configure(config = {}) {
@@ -36,15 +34,8 @@ export async function init(externalOptions) {
36
34
  return args;
37
35
  }
38
36
  export async function run(externalOptions) {
39
- try {
40
- if (!initialized) {
41
- await init(externalOptions);
42
- }
43
- return await Plugin.Registrar.run();
44
- }
45
- catch (e) {
46
- const error = e;
47
- console.log(`${Colors.error(error.message)}\n\n${usage()}`);
48
- process.exit(1);
37
+ if (!initialized) {
38
+ await init(externalOptions);
49
39
  }
40
+ return await Plugin.Registrar.run();
50
41
  }
package/dist/Help.d.ts CHANGED
@@ -7,4 +7,3 @@ export declare const name = "core.help";
7
7
  export declare function configure(config?: Configuration): void;
8
8
  export declare function options(): Plugin.Options;
9
9
  export declare function init({ values }: Plugin.ExpectedArguments<typeof options>): void;
10
- export declare function run(): void;
package/dist/Help.js CHANGED
@@ -17,8 +17,6 @@ export function options() {
17
17
  }
18
18
  export function init({ values }) {
19
19
  configure(values);
20
- }
21
- export function run() {
22
20
  if (help) {
23
21
  console.log(Core.usage());
24
22
  process.exit(0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qui-cli/core",
3
- "version": "5.0.2",
3
+ "version": "6.0.0",
4
4
  "description": "Core features of @qui-cli/qui-cli",
5
5
  "homepage": "https://github.com/battis/qui-cli/tree/main/packages/core#readme",
6
6
  "repository": {
@@ -19,16 +19,16 @@
19
19
  "dependencies": {
20
20
  "jackspeak": "^4.1.1",
21
21
  "wrap-ansi": "^9.0.2",
22
- "@qui-cli/colors": "3.2.1"
22
+ "@qui-cli/colors": "3.2.3"
23
23
  },
24
24
  "devDependencies": {
25
- "@tsconfig/node20": "^20.1.8",
26
- "@types/node": "^24.10.4",
25
+ "@tsconfig/node24": "^24.0.4",
26
+ "@types/node": "^24.10.9",
27
27
  "commit-and-tag-version": "^12.6.1",
28
- "del-cli": "^6.0.0",
28
+ "del-cli": "^7.0.0",
29
29
  "npm-run-all": "^4.1.5",
30
30
  "typescript": "^5.9.3",
31
- "@qui-cli/plugin": "4.0.0"
31
+ "@qui-cli/plugin": "4.1.0"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@qui-cli/plugin": ">=3"
@@ -39,6 +39,6 @@
39
39
  "build": "run-s build:*",
40
40
  "build:clean": "run-s clean",
41
41
  "build:compile": "tsc",
42
- "release": "commit-and-tag-version"
42
+ "version": "commit-and-tag-version"
43
43
  }
44
44
  }