esmate 2.1.2 → 2.1.4
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/dist/commands/task.js +3 -1
- package/dist/utils.js +1 -1
- package/package.json +9 -10
package/dist/commands/task.js
CHANGED
|
@@ -21,7 +21,9 @@ const task_task = (0, __WEBPACK_EXTERNAL_MODULE_citty__.defineCommand)({
|
|
|
21
21
|
const task = __WEBPACK_EXTERNAL_MODULE__pkg_js_ce8daa14__.pkg.tasks[args.task];
|
|
22
22
|
if (!task) return void __WEBPACK_EXTERNAL_MODULE_consola__.consola.error(`Task "${args.task}" not found in package.json`);
|
|
23
23
|
const isParallel = (0, __WEBPACK_EXTERNAL_MODULE_es_toolkit_82663681__.isJSONObject)(task);
|
|
24
|
-
__WEBPACK_EXTERNAL_MODULE_dotenv__["default"].config(
|
|
24
|
+
__WEBPACK_EXTERNAL_MODULE_dotenv__["default"].config({
|
|
25
|
+
quiet: true
|
|
26
|
+
});
|
|
25
27
|
if (isParallel) (0, __WEBPACK_EXTERNAL_MODULE__utils_js_db66b9f7__.execParallelly)(task);
|
|
26
28
|
else (0, __WEBPACK_EXTERNAL_MODULE__utils_js_db66b9f7__.execSingly)(task);
|
|
27
29
|
} catch (error) {
|
package/dist/utils.js
CHANGED
|
@@ -25,7 +25,7 @@ async function execParallelly(commands) {
|
|
|
25
25
|
await (0, __WEBPACK_EXTERNAL_MODULE_concurrently__["default"])(concurrentCommands, {
|
|
26
26
|
handleInput: true,
|
|
27
27
|
prefixColors: "auto",
|
|
28
|
-
|
|
28
|
+
killOthersOn: "failure"
|
|
29
29
|
}).result.then(()=>{}).catch(()=>{});
|
|
30
30
|
}
|
|
31
31
|
function npx(command) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "esmate",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.4",
|
|
5
5
|
"description": "Uncomplicate JavaScript",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -30,19 +30,18 @@
|
|
|
30
30
|
"citty": "^0.1.6",
|
|
31
31
|
"concurrently": "^9.2.1",
|
|
32
32
|
"consola": "^3.4.2",
|
|
33
|
-
"dotenv": "^17.2.
|
|
34
|
-
"es-toolkit": "^1.
|
|
35
|
-
"find-up": "^7.0.0"
|
|
36
|
-
"nypm": "^0.6.2"
|
|
33
|
+
"dotenv": "^17.2.3",
|
|
34
|
+
"es-toolkit": "^1.43.0",
|
|
35
|
+
"find-up": "^7.0.0"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|
|
38
|
+
"@esmate/eslint": "^1.2.2",
|
|
39
|
+
"@esmate/prettier": "^1.0.6",
|
|
39
40
|
"@rslib/core": "^0.7.1",
|
|
40
|
-
"@types/node": "^22.
|
|
41
|
-
"tsx": "^4.
|
|
41
|
+
"@types/node": "^22.19.3",
|
|
42
|
+
"tsx": "^4.21.0",
|
|
42
43
|
"type-fest": "^4.41.0",
|
|
43
|
-
"typescript": "^5.9.
|
|
44
|
-
"@esmate/eslint": "1.0.3",
|
|
45
|
-
"@esmate/prettier": "1.0.4"
|
|
44
|
+
"typescript": "^5.9.3"
|
|
46
45
|
},
|
|
47
46
|
"scripts": {
|
|
48
47
|
"build": "rslib build",
|