@hapico/cli 0.0.24 → 0.0.26
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/bin/index.js +3 -3
- package/dist/index.js +3 -3
- package/index.ts +3 -3
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -395,7 +395,7 @@ class RoomState {
|
|
|
395
395
|
return this.isConnected;
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
commander_1.program.version("0.0.
|
|
398
|
+
commander_1.program.version("0.0.26").description("Hapico CLI for project management");
|
|
399
399
|
commander_1.program
|
|
400
400
|
.command("clone <id>")
|
|
401
401
|
.description("Clone a project by ID")
|
|
@@ -602,8 +602,8 @@ commander_1.program
|
|
|
602
602
|
}
|
|
603
603
|
const projectType = project.data.type || "view";
|
|
604
604
|
const zversion = options.zversion;
|
|
605
|
-
if (projectType === "expo_app") {
|
|
606
|
-
const BASE_EXPO_LINK = `exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/
|
|
605
|
+
if (projectType === "expo_app" || projectType === "emg_edu_lesson") {
|
|
606
|
+
const BASE_EXPO_LINK = `exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/3ac94fc0-92b1-445e-8d88-9b2f6a4b869a`;
|
|
607
607
|
//exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/8cd11ab9-b6db-4924-9f7a-5e449f027bba?sessionKey=eyJpZCI6IjU1NF8xIiwidmlld0lkIjo1NTR9&mode=development
|
|
608
608
|
const link = `${BASE_EXPO_LINK}?sessionKey=${projectId}&mode=development`;
|
|
609
609
|
qrcode_terminal_1.default.generate(link, { small: true }, (qrcode) => {
|
package/dist/index.js
CHANGED
|
@@ -395,7 +395,7 @@ class RoomState {
|
|
|
395
395
|
return this.isConnected;
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
commander_1.program.version("0.0.
|
|
398
|
+
commander_1.program.version("0.0.26").description("Hapico CLI for project management");
|
|
399
399
|
commander_1.program
|
|
400
400
|
.command("clone <id>")
|
|
401
401
|
.description("Clone a project by ID")
|
|
@@ -602,8 +602,8 @@ commander_1.program
|
|
|
602
602
|
}
|
|
603
603
|
const projectType = project.data.type || "view";
|
|
604
604
|
const zversion = options.zversion;
|
|
605
|
-
if (projectType === "expo_app") {
|
|
606
|
-
const BASE_EXPO_LINK = `exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/
|
|
605
|
+
if (projectType === "expo_app" || projectType === "emg_edu_lesson") {
|
|
606
|
+
const BASE_EXPO_LINK = `exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/3ac94fc0-92b1-445e-8d88-9b2f6a4b869a`;
|
|
607
607
|
//exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/8cd11ab9-b6db-4924-9f7a-5e449f027bba?sessionKey=eyJpZCI6IjU1NF8xIiwidmlld0lkIjo1NTR9&mode=development
|
|
608
608
|
const link = `${BASE_EXPO_LINK}?sessionKey=${projectId}&mode=development`;
|
|
609
609
|
qrcode_terminal_1.default.generate(link, { small: true }, (qrcode) => {
|
package/index.ts
CHANGED
|
@@ -475,7 +475,7 @@ class RoomState {
|
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
program.version("0.0.
|
|
478
|
+
program.version("0.0.26").description("Hapico CLI for project management");
|
|
479
479
|
|
|
480
480
|
program
|
|
481
481
|
.command("clone <id>")
|
|
@@ -774,8 +774,8 @@ program
|
|
|
774
774
|
const projectType = project.data.type || "view";
|
|
775
775
|
const zversion = options.zversion;
|
|
776
776
|
|
|
777
|
-
if (projectType === "expo_app") {
|
|
778
|
-
const BASE_EXPO_LINK = `exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/
|
|
777
|
+
if (projectType === "expo_app" || projectType === "emg_edu_lesson") {
|
|
778
|
+
const BASE_EXPO_LINK = `exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/3ac94fc0-92b1-445e-8d88-9b2f6a4b869a`;
|
|
779
779
|
//exp://u.expo.dev/e362c6df-abe8-4503-8723-1362f015d167/group/8cd11ab9-b6db-4924-9f7a-5e449f027bba?sessionKey=eyJpZCI6IjU1NF8xIiwidmlld0lkIjo1NTR9&mode=development
|
|
780
780
|
const link = `${BASE_EXPO_LINK}?sessionKey=${projectId}&mode=development`;
|
|
781
781
|
QRCode.generate(link, { small: true }, (qrcode) => {
|