@apps-in-toss/web-framework 0.0.0-dev.1752115036458 → 0.0.0-dev.1753241576118
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/cli/index.js +29 -27
- package/dist/config/index.js +0 -1
- package/dist/prebuilt/dev.android.js +38211 -39416
- package/dist/prebuilt/dev.ios.js +38131 -39344
- package/dist/prebuilt/prod.android.js +6156 -5228
- package/dist/prebuilt/prod.ios.js +6119 -5200
- package/dist/prebuilt/prod.json +6 -6
- package/package.json +16 -16
package/dist/cli/index.js
CHANGED
|
@@ -57729,21 +57729,21 @@ var Te = async (t2) => {
|
|
|
57729
57729
|
};
|
|
57730
57730
|
|
|
57731
57731
|
// src/cli/commands/BuildCommand.ts
|
|
57732
|
-
import { getPackageRoot as getPackageRoot4 } from "@
|
|
57732
|
+
import { getPackageRoot as getPackageRoot4 } from "@react-native-bedrock/utils";
|
|
57733
57733
|
|
|
57734
57734
|
// src/config/loadConfig.ts
|
|
57735
57735
|
init_esm_shims();
|
|
57736
57736
|
var import_cosmiconfig = __toESM(require_dist(), 1);
|
|
57737
|
-
import { getPackageRoot } from "@
|
|
57737
|
+
import { getPackageRoot } from "@react-native-bedrock/utils";
|
|
57738
57738
|
|
|
57739
|
-
// ../../.yarn/__virtual__/cosmiconfig-typescript-loader-virtual-
|
|
57739
|
+
// ../../.yarn/__virtual__/cosmiconfig-typescript-loader-virtual-edd09e5a57/0/cache/cosmiconfig-typescript-loader-npm-5.1.0-81c399fbcb-9c87ade7b0.zip/node_modules/cosmiconfig-typescript-loader/dist/esm/index.mjs
|
|
57740
57740
|
init_esm_shims();
|
|
57741
57741
|
|
|
57742
|
-
// ../../.yarn/__virtual__/cosmiconfig-typescript-loader-virtual-
|
|
57742
|
+
// ../../.yarn/__virtual__/cosmiconfig-typescript-loader-virtual-edd09e5a57/0/cache/cosmiconfig-typescript-loader-npm-5.1.0-81c399fbcb-9c87ade7b0.zip/node_modules/cosmiconfig-typescript-loader/dist/esm/loader.mjs
|
|
57743
57743
|
init_esm_shims();
|
|
57744
57744
|
var import_jiti = __toESM(require_lib4(), 1);
|
|
57745
57745
|
|
|
57746
|
-
// ../../.yarn/__virtual__/cosmiconfig-typescript-loader-virtual-
|
|
57746
|
+
// ../../.yarn/__virtual__/cosmiconfig-typescript-loader-virtual-edd09e5a57/0/cache/cosmiconfig-typescript-loader-npm-5.1.0-81c399fbcb-9c87ade7b0.zip/node_modules/cosmiconfig-typescript-loader/dist/esm/typescript-compile-error.mjs
|
|
57747
57747
|
init_esm_shims();
|
|
57748
57748
|
var TypeScriptCompileError = class _TypeScriptCompileError extends Error {
|
|
57749
57749
|
constructor(message) {
|
|
@@ -57760,7 +57760,7 @@ ${error.message}`;
|
|
|
57760
57760
|
}
|
|
57761
57761
|
};
|
|
57762
57762
|
|
|
57763
|
-
// ../../.yarn/__virtual__/cosmiconfig-typescript-loader-virtual-
|
|
57763
|
+
// ../../.yarn/__virtual__/cosmiconfig-typescript-loader-virtual-edd09e5a57/0/cache/cosmiconfig-typescript-loader-npm-5.1.0-81c399fbcb-9c87ade7b0.zip/node_modules/cosmiconfig-typescript-loader/dist/esm/loader.mjs
|
|
57764
57764
|
function TypeScriptLoader(options) {
|
|
57765
57765
|
const loader = (0, import_jiti.default)("", { interopDefault: true, ...options });
|
|
57766
57766
|
return (path9) => {
|
|
@@ -57778,8 +57778,8 @@ function TypeScriptLoader(options) {
|
|
|
57778
57778
|
|
|
57779
57779
|
// src/config/loadConfig.ts
|
|
57780
57780
|
var loadConfig = async () => {
|
|
57781
|
-
const explorer = (0, import_cosmiconfig.cosmiconfig)("
|
|
57782
|
-
searchPlaces: ["
|
|
57781
|
+
const explorer = (0, import_cosmiconfig.cosmiconfig)("bedrock", {
|
|
57782
|
+
searchPlaces: ["bedrock.config.ts", "bedrock.config.mts", "bedrock.config.js", "bedrock.config.cjs"],
|
|
57783
57783
|
loaders: {
|
|
57784
57784
|
".ts": TypeScriptLoader(),
|
|
57785
57785
|
".mts": TypeScriptLoader()
|
|
@@ -57796,7 +57796,7 @@ import fs2 from "fs";
|
|
|
57796
57796
|
import path7 from "path";
|
|
57797
57797
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
57798
57798
|
import { transform } from "@babel/core";
|
|
57799
|
-
import { getPackageRoot as getPackageRoot3 } from "@
|
|
57799
|
+
import { getPackageRoot as getPackageRoot3 } from "@react-native-bedrock/utils";
|
|
57800
57800
|
|
|
57801
57801
|
// ../../.yarn/cache/es-toolkit-npm-1.32.0-019fc7c155-56ba965570.zip/node_modules/es-toolkit/dist/index.mjs
|
|
57802
57802
|
init_esm_shims();
|
|
@@ -58164,7 +58164,7 @@ import {
|
|
|
58164
58164
|
setupRuntimeSetupScript,
|
|
58165
58165
|
collectDependencyVersions
|
|
58166
58166
|
} from "@apps-in-toss/plugins";
|
|
58167
|
-
import { getPackageRoot as getPackageRoot2 } from "@
|
|
58167
|
+
import { getPackageRoot as getPackageRoot2 } from "@react-native-bedrock/utils";
|
|
58168
58168
|
|
|
58169
58169
|
// ../../.yarn/cache/execa-npm-9.5.2-ac35c57136-94782a6282.zip/node_modules/execa/index.js
|
|
58170
58170
|
init_esm_shims();
|
|
@@ -65194,7 +65194,7 @@ function appsInTossWebBuild(options) {
|
|
|
65194
65194
|
const webDistFiles = await fs.promises.readdir(webDistDir);
|
|
65195
65195
|
if (webDistFiles.length === 0) {
|
|
65196
65196
|
throw new Error(
|
|
65197
|
-
`\uC6F9 \uBE4C\uB4DC \uACB0\uACFC\uBB3C\uC774 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.
|
|
65197
|
+
`\uC6F9 \uBE4C\uB4DC \uACB0\uACFC\uBB3C\uC774 \uC874\uC7AC\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. bedrock.config.ts\uC5D0\uC11C \uC124\uC815\uD55C outdir \uACBD\uB85C\uC640 \uBE4C\uB4DC \uBA85\uB839\uC5B4(web.commands.build)\uC758 \uACB0\uACFC\uBB3C \uACBD\uB85C\uAC00 \uAC19\uC740\uC9C0 \uD655\uC778\uD558\uC138\uC694.`
|
|
65198
65198
|
);
|
|
65199
65199
|
}
|
|
65200
65200
|
if (!webDistFiles.includes("index.html")) {
|
|
@@ -65250,7 +65250,7 @@ function appsInTossCreateArtifact(deploymentId) {
|
|
|
65250
65250
|
}
|
|
65251
65251
|
]).flat(),
|
|
65252
65252
|
outfile: path6.join(cwd, `${appName}.ait`),
|
|
65253
|
-
appJsonPath: path6.join(packageRoot, ".
|
|
65253
|
+
appJsonPath: path6.join(packageRoot, ".bedrock", APP_MANIFEST_NAME),
|
|
65254
65254
|
additionalFilesToZip,
|
|
65255
65255
|
packageJson: {
|
|
65256
65256
|
dependencies,
|
|
@@ -65449,10 +65449,10 @@ var BuildCommand = class extends Command {
|
|
|
65449
65449
|
static paths = [[`build`]];
|
|
65450
65450
|
static usage = Command.Usage({
|
|
65451
65451
|
category: "Build",
|
|
65452
|
-
description: "
|
|
65452
|
+
description: "Bedrock App \uBC88\uB4E4\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4",
|
|
65453
65453
|
examples: [
|
|
65454
|
-
["\uBE4C\uB4DC\uD558\uAE30", "
|
|
65455
|
-
["\uC9C0\uC815\uB41C \uB300\uC0C1\uB9CC \uBE4C\uB4DC\uD558\uAE30", "
|
|
65454
|
+
["\uBE4C\uB4DC\uD558\uAE30", "bedrock build"],
|
|
65455
|
+
["\uC9C0\uC815\uB41C \uB300\uC0C1\uB9CC \uBE4C\uB4DC\uD558\uAE30", "bedrock build --id service-ios"]
|
|
65456
65456
|
]
|
|
65457
65457
|
});
|
|
65458
65458
|
tag = options_exports.String("--tag", {
|
|
@@ -65471,7 +65471,6 @@ var BuildCommand = class extends Command {
|
|
|
65471
65471
|
|
|
65472
65472
|
// src/cli/commands/DevCommand.ts
|
|
65473
65473
|
init_esm_shims();
|
|
65474
|
-
import { getPackageRoot as getPackageRoot5 } from "@granite-js/utils";
|
|
65475
65474
|
|
|
65476
65475
|
// ../../.yarn/__virtual__/@hono-node-server-virtual-cf2888014c/0/cache/@hono-node-server-npm-1.13.8-e78cfff928-5880892fdd.zip/node_modules/@hono/node-server/dist/index.mjs
|
|
65477
65476
|
init_esm_shims();
|
|
@@ -65932,6 +65931,9 @@ var serve = (options, listeningListener) => {
|
|
|
65932
65931
|
return server;
|
|
65933
65932
|
};
|
|
65934
65933
|
|
|
65934
|
+
// src/cli/commands/DevCommand.ts
|
|
65935
|
+
import { getPackageRoot as getPackageRoot5 } from "@react-native-bedrock/utils";
|
|
65936
|
+
|
|
65935
65937
|
// src/server.ts
|
|
65936
65938
|
init_esm_shims();
|
|
65937
65939
|
import fs3 from "fs";
|
|
@@ -67841,14 +67843,14 @@ var createApp = ({ appName, web, permissions, webViewProps, brand }) => {
|
|
|
67841
67843
|
init_esm_shims();
|
|
67842
67844
|
var import_picocolors4 = __toESM(require_picocolors2(), 1);
|
|
67843
67845
|
var LOGO = [
|
|
67844
|
-
"
|
|
67845
|
-
"\u2588\u2588\u2554\u2550\u2550\
|
|
67846
|
-
"\u2588\u2588\
|
|
67847
|
-
"\u2588\u2588\
|
|
67848
|
-
"\
|
|
67849
|
-
"
|
|
67846
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557",
|
|
67847
|
+
"\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u2588\u2588\u2551 \u2588\u2588\u2554\u255D",
|
|
67848
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2554\u255D ",
|
|
67849
|
+
"\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u255D \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2588\u2588\u2557 ",
|
|
67850
|
+
"\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u2588\u2588\u2551 \u2588\u2588\u2551\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2554\u255D\u255A\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2551 \u2588\u2588\u2557",
|
|
67851
|
+
"\u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u255D \u255A\u2550\u255D"
|
|
67850
67852
|
];
|
|
67851
|
-
var GREETING_MESSAGE = "Welcome to
|
|
67853
|
+
var GREETING_MESSAGE = "Welcome to Bedrock";
|
|
67852
67854
|
function printLogo() {
|
|
67853
67855
|
const maxLength = LOGO.reduce((prev, line) => Math.max(line.length, prev), 0);
|
|
67854
67856
|
console.log();
|
|
@@ -67864,8 +67866,8 @@ var DevCommand = class extends Command {
|
|
|
67864
67866
|
static paths = [[`dev`]];
|
|
67865
67867
|
static usage = Command.Usage({
|
|
67866
67868
|
category: "Development",
|
|
67867
|
-
description: "
|
|
67868
|
-
examples: [["\uAC1C\uBC1C \uC11C\uBC84 \uC2E4\uD589\uD558\uAE30", "
|
|
67869
|
+
description: "Bedrock \uAC1C\uBC1C \uC11C\uBC84\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4",
|
|
67870
|
+
examples: [["\uAC1C\uBC1C \uC11C\uBC84 \uC2E4\uD589\uD558\uAE30", "bedrock dev"]]
|
|
67869
67871
|
});
|
|
67870
67872
|
async execute() {
|
|
67871
67873
|
const packageRoot = getPackageRoot5();
|
|
@@ -67894,8 +67896,8 @@ var DevCommand = class extends Command {
|
|
|
67894
67896
|
|
|
67895
67897
|
// src/cli/index.ts
|
|
67896
67898
|
var cli = new Cli({
|
|
67897
|
-
binaryLabel: "
|
|
67898
|
-
binaryName: "
|
|
67899
|
+
binaryLabel: "bedrock",
|
|
67900
|
+
binaryName: "bedrock",
|
|
67899
67901
|
enableCapture: true
|
|
67900
67902
|
});
|
|
67901
67903
|
async function initialize() {
|