@bake-native/core 0.1.0-rc.1 → 0.1.0-rc.2
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/THIRD_PARTY_NOTICES.txt +1 -1
- package/compat.json +2 -2
- package/dist/bake.mjs +9 -9
- package/dist/{build-BrSFpaK1.mjs → build-CTvDcJg_.mjs} +1 -1
- package/dist/{build-vAPG2xQv.mjs → build-CoK3bspu.mjs} +2 -2
- package/dist/compiler.mjs +1 -1
- package/dist/{dev-xZblYmDc.mjs → dev-CyIzIurx.mjs} +2 -2
- package/dist/{native-views-BQ8TtbQj.mjs → native-views-COg9tj_5.mjs} +24 -10
- package/dist/octane/package.json +1 -1
- package/dist/{package-D2aYD6A4.mjs → package-CYWHh6C1.mjs} +2 -3
- package/dist/react/package.json +1 -1
- package/dist/{run-BtyJGAQB.mjs → run-C44lJhc4.mjs} +1 -1
- package/package.json +5 -5
- package/runtime-provides.json +2 -1
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
THIRD-PARTY NOTICES: @bake-native/core 0.1.0-rc.
|
|
1
|
+
THIRD-PARTY NOTICES: @bake-native/core 0.1.0-rc.2
|
|
2
2
|
Generated by tools/release/third-party.mjs (https://github.com/gronxb/bake-native). Do not edit.
|
|
3
3
|
|
|
4
4
|
@bake-native/core is licensed under the MIT License (LICENSE). It also contains the third-party
|
package/compat.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "The version table: which runtime, host protocol, Hermes bytecode, schemas and Octane this @bake-native/core release builds for, and the toolchain package each host installs (its bin/ tools, apps and libraries, and apple/: the prebuilt Apple runtime iOS and macOS apps link). bake build refuses any other combination (src/compat.ts); tools/check-versions.mjs keeps it equal to the Rust core, the Swift host, the Hermes pin and the toolchain packages. Change versions with tools/release/version.mjs.",
|
|
3
|
-
"@bake-native/core": "0.1.0-rc.
|
|
3
|
+
"@bake-native/core": "0.1.0-rc.2",
|
|
4
4
|
"runtime": {
|
|
5
|
-
"version": "0.1.0-rc.
|
|
5
|
+
"version": "0.1.0-rc.2",
|
|
6
6
|
"series": "0.1"
|
|
7
7
|
},
|
|
8
8
|
"hostProtocol": 4,
|
package/dist/bake.mjs
CHANGED
|
@@ -3,12 +3,12 @@ import { t as __exportAll } from "./rolldown-runtime-D3KUYPsf.mjs";
|
|
|
3
3
|
import { closeSync, copyFileSync, cpSync, existsSync, fstatSync, mkdirSync, mkdtempSync, openSync, readFileSync, readSync, readdirSync, realpathSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4
4
|
import { basename, dirname, extname, join, relative, resolve, sep } from "node:path";
|
|
5
5
|
import { C as flag, D as integer, E as float, F as optional, I as withDefault, M as or, N as map, O as string, P as multiple, S as constant, T as choice, _ as inspectRequest, b as argument, g as inspectParser, j as object, l as inspectParsed, w as option, wt as message, x as command } from "./client-Cm7o6dQd.mjs";
|
|
6
|
-
import { c as TARGETS, d as targetList$1, f as writeMobileApp, l as loadBakeConfig, n as aarPackageManifest, r as checkAar, s as DEFAULT_CONFIG_TARGETS, t as run, u as resolveTargets } from "./run-
|
|
7
|
-
import { A as writeRegistration, C as bundleAppModules, D as registrationFiles, E as checkoutRelative, G as toolchainFor, I as repo, J as execToolBuffer, L as toolProcessEnv, N as defaultHermesc, P as nativeTool, R as COMPAT, S as appViewUnit, T as bundleViews, W as toolchainDir, Z as NOTICES_JSON, a as androidIdentity, b as FAMILY, d as thirdPartyDeclarations, et as mergeComponents, k as targetNativeDeps, n as packageConfig, nt as readNoticesJson, q as execTool, rt as writeOutputNotices, s as integrateThirdParty, tt as placedAt, w as bundleModules, x as appModuleSources } from "./package-
|
|
6
|
+
import { c as TARGETS, d as targetList$1, f as writeMobileApp, l as loadBakeConfig, n as aarPackageManifest, r as checkAar, s as DEFAULT_CONFIG_TARGETS, t as run, u as resolveTargets } from "./run-C44lJhc4.mjs";
|
|
7
|
+
import { A as writeRegistration, C as bundleAppModules, D as registrationFiles, E as checkoutRelative, G as toolchainFor, I as repo, J as execToolBuffer, L as toolProcessEnv, N as defaultHermesc, P as nativeTool, R as COMPAT, S as appViewUnit, T as bundleViews, W as toolchainDir, Z as NOTICES_JSON, a as androidIdentity, b as FAMILY, d as thirdPartyDeclarations, et as mergeComponents, k as targetNativeDeps, n as packageConfig, nt as readNoticesJson, q as execTool, rt as writeOutputNotices, s as integrateThirdParty, tt as placedAt, w as bundleModules, x as appModuleSources } from "./package-CYWHh6C1.mjs";
|
|
8
8
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
9
9
|
import { execFileSync } from "node:child_process";
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
11
|
-
import { A as moduleDir, C as MODULES_DIR, D as compareVersions, E as buildRegistry, F as registryLocation, I as satisfies, J as unpinnedPackages, L as sha256$1, M as openRegistry, N as parseRequest, O as filesFor, P as readLock, S as LOCK_FILE, T as appModules,
|
|
11
|
+
import { A as moduleDir, C as MODULES_DIR, D as compareVersions, E as buildRegistry, F as registryLocation, I as satisfies, J as unpinnedPackages, L as sha256$1, M as openRegistry, N as parseRequest, O as filesFor, P as readLock, S as LOCK_FILE, T as appModules, Wt as packageRoot$1, X as merge3, Y as diffStat, Z as unifiedDiff, _ as specsSchema, f as generateSpecs, j as normalize$1, k as lockEntry, o as viewFiles, ot as releaseCheck, r as viewCatalog, s as viewIssues, t as readViewSpec, u as appModuleSpecs, x as ALL_TARGETS, z as writeLock } from "./native-views-COg9tj_5.mjs";
|
|
12
12
|
import { n as loadReactCompiler, r as selectRenderer } from "./build-tools-Dxyl6XAf.mjs";
|
|
13
13
|
// src/apple-runtime.ts
|
|
14
14
|
/** The runtime's files in the toolchain package's apple/ directory. */
|
|
@@ -2128,17 +2128,17 @@ async function main() {
|
|
|
2128
2128
|
}
|
|
2129
2129
|
});
|
|
2130
2130
|
switch (input.command) {
|
|
2131
|
-
case "build": return (await import("./build-
|
|
2131
|
+
case "build": return (await import("./build-CTvDcJg_.mjs")).buildCommand(await resolveBuildOptions(input));
|
|
2132
2132
|
case "package": {
|
|
2133
2133
|
const opts = await resolveBuildOptions(input);
|
|
2134
|
-
const { buildCommand, packageCommand } = await import("./build-
|
|
2134
|
+
const { buildCommand, packageCommand } = await import("./build-CTvDcJg_.mjs");
|
|
2135
2135
|
return input.standalone ? buildCommand(opts) : packageCommand(opts);
|
|
2136
2136
|
}
|
|
2137
2137
|
case "check": {
|
|
2138
2138
|
const root = resolve(input.root);
|
|
2139
2139
|
const config = await loadBakeConfig(root);
|
|
2140
2140
|
const targets = resolveTargets(input.targets, config, [...platforms]);
|
|
2141
|
-
return (await import("./build-
|
|
2141
|
+
return (await import("./build-CTvDcJg_.mjs")).checkCommand({
|
|
2142
2142
|
root,
|
|
2143
2143
|
targets,
|
|
2144
2144
|
json: input.json,
|
|
@@ -2156,7 +2156,7 @@ async function main() {
|
|
|
2156
2156
|
case "aot": {
|
|
2157
2157
|
const root = resolve(input.root);
|
|
2158
2158
|
const config = await loadBakeConfig(root);
|
|
2159
|
-
return (await import("./build-
|
|
2159
|
+
return (await import("./build-CTvDcJg_.mjs")).aotCommand({
|
|
2160
2160
|
root,
|
|
2161
2161
|
renderer: config?.config.renderer,
|
|
2162
2162
|
json: input.json,
|
|
@@ -2165,7 +2165,7 @@ async function main() {
|
|
|
2165
2165
|
});
|
|
2166
2166
|
}
|
|
2167
2167
|
case "create": return createCommand(input);
|
|
2168
|
-
case "dev": return (await import("./dev-
|
|
2168
|
+
case "dev": return (await import("./dev-CyIzIurx.mjs")).devCommand(await resolveDevOptions(input));
|
|
2169
2169
|
case "add":
|
|
2170
2170
|
case "diff":
|
|
2171
2171
|
case "upgrade":
|
|
@@ -2191,7 +2191,7 @@ async function main() {
|
|
|
2191
2191
|
const args = [bundle];
|
|
2192
2192
|
for (const [key, value] of Object.entries(options)) if (value !== void 0) args.push("--" + key, String(value));
|
|
2193
2193
|
const hermesc = defaultHermesc();
|
|
2194
|
-
const prelude = hermesc ? { BAKE_FRAME_PRELUDE: (await import("./build-
|
|
2194
|
+
const prelude = hermesc ? { BAKE_FRAME_PRELUDE: (await import("./build-CTvDcJg_.mjs")).bakePrelude(hermesc) } : {};
|
|
2195
2195
|
process.stdout.write(execToolBuffer(nativeTool("bake-snap"), args, {
|
|
2196
2196
|
env: {
|
|
2197
2197
|
...toolProcessEnv(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as aotCommand, i as bakePrelude, a as buildCommand, o as buildTargets, c as checkCommand, l as packageCommand } from "./build-
|
|
1
|
+
export { n as aotCommand, i as bakePrelude, a as buildCommand, o as buildTargets, c as checkCommand, l as packageCommand } from "./build-CoK3bspu.mjs";
|
|
@@ -8,10 +8,10 @@ import { tmpdir } from "node:os";
|
|
|
8
8
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
9
9
|
import { createContext, runInContext } from "node:vm";
|
|
10
10
|
import { performance } from "node:perf_hooks";
|
|
11
|
-
import { $ as bundleComponents, A as writeRegistration, D as registrationFiles, E as checkoutRelative, F as nativeTools, G as toolchainFor, H as hermescPackage, I as repo, L as toolProcessEnv, M as NATIVE_RENDERER, O as targetFiles, P as nativeTool, R as COMPAT, S as appViewUnit, V as hermescBytecode, X as NOTICES, Y as toolTimeout, Z as NOTICES_JSON, _ as run, b as FAMILY, et as mergeComponents, f as TARGET_SLICES, g as productName, h as packageSwift, j as implementationIssues, k as targetNativeDeps, m as buildPackageXCFramework, n as packageConfig, nt as readNoticesJson, p as buildAppXCFramework, q as execTool, r as packageManifest, rt as writeOutputNotices, t as RUNTIME_VERSION, tt as placedAt, u as rangeAccepts, v as runtimeNoticeFiles, x as appModuleSources, y as zipForSwiftPM, z as assertCompatible } from "./package-
|
|
11
|
+
import { $ as bundleComponents, A as writeRegistration, D as registrationFiles, E as checkoutRelative, F as nativeTools, G as toolchainFor, H as hermescPackage, I as repo, L as toolProcessEnv, M as NATIVE_RENDERER, O as targetFiles, P as nativeTool, R as COMPAT, S as appViewUnit, V as hermescBytecode, X as NOTICES, Y as toolTimeout, Z as NOTICES_JSON, _ as run, b as FAMILY, et as mergeComponents, f as TARGET_SLICES, g as productName, h as packageSwift, j as implementationIssues, k as targetNativeDeps, m as buildPackageXCFramework, n as packageConfig, nt as readNoticesJson, p as buildAppXCFramework, q as execTool, r as packageManifest, rt as writeOutputNotices, t as RUNTIME_VERSION, tt as placedAt, u as rangeAccepts, v as runtimeNoticeFiles, x as appModuleSources, y as zipForSwiftPM, z as assertCompatible } from "./package-CYWHh6C1.mjs";
|
|
12
12
|
import { createRequire } from "node:module";
|
|
13
13
|
import { r as selectRenderer, t as loadBuildTools } from "./build-tools-Dxyl6XAf.mjs";
|
|
14
|
-
import { B as DEPS_RULE, Bt as
|
|
14
|
+
import { At as rootPropParams, B as DEPS_RULE, Bt as usesViewRef, Ct as importLine, Dt as originalPosition, Et as markupIssues, Ft as usesCustomProperties, G as packageDepIssues, Ht as usesWebCrypto, It as usesDialogs, J as unpinnedPackages, Lt as usesElementApi, Mt as swiftUiIssues, Nt as swiftUiTargetMessage, P as readLock, Pt as uiIssues, Q as FIRST_PARTY_MODULES, R as verifyModules, Rt as usesPageElements, S as LOCK_FILE, St as hostEmitIssues, T as appModules, Tt as liveReferences, U as nativeDepComponents, Ut as usesWebFetch, V as NativeDepsError, Vt as usesVisibility, Wt as packageRoot, _t as decodeMappings, b as webSpec, bt as globalIssues, c as viewRequires, d as calledSpecs, dt as allowed, et as bundleRequires, gt as deadBranches, kt as refineLine, m as parseModuleSpec, mt as componentDeclarations, n as usedViews, nt as cssProperties, r as viewCatalog, s as viewIssues, tt as checkUses, u as appModuleSpecs, vt as dialogWarnings, wt as lineStartsOf, xt as headerIconIssues, yt as freeReferences, zt as usesPopover } from "./native-views-COg9tj_5.mjs";
|
|
15
15
|
import { r as scope_exports } from "./scope-8W2aIuQ9.mjs";
|
|
16
16
|
import { i as intlUses, n as HERMES_TARGETS, r as intlMessage } from "./intl-ROnAp2qO.mjs";
|
|
17
17
|
// lower-views.mjs
|
package/dist/compiler.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { parseSync } from "@tsrx/oxc/parser";
|
|
2
|
-
import {
|
|
2
|
+
import { Kt as checkElement, Ot as patternNames, _t as decodeMappings, a as viewDeclarations, ct as SUPPORT, ft as checkImageSourceSyntax, ht as constNumber, i as viewClientParts, jt as styleCss, pt as checkSafeAreaEdgesSyntax, ut as VIEW_ELEMENTS, wt as lineStartsOf } from "./native-views-COg9tj_5.mjs";
|
|
3
3
|
import { n as UI_SWIFT_STYLE_KEYS, t as UI_COMPONENTS } from "./scope-8W2aIuQ9.mjs";
|
|
4
4
|
export { SUPPORT, UI_COMPONENTS, UI_SWIFT_STYLE_KEYS, VIEW_ELEMENTS, checkElement, checkImageSourceSyntax, checkSafeAreaEdgesSyntax, constNumber, decodeMappings, lineStartsOf, parseSync, patternNames, styleCss, viewClientParts, viewDeclarations };
|
|
@@ -4,8 +4,8 @@ import { createServer } from "node:http";
|
|
|
4
4
|
import { basename, extname, join, resolve, sep } from "node:path";
|
|
5
5
|
import { performance } from "node:perf_hooks";
|
|
6
6
|
import { promisify } from "node:util";
|
|
7
|
-
import { o as buildTargets } from "./build-
|
|
8
|
-
import { I as repo, U as packagedTool } from "./package-
|
|
7
|
+
import { o as buildTargets } from "./build-CoK3bspu.mjs";
|
|
8
|
+
import { I as repo, U as packagedTool } from "./package-CYWHh6C1.mjs";
|
|
9
9
|
// src/devices.mjs
|
|
10
10
|
/** The booted simulator bake dev uses: `udid` when given (it must be booted), else the only booted one. */
|
|
11
11
|
function pickSimulator(devices, udid) {
|
|
@@ -3611,6 +3611,13 @@ function defaultRuntimeRange(version) {
|
|
|
3611
3611
|
const [major, minor, patch] = parseVersion$1(version);
|
|
3612
3612
|
return major === 0 ? `>=0.${minor}.${patch} <0.${minor + 1}.0` : `>=${major}.${minor}.${patch} <${major + 1}.0.0`;
|
|
3613
3613
|
}
|
|
3614
|
+
function frameworkBundleVersions(version) {
|
|
3615
|
+
const short = version.split(/[-+]/, 1)[0];
|
|
3616
|
+
return {
|
|
3617
|
+
CFBundleShortVersionString: short,
|
|
3618
|
+
CFBundleVersion: short.replace(/^0(?=\.)/, "1")
|
|
3619
|
+
};
|
|
3620
|
+
}
|
|
3614
3621
|
function parseVersion$1(v) {
|
|
3615
3622
|
const m = /^(\d+)\.(\d+)\.(\d+)/.exec(String(v ?? "").trim());
|
|
3616
3623
|
if (!m) throw new Error(`"${v}" is not a version (x.y.z)`);
|
|
@@ -4709,14 +4716,16 @@ function compareVersions(a, b) {
|
|
|
4709
4716
|
}
|
|
4710
4717
|
/** Does `version` satisfy `range`? Ranges: `*`, `x.y.z`, `>=x.y.z`, `^x.y.z` (same major; 0.y: same minor), joined by spaces (all must hold). */
|
|
4711
4718
|
function satisfies(version, range) {
|
|
4719
|
+
const prerelease = /^(\d+\.\d+\.\d+)-[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*$/.exec(String(version));
|
|
4720
|
+
const base = prerelease?.[1] ?? version;
|
|
4712
4721
|
return String(range ?? "*").trim().split(/\s+/).every((part) => {
|
|
4713
4722
|
if (part === "*" || part === "") return true;
|
|
4714
4723
|
const m = /^(>=|\^|=)?(\d+\.\d+\.\d+)$/.exec(part);
|
|
4715
4724
|
if (!m) throw new Error(`unsupported version range "${part}" (use *, x.y.z, >=x.y.z or ^x.y.z)`);
|
|
4716
|
-
const c = compareVersions(
|
|
4725
|
+
const c = compareVersions(base, m[2]) || (prerelease ? -1 : 0);
|
|
4717
4726
|
if (m[1] === ">=") return c >= 0;
|
|
4718
4727
|
if (m[1] === "^") {
|
|
4719
|
-
const [vm, vn] = parseVersion(
|
|
4728
|
+
const [vm, vn] = parseVersion(base);
|
|
4720
4729
|
const [rm, rn] = parseVersion(m[2]);
|
|
4721
4730
|
return c >= 0 && vm === rm && (rm !== 0 || vn === rn);
|
|
4722
4731
|
}
|
|
@@ -7957,8 +7966,8 @@ const APP_VIEW_TARGETS = {
|
|
|
7957
7966
|
};
|
|
7958
7967
|
/**
|
|
7959
7968
|
* Every view an app can use: @bake-native/core's (native-support.json `views`) and the app's own
|
|
7960
|
-
* (`<root>/native/views/<Name>.
|
|
7961
|
-
*
|
|
7969
|
+
* (`<root>/native/views/<Name>.native.ts`, implementations in `native/views/<kebab-name>/<family>`
|
|
7970
|
+
* unless overridden by package.json `bakenative.views.<Name>.<family>`).
|
|
7962
7971
|
* Returns [{ name, tag, signature, file, id, targets, why, instead, build, source }] sorted by name.
|
|
7963
7972
|
* `support`: the parsed native-support.json; `packageRoot`: @bake-native/core's directory.
|
|
7964
7973
|
*/
|
|
@@ -8000,8 +8009,13 @@ function viewCatalog(root, { support, packageRoot, readFile, listDir, exists })
|
|
|
8000
8009
|
for (const f of listDir(dir).filter(isViewSpecFile).sort()) {
|
|
8001
8010
|
const v = readViewSpec(readFile(`${dir}/${f}`), `native/views/${f}`);
|
|
8002
8011
|
const impl = impls[v.name] ?? {};
|
|
8003
|
-
const
|
|
8004
|
-
const
|
|
8012
|
+
const build = {};
|
|
8013
|
+
for (const fam of Object.keys(APP_VIEW_TARGETS)) {
|
|
8014
|
+
const path = `native/views/${kebab(v.name)}/${fam}`;
|
|
8015
|
+
if (typeof impl[fam] === "string") build[fam] = { path: impl[fam] };
|
|
8016
|
+
else if (exists(`${root}/${path}`)) build[fam] = { path };
|
|
8017
|
+
}
|
|
8018
|
+
const targets = ["web", ...Object.keys(build).flatMap((fam) => APP_VIEW_TARGETS[fam])];
|
|
8005
8019
|
add({
|
|
8006
8020
|
name: v.name,
|
|
8007
8021
|
tag: v.tag,
|
|
@@ -8010,9 +8024,9 @@ function viewCatalog(root, { support, packageRoot, readFile, listDir, exists })
|
|
|
8010
8024
|
file: `native/views/${f}`,
|
|
8011
8025
|
id: `view-${kebab(v.name)}`,
|
|
8012
8026
|
targets,
|
|
8013
|
-
why:
|
|
8014
|
-
instead: `implement the ${v.name} spec
|
|
8015
|
-
build
|
|
8027
|
+
why: "the app has no implementation for this target",
|
|
8028
|
+
instead: `implement the ${v.name} spec in native/views/${kebab(v.name)}/<family> or set bakenative.views.${v.name} in package.json, or branch on import.meta.env.BAKE_TARGET`,
|
|
8029
|
+
build,
|
|
8016
8030
|
source: "app"
|
|
8017
8031
|
});
|
|
8018
8032
|
}
|
|
@@ -8043,4 +8057,4 @@ function viewIssues(used, catalog, target) {
|
|
|
8043
8057
|
function viewRequires(used, catalog) {
|
|
8044
8058
|
return Object.fromEntries(used.map((n) => [n, catalog.find((v) => v.name === n).signature]));
|
|
8045
8059
|
}
|
|
8046
|
-
export { RUNTIME_PROVIDES as $, moduleDir as A,
|
|
8060
|
+
export { RUNTIME_PROVIDES as $, moduleDir as A, rootPropParams as At, DEPS_RULE as B, usesViewRef as Bt, MODULES_DIR as C, importLine as Ct, compareVersions as D, originalPosition as Dt, buildRegistry as E, markupIssues as Et, registryLocation as F, usesCustomProperties as Ft, packageDepIssues as G, readPackageJson as Gt, mergeNativeDeps as H, usesWebCrypto as Ht, satisfies as I, usesDialogs as It, unpinnedPackages as J, readNativeDeps as K, checkElement as Kt, sha256 as L, usesElementApi as Lt, openRegistry as M, swiftUiIssues as Mt, parseRequest as N, swiftUiTargetMessage as Nt, filesFor as O, patternNames as Ot, readLock as P, uiIssues as Pt, FIRST_PARTY_MODULES as Q, verifyModules as R, usesPageElements as Rt, LOCK_FILE as S, hostEmitIssues as St, appModules as T, liveReferences as Tt, nativeDepComponents as U, usesWebFetch as Ut, NativeDepsError as V, usesVisibility as Vt, nativeDepLibraries as W, packageRoot as Wt, merge3 as X, diffStat as Y, unifiedDiff as Z, specsSchema as _, decodeMappings as _t, viewDeclarations as a, memberSignatures as at, webSpec as b, globalIssues as bt, viewRequires as c, SUPPORT as ct, calledSpecs as d, allowed as dt, bundleRequires as et, generateSpecs as f, checkImageSourceSyntax as ft, snake$1 as g, deadBranches as gt, rustSpec as h, constNumber as ht, viewClientParts as i, frameworkBundleVersions as it, normalize as j, styleCss as jt, lockEntry as k, refineLine as kt, appModuleFiles as l, SYSTEM_MODULES as lt, parseModuleSpec as m, componentDeclarations as mt, usedViews as n, cssProperties as nt, viewFiles as o, releaseCheck as ot, kotlinSpec as p, checkSafeAreaEdgesSyntax as pt, unitPath as q, viewCatalog as r, defaultRuntimeRange as rt, viewIssues as s, satisfies$1 as st, readViewSpec as t, checkUses as tt, appModuleSpecs as u, VIEW_ELEMENTS as ut, swiftBakeNativeImports as v, dialogWarnings as vt, OFFICIAL as w, lineStartsOf as wt, ALL_TARGETS as x, headerIconIssues as xt, swiftSpec as y, freeReferences as yt, writeLock as z, usesPopover as zt };
|
package/dist/octane/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as RUNTIME_PROVIDES, H as mergeNativeDeps, K as readNativeDeps, P as readLock,
|
|
1
|
+
import { $ as RUNTIME_PROVIDES, Gt as readPackageJson, H as mergeNativeDeps, K as readNativeDeps, P as readLock, W as nativeDepLibraries, Wt as packageRoot$1, _ as specsSchema, at as memberSignatures, d as calledSpecs, g as snake, h as rustSpec, it as frameworkBundleVersions, l as appModuleFiles, lt as SYSTEM_MODULES, o as viewFiles, p as kotlinSpec, q as unitPath, rt as defaultRuntimeRange, st as satisfies, t as readViewSpec, u as appModuleSpecs, v as swiftBakeNativeImports, y as swiftSpec } from "./native-views-COg9tj_5.mjs";
|
|
2
2
|
import { chmodSync, closeSync, copyFileSync, cpSync, existsSync, mkdirSync, mkdtempSync, openSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, statSync, symlinkSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
@@ -1754,8 +1754,7 @@ async function buildFramework({ module, slice, swift, cxx = [], includes = [], f
|
|
|
1754
1754
|
CFBundleInfoDictionaryVersion: "6.0",
|
|
1755
1755
|
CFBundleName: module,
|
|
1756
1756
|
CFBundlePackageType: "FMWK",
|
|
1757
|
-
|
|
1758
|
-
CFBundleVersion: version,
|
|
1757
|
+
...frameworkBundleVersions(version),
|
|
1759
1758
|
CFBundleSupportedPlatforms: [s.platform],
|
|
1760
1759
|
...s.os === "mac" ? { LSMinimumSystemVersion: MACOS_MIN } : { MinimumOSVersion: IOS_MIN }
|
|
1761
1760
|
};
|
package/dist/react/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as bundledFonts } from "./config-B1W8gfZY.mjs";
|
|
2
2
|
import { $ as createInputTrace, A as longestMatch, B as hiddenCommandAliasesKey, C as flag, Ct as lineBreak, Dt as value, Et as text, F as optional, G as collectExplicitSourceValuesAsync, H as collectRootOptionNames, I as withDefault, J as attemptParseSync, K as createDependencyRuntimeContext, L as getJoinedFileSuggestion, O as string, Ot as cacheTerminalTheme, P as multiple, Q as getDocPageForConsumedPrefix, R as completeOrExtractPhase2Seed, S as constant, St as formatMessage, Tt as optionName, U as projectCommandUsage, V as collectActiveOptionNames, W as collectExplicitSourceValues, X as createParserContext, Y as createEffectfulCompletionSession, Z as getDocPage, _t as validateMetaNameCollisions, at as minimumUsageWidth, b as argument, bt as injectAnnotations, ct as spaceAfterLabel, dt as formatUsageTerm, et as dispatchByMode, ft as isSuggestionHidden, gt as validateLabel, ht as validateContextIds, it as hasAutomaticWidth, j as object, k as group$2, kt as renderTerminalTerm, lt as cloneUsage, mt as validateCommandNames, nt as isDocEntryHidden, ot as withAutomaticWidth, pt as normalizeUsage, q as attemptParseAsync, rt as renderErrorMessage, st as measureText, tt as formatDocPage, ut as formatUsage, vt as validateOptionNames, w as option, wt as message, x as command, xt as commandLine, yt as validateProgramName$1, z as allowDuplicateLeadingCommandNamesKey } from "./client-Cm7o6dQd.mjs";
|
|
3
|
-
import { Q as appEntries, i as ANDROID_RUNTIME, l as parseRange, o as formatRange, u as rangeAccepts } from "./package-
|
|
3
|
+
import { Q as appEntries, i as ANDROID_RUNTIME, l as parseRange, o as formatRange, u as rangeAccepts } from "./package-CYWHh6C1.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import fs, { existsSync, mkdirSync, readFileSync, realpathSync, rmSync, statSync, writeFileSync, writeSync } from "node:fs";
|
|
6
6
|
import path, { basename, dirname, extname, isAbsolute, join, parse as parse$1, relative, resolve, sep } from "node:path";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bake-native/core",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.2",
|
|
4
4
|
"description": "Build and run baked first frames on web, iOS, Android, macOS and Windows with the bake CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -135,10 +135,10 @@
|
|
|
135
135
|
},
|
|
136
136
|
"types": "./index.d.ts",
|
|
137
137
|
"optionalDependencies": {
|
|
138
|
-
"@bake-native/toolchain-darwin-
|
|
139
|
-
"@bake-native/toolchain-
|
|
140
|
-
"@bake-native/toolchain-
|
|
141
|
-
"@bake-native/toolchain-win32-x64": "0.1.0-rc.
|
|
138
|
+
"@bake-native/toolchain-darwin-x64": "0.1.0-rc.2",
|
|
139
|
+
"@bake-native/toolchain-linux-x64": "0.1.0-rc.2",
|
|
140
|
+
"@bake-native/toolchain-darwin-arm64": "0.1.0-rc.2",
|
|
141
|
+
"@bake-native/toolchain-win32-x64": "0.1.0-rc.2"
|
|
142
142
|
},
|
|
143
143
|
"publishConfig": {
|
|
144
144
|
"access": "public"
|
package/runtime-provides.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": 1,
|
|
3
|
-
"runtime": "0.1.0-rc.
|
|
3
|
+
"runtime": "0.1.0-rc.2",
|
|
4
4
|
"hostProtocol": 4,
|
|
5
5
|
"minHostProtocol": 4,
|
|
6
6
|
"batch": {
|
|
@@ -119,6 +119,7 @@
|
|
|
119
119
|
"animationend",
|
|
120
120
|
"animationiteration",
|
|
121
121
|
"animationstart",
|
|
122
|
+
"beforeinput",
|
|
122
123
|
"blur",
|
|
123
124
|
"change",
|
|
124
125
|
"click",
|