@otalan/cli 1.3.1 → 1.3.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 +17 -0
- package/README.md +5 -3
- package/dist/bin.js +34 -32
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@otalan/cli` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.3.3 - 2026-05-18
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Write bundle archives as `bundle-<bundle-id>.zip` while keeping `otalan publish` compatible with legacy `bundle.zip` output.
|
|
10
|
+
|
|
11
|
+
## 1.3.2 - 2026-05-18
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Print the linked project and app before `otalan bundle` packages output.
|
|
16
|
+
- Store the selected app name in `otalan.config.json` during `otalan init`.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Include the linked app in release command context output.
|
|
21
|
+
|
|
5
22
|
## 1.3.1 - 2026-05-18
|
|
6
23
|
|
|
7
24
|
### Added
|
package/README.md
CHANGED
|
@@ -218,6 +218,7 @@ Example project config:
|
|
|
218
218
|
{
|
|
219
219
|
"organizationSlug": "example-organization",
|
|
220
220
|
"projectSlug": "example-project",
|
|
221
|
+
"appName": "Example App",
|
|
221
222
|
"appId": "com.example.app"
|
|
222
223
|
}
|
|
223
224
|
```
|
|
@@ -297,7 +298,7 @@ Creates `otalan.config.json` in the current project.
|
|
|
297
298
|
|
|
298
299
|
Run `otalan init` once per app repo or working folder. If you switch to another checkout, folder, or app project, run `otalan init` there too so that folder has its own `otalan.config.json`.
|
|
299
300
|
|
|
300
|
-
If you pass `--app-id`, the CLI validates that the app exists in the logged-in project before writing `otalan.config.json`. The CLI also stores `organizationSlug
|
|
301
|
+
If you pass `--app-id`, the CLI validates that the app exists in the logged-in project before writing `otalan.config.json`. The CLI also stores `organizationSlug`, `projectSlug`, and the selected app name as a safety check and display context.
|
|
301
302
|
|
|
302
303
|
```bash
|
|
303
304
|
otalan init
|
|
@@ -308,7 +309,7 @@ otalan init \
|
|
|
308
309
|
|
|
309
310
|
### `otalan bundle`
|
|
310
311
|
|
|
311
|
-
Builds `.otalan/bundle/bundle
|
|
312
|
+
Builds `.otalan/bundle/bundle-<bundle-id>.zip` and `.otalan/bundle/manifest.json`.
|
|
312
313
|
|
|
313
314
|
`.otalan/` is generated output. Add it to your app repo's `.gitignore`; `otalan publish` reads the bundle files from the current CI workspace after `otalan bundle` runs.
|
|
314
315
|
|
|
@@ -339,6 +340,7 @@ Current behavior:
|
|
|
339
340
|
- both outputs produce a ZIP plus `manifest.json`
|
|
340
341
|
- source map files (`*.map`) are omitted from bundle ZIPs by default; the CLI prints the omitted file count when any are skipped
|
|
341
342
|
- native project/source files are rejected before bundle output is written; OTA bundles must only contain generated web/update assets
|
|
343
|
+
- when `otalan.config.json` is available, the CLI prints the linked project and app before packaging
|
|
342
344
|
- 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
|
|
343
345
|
- `--platform` is required so the CLI exports the selected platform and resolves the correct runtime version
|
|
344
346
|
|
|
@@ -574,5 +576,5 @@ bun pm pack --dry-run
|
|
|
574
576
|
- Expo bundling uses `bunx expo ...`.
|
|
575
577
|
- Default API URL is `https://api.otalan.com`.
|
|
576
578
|
- Publishing, rollback, status, and `bundles` expect a CI key and an active app.
|
|
577
|
-
-
|
|
579
|
+
- Bundle and release commands print the linked project and app before continuing when project config is available.
|
|
578
580
|
- Run `bun run build` after changing CLI source if you want `dist/bin.js` updated locally.
|