@otalan/cli 1.3.0 → 1.3.1
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 +6 -0
- package/README.md +2 -0
- package/dist/bin.js +16 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@otalan/cli` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.3.1 - 2026-05-18
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Check for an already published bundle ID during `otalan bundle` when auth and project config are available.
|
|
10
|
+
|
|
5
11
|
## 1.3.0 - 2026-05-18
|
|
6
12
|
|
|
7
13
|
### Added
|
package/README.md
CHANGED
|
@@ -339,6 +339,7 @@ Current behavior:
|
|
|
339
339
|
- both outputs produce a ZIP plus `manifest.json`
|
|
340
340
|
- source map files (`*.map`) are omitted from bundle ZIPs by default; the CLI prints the omitted file count when any are skipped
|
|
341
341
|
- native project/source files are rejected before bundle output is written; OTA bundles must only contain generated web/update assets
|
|
342
|
+
- when `otalan login` and `otalan init` are configured, the CLI checks that the selected `bundleId` is not already published for the selected platform, runtimeVersion, and channel before writing bundle output
|
|
342
343
|
- `--platform` is required so the CLI exports the selected platform and resolves the correct runtime version
|
|
343
344
|
|
|
344
345
|
Runtime version defaults:
|
|
@@ -386,6 +387,7 @@ If you omit `bundleId`:
|
|
|
386
387
|
- in an interactive terminal, the CLI prompts for a bundle ID and shows the local bundle ID from `.otalan/bundle/manifest.json` when available
|
|
387
388
|
- when `otalan login` and `otalan init` are configured, the prompt also shows the active published bundle ID for the selected platform/runtime version/channel
|
|
388
389
|
- published bundle hints use `--channel`, defaulting to `production`
|
|
390
|
+
- duplicate published bundle ID checks use the same `--channel` value and default to `production`
|
|
389
391
|
- pressing Enter without a bundle ID keeps the automatic bundle ID behavior
|
|
390
392
|
- the CLI reads `runtimeVersion` from the selected platform and adds a short hash suffix
|
|
391
393
|
- example: `1.0.0-abc123def456`
|