create-uix-app 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.js +11 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -127,10 +127,20 @@ if (!projectName && !reactNative) {
|
|
127
127
|
);
|
128
128
|
|
129
129
|
fs.writeFileSync(
|
130
|
-
path.join(process.cwd(), "
|
130
|
+
path.join(process.cwd(), "index.js"),
|
131
131
|
`import "./app/index.js";`
|
132
132
|
);
|
133
133
|
|
134
|
+
if (fs.existsSync(".gitignore")) {
|
135
|
+
fs.appendFileSync(
|
136
|
+
path.join(process.cwd(), ".gitignore"),
|
137
|
+
`
|
138
|
+
.cpcache/
|
139
|
+
.shadow-cljs/
|
140
|
+
app/`
|
141
|
+
);
|
142
|
+
}
|
143
|
+
|
134
144
|
console.log("Done.");
|
135
145
|
console.log("yarn cljs:dev # run dev build in watch mode");
|
136
146
|
console.log("yarn cljs:release # build production bundle");
|