create-utopia 0.0.2 → 0.0.4
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.js +4 -4
- package/package.json +1 -1
- package/template/package.json +8 -7
package/dist/index.js
CHANGED
|
@@ -89,10 +89,10 @@ function scaffoldProject(root, options) {
|
|
|
89
89
|
devDeps["less"] = "^4.2.0";
|
|
90
90
|
}
|
|
91
91
|
if (useEmail && deps) {
|
|
92
|
-
deps["@matthesketh/utopia-email"] = "^0.0.
|
|
92
|
+
deps["@matthesketh/utopia-email"] = "^0.0.4";
|
|
93
93
|
}
|
|
94
94
|
if (useAI && deps) {
|
|
95
|
-
deps["@matthesketh/utopia-ai"] = "^0.0.
|
|
95
|
+
deps["@matthesketh/utopia-ai"] = "^0.0.4";
|
|
96
96
|
}
|
|
97
97
|
fs.writeFileSync(pkgJsonPath, JSON.stringify(pkg, null, 2) + "\n", "utf-8");
|
|
98
98
|
if (language === "javascript") {
|
|
@@ -104,7 +104,7 @@ function scaffoldProject(root, options) {
|
|
|
104
104
|
const ssrPkg = JSON.parse(fs.readFileSync(pkgJsonPath, "utf-8"));
|
|
105
105
|
const ssrDeps = ssrPkg["dependencies"];
|
|
106
106
|
const ssrDevDeps = ssrPkg["devDependencies"];
|
|
107
|
-
ssrDeps["@matthesketh/utopia-server"] = "^0.0.
|
|
107
|
+
ssrDeps["@matthesketh/utopia-server"] = "^0.0.4";
|
|
108
108
|
ssrDeps["express"] = "^4.21.0";
|
|
109
109
|
if (ssrDevDeps["vite"]) {
|
|
110
110
|
ssrDeps["vite"] = ssrDevDeps["vite"];
|
|
@@ -241,7 +241,7 @@ function getPackageManagerCommands(pm) {
|
|
|
241
241
|
}
|
|
242
242
|
function printBanner() {
|
|
243
243
|
console.log();
|
|
244
|
-
console.log(bold(cyan(" create-utopia")) + dim(" v0.0.
|
|
244
|
+
console.log(bold(cyan(" create-utopia")) + dim(" v0.0.4"));
|
|
245
245
|
console.log();
|
|
246
246
|
}
|
|
247
247
|
function printSuccessBox(projectName, root) {
|
package/package.json
CHANGED
package/template/package.json
CHANGED
|
@@ -4,17 +4,18 @@
|
|
|
4
4
|
"version": "0.0.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dev": "
|
|
8
|
-
"build": "
|
|
9
|
-
"preview": "
|
|
7
|
+
"dev": "utopia dev",
|
|
8
|
+
"build": "utopia build",
|
|
9
|
+
"preview": "utopia preview"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@matthesketh/utopia-core": "^0.0.
|
|
13
|
-
"@matthesketh/utopia-runtime": "^0.0.
|
|
14
|
-
"@matthesketh/utopia-router": "^0.0.
|
|
12
|
+
"@matthesketh/utopia-core": "^0.0.4",
|
|
13
|
+
"@matthesketh/utopia-runtime": "^0.0.4",
|
|
14
|
+
"@matthesketh/utopia-router": "^0.0.4"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@matthesketh/utopia-
|
|
17
|
+
"@matthesketh/utopia-cli": "^0.0.4",
|
|
18
|
+
"@matthesketh/utopia-vite-plugin": "^0.0.4",
|
|
18
19
|
"typescript": "^5.7.0",
|
|
19
20
|
"vite": "^6.0.0"
|
|
20
21
|
}
|