@otalan/cli 1.0.1 → 1.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/CHANGELOG.md +13 -0
- package/README.md +14 -0
- package/dist/bin.js +42 -40
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@otalan/cli` will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.0.3 - 2026-05-04
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Prompt interactively for bundle native version and bundle ID, with hints for the detected native version, local bundle ID, and active published bundle ID when available.
|
|
10
|
+
|
|
11
|
+
## 1.0.2 - 2026-05-04
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Add `otalan version`, `otalan --version`, and `otalan -v`.
|
|
16
|
+
- Show the installed CLI version in help output.
|
|
17
|
+
|
|
5
18
|
## 1.0.1 - 2026-05-04
|
|
6
19
|
|
|
7
20
|
### Changed
|
package/README.md
CHANGED
|
@@ -216,6 +216,15 @@ Example project config:
|
|
|
216
216
|
|
|
217
217
|
Shows the available commands.
|
|
218
218
|
|
|
219
|
+
### `otalan version`
|
|
220
|
+
|
|
221
|
+
Prints the installed CLI version.
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
otalan version
|
|
225
|
+
otalan --version
|
|
226
|
+
```
|
|
227
|
+
|
|
219
228
|
### `otalan login`
|
|
220
229
|
|
|
221
230
|
Saves the CI key and API base URL locally.
|
|
@@ -284,6 +293,7 @@ Current behavior:
|
|
|
284
293
|
|
|
285
294
|
Native version defaults:
|
|
286
295
|
|
|
296
|
+
- In an interactive terminal, `otalan bundle` prompts for the native version after showing the detected active native version.
|
|
287
297
|
- Capacitor iOS reads `CFBundleShortVersionString` from `Info.plist` and resolves `$(MARKETING_VERSION)` from the Xcode project when needed
|
|
288
298
|
- Capacitor Android reads `versionName` from `android/app/build.gradle` or `build.gradle.kts`
|
|
289
299
|
- Expo reads the selected platform version from Expo config and falls back to the top-level Expo `version`
|
|
@@ -301,6 +311,10 @@ otalan bundle --target expo --platform ios --bundle-id 1.0.5
|
|
|
301
311
|
|
|
302
312
|
If you omit `bundleId`:
|
|
303
313
|
|
|
314
|
+
- in an interactive terminal, the CLI prompts for a bundle ID and shows the local bundle ID from `.otalan/bundle/manifest.json` when available
|
|
315
|
+
- when `otalan login` and `otalan init` are configured, the prompt also shows the active published bundle ID for the selected platform/native version/channel
|
|
316
|
+
- published bundle hints use `--channel`, defaulting to `production`
|
|
317
|
+
- pressing Enter without a bundle ID keeps the automatic bundle ID behavior
|
|
304
318
|
- the CLI reads `nativeVersion` from the selected native platform and adds a short hash suffix
|
|
305
319
|
- example: `1.0.0-abc123def456`
|
|
306
320
|
|