@kjanat/dreamcli 3.0.0-rc.2 → 3.0.0-rc.3

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
@@ -7,6 +7,16 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.0.0-rc.3] - 2026-07-06
11
+
12
+ ### Added
13
+
14
+ - **`@kjanat/dreamcli/version` subpath** — exposes the framework's own build
15
+ identity as `DREAMCLI_VERSION` and `DREAMCLI_REVISION` (git short SHA) for
16
+ diagnostics and bug reports. Deliberately a subpath rather than root exports
17
+ so the constants stay out of root-import IDE completions; both report
18
+ `'dev'` when running unbundled source.
19
+
10
20
  ## [3.0.0-rc.2] - 2026-07-06
11
21
 
12
22
  ### Added
@@ -1028,7 +1038,8 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1028
1038
  - MIT License.
1029
1039
  - Markdownlint configuration.
1030
1040
 
1031
- [Unreleased]: https://github.com/kjanat/dreamcli/compare/v3.0.0-rc.2...HEAD
1041
+ [Unreleased]: https://github.com/kjanat/dreamcli/compare/v3.0.0-rc.3...HEAD
1042
+ [3.0.0-rc.3]: https://github.com/kjanat/dreamcli/compare/v3.0.0-rc.2...v3.0.0-rc.3
1032
1043
  [3.0.0-rc.2]: https://github.com/kjanat/dreamcli/compare/v3.0.0-rc.1...v3.0.0-rc.2
1033
1044
  [3.0.0-rc.1]: https://github.com/kjanat/dreamcli/compare/v2.5.0...v3.0.0-rc.1
1034
1045
  [2.5.0]: https://github.com/kjanat/dreamcli/compare/v2.4.1...v2.5.0
@@ -1,12 +1,16 @@
1
1
  //#region src/version.d.ts
2
2
  /**
3
- * Build-time version constants.
3
+ * DreamCLI's own build-time version constants.
4
+ *
5
+ * Not the app version configured via `cli().version(...)` — these identify
6
+ * the framework build itself (diagnostics, bug reports, completion-script
7
+ * stamps). Kept on a dedicated subpath so they stay out of root-entrypoint
8
+ * import completions.
4
9
  *
5
10
  * Replaced by tsdown `define` during bundling. In development (unbundled),
6
11
  * the declared globals resolve to the `'dev'` fallback.
7
12
  *
8
- * @module dreamcli/version
9
- * @internal
13
+ * @module @kjanat/dreamcli/version
10
14
  */
11
15
  /** Package version (e.g. `"0.9.1"`). `"dev"` when running unbundled. */
12
16
  declare const DREAMCLI_VERSION: string;
package/dist/version.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  //#region src/version.ts
2
2
  /** Package version (e.g. `"0.9.1"`). `"dev"` when running unbundled. */
3
- const DREAMCLI_VERSION = "3.0.0-rc.2";
3
+ const DREAMCLI_VERSION = "3.0.0-rc.3";
4
4
  /** Git short SHA (e.g. `"f9b5f1a"`). `"dev"` when running unbundled. */
5
- const DREAMCLI_REVISION = "9ba0c14";
5
+ const DREAMCLI_REVISION = "539c625";
6
6
  //#endregion
7
7
  export { DREAMCLI_REVISION, DREAMCLI_VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kjanat/dreamcli",
3
- "version": "3.0.0-rc.2",
3
+ "version": "3.0.0-rc.3",
4
4
  "description": "Schema-first, fully typed TypeScript CLI framework",
5
5
  "keywords": ["dreamcli", "cli", "typescript", "framework", "schema-first", "command-line"],
6
6
  "homepage": "https://dreamcli.kjanat.dev",
@@ -39,6 +39,10 @@
39
39
  "types": "./dist/testkit.d.mts",
40
40
  "default": "./dist/testkit.mjs"
41
41
  },
42
+ "./version": {
43
+ "types": "./dist/version.d.mts",
44
+ "default": "./dist/version.mjs"
45
+ },
42
46
  "./package.json": "./package.json",
43
47
  "./schema": "./dreamcli.schema.json"
44
48
  },