create-uix-app 1.4.1 → 1.4.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +8 -8
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.4.1",
4
+ "version": "1.4.2",
5
5
  "author": {
6
6
  "name": "Roman Liutikov"
7
7
  },
package/src/index.js CHANGED
@@ -125,7 +125,7 @@ if (!projectName && !reFrame && !reactNative && !expo) {
125
125
  .join("\n")
126
126
  );
127
127
  console.log("Installing dependencies...");
128
- const pDeps = exec(`cd ${projectName} && yarn install`, (err) => {
128
+ const pDeps = exec(`cd ${projectName} && npm install`, (err) => {
129
129
  if (err) {
130
130
  console.error(err);
131
131
  } else {
@@ -138,9 +138,9 @@ if (!projectName && !reFrame && !reactNative && !expo) {
138
138
  );
139
139
  console.log();
140
140
  console.log(
141
- "yarn dev # run dev build with Expo and cljs build in watch mode"
141
+ "npm run dev # run dev build with Expo and cljs build in watch mode"
142
142
  );
143
- console.log("yarn cljs:release # build production bundle");
143
+ console.log("npm run cljs:release # build production bundle");
144
144
  }
145
145
  });
146
146
  pDeps.stdout.pipe(process.stdout);
@@ -219,8 +219,8 @@ if (!projectName && !reFrame && !reactNative && !expo) {
219
219
  app/`
220
220
  );
221
221
  }
222
- console.log("yarn cljs:dev # run dev build in watch mode");
223
- console.log("yarn cljs:release # build production bundle");
222
+ console.log("npm run cljs:dev # run dev build in watch mode");
223
+ console.log("npm run cljs:release # build production bundle");
224
224
  } else {
225
225
  const pkgjson = JSON.parse(
226
226
  fs.readFileSync(
@@ -248,7 +248,7 @@ app/`
248
248
  .join("\n")
249
249
  );
250
250
  console.log("Installing dependencies...");
251
- const pDeps = exec(`cd ${projectName} && yarn install`, (err) => {
251
+ const pDeps = exec(`cd ${projectName} && npm install`, (err) => {
252
252
  if (err) {
253
253
  console.error(err);
254
254
  } else {
@@ -261,9 +261,9 @@ app/`
261
261
  );
262
262
  console.log();
263
263
  console.log(
264
- "yarn dev # run dev build in watch mode with CLJS REPL"
264
+ "npm run dev # run dev build in watch mode with CLJS REPL"
265
265
  );
266
- console.log("yarn release # build production bundle");
266
+ console.log("npm run release # build production bundle");
267
267
  }
268
268
  });
269
269
  pDeps.stdout.pipe(process.stdout);