@moku-labs/native 0.3.10 → 0.3.12
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 +16 -4
- package/dist/index.cjs +1445 -479
- package/dist/index.d.cts +63 -26
- package/dist/index.d.mts +63 -26
- package/dist/index.mjs +1445 -479
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -39,7 +39,7 @@ type BuildFlavor = {
|
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```ts
|
|
42
|
-
* await
|
|
42
|
+
* await app.build.run({ target: "android", debug: true });
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
debug?: boolean | undefined;
|
|
@@ -113,6 +113,19 @@ type CapabilityConfigMap = {
|
|
|
113
113
|
* ```
|
|
114
114
|
*/
|
|
115
115
|
type Orientation = "portrait" | "landscape" | "any";
|
|
116
|
+
/**
|
|
117
|
+
* One Info.plist value: a `<string>`, a `<true/>`/`<false/>`, an `<array>` or a `<dict>`,
|
|
118
|
+
* nested as deep as the key needs.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* ```ts
|
|
122
|
+
* const encryption: PlistValue = false; // ITSAppUsesNonExemptEncryption
|
|
123
|
+
* const transport: PlistValue = { NSAllowsLocalNetworking: true }; // NSAppTransportSecurity
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
type PlistValue = string | boolean | readonly PlistValue[] | {
|
|
127
|
+
readonly [key: string]: PlistValue;
|
|
128
|
+
};
|
|
116
129
|
/** How `tauri ios build` exports the signed archive (`--export-method`). */
|
|
117
130
|
type AppleExportMethod = "app-store-connect" | "release-testing" | "debugging";
|
|
118
131
|
/**
|
|
@@ -153,8 +166,8 @@ type Config = {
|
|
|
153
166
|
* App identity, store metadata and presentation — project.onInit validates
|
|
154
167
|
* name/identifier are non-empty (reverse-DNS identifier). `icon` is a 1024x1024 PNG
|
|
155
168
|
* relative to cwd (a placeholder is generated when unset); `category` maps to
|
|
156
|
-
* `bundle.category`; `buildNumber` maps to the iOS/macOS `bundleVersion
|
|
157
|
-
* `orientation` locks the mobile screen at build time; `backgroundColor` paints the
|
|
169
|
+
* `bundle.category`; `buildNumber` maps to the iOS/macOS `bundleVersion` and, a whole
|
|
170
|
+
* number from 1 to 2 100 000 000, to the Android `versionCode`; `orientation` locks the mobile screen at build time; `backgroundColor` paints the
|
|
158
171
|
* native window behind the page.
|
|
159
172
|
*/
|
|
160
173
|
app: {
|
|
@@ -173,8 +186,10 @@ type Config = {
|
|
|
173
186
|
/**
|
|
174
187
|
* Hex window colour (`"#10161d"`, or `"#10161dff"` with alpha) →
|
|
175
188
|
* `app.windows[0].backgroundColor`. Shows during launch and behind any gap the page
|
|
176
|
-
* does not cover. Android
|
|
177
|
-
* dark
|
|
189
|
+
* does not cover. On Android it also paints the activity window and the icon splash,
|
|
190
|
+
* so no dark frame shows before the page's first paint, and the status bar icons follow
|
|
191
|
+
* it: light icons on a dark colour, dark icons on a light one. Unset leaves the
|
|
192
|
+
* platform default (white in light mode).
|
|
178
193
|
*/
|
|
179
194
|
backgroundColor?: string;
|
|
180
195
|
/**
|
|
@@ -188,6 +203,16 @@ type Config = {
|
|
|
188
203
|
* ```
|
|
189
204
|
*/
|
|
190
205
|
adaptiveIconInset?: number;
|
|
206
|
+
/**
|
|
207
|
+
* iOS: the app turns the idle timer off at launch, so the screen does not dim while it
|
|
208
|
+
* runs. Android keeps it on from the page. Unset leaves the idle timer on.
|
|
209
|
+
*
|
|
210
|
+
* @example
|
|
211
|
+
* ```ts
|
|
212
|
+
* createApp({ config: { app: { name: "Demo", identifier: "com.acme.demo", keepScreenOn: true } } });
|
|
213
|
+
* ```
|
|
214
|
+
*/
|
|
215
|
+
keepScreenOn?: boolean;
|
|
191
216
|
}; /** Web build/dev wiring codegenned into tauri.conf.json. cwd for monorepo layouts. */
|
|
192
217
|
web: {
|
|
193
218
|
build: string;
|
|
@@ -204,6 +229,21 @@ type Config = {
|
|
|
204
229
|
projectDir: string; /** Installer delivery root. */
|
|
205
230
|
outDir: string; /** Signing env-var references. */
|
|
206
231
|
signing: SigningConfig;
|
|
232
|
+
/**
|
|
233
|
+
* What an iOS app adds to its bundle. `infoPlist` merges into `Info.plist`, where
|
|
234
|
+
* `app.orientation` wins a shared key; `privacyManifest` is the absolute path of the file
|
|
235
|
+
* the bundle carries as `PrivacyInfo.xcprivacy`. Unset, a manifest an earlier build left
|
|
236
|
+
* in the generated tree is removed.
|
|
237
|
+
*
|
|
238
|
+
* @example
|
|
239
|
+
* ```ts
|
|
240
|
+
* createApp({ config: { ios: { infoPlist: { ITSAppUsesNonExemptEncryption: false } } } });
|
|
241
|
+
* ```
|
|
242
|
+
*/
|
|
243
|
+
ios?: {
|
|
244
|
+
infoPlist?: Readonly<Record<string, PlistValue>>;
|
|
245
|
+
privacyManifest?: string;
|
|
246
|
+
};
|
|
207
247
|
};
|
|
208
248
|
/** native:phase payload — one flat event, target as a field (context decision). */
|
|
209
249
|
type NativePhaseEvent = {
|
|
@@ -267,8 +307,9 @@ type CompletenessResult = {
|
|
|
267
307
|
};
|
|
268
308
|
/**
|
|
269
309
|
* Result of the idempotent mobile patch pass: Android release signing and the main
|
|
270
|
-
* activity's manifest attributes, the iOS Xcode build settings,
|
|
271
|
-
* on both platforms. A file several patches
|
|
310
|
+
* activity's manifest attributes, the iOS Xcode build settings, deployment target and
|
|
311
|
+
* privacy manifest, and the runner command on both platforms. A file several patches
|
|
312
|
+
* touched is listed once; a file a patch removed is listed as patched.
|
|
272
313
|
*/
|
|
273
314
|
type PatchResult = {
|
|
274
315
|
readonly patched: readonly string[];
|
|
@@ -384,21 +425,10 @@ type DeepLinkConf = {
|
|
|
384
425
|
* the app at startup.
|
|
385
426
|
*/
|
|
386
427
|
type TauriConfFragment = Record<string, never> | DeepLinkConf;
|
|
387
|
-
/**
|
|
388
|
-
* One Info.plist value: a `<string>`, a `<true/>`/`<false/>`, or an `<array>` of strings.
|
|
389
|
-
*
|
|
390
|
-
* @example
|
|
391
|
-
* ```ts
|
|
392
|
-
* const fullScreen: PlistValue = true; // <true/>
|
|
393
|
-
* const portrait: PlistValue = ["UIInterfaceOrientationPortrait"];
|
|
394
|
-
* // <array><string>UIInterfaceOrientationPortrait</string></array>
|
|
395
|
-
* ```
|
|
396
|
-
*/
|
|
397
|
-
type PlistValue = string | boolean | readonly string[];
|
|
398
428
|
/**
|
|
399
429
|
* An Info.ios.plist sidecar entry (src-tauri root, outside gen/), which Tauri merges into
|
|
400
430
|
* the app's Info.plist on every iOS build. No registry row carries one today; the
|
|
401
|
-
* orientation lock
|
|
431
|
+
* orientation lock and `ios.infoPlist` do.
|
|
402
432
|
*/
|
|
403
433
|
type PlistEntry = {
|
|
404
434
|
key: string;
|
|
@@ -449,8 +479,8 @@ type Api$4 = {
|
|
|
449
479
|
* write-if-changed writer. When the `shell` capability is composed for the target (named
|
|
450
480
|
* in `config.system`, or implied by the debug profile on android), the
|
|
451
481
|
* `tauri-plugin-moku-shell` crate is generated under `plugins/moku-shell/` too, with the
|
|
452
|
-
* profile baked into its page script. Without the shell, the
|
|
453
|
-
*
|
|
482
|
+
* profile baked into its page script. Without the shell, the profile changes one key: the
|
|
483
|
+
* store profile sets `build.removeUnusedCommands` in `tauri.conf.json`.
|
|
454
484
|
*
|
|
455
485
|
* @param opts - The generate options.
|
|
456
486
|
* @param opts.target - The packaging target to generate for.
|
|
@@ -514,9 +544,13 @@ type Api$4 = {
|
|
|
514
544
|
* signing (the debug keystore under `HOME` ?? `USERPROFILE` in the debug profile), the
|
|
515
545
|
* main activity's manifest attributes (the orientation lock among them) and the status
|
|
516
546
|
* bar style in MainActivity.kt (light icons on a dark `app.backgroundColor`, dark icons
|
|
517
|
-
* on a light one); iOS gets the Xcode entitlements-modification setting
|
|
547
|
+
* on a light one); iOS gets the Xcode entitlements-modification setting, the deployment
|
|
548
|
+
* target (`signing.apple.iosMinimumSystemVersion`, or its default) and the privacy manifest
|
|
549
|
+
* (`ios.privacyManifest`; unset removes one an earlier pass added), each in `project.yml`
|
|
550
|
+
* and `project.pbxproj`, because a kept tree never runs xcodegen again; both get the
|
|
518
551
|
* Xcode/Android-Studio runner-command rewrite when a `runner` is supplied. The build
|
|
519
552
|
* plugin calls it after the mobile init pass, with the runner from `tauri.getRunner()`.
|
|
553
|
+
* A `gen/apple` tree that was never initialised reports nothing.
|
|
520
554
|
*
|
|
521
555
|
* @param opts - The patch options.
|
|
522
556
|
* @param opts.target - The mobile platform to patch.
|
|
@@ -524,7 +558,9 @@ type Api$4 = {
|
|
|
524
558
|
* @param opts.profile - The build profile; `"store"` when omitted.
|
|
525
559
|
* @returns The paths patched vs. left unchanged.
|
|
526
560
|
* @throws {Error} `[native]` in the debug profile when the debug keystore is missing,
|
|
527
|
-
* with the `keytool` command that creates it.
|
|
561
|
+
* with the `keytool` command that creates it; when `ios.privacyManifest` names no file,
|
|
562
|
+
* before anything is written; when `project.yml` or `project.pbxproj` lacks a line a
|
|
563
|
+
* patch needs.
|
|
528
564
|
* @example
|
|
529
565
|
* ```ts
|
|
530
566
|
* // app.orientation is "portrait", app.backgroundColor is "#10161d", app.identifier is
|
|
@@ -1415,8 +1451,9 @@ declare const doctorPlugin: import("@moku-labs/core").PluginInstance<"doctor", C
|
|
|
1415
1451
|
* Complex tier — capability registry + generators/ (the `tauri-plugin-moku-shell` crate
|
|
1416
1452
|
* among them) + write-if-changed writer + the mobile/ sub-domain (completeness gate, build
|
|
1417
1453
|
* profile patches, Android signing block, Android manifest attributes, adaptive icon inset,
|
|
1418
|
-
* shell link check, Xcode settings,
|
|
1419
|
-
* lock + the page agent scan + the
|
|
1454
|
+
* shell link check, Xcode settings, iOS deployment target and privacy manifest,
|
|
1455
|
+
* runner-command rewrite) + the build-time orientation lock + the page agent scan + the
|
|
1456
|
+
* guarded clean.
|
|
1420
1457
|
*
|
|
1421
1458
|
* @see README.md
|
|
1422
1459
|
* @example
|
|
@@ -1481,4 +1518,4 @@ declare const createApp: <const ExtraPlugins extends readonly import("@moku-labs
|
|
|
1481
1518
|
*/
|
|
1482
1519
|
declare const createPlugin: import("@moku-labs/core").BoundCreatePluginFunction<Config, Events, import("@moku-labs/core").CoreApisFromTuple<[import("@moku-labs/core").CorePluginInstance<"log", import("@moku-labs/common").LogConfig, import("@moku-labs/common").LogState, import("@moku-labs/common").LogApi>, import("@moku-labs/core").CorePluginInstance<"env", import("@moku-labs/common").EnvConfig, import("@moku-labs/common").EnvState, import("@moku-labs/common").EnvApi>]>>;
|
|
1483
1520
|
//#endregion
|
|
1484
|
-
export { type AppleExportMethod, type AppleSigning, type types_d_exports as Build, type BuildFlavor, type BuildProfile, type CapabilityConfigMap, type types_d_exports$1 as Cli, type Config, type types_d_exports$2 as Doctor, type Events, type MobileTarget, type NativeCompleteEvent, type NativePhase, type NativePhaseEvent, type Orientation, PHASE_ORDER, type types_d_exports$3 as Project, type SigningConfig, TARGETS, type Target, type types_d_exports$4 as Tauri, TauriError, type TauriRunner, buildPlugin, cliPlugin, createApp, createPlugin, doctorPlugin, hostTargets, projectPlugin, tauriPlugin };
|
|
1521
|
+
export { type AppleExportMethod, type AppleSigning, type types_d_exports as Build, type BuildFlavor, type BuildProfile, type CapabilityConfigMap, type types_d_exports$1 as Cli, type Config, type types_d_exports$2 as Doctor, type Events, type MobileTarget, type NativeCompleteEvent, type NativePhase, type NativePhaseEvent, type Orientation, PHASE_ORDER, type PlistValue, type types_d_exports$3 as Project, type SigningConfig, TARGETS, type Target, type types_d_exports$4 as Tauri, TauriError, type TauriRunner, buildPlugin, cliPlugin, createApp, createPlugin, doctorPlugin, hostTargets, projectPlugin, tauriPlugin };
|
package/dist/index.d.mts
CHANGED
|
@@ -40,7 +40,7 @@ type BuildFlavor = {
|
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* ```ts
|
|
43
|
-
* await
|
|
43
|
+
* await app.build.run({ target: "android", debug: true });
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
46
|
debug?: boolean | undefined;
|
|
@@ -114,6 +114,19 @@ type CapabilityConfigMap = {
|
|
|
114
114
|
* ```
|
|
115
115
|
*/
|
|
116
116
|
type Orientation = "portrait" | "landscape" | "any";
|
|
117
|
+
/**
|
|
118
|
+
* One Info.plist value: a `<string>`, a `<true/>`/`<false/>`, an `<array>` or a `<dict>`,
|
|
119
|
+
* nested as deep as the key needs.
|
|
120
|
+
*
|
|
121
|
+
* @example
|
|
122
|
+
* ```ts
|
|
123
|
+
* const encryption: PlistValue = false; // ITSAppUsesNonExemptEncryption
|
|
124
|
+
* const transport: PlistValue = { NSAllowsLocalNetworking: true }; // NSAppTransportSecurity
|
|
125
|
+
* ```
|
|
126
|
+
*/
|
|
127
|
+
type PlistValue = string | boolean | readonly PlistValue[] | {
|
|
128
|
+
readonly [key: string]: PlistValue;
|
|
129
|
+
};
|
|
117
130
|
/** How `tauri ios build` exports the signed archive (`--export-method`). */
|
|
118
131
|
type AppleExportMethod = "app-store-connect" | "release-testing" | "debugging";
|
|
119
132
|
/**
|
|
@@ -154,8 +167,8 @@ type Config = {
|
|
|
154
167
|
* App identity, store metadata and presentation — project.onInit validates
|
|
155
168
|
* name/identifier are non-empty (reverse-DNS identifier). `icon` is a 1024x1024 PNG
|
|
156
169
|
* relative to cwd (a placeholder is generated when unset); `category` maps to
|
|
157
|
-
* `bundle.category`; `buildNumber` maps to the iOS/macOS `bundleVersion
|
|
158
|
-
* `orientation` locks the mobile screen at build time; `backgroundColor` paints the
|
|
170
|
+
* `bundle.category`; `buildNumber` maps to the iOS/macOS `bundleVersion` and, a whole
|
|
171
|
+
* number from 1 to 2 100 000 000, to the Android `versionCode`; `orientation` locks the mobile screen at build time; `backgroundColor` paints the
|
|
159
172
|
* native window behind the page.
|
|
160
173
|
*/
|
|
161
174
|
app: {
|
|
@@ -174,8 +187,10 @@ type Config = {
|
|
|
174
187
|
/**
|
|
175
188
|
* Hex window colour (`"#10161d"`, or `"#10161dff"` with alpha) →
|
|
176
189
|
* `app.windows[0].backgroundColor`. Shows during launch and behind any gap the page
|
|
177
|
-
* does not cover. Android
|
|
178
|
-
* dark
|
|
190
|
+
* does not cover. On Android it also paints the activity window and the icon splash,
|
|
191
|
+
* so no dark frame shows before the page's first paint, and the status bar icons follow
|
|
192
|
+
* it: light icons on a dark colour, dark icons on a light one. Unset leaves the
|
|
193
|
+
* platform default (white in light mode).
|
|
179
194
|
*/
|
|
180
195
|
backgroundColor?: string;
|
|
181
196
|
/**
|
|
@@ -189,6 +204,16 @@ type Config = {
|
|
|
189
204
|
* ```
|
|
190
205
|
*/
|
|
191
206
|
adaptiveIconInset?: number;
|
|
207
|
+
/**
|
|
208
|
+
* iOS: the app turns the idle timer off at launch, so the screen does not dim while it
|
|
209
|
+
* runs. Android keeps it on from the page. Unset leaves the idle timer on.
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* ```ts
|
|
213
|
+
* createApp({ config: { app: { name: "Demo", identifier: "com.acme.demo", keepScreenOn: true } } });
|
|
214
|
+
* ```
|
|
215
|
+
*/
|
|
216
|
+
keepScreenOn?: boolean;
|
|
192
217
|
}; /** Web build/dev wiring codegenned into tauri.conf.json. cwd for monorepo layouts. */
|
|
193
218
|
web: {
|
|
194
219
|
build: string;
|
|
@@ -205,6 +230,21 @@ type Config = {
|
|
|
205
230
|
projectDir: string; /** Installer delivery root. */
|
|
206
231
|
outDir: string; /** Signing env-var references. */
|
|
207
232
|
signing: SigningConfig;
|
|
233
|
+
/**
|
|
234
|
+
* What an iOS app adds to its bundle. `infoPlist` merges into `Info.plist`, where
|
|
235
|
+
* `app.orientation` wins a shared key; `privacyManifest` is the absolute path of the file
|
|
236
|
+
* the bundle carries as `PrivacyInfo.xcprivacy`. Unset, a manifest an earlier build left
|
|
237
|
+
* in the generated tree is removed.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* ```ts
|
|
241
|
+
* createApp({ config: { ios: { infoPlist: { ITSAppUsesNonExemptEncryption: false } } } });
|
|
242
|
+
* ```
|
|
243
|
+
*/
|
|
244
|
+
ios?: {
|
|
245
|
+
infoPlist?: Readonly<Record<string, PlistValue>>;
|
|
246
|
+
privacyManifest?: string;
|
|
247
|
+
};
|
|
208
248
|
};
|
|
209
249
|
/** native:phase payload — one flat event, target as a field (context decision). */
|
|
210
250
|
type NativePhaseEvent = {
|
|
@@ -268,8 +308,9 @@ type CompletenessResult = {
|
|
|
268
308
|
};
|
|
269
309
|
/**
|
|
270
310
|
* Result of the idempotent mobile patch pass: Android release signing and the main
|
|
271
|
-
* activity's manifest attributes, the iOS Xcode build settings,
|
|
272
|
-
* on both platforms. A file several patches
|
|
311
|
+
* activity's manifest attributes, the iOS Xcode build settings, deployment target and
|
|
312
|
+
* privacy manifest, and the runner command on both platforms. A file several patches
|
|
313
|
+
* touched is listed once; a file a patch removed is listed as patched.
|
|
273
314
|
*/
|
|
274
315
|
type PatchResult = {
|
|
275
316
|
readonly patched: readonly string[];
|
|
@@ -385,21 +426,10 @@ type DeepLinkConf = {
|
|
|
385
426
|
* the app at startup.
|
|
386
427
|
*/
|
|
387
428
|
type TauriConfFragment = Record<string, never> | DeepLinkConf;
|
|
388
|
-
/**
|
|
389
|
-
* One Info.plist value: a `<string>`, a `<true/>`/`<false/>`, or an `<array>` of strings.
|
|
390
|
-
*
|
|
391
|
-
* @example
|
|
392
|
-
* ```ts
|
|
393
|
-
* const fullScreen: PlistValue = true; // <true/>
|
|
394
|
-
* const portrait: PlistValue = ["UIInterfaceOrientationPortrait"];
|
|
395
|
-
* // <array><string>UIInterfaceOrientationPortrait</string></array>
|
|
396
|
-
* ```
|
|
397
|
-
*/
|
|
398
|
-
type PlistValue = string | boolean | readonly string[];
|
|
399
429
|
/**
|
|
400
430
|
* An Info.ios.plist sidecar entry (src-tauri root, outside gen/), which Tauri merges into
|
|
401
431
|
* the app's Info.plist on every iOS build. No registry row carries one today; the
|
|
402
|
-
* orientation lock
|
|
432
|
+
* orientation lock and `ios.infoPlist` do.
|
|
403
433
|
*/
|
|
404
434
|
type PlistEntry = {
|
|
405
435
|
key: string;
|
|
@@ -450,8 +480,8 @@ type Api$4 = {
|
|
|
450
480
|
* write-if-changed writer. When the `shell` capability is composed for the target (named
|
|
451
481
|
* in `config.system`, or implied by the debug profile on android), the
|
|
452
482
|
* `tauri-plugin-moku-shell` crate is generated under `plugins/moku-shell/` too, with the
|
|
453
|
-
* profile baked into its page script. Without the shell, the
|
|
454
|
-
*
|
|
483
|
+
* profile baked into its page script. Without the shell, the profile changes one key: the
|
|
484
|
+
* store profile sets `build.removeUnusedCommands` in `tauri.conf.json`.
|
|
455
485
|
*
|
|
456
486
|
* @param opts - The generate options.
|
|
457
487
|
* @param opts.target - The packaging target to generate for.
|
|
@@ -515,9 +545,13 @@ type Api$4 = {
|
|
|
515
545
|
* signing (the debug keystore under `HOME` ?? `USERPROFILE` in the debug profile), the
|
|
516
546
|
* main activity's manifest attributes (the orientation lock among them) and the status
|
|
517
547
|
* bar style in MainActivity.kt (light icons on a dark `app.backgroundColor`, dark icons
|
|
518
|
-
* on a light one); iOS gets the Xcode entitlements-modification setting
|
|
548
|
+
* on a light one); iOS gets the Xcode entitlements-modification setting, the deployment
|
|
549
|
+
* target (`signing.apple.iosMinimumSystemVersion`, or its default) and the privacy manifest
|
|
550
|
+
* (`ios.privacyManifest`; unset removes one an earlier pass added), each in `project.yml`
|
|
551
|
+
* and `project.pbxproj`, because a kept tree never runs xcodegen again; both get the
|
|
519
552
|
* Xcode/Android-Studio runner-command rewrite when a `runner` is supplied. The build
|
|
520
553
|
* plugin calls it after the mobile init pass, with the runner from `tauri.getRunner()`.
|
|
554
|
+
* A `gen/apple` tree that was never initialised reports nothing.
|
|
521
555
|
*
|
|
522
556
|
* @param opts - The patch options.
|
|
523
557
|
* @param opts.target - The mobile platform to patch.
|
|
@@ -525,7 +559,9 @@ type Api$4 = {
|
|
|
525
559
|
* @param opts.profile - The build profile; `"store"` when omitted.
|
|
526
560
|
* @returns The paths patched vs. left unchanged.
|
|
527
561
|
* @throws {Error} `[native]` in the debug profile when the debug keystore is missing,
|
|
528
|
-
* with the `keytool` command that creates it.
|
|
562
|
+
* with the `keytool` command that creates it; when `ios.privacyManifest` names no file,
|
|
563
|
+
* before anything is written; when `project.yml` or `project.pbxproj` lacks a line a
|
|
564
|
+
* patch needs.
|
|
529
565
|
* @example
|
|
530
566
|
* ```ts
|
|
531
567
|
* // app.orientation is "portrait", app.backgroundColor is "#10161d", app.identifier is
|
|
@@ -1416,8 +1452,9 @@ declare const doctorPlugin: import("@moku-labs/core").PluginInstance<"doctor", C
|
|
|
1416
1452
|
* Complex tier — capability registry + generators/ (the `tauri-plugin-moku-shell` crate
|
|
1417
1453
|
* among them) + write-if-changed writer + the mobile/ sub-domain (completeness gate, build
|
|
1418
1454
|
* profile patches, Android signing block, Android manifest attributes, adaptive icon inset,
|
|
1419
|
-
* shell link check, Xcode settings,
|
|
1420
|
-
* lock + the page agent scan + the
|
|
1455
|
+
* shell link check, Xcode settings, iOS deployment target and privacy manifest,
|
|
1456
|
+
* runner-command rewrite) + the build-time orientation lock + the page agent scan + the
|
|
1457
|
+
* guarded clean.
|
|
1421
1458
|
*
|
|
1422
1459
|
* @see README.md
|
|
1423
1460
|
* @example
|
|
@@ -1482,4 +1519,4 @@ declare const createApp: <const ExtraPlugins extends readonly import("@moku-labs
|
|
|
1482
1519
|
*/
|
|
1483
1520
|
declare const createPlugin: import("@moku-labs/core").BoundCreatePluginFunction<Config, Events, import("@moku-labs/core").CoreApisFromTuple<[import("@moku-labs/core").CorePluginInstance<"log", import("@moku-labs/common").LogConfig, import("@moku-labs/common").LogState, import("@moku-labs/common").LogApi>, import("@moku-labs/core").CorePluginInstance<"env", import("@moku-labs/common").EnvConfig, import("@moku-labs/common").EnvState, import("@moku-labs/common").EnvApi>]>>;
|
|
1484
1521
|
//#endregion
|
|
1485
|
-
export { type AppleExportMethod, type AppleSigning, type types_d_exports as Build, type BuildFlavor, type BuildProfile, type CapabilityConfigMap, type types_d_exports$1 as Cli, type Config, type types_d_exports$2 as Doctor, type Events, type MobileTarget, type NativeCompleteEvent, type NativePhase, type NativePhaseEvent, type Orientation, PHASE_ORDER, type types_d_exports$3 as Project, type SigningConfig, TARGETS, type Target, type types_d_exports$4 as Tauri, TauriError, type TauriRunner, buildPlugin, cliPlugin, createApp, createPlugin, doctorPlugin, hostTargets, projectPlugin, tauriPlugin };
|
|
1522
|
+
export { type AppleExportMethod, type AppleSigning, type types_d_exports as Build, type BuildFlavor, type BuildProfile, type CapabilityConfigMap, type types_d_exports$1 as Cli, type Config, type types_d_exports$2 as Doctor, type Events, type MobileTarget, type NativeCompleteEvent, type NativePhase, type NativePhaseEvent, type Orientation, PHASE_ORDER, type PlistValue, type types_d_exports$3 as Project, type SigningConfig, TARGETS, type Target, type types_d_exports$4 as Tauri, TauriError, type TauriRunner, buildPlugin, cliPlugin, createApp, createPlugin, doctorPlugin, hostTargets, projectPlugin, tauriPlugin };
|