create-uix-app 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +5 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-uix-app",
3
3
  "description": "Creates a starter project for UIx web app",
4
- "version": "1.3.2",
4
+ "version": "1.3.3",
5
5
  "author": {
6
6
  "name": "Roman Liutikov"
7
7
  },
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");