create-uix-app 1.3.1 → 1.3.2
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/package.json +1 -1
- package/src/index.js +2 -10
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -78,14 +78,7 @@ if (!projectName && !reactNative) {
|
|
|
78
78
|
)
|
|
79
79
|
);
|
|
80
80
|
const pkgjsonPrjct = JSON.parse(
|
|
81
|
-
fs.readFileSync(
|
|
82
|
-
path.join(
|
|
83
|
-
process.cwd(),
|
|
84
|
-
"uix-starter-react-native",
|
|
85
|
-
"package.json"
|
|
86
|
-
),
|
|
87
|
-
"utf8"
|
|
88
|
-
)
|
|
81
|
+
fs.readFileSync(path.join(process.cwd(), "package.json"), "utf8")
|
|
89
82
|
);
|
|
90
83
|
|
|
91
84
|
// update package.json
|
|
@@ -123,7 +116,7 @@ if (!projectName && !reactNative) {
|
|
|
123
116
|
path.join(process.cwd(), "shadow-cljs.edn")
|
|
124
117
|
);
|
|
125
118
|
|
|
126
|
-
fs.
|
|
119
|
+
fs.rmSync("uix-starter-react-native", { recursive: true });
|
|
127
120
|
|
|
128
121
|
const coreNs = fs.readFileSync(
|
|
129
122
|
path.join(process.cwd(), "src/app/core.cljs"),
|
|
@@ -135,7 +128,6 @@ if (!projectName && !reactNative) {
|
|
|
135
128
|
);
|
|
136
129
|
|
|
137
130
|
console.log("Done.");
|
|
138
|
-
console.log("\n");
|
|
139
131
|
console.log("yarn cljs:dev # run dev build in watch mode");
|
|
140
132
|
console.log("yarn cljs:release # build production bundle");
|
|
141
133
|
} else {
|