craft-native 0.0.499 → 0.0.500
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/dist/android/templates/CraftNativeFlatList.kt.template +51 -3
- package/dist/android/templates/CraftNativeShell.kt.template +54 -0
- package/dist/android/templates/MainActivityNative.kt.template +25 -1
- package/dist/api/process.d.ts +23 -28
- package/dist/bridge/core.d.ts +30 -6
- package/dist/cli.js +39 -19
- package/dist/components/index.d.ts +1 -1
- package/dist/index.cjs +90 -99
- package/dist/index.js +90 -99
- package/dist/ios/templates/CraftApp.swift +17 -0
- package/dist/ios/templates/CraftHybrid.swift +16 -0
- package/dist/ios/templates/CraftNativeFiles.swift +152 -7
- package/dist/ios/templates/CraftNativeFlatList.swift +43 -6
- package/dist/ios/templates/CraftNativeScreen.swift +184 -66
- package/dist/ios/templates/CraftScheduledWorkouts.swift +11 -4
- package/dist/ios/templates/CraftWebAudio.swift +20 -1
- package/dist/package.d.ts +22 -0
- package/package.json +1 -1
package/dist/package.d.ts
CHANGED
|
@@ -376,6 +376,28 @@ export declare function windowsExecutableName(name: string): string;
|
|
|
376
376
|
* off, so nothing ever reported it.
|
|
377
377
|
*/
|
|
378
378
|
export declare function candleArguments(architecture: 'x86' | 'x64' | 'arm64', wixobjPath: string, wxsPath: string): string[];
|
|
379
|
+
/**
|
|
380
|
+
* Helper: Create Linux RPM package
|
|
381
|
+
*/
|
|
382
|
+
/**
|
|
383
|
+
* The spec an app's rpm is built from: one prebuilt executable, installed as
|
|
384
|
+
* it is.
|
|
385
|
+
*
|
|
386
|
+
* `Source0` names the executable, which is what `%{SOURCE0}` in `%install`
|
|
387
|
+
* refers to; without the tag the macro is not defined and the install step
|
|
388
|
+
* fails. The executable is a finished program, so nothing is stripped from it,
|
|
389
|
+
* no debug package is split off and no build-id links are made: a compiled
|
|
390
|
+
* app that carries its own data after the program (a Bun or Deno executable)
|
|
391
|
+
* stops working when strip rewrites it. With nothing required, the `Requires`
|
|
392
|
+
* line is left out, because an empty one is not valid.
|
|
393
|
+
*/
|
|
394
|
+
export declare function rpmSpec(options: {
|
|
395
|
+
name: string;
|
|
396
|
+
version: string;
|
|
397
|
+
summary: string;
|
|
398
|
+
description: string;
|
|
399
|
+
requires?: string;
|
|
400
|
+
}): string;
|
|
379
401
|
/**
|
|
380
402
|
* Simple packaging function for quick use
|
|
381
403
|
*/
|