create-gui 8.0.0 → 8.1.1
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/index.cjs +13 -8
- package/dist/index.native.js +13 -8
- package/package.json +7 -2
package/dist/index.cjs
CHANGED
|
@@ -37,7 +37,7 @@ var import_prompts4 = __toESM(require("prompts"));
|
|
|
37
37
|
// package.json
|
|
38
38
|
var package_default = {
|
|
39
39
|
name: "create-gui",
|
|
40
|
-
version: "8.
|
|
40
|
+
version: "8.1.0",
|
|
41
41
|
gitHead: "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
42
42
|
bin: {
|
|
43
43
|
"create-gui": "run.js"
|
|
@@ -678,8 +678,8 @@ var templates = [
|
|
|
678
678
|
packageManager: "bun",
|
|
679
679
|
repo: {
|
|
680
680
|
url: `https://github.com/hanzoai/gui`,
|
|
681
|
-
sshFallback: `git@github.com:
|
|
682
|
-
dir: ["
|
|
681
|
+
sshFallback: `git@github.com:hanzoai/gui.git`,
|
|
682
|
+
dir: ["apps", "starters", "expo-router"],
|
|
683
683
|
branch: "main"
|
|
684
684
|
},
|
|
685
685
|
extraSteps: expo_router_default
|
|
@@ -692,8 +692,8 @@ var templates = [
|
|
|
692
692
|
packageManager: "bun",
|
|
693
693
|
repo: {
|
|
694
694
|
url: `https://github.com/hanzoai/gui`,
|
|
695
|
-
sshFallback: `git@github.com:
|
|
696
|
-
dir: ["
|
|
695
|
+
sshFallback: `git@github.com:hanzoai/gui.git`,
|
|
696
|
+
dir: ["apps", "starters", "remix"],
|
|
697
697
|
branch: "main"
|
|
698
698
|
},
|
|
699
699
|
extraSteps: remix_default
|
|
@@ -868,7 +868,9 @@ ${import_chalk10.default.bold(import_chalk10.default.red(`Please pick a differen
|
|
|
868
868
|
process.exit(1);
|
|
869
869
|
}
|
|
870
870
|
console.info();
|
|
871
|
-
console.info(
|
|
871
|
+
console.info(
|
|
872
|
+
`Creating a new hanzogui app ${import_chalk10.default.blueBright(resolvedProjectPath)}...`
|
|
873
|
+
);
|
|
872
874
|
import_node_fs3.default.mkdirSync(resolvedProjectPath);
|
|
873
875
|
console.info(import_chalk10.default.green(`${projectName} folder created.`));
|
|
874
876
|
try {
|
|
@@ -876,9 +878,12 @@ ${import_chalk10.default.bold(import_chalk10.default.red(`Please pick a differen
|
|
|
876
878
|
process.chdir(resolvedProjectPath);
|
|
877
879
|
console.info();
|
|
878
880
|
} catch (e) {
|
|
879
|
-
console.error(
|
|
881
|
+
console.error(
|
|
882
|
+
`[hanzogui] Failed to copy example into ${resolvedProjectPath}
|
|
880
883
|
|
|
881
|
-
`,
|
|
884
|
+
`,
|
|
885
|
+
e
|
|
886
|
+
);
|
|
882
887
|
process.exit(1);
|
|
883
888
|
}
|
|
884
889
|
updatePackageJsonName(projectName, resolvedProjectPath);
|
package/dist/index.native.js
CHANGED
|
@@ -38,7 +38,7 @@ var import_prompts4 = __toESM(require("prompts"));
|
|
|
38
38
|
// package.json
|
|
39
39
|
var package_default = {
|
|
40
40
|
name: "create-gui",
|
|
41
|
-
version: "8.
|
|
41
|
+
version: "8.1.0",
|
|
42
42
|
gitHead: "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
43
43
|
bin: {
|
|
44
44
|
"create-gui": "run.js"
|
|
@@ -679,8 +679,8 @@ var templates = [
|
|
|
679
679
|
packageManager: "bun",
|
|
680
680
|
repo: {
|
|
681
681
|
url: `https://github.com/hanzoai/gui`,
|
|
682
|
-
sshFallback: `git@github.com:
|
|
683
|
-
dir: ["
|
|
682
|
+
sshFallback: `git@github.com:hanzoai/gui.git`,
|
|
683
|
+
dir: ["apps", "starters", "expo-router"],
|
|
684
684
|
branch: "main"
|
|
685
685
|
},
|
|
686
686
|
extraSteps: expo_router_default
|
|
@@ -693,8 +693,8 @@ var templates = [
|
|
|
693
693
|
packageManager: "bun",
|
|
694
694
|
repo: {
|
|
695
695
|
url: `https://github.com/hanzoai/gui`,
|
|
696
|
-
sshFallback: `git@github.com:
|
|
697
|
-
dir: ["
|
|
696
|
+
sshFallback: `git@github.com:hanzoai/gui.git`,
|
|
697
|
+
dir: ["apps", "starters", "remix"],
|
|
698
698
|
branch: "main"
|
|
699
699
|
},
|
|
700
700
|
extraSteps: remix_default
|
|
@@ -869,7 +869,9 @@ ${import_chalk10.default.bold(import_chalk10.default.red(`Please pick a differen
|
|
|
869
869
|
process.exit(1);
|
|
870
870
|
}
|
|
871
871
|
console.info();
|
|
872
|
-
console.info(
|
|
872
|
+
console.info(
|
|
873
|
+
`Creating a new hanzogui app ${import_chalk10.default.blueBright(resolvedProjectPath)}...`
|
|
874
|
+
);
|
|
873
875
|
import_node_fs3.default.mkdirSync(resolvedProjectPath);
|
|
874
876
|
console.info(import_chalk10.default.green(`${projectName} folder created.`));
|
|
875
877
|
try {
|
|
@@ -877,9 +879,12 @@ ${import_chalk10.default.bold(import_chalk10.default.red(`Please pick a differen
|
|
|
877
879
|
process.chdir(resolvedProjectPath);
|
|
878
880
|
console.info();
|
|
879
881
|
} catch (e) {
|
|
880
|
-
console.error(
|
|
882
|
+
console.error(
|
|
883
|
+
`[hanzogui] Failed to copy example into ${resolvedProjectPath}
|
|
881
884
|
|
|
882
|
-
`,
|
|
885
|
+
`,
|
|
886
|
+
e
|
|
887
|
+
);
|
|
883
888
|
process.exit(1);
|
|
884
889
|
}
|
|
885
890
|
updatePackageJsonName(projectName, resolvedProjectPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-gui",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-gui": "run.js"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@playwright/test": "^1.49.1",
|
|
45
|
-
"@hanzogui/build": "8.
|
|
45
|
+
"@hanzogui/build": "8.1.1",
|
|
46
46
|
"@types/node": "^22.1.0",
|
|
47
47
|
"@types/opener": "^1.4.3",
|
|
48
48
|
"@types/prompts": "2.0.1",
|
|
@@ -51,5 +51,10 @@
|
|
|
51
51
|
"esbuild-register": "^3.6.0",
|
|
52
52
|
"tempy": "^3.1.0",
|
|
53
53
|
"vitest": "4.0.4"
|
|
54
|
+
},
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "git+https://github.com/hanzoai/gui.git",
|
|
58
|
+
"directory": "pkgs/core/create-gui"
|
|
54
59
|
}
|
|
55
60
|
}
|