create-uix-app 1.3.1 → 1.3.2

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 +2 -10
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.1",
4
+ "version": "1.3.2",
5
5
  "author": {
6
6
  "name": "Roman Liutikov"
7
7
  },
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.rmdirSync("uix-starter-react-native", { recursive: true });
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 {