@easyv/react-component-builder 0.21.1-beta.0 → 0.21.3-beta
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/launcher/build.js +4 -8
- package/package.json +3 -3
package/launcher/build.js
CHANGED
|
@@ -25,10 +25,6 @@ module.exports = (name, option = {}) => {
|
|
|
25
25
|
// 打包成功 返回bundle路径
|
|
26
26
|
const result = await getBuildEntrys();
|
|
27
27
|
const componentInfo = result.find((d) => d.name === name);
|
|
28
|
-
if (!componentInfo) {
|
|
29
|
-
console.log(chalk.red('The component path is abnormal. Check whether the component exists.\n'));
|
|
30
|
-
process.exit(1);
|
|
31
|
-
}
|
|
32
28
|
const { base } = componentInfo;
|
|
33
29
|
const pathSymbol = os.type() === 'Windows_NT' ? '\\' : '/';
|
|
34
30
|
const sourcePath = componentInfo.path.slice(
|
|
@@ -105,10 +101,10 @@ module.exports = (name, option = {}) => {
|
|
|
105
101
|
.map((asset) => {
|
|
106
102
|
console.log(
|
|
107
103
|
' ' +
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
104
|
+
asset.size +
|
|
105
|
+
' ' +
|
|
106
|
+
chalk.dim(asset.folder + path.sep) +
|
|
107
|
+
chalk.cyan(asset.name),
|
|
112
108
|
);
|
|
113
109
|
});
|
|
114
110
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easyv/react-component-builder",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.3-beta",
|
|
4
4
|
"files": [
|
|
5
5
|
"launcher",
|
|
6
6
|
"templates",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@babel/core": "7.9.0",
|
|
21
21
|
"@babel/register": "^7.10.4",
|
|
22
22
|
"@easyv/react-gui": "1.6.6",
|
|
23
|
-
"@easyv/simulator": "0.5.
|
|
23
|
+
"@easyv/simulator": "0.5.4-beta",
|
|
24
24
|
"@svgr/webpack": "8.1.0",
|
|
25
25
|
"acorn": "^7.3.1",
|
|
26
26
|
"acorn-jsx": "^5.2.0",
|
|
@@ -73,4 +73,4 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"registry": "https://registry.npmjs.org/"
|
|
75
75
|
}
|
|
76
|
-
}
|
|
76
|
+
}
|