@apps-in-toss/web-framework 0.0.0-dev.1739416338672 → 0.0.0-dev.1740737494440
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/ait.js +3 -0
- package/bin.js +2 -1
- package/config.d.ts +1 -0
- package/dist/{chunk-EFYYFBU5.js → chunk-DI2VGQ6M.js} +3 -2
- package/dist/chunk-I3ZDGLIW.js +19 -0
- package/dist/chunk-LJBVSTWE.js +7687 -0
- package/dist/chunk-TZCMTMV7.js +38 -0
- package/dist/cli/index.cjs +644 -0
- package/dist/cli/index.d.cts +2 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +592 -0
- package/dist/cli.cjs +14 -78
- package/dist/cli.js +15 -78
- package/dist/closeView.d.ts +1 -0
- package/dist/config/index.cjs +7962 -0
- package/dist/config/index.d.cts +57 -0
- package/dist/config/index.d.ts +57 -0
- package/dist/config/index.js +290 -0
- package/dist/fetchAlbumPhotos.d.ts +75 -0
- package/dist/fetchContacts.d.ts +92 -0
- package/dist/generateHapticFeedback.d.ts +1 -0
- package/dist/getClipboardText.d.ts +42 -0
- package/dist/getCurrentLocation.d.ts +109 -0
- package/dist/getDeviceId.d.ts +1 -0
- package/dist/getLocale.d.ts +1 -0
- package/dist/getNetworkStatus.d.ts +1 -0
- package/dist/getSchemeUri.d.ts +1 -0
- package/dist/index.cjs +0 -45
- package/dist/index.d.cts +1 -53
- package/dist/index.d.ts +16 -54
- package/dist/index.js +1 -9
- package/dist/openCamera.d.ts +75 -0
- package/dist/plugins/index.cjs +7681 -0
- package/dist/plugins/index.d.cts +15 -0
- package/dist/plugins/index.d.ts +15 -0
- package/dist/plugins/index.js +11 -0
- package/dist/setClipboardText.d.ts +34 -0
- package/dist/setScreenAwakeMode.d.ts +1 -0
- package/dist/setSecureScreen.d.ts +1 -0
- package/dist/share.d.ts +1 -0
- package/dist/startUpdateLocation.d.ts +151 -0
- package/package.json +21 -18
- package/react-native/react-native.config.cjs +0 -2
package/dist/cli.cjs
CHANGED
|
@@ -105,7 +105,7 @@ async function build({ distDirname, cache }) {
|
|
|
105
105
|
const config = await loadConfig();
|
|
106
106
|
const rootDir = process.cwd();
|
|
107
107
|
const reactNativeProjectDir = import_path.default.resolve(__dirname, "..", "react-native");
|
|
108
|
-
const projectRootTmp = import_path.default.resolve(process.cwd(), ".
|
|
108
|
+
const projectRootTmp = import_path.default.resolve(process.cwd(), ".apps-in-toss");
|
|
109
109
|
await import_fs.default.promises.mkdir(projectRootTmp, { recursive: true });
|
|
110
110
|
await import_fs.default.promises.writeFile(
|
|
111
111
|
import_path.default.join(projectRootTmp, "metadata.json"),
|
|
@@ -155,7 +155,7 @@ async function build({ distDirname, cache }) {
|
|
|
155
155
|
plugins: [
|
|
156
156
|
[
|
|
157
157
|
require.resolve("@apps-in-toss/babel-plugin-json"),
|
|
158
|
-
{ jsonPath: "./.
|
|
158
|
+
{ jsonPath: "./.apps-in-toss/metadata.json", identifierName: "Ait" }
|
|
159
159
|
]
|
|
160
160
|
]
|
|
161
161
|
},
|
|
@@ -173,7 +173,7 @@ async function build({ distDirname, cache }) {
|
|
|
173
173
|
plugins: [
|
|
174
174
|
[
|
|
175
175
|
require.resolve("@apps-in-toss/babel-plugin-json"),
|
|
176
|
-
{ jsonPath: "./.
|
|
176
|
+
{ jsonPath: "./.apps-in-toss/metadata.json", identifierName: "Ait" }
|
|
177
177
|
]
|
|
178
178
|
]
|
|
179
179
|
},
|
|
@@ -357,7 +357,7 @@ var DeployCommand = class extends import_clipanion2.Command {
|
|
|
357
357
|
}
|
|
358
358
|
]);
|
|
359
359
|
if (deploymentId) {
|
|
360
|
-
p.note(import_picocolors2.default.underline(import_picocolors2.default.green(
|
|
360
|
+
p.note(`Deployment ID: ${import_picocolors2.default.underline(import_picocolors2.default.green(deploymentId))}`);
|
|
361
361
|
}
|
|
362
362
|
} catch (error) {
|
|
363
363
|
if (error instanceof Error) {
|
|
@@ -393,7 +393,7 @@ var DevCommand = class extends import_clipanion3.Command {
|
|
|
393
393
|
port: this.port ? parseInt(this.port, 10) : void 0
|
|
394
394
|
};
|
|
395
395
|
const cwd = import_path3.default.resolve(__dirname, "..", "react-native");
|
|
396
|
-
const projectRootTmp = import_path3.default.resolve(process.cwd(), ".
|
|
396
|
+
const projectRootTmp = import_path3.default.resolve(process.cwd(), ".apps-in-toss");
|
|
397
397
|
await import_fs2.default.promises.mkdir(projectRootTmp, { recursive: true });
|
|
398
398
|
await import_fs2.default.promises.writeFile(
|
|
399
399
|
import_path3.default.join(projectRootTmp, "metadata.json"),
|
|
@@ -437,13 +437,11 @@ var DevCommand = class extends import_clipanion3.Command {
|
|
|
437
437
|
};
|
|
438
438
|
|
|
439
439
|
// src/InitCommand/InitCommand.ts
|
|
440
|
-
var
|
|
441
|
-
var
|
|
440
|
+
var import_fs3 = __toESM(require("fs"), 1);
|
|
441
|
+
var import_path4 = __toESM(require("path"), 1);
|
|
442
442
|
var p2 = __toESM(require("@clack/prompts"), 1);
|
|
443
443
|
var import_clipanion4 = require("clipanion");
|
|
444
444
|
var import_es_toolkit = require("es-toolkit");
|
|
445
|
-
var import_execa3 = require("execa");
|
|
446
|
-
var import_yaml = __toESM(require("yaml"), 1);
|
|
447
445
|
|
|
448
446
|
// src/InitCommand/templates/index.tsx
|
|
449
447
|
var CONFIG_TEMPLATE = `import { defineConfig } from '@apps-in-toss/web-framework';
|
|
@@ -460,21 +458,6 @@ export default defineConfig({
|
|
|
460
458
|
});
|
|
461
459
|
`;
|
|
462
460
|
|
|
463
|
-
// src/utils/getPackageRoot.ts
|
|
464
|
-
var import_fs3 = __toESM(require("fs"), 1);
|
|
465
|
-
var import_path4 = __toESM(require("path"), 1);
|
|
466
|
-
function getPackageRoot() {
|
|
467
|
-
let cwd = process.cwd();
|
|
468
|
-
const root = import_path4.default.parse(cwd).root;
|
|
469
|
-
while (cwd !== root) {
|
|
470
|
-
if (import_fs3.default.existsSync(import_path4.default.join(cwd, "package.json"))) {
|
|
471
|
-
return cwd;
|
|
472
|
-
}
|
|
473
|
-
cwd = import_path4.default.dirname(cwd);
|
|
474
|
-
}
|
|
475
|
-
return cwd;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
461
|
// src/utils/transformTemplate.ts
|
|
479
462
|
function transformTemplate(templateString, values) {
|
|
480
463
|
let result = templateString;
|
|
@@ -486,19 +469,9 @@ function transformTemplate(templateString, values) {
|
|
|
486
469
|
}
|
|
487
470
|
|
|
488
471
|
// src/InitCommand/InitCommand.ts
|
|
489
|
-
var import_meta = {};
|
|
490
|
-
async function getPnpRoot() {
|
|
491
|
-
try {
|
|
492
|
-
const pnpapi = (await import_meta.resolve("pnpapi")).replace("file://", "");
|
|
493
|
-
return import_path5.default.dirname(pnpapi);
|
|
494
|
-
} catch {
|
|
495
|
-
return null;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
472
|
var InitCommand = class extends import_clipanion4.Command {
|
|
499
473
|
static paths = [[`init`]];
|
|
500
474
|
async execute() {
|
|
501
|
-
const cwd = getPackageRoot();
|
|
502
475
|
p2.intro("\u{1F680} \uC571 \uCD08\uAE30\uD654\uB97C \uC2DC\uC791\uD569\uB2C8\uB2E4");
|
|
503
476
|
const appName = await p2.text({
|
|
504
477
|
message: "Enter app name",
|
|
@@ -528,7 +501,7 @@ var InitCommand = class extends import_clipanion4.Command {
|
|
|
528
501
|
return;
|
|
529
502
|
}
|
|
530
503
|
p2.log.step("package.json \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC124\uC815\uD558\uB294 \uC911...");
|
|
531
|
-
const packageJson = await
|
|
504
|
+
const packageJson = await import_fs3.default.promises.readFile(import_path4.default.join(process.cwd(), "package.json"), {
|
|
532
505
|
encoding: "utf-8"
|
|
533
506
|
});
|
|
534
507
|
const scripts = JSON.parse(packageJson);
|
|
@@ -539,7 +512,7 @@ var InitCommand = class extends import_clipanion4.Command {
|
|
|
539
512
|
scripts.scripts.dev = "ait dev";
|
|
540
513
|
scripts.scripts.build = "ait build";
|
|
541
514
|
scripts.scripts.deploy = "ait deploy";
|
|
542
|
-
await
|
|
515
|
+
await import_fs3.default.promises.writeFile(import_path4.default.join(process.cwd(), "package.json"), JSON.stringify(scripts, null, 2), {
|
|
543
516
|
encoding: "utf-8"
|
|
544
517
|
});
|
|
545
518
|
p2.log.step("apps-in-toss.config.web.ts \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uB294 \uC911...");
|
|
@@ -549,14 +522,14 @@ var InitCommand = class extends import_clipanion4.Command {
|
|
|
549
522
|
webDevCommand: original.dev === "ait dev" ? "" : original.dev,
|
|
550
523
|
webBuildCommand: original.build === "ait build" ? "" : original.build
|
|
551
524
|
});
|
|
552
|
-
await
|
|
525
|
+
await import_fs3.default.promises.writeFile(import_path4.default.join(process.cwd(), "apps-in-toss.config.web.ts"), config, {
|
|
553
526
|
encoding: "utf-8"
|
|
554
527
|
});
|
|
555
528
|
p2.log.step(".gitignore \uD30C\uC77C\uC744 \uC5C5\uB370\uC774\uD2B8\uD558\uB294 \uC911...");
|
|
556
|
-
await
|
|
529
|
+
await import_fs3.default.promises.appendFile(import_path4.default.join(process.cwd(), ".gitignore"), "\n.apps-in-toss\n");
|
|
557
530
|
p2.log.step("app.json \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uB294 \uC911...");
|
|
558
|
-
await
|
|
559
|
-
|
|
531
|
+
await import_fs3.default.promises.writeFile(
|
|
532
|
+
import_path4.default.join(process.cwd(), "app.json"),
|
|
560
533
|
JSON.stringify({
|
|
561
534
|
clientId: "",
|
|
562
535
|
appName,
|
|
@@ -566,49 +539,12 @@ var InitCommand = class extends import_clipanion4.Command {
|
|
|
566
539
|
encoding: "utf-8"
|
|
567
540
|
}
|
|
568
541
|
);
|
|
569
|
-
const pnpRoot = await getPnpRoot();
|
|
570
|
-
if (pnpRoot) {
|
|
571
|
-
const yarnrcPath = import_path5.default.join(pnpRoot, ".yarnrc.yml");
|
|
572
|
-
let yarnrc = {};
|
|
573
|
-
try {
|
|
574
|
-
const yarnrcContent = await import_fs4.default.promises.readFile(yarnrcPath, { encoding: "utf-8" });
|
|
575
|
-
yarnrc = import_yaml.default.parse(yarnrcContent);
|
|
576
|
-
} catch {
|
|
577
|
-
p2.log.info(".yarnrc.yml \uD30C\uC77C\uC774 \uC5C6\uC5B4 \uC0C8\uB85C \uC0DD\uC131\uD569\uB2C8\uB2E4.");
|
|
578
|
-
}
|
|
579
|
-
p2.log.step(".yarnrc.yml \uD30C\uC77C\uC744 \uC5C5\uB370\uC774\uD2B8\uD558\uB294 \uC911...");
|
|
580
|
-
yarnrc = (0, import_es_toolkit.merge)(yarnrc, {
|
|
581
|
-
packageExtensions: {
|
|
582
|
-
"@react-native-community/cli-debugger-ui@*": {
|
|
583
|
-
dependencies: {
|
|
584
|
-
"@babel/runtime": "^7"
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
"react-native-video@*": {
|
|
588
|
-
peerDependencies: {
|
|
589
|
-
react: "*",
|
|
590
|
-
"react-native": "*"
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
"react-native-fast-image@*": {
|
|
594
|
-
dependencies: {
|
|
595
|
-
"@babel/runtime": "^7"
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
});
|
|
600
|
-
await import_fs4.default.promises.writeFile(yarnrcPath, import_yaml.default.stringify(yarnrc), { encoding: "utf-8" });
|
|
601
|
-
await (0, import_execa3.execa)("yarn", ["install"], {
|
|
602
|
-
cwd,
|
|
603
|
-
stdio: "inherit"
|
|
604
|
-
});
|
|
605
|
-
}
|
|
606
542
|
p2.outro("\u2728 \uCD08\uAE30\uD654\uAC00 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4!");
|
|
607
543
|
}
|
|
608
544
|
};
|
|
609
545
|
|
|
610
546
|
// package.json
|
|
611
|
-
var version = "0.
|
|
547
|
+
var version = "0.1.6-next.6";
|
|
612
548
|
|
|
613
549
|
// src/cli.ts
|
|
614
550
|
var cli = new import_clipanion5.Cli({
|
package/dist/cli.js
CHANGED
|
@@ -54,7 +54,7 @@ async function build({ distDirname, cache }) {
|
|
|
54
54
|
const config = await loadConfig();
|
|
55
55
|
const rootDir = process.cwd();
|
|
56
56
|
const reactNativeProjectDir = path.resolve(__dirname, "..", "react-native");
|
|
57
|
-
const projectRootTmp = path.resolve(process.cwd(), ".
|
|
57
|
+
const projectRootTmp = path.resolve(process.cwd(), ".apps-in-toss");
|
|
58
58
|
await fs.promises.mkdir(projectRootTmp, { recursive: true });
|
|
59
59
|
await fs.promises.writeFile(
|
|
60
60
|
path.join(projectRootTmp, "metadata.json"),
|
|
@@ -104,7 +104,7 @@ async function build({ distDirname, cache }) {
|
|
|
104
104
|
plugins: [
|
|
105
105
|
[
|
|
106
106
|
__require.resolve("@apps-in-toss/babel-plugin-json"),
|
|
107
|
-
{ jsonPath: "./.
|
|
107
|
+
{ jsonPath: "./.apps-in-toss/metadata.json", identifierName: "Ait" }
|
|
108
108
|
]
|
|
109
109
|
]
|
|
110
110
|
},
|
|
@@ -122,7 +122,7 @@ async function build({ distDirname, cache }) {
|
|
|
122
122
|
plugins: [
|
|
123
123
|
[
|
|
124
124
|
__require.resolve("@apps-in-toss/babel-plugin-json"),
|
|
125
|
-
{ jsonPath: "./.
|
|
125
|
+
{ jsonPath: "./.apps-in-toss/metadata.json", identifierName: "Ait" }
|
|
126
126
|
]
|
|
127
127
|
]
|
|
128
128
|
},
|
|
@@ -306,7 +306,7 @@ var DeployCommand = class extends Command2 {
|
|
|
306
306
|
}
|
|
307
307
|
]);
|
|
308
308
|
if (deploymentId) {
|
|
309
|
-
p.note(picocolors2.underline(picocolors2.green(
|
|
309
|
+
p.note(`Deployment ID: ${picocolors2.underline(picocolors2.green(deploymentId))}`);
|
|
310
310
|
}
|
|
311
311
|
} catch (error) {
|
|
312
312
|
if (error instanceof Error) {
|
|
@@ -342,7 +342,7 @@ var DevCommand = class extends Command3 {
|
|
|
342
342
|
port: this.port ? parseInt(this.port, 10) : void 0
|
|
343
343
|
};
|
|
344
344
|
const cwd = path3.resolve(__dirname, "..", "react-native");
|
|
345
|
-
const projectRootTmp = path3.resolve(process.cwd(), ".
|
|
345
|
+
const projectRootTmp = path3.resolve(process.cwd(), ".apps-in-toss");
|
|
346
346
|
await fs3.promises.mkdir(projectRootTmp, { recursive: true });
|
|
347
347
|
await fs3.promises.writeFile(
|
|
348
348
|
path3.join(projectRootTmp, "metadata.json"),
|
|
@@ -386,13 +386,11 @@ var DevCommand = class extends Command3 {
|
|
|
386
386
|
};
|
|
387
387
|
|
|
388
388
|
// src/InitCommand/InitCommand.ts
|
|
389
|
-
import
|
|
390
|
-
import
|
|
389
|
+
import fs4 from "fs";
|
|
390
|
+
import path4 from "path";
|
|
391
391
|
import * as p2 from "@clack/prompts";
|
|
392
392
|
import { Command as Command4 } from "clipanion";
|
|
393
|
-
import { kebabCase
|
|
394
|
-
import { execa as execa3 } from "execa";
|
|
395
|
-
import yaml from "yaml";
|
|
393
|
+
import { kebabCase } from "es-toolkit";
|
|
396
394
|
|
|
397
395
|
// src/InitCommand/templates/index.tsx
|
|
398
396
|
var CONFIG_TEMPLATE = `import { defineConfig } from '@apps-in-toss/web-framework';
|
|
@@ -409,21 +407,6 @@ export default defineConfig({
|
|
|
409
407
|
});
|
|
410
408
|
`;
|
|
411
409
|
|
|
412
|
-
// src/utils/getPackageRoot.ts
|
|
413
|
-
import fs4 from "fs";
|
|
414
|
-
import path4 from "path";
|
|
415
|
-
function getPackageRoot() {
|
|
416
|
-
let cwd = process.cwd();
|
|
417
|
-
const root = path4.parse(cwd).root;
|
|
418
|
-
while (cwd !== root) {
|
|
419
|
-
if (fs4.existsSync(path4.join(cwd, "package.json"))) {
|
|
420
|
-
return cwd;
|
|
421
|
-
}
|
|
422
|
-
cwd = path4.dirname(cwd);
|
|
423
|
-
}
|
|
424
|
-
return cwd;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
410
|
// src/utils/transformTemplate.ts
|
|
428
411
|
function transformTemplate(templateString, values) {
|
|
429
412
|
let result = templateString;
|
|
@@ -435,18 +418,9 @@ function transformTemplate(templateString, values) {
|
|
|
435
418
|
}
|
|
436
419
|
|
|
437
420
|
// src/InitCommand/InitCommand.ts
|
|
438
|
-
async function getPnpRoot() {
|
|
439
|
-
try {
|
|
440
|
-
const pnpapi = (await import.meta.resolve("pnpapi")).replace("file://", "");
|
|
441
|
-
return path5.dirname(pnpapi);
|
|
442
|
-
} catch {
|
|
443
|
-
return null;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
421
|
var InitCommand = class extends Command4 {
|
|
447
422
|
static paths = [[`init`]];
|
|
448
423
|
async execute() {
|
|
449
|
-
const cwd = getPackageRoot();
|
|
450
424
|
p2.intro("\u{1F680} \uC571 \uCD08\uAE30\uD654\uB97C \uC2DC\uC791\uD569\uB2C8\uB2E4");
|
|
451
425
|
const appName = await p2.text({
|
|
452
426
|
message: "Enter app name",
|
|
@@ -476,7 +450,7 @@ var InitCommand = class extends Command4 {
|
|
|
476
450
|
return;
|
|
477
451
|
}
|
|
478
452
|
p2.log.step("package.json \uC2A4\uD06C\uB9BD\uD2B8\uB97C \uC124\uC815\uD558\uB294 \uC911...");
|
|
479
|
-
const packageJson = await
|
|
453
|
+
const packageJson = await fs4.promises.readFile(path4.join(process.cwd(), "package.json"), {
|
|
480
454
|
encoding: "utf-8"
|
|
481
455
|
});
|
|
482
456
|
const scripts = JSON.parse(packageJson);
|
|
@@ -487,7 +461,7 @@ var InitCommand = class extends Command4 {
|
|
|
487
461
|
scripts.scripts.dev = "ait dev";
|
|
488
462
|
scripts.scripts.build = "ait build";
|
|
489
463
|
scripts.scripts.deploy = "ait deploy";
|
|
490
|
-
await
|
|
464
|
+
await fs4.promises.writeFile(path4.join(process.cwd(), "package.json"), JSON.stringify(scripts, null, 2), {
|
|
491
465
|
encoding: "utf-8"
|
|
492
466
|
});
|
|
493
467
|
p2.log.step("apps-in-toss.config.web.ts \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uB294 \uC911...");
|
|
@@ -497,14 +471,14 @@ var InitCommand = class extends Command4 {
|
|
|
497
471
|
webDevCommand: original.dev === "ait dev" ? "" : original.dev,
|
|
498
472
|
webBuildCommand: original.build === "ait build" ? "" : original.build
|
|
499
473
|
});
|
|
500
|
-
await
|
|
474
|
+
await fs4.promises.writeFile(path4.join(process.cwd(), "apps-in-toss.config.web.ts"), config, {
|
|
501
475
|
encoding: "utf-8"
|
|
502
476
|
});
|
|
503
477
|
p2.log.step(".gitignore \uD30C\uC77C\uC744 \uC5C5\uB370\uC774\uD2B8\uD558\uB294 \uC911...");
|
|
504
|
-
await
|
|
478
|
+
await fs4.promises.appendFile(path4.join(process.cwd(), ".gitignore"), "\n.apps-in-toss\n");
|
|
505
479
|
p2.log.step("app.json \uD30C\uC77C\uC744 \uC0DD\uC131\uD558\uB294 \uC911...");
|
|
506
|
-
await
|
|
507
|
-
|
|
480
|
+
await fs4.promises.writeFile(
|
|
481
|
+
path4.join(process.cwd(), "app.json"),
|
|
508
482
|
JSON.stringify({
|
|
509
483
|
clientId: "",
|
|
510
484
|
appName,
|
|
@@ -514,49 +488,12 @@ var InitCommand = class extends Command4 {
|
|
|
514
488
|
encoding: "utf-8"
|
|
515
489
|
}
|
|
516
490
|
);
|
|
517
|
-
const pnpRoot = await getPnpRoot();
|
|
518
|
-
if (pnpRoot) {
|
|
519
|
-
const yarnrcPath = path5.join(pnpRoot, ".yarnrc.yml");
|
|
520
|
-
let yarnrc = {};
|
|
521
|
-
try {
|
|
522
|
-
const yarnrcContent = await fs5.promises.readFile(yarnrcPath, { encoding: "utf-8" });
|
|
523
|
-
yarnrc = yaml.parse(yarnrcContent);
|
|
524
|
-
} catch {
|
|
525
|
-
p2.log.info(".yarnrc.yml \uD30C\uC77C\uC774 \uC5C6\uC5B4 \uC0C8\uB85C \uC0DD\uC131\uD569\uB2C8\uB2E4.");
|
|
526
|
-
}
|
|
527
|
-
p2.log.step(".yarnrc.yml \uD30C\uC77C\uC744 \uC5C5\uB370\uC774\uD2B8\uD558\uB294 \uC911...");
|
|
528
|
-
yarnrc = merge(yarnrc, {
|
|
529
|
-
packageExtensions: {
|
|
530
|
-
"@react-native-community/cli-debugger-ui@*": {
|
|
531
|
-
dependencies: {
|
|
532
|
-
"@babel/runtime": "^7"
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"react-native-video@*": {
|
|
536
|
-
peerDependencies: {
|
|
537
|
-
react: "*",
|
|
538
|
-
"react-native": "*"
|
|
539
|
-
}
|
|
540
|
-
},
|
|
541
|
-
"react-native-fast-image@*": {
|
|
542
|
-
dependencies: {
|
|
543
|
-
"@babel/runtime": "^7"
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
});
|
|
548
|
-
await fs5.promises.writeFile(yarnrcPath, yaml.stringify(yarnrc), { encoding: "utf-8" });
|
|
549
|
-
await execa3("yarn", ["install"], {
|
|
550
|
-
cwd,
|
|
551
|
-
stdio: "inherit"
|
|
552
|
-
});
|
|
553
|
-
}
|
|
554
491
|
p2.outro("\u2728 \uCD08\uAE30\uD654\uAC00 \uC644\uB8CC\uB418\uC5C8\uC2B5\uB2C8\uB2E4!");
|
|
555
492
|
}
|
|
556
493
|
};
|
|
557
494
|
|
|
558
495
|
// package.json
|
|
559
|
-
var version = "0.
|
|
496
|
+
var version = "0.1.6-next.6";
|
|
560
497
|
|
|
561
498
|
// src/cli.ts
|
|
562
499
|
var cli = new Cli({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|