@cyaxis/ulvia 0.0.2 → 0.0.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/README.md CHANGED
@@ -17,14 +17,16 @@ ulvia --help
17
17
  From the workspace, build and publish one exact release with:
18
18
 
19
19
  ```bash
20
- bun run cli:build --version 0.0.1-beta
21
- bun run cli:publish --version 0.0.1-beta
20
+ bun run cli:build --version 0.0.2 --stack-version 0.0.1-beta
21
+ bun run cli:publish --version 0.0.2
22
22
  ```
23
23
 
24
24
  The build creates a checked npm archive and SHA-256 receipt below
25
- `artifacts/cli`. Publishing accepts only that exact pair, targets the public npm
26
- registry, and uses the `next` tag for prereleases or `latest` for stable versions.
27
- It requires npm credentials configured outside the repository.
25
+ `artifacts/cli`. The CLI package version and its compatible initial Docker stack
26
+ version are independent and both are sealed into that receipt. Publishing
27
+ accepts only the exact pair, targets the public npm registry, and uses the
28
+ `next` tag for prereleases or `latest` for stable versions. It requires npm
29
+ credentials configured outside the repository.
28
30
 
29
31
  ```bash
30
32
  bun run ulvia -- start
package/dist/index.js CHANGED
@@ -2139,13 +2139,15 @@ function localKernelEnvironment(instance, config, connection, services, image) {
2139
2139
  }
2140
2140
 
2141
2141
  // packages/runtimes/ulvia-cli/src/runtime/stack/version.ts
2142
- var injectedReleaseVersion = "0.0.2";
2143
- var CLI_VERSION = injectedReleaseVersion ?? "development";
2142
+ var injectedCliVersion = "0.0.3";
2143
+ var injectedStackVersion = "0.0.1-beta";
2144
+ var CLI_VERSION = injectedCliVersion ?? "development";
2145
+ var DEFAULT_STACK_VERSION = injectedStackVersion ?? "unbundled";
2144
2146
  function defaultStackVersion() {
2145
- if (!injectedReleaseVersion) {
2147
+ if (!injectedStackVersion) {
2146
2148
  throw new Error("This development CLI has no bundled stack version. Pass --version <version> on the first start.");
2147
2149
  }
2148
- return injectedReleaseVersion;
2150
+ return injectedStackVersion;
2149
2151
  }
2150
2152
 
2151
2153
  // packages/runtimes/ulvia-cli/src/runtime/stack/orchestration/state.ts
@@ -3247,9 +3249,11 @@ var SERVICES_HELP = `Usage: ulvia services <start | stop | status | logs>
3247
3249
  Manage the shared proxy, MongoDB, Repository, and Provider.`;
3248
3250
  var START_HELP = `Usage: ulvia services start [--version <version>]
3249
3251
 
3250
- Start shared services. On their first start, use the CLI release version by
3252
+ Start shared services. On their first start, use the bundled stack version by
3251
3253
  default or the exact version supplied here. Existing installations keep their
3252
- pinned image digests; use ulvia upgrade for later changes.`;
3254
+ pinned image digests; use ulvia upgrade for later changes.
3255
+
3256
+ Bundled initial stack version: ${DEFAULT_STACK_VERSION}`;
3253
3257
  async function servicesCommand(args, paths, installation, log) {
3254
3258
  const [action, ...rest] = args;
3255
3259
  if (!action || action === "help" || action === "--help" || action === "-h") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyaxis/ulvia",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Ulvia CMS installation and release CLI.",
5
5
  "license": "MIT",
6
6
  "type": "module",