create-uix-app 1.3.2 → 1.3.3
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 +5 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -81,7 +81,6 @@ if (!projectName && !reactNative) {
|
|
|
81
81
|
fs.readFileSync(path.join(process.cwd(), "package.json"), "utf8")
|
|
82
82
|
);
|
|
83
83
|
|
|
84
|
-
// update package.json
|
|
85
84
|
fs.writeFileSync(
|
|
86
85
|
path.join(process.cwd(), "package.json"),
|
|
87
86
|
prettier.format(
|
|
@@ -127,6 +126,11 @@ if (!projectName && !reactNative) {
|
|
|
127
126
|
coreNs.replace("{{app-name}}", projectName)
|
|
128
127
|
);
|
|
129
128
|
|
|
129
|
+
fs.writeFileSync(
|
|
130
|
+
path.join(process.cwd(), "src/app/core.cljs"),
|
|
131
|
+
`import "./app/index.js";`
|
|
132
|
+
);
|
|
133
|
+
|
|
130
134
|
console.log("Done.");
|
|
131
135
|
console.log("yarn cljs:dev # run dev build in watch mode");
|
|
132
136
|
console.log("yarn cljs:release # build production bundle");
|