@simplysm/sd-cli 12.16.15 → 12.16.17
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.
|
@@ -490,7 +490,7 @@ export class SdCliCapacitor {
|
|
|
490
490
|
async buildAsync(outPath) {
|
|
491
491
|
const buildType = this._opt.config.debug ? "debug" : "release";
|
|
492
492
|
// 플랫폼별 빌드
|
|
493
|
-
|
|
493
|
+
for (const platform of this._platforms) {
|
|
494
494
|
// 해당 플랫폼만 copy
|
|
495
495
|
await SdCliCapacitor._execAsync("npx", ["cap", "copy", platform], this._capPath);
|
|
496
496
|
if (platform === "android") {
|
|
@@ -499,7 +499,7 @@ export class SdCliCapacitor {
|
|
|
499
499
|
else {
|
|
500
500
|
throw new NotImplementError();
|
|
501
501
|
}
|
|
502
|
-
}
|
|
502
|
+
}
|
|
503
503
|
}
|
|
504
504
|
async _buildAndroidAsync(outPath, buildType) {
|
|
505
505
|
const androidPath = path.resolve(this._capPath, "android");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/sd-cli",
|
|
3
|
-
"version": "12.16.
|
|
3
|
+
"version": "12.16.17",
|
|
4
4
|
"description": "심플리즘 패키지 - CLI",
|
|
5
5
|
"author": "김석래",
|
|
6
6
|
"repository": {
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"@angular/compiler-cli": "^20.3.15",
|
|
18
18
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
19
19
|
"@electron/rebuild": "^4.0.2",
|
|
20
|
-
"@simplysm/sd-core-common": "12.16.
|
|
21
|
-
"@simplysm/sd-core-node": "12.16.
|
|
22
|
-
"@simplysm/sd-service-server": "12.16.
|
|
23
|
-
"@simplysm/sd-storage": "12.16.
|
|
20
|
+
"@simplysm/sd-core-common": "12.16.17",
|
|
21
|
+
"@simplysm/sd-core-node": "12.16.17",
|
|
22
|
+
"@simplysm/sd-service-server": "12.16.17",
|
|
23
|
+
"@simplysm/sd-storage": "12.16.17",
|
|
24
24
|
"browserslist": "^4.28.1",
|
|
25
25
|
"cordova": "^13.0.0",
|
|
26
26
|
"electron": "^33.4.11",
|
|
@@ -631,18 +631,16 @@ export class SdCliCapacitor {
|
|
|
631
631
|
const buildType = this._opt.config.debug ? "debug" : "release";
|
|
632
632
|
|
|
633
633
|
// 플랫폼별 빌드
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
}),
|
|
645
|
-
);
|
|
634
|
+
for (const platform of this._platforms) {
|
|
635
|
+
// 해당 플랫폼만 copy
|
|
636
|
+
await SdCliCapacitor._execAsync("npx", ["cap", "copy", platform], this._capPath);
|
|
637
|
+
|
|
638
|
+
if (platform === "android") {
|
|
639
|
+
await this._buildAndroidAsync(outPath, buildType);
|
|
640
|
+
} else {
|
|
641
|
+
throw new NotImplementError();
|
|
642
|
+
}
|
|
643
|
+
}
|
|
646
644
|
}
|
|
647
645
|
|
|
648
646
|
private async _buildAndroidAsync(outPath: string, buildType: string): Promise<void> {
|