@simplysm/sd-cli 12.9.16 → 12.9.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.
|
@@ -393,7 +393,7 @@ export class SdCliCordova {
|
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
static async runWebviewOnDeviceAsync(opt) {
|
|
396
|
-
const cordovaPath = path.resolve(process.cwd(), `packages/${opt.
|
|
396
|
+
const cordovaPath = path.resolve(process.cwd(), `packages/${opt.package}/.cordova/`);
|
|
397
397
|
if (opt.url !== undefined) {
|
|
398
398
|
FsUtils.remove(path.resolve(cordovaPath, "www"));
|
|
399
399
|
FsUtils.mkdirs(path.resolve(cordovaPath, "www"));
|
|
@@ -401,7 +401,7 @@ export class SdCliCordova {
|
|
|
401
401
|
'${opt.url}'로 이동중...
|
|
402
402
|
<script>
|
|
403
403
|
setTimeout(function () {
|
|
404
|
-
window.location.href = "${opt.url.replace(/\/$/, "")}/${opt.
|
|
404
|
+
window.location.href = "${opt.url.replace(/\/$/, "")}/${opt.package}/cordova/";
|
|
405
405
|
}, 3000);
|
|
406
406
|
</script>`.trim());
|
|
407
407
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/sd-cli",
|
|
3
|
-
"version": "12.9.
|
|
3
|
+
"version": "12.9.17",
|
|
4
4
|
"description": "심플리즘 패키지 - CLI",
|
|
5
5
|
"author": "김석래",
|
|
6
6
|
"repository": {
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"@angular/compiler-cli": "^19.2.10",
|
|
18
18
|
"@anthropic-ai/sdk": "^0.41.0",
|
|
19
19
|
"@electron/rebuild": "^4.0.1",
|
|
20
|
-
"@simplysm/sd-core-common": "12.9.
|
|
21
|
-
"@simplysm/sd-core-node": "12.9.
|
|
22
|
-
"@simplysm/sd-service-server": "12.9.
|
|
23
|
-
"@simplysm/sd-storage": "12.9.
|
|
20
|
+
"@simplysm/sd-core-common": "12.9.17",
|
|
21
|
+
"@simplysm/sd-core-node": "12.9.17",
|
|
22
|
+
"@simplysm/sd-service-server": "12.9.17",
|
|
23
|
+
"@simplysm/sd-storage": "12.9.17",
|
|
24
24
|
"browserslist": "^4.24.5",
|
|
25
25
|
"cordova": "^12.0.0",
|
|
26
26
|
"css-has-pseudo": "^7.0.2",
|
|
@@ -530,10 +530,10 @@ export class SdCliCordova {
|
|
|
530
530
|
|
|
531
531
|
static async runWebviewOnDeviceAsync(opt: {
|
|
532
532
|
platform: string;
|
|
533
|
-
|
|
533
|
+
package: string;
|
|
534
534
|
url?: string
|
|
535
535
|
}): Promise<void> {
|
|
536
|
-
const cordovaPath = path.resolve(process.cwd(), `packages/${opt.
|
|
536
|
+
const cordovaPath = path.resolve(process.cwd(), `packages/${opt.package}/.cordova/`);
|
|
537
537
|
|
|
538
538
|
if (opt.url !== undefined) {
|
|
539
539
|
FsUtils.remove(path.resolve(cordovaPath, "www"));
|
|
@@ -544,7 +544,7 @@ export class SdCliCordova {
|
|
|
544
544
|
'${opt.url}'로 이동중...
|
|
545
545
|
<script>
|
|
546
546
|
setTimeout(function () {
|
|
547
|
-
window.location.href = "${opt.url.replace(/\/$/, "")}/${opt.
|
|
547
|
+
window.location.href = "${opt.url.replace(/\/$/, "")}/${opt.package}/cordova/";
|
|
548
548
|
}, 3000);
|
|
549
549
|
</script>`.trim(),
|
|
550
550
|
);
|