create-uix-app 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/src/index.js +2 -2
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "create-uix-app",
|
3
3
|
"description": "Creates a starter project for UIx2 web app",
|
4
|
-
"version": "1.
|
4
|
+
"version": "1.2.0",
|
5
5
|
"author": {
|
6
6
|
"name": "Roman Liutikov"
|
7
7
|
},
|
@@ -19,6 +19,6 @@
|
|
19
19
|
"axios": "^1.3.4",
|
20
20
|
"commander": "^10.0.0",
|
21
21
|
"prettier": "^2.8.7",
|
22
|
-
"tar
|
22
|
+
"tar": "^6.1.13"
|
23
23
|
}
|
24
24
|
}
|
package/src/index.js
CHANGED
@@ -3,7 +3,7 @@ const fs = require("fs");
|
|
3
3
|
const path = require("path");
|
4
4
|
const { exec } = require("child_process");
|
5
5
|
const axios = require("axios");
|
6
|
-
const
|
6
|
+
const tar = require("tar");
|
7
7
|
const { program } = require("commander");
|
8
8
|
const prettier = require("prettier");
|
9
9
|
const pkg = require("../package.json");
|
@@ -42,7 +42,7 @@ if (!projectName) {
|
|
42
42
|
new Promise((resolve, reject) => {
|
43
43
|
console.log(`Unpacking into ${projectName}...`);
|
44
44
|
r.data.pipe(
|
45
|
-
|
45
|
+
tar.extract(projectName, (err) => {
|
46
46
|
if (err) {
|
47
47
|
reject(err);
|
48
48
|
} else {
|