@tramvai/cli 4.41.90 → 4.41.94
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/bin/spawn.js +8 -2
- package/package.json +2 -2
package/bin/spawn.js
CHANGED
|
@@ -36,8 +36,14 @@ It's unexpected, please check available/used memory and cpu while running last c
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
cliInstance.on('exit', (code) => {
|
|
40
|
-
|
|
39
|
+
cliInstance.on('exit', (code, sig) => {
|
|
40
|
+
if (sig) {
|
|
41
|
+
console.warn(`Process was exited with signal "${sig}"
|
|
42
|
+
It's unexpected, please check available/used memory and cpu while running last command`);
|
|
43
|
+
exit(1);
|
|
44
|
+
} else {
|
|
45
|
+
exit(code);
|
|
46
|
+
}
|
|
41
47
|
});
|
|
42
48
|
|
|
43
49
|
return controller;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/cli",
|
|
3
|
-
"version": "4.41.
|
|
3
|
+
"version": "4.41.94",
|
|
4
4
|
"description": "Cli инструмент для сборки и запуска приложений",
|
|
5
5
|
"files": [
|
|
6
6
|
"src",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@tinkoff/utils": "^2.1.3",
|
|
76
76
|
"@tinkoff/webpack-dedupe-plugin": "3.0.3",
|
|
77
77
|
"@tramvai/build": "5.0.7",
|
|
78
|
-
"@tramvai/react": "4.41.
|
|
78
|
+
"@tramvai/react": "4.41.94",
|
|
79
79
|
"@tramvai/tools-check-versions": "0.6.14",
|
|
80
80
|
"@tramvai/tools-migrate": "0.8.15",
|
|
81
81
|
"ajv": "^8.12.0",
|