From 281e39eff107c91d3aa02aebbf38c2e8a1150d3e Mon Sep 17 00:00:00 2001 From: "ala'n (Alexey Stsefanovich)" Date: Tue, 27 Feb 2024 14:42:42 +0100 Subject: [PATCH] chore: fix strange crash on build:less task for site workspace --- package.json | 4 ++-- site/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e0f6ff5b5..486249adc 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "build:less:cpy": "copyfiles \"src/**/*.less\" \".\" --up 1 --all", "build:less:css": "foreach -x \"lessc #{path} #{dir}/#{name}.css\" -i \"**/*.mixin.less\" -g \"modules/{*,*/*,{esl-utils,esl-forms}/*/*}.less\"", "build:docs": "copyfiles \"src/**/*.md\" \".\" --up 1 --all", - "watch": "concurrently \"npm run watch:less\" \"npm run watch:ts\"", + "watch": "concurrently npm:watch:*", "watch:ts": "tsc --project tsconfig.build.json --watch", "watch:less": "chokidar --initial \"src/**/*.less\" -c \"npm run build:less\"", "test": "concurrently \"npm run lint\" \"npm run test:unit\"", @@ -75,7 +75,7 @@ "test:e2e:update": "npm run run:update --workspace e2e", "test:unit": "jest --silent --noStackTrace", "test:report": "jest --coverage", - "lint": "concurrently \"npm run lint:js\" \"npm run lint:css\" && node build/catlog.js \"Linting passed\"", + "lint": "concurrently npm:lint:* && node build/catlog.js \"Linting passed\"", "lint:js": "eslint \"src/**/*.ts\" \"site/src/**/*.ts\" --max-warnings 3", "lint:css": "stylelint \"src/**/*.less\" \"site/src/**/*.less\"", "prepare": "husky && npm run build", diff --git a/site/package.json b/site/package.json index 70debc56c..9b4c59924 100644 --- a/site/package.json +++ b/site/package.json @@ -22,7 +22,7 @@ "run:eleventy:e2e": "eleventy --serve -- --env=e2e", "build": "npm run clean && concurrently \"npm run build:ts\" \"npm run build:less && npm run minify:css\" && npm run build:eleventy", "build:ts": "webpack --mode=production", - "build:less": "concurrently --kill-others \"npm run build:less:site\" \"npm run build:less:lib\" \"npm run build:less:e2e\"", + "build:less": "concurrently npm:build:less:*", "build:less:e2e": "lessc \"src/e2e.less\" \"dist/bundles/e2e.css\" --source-map=dist/bundles/e2e.css.map", "build:less:site": "lessc \"src/localdev.less\" \"dist/bundles/localdev.css\" --source-map=dist/bundles/localdev.css.map", "build:less:lib": "lessc \"src/playground/export/lib.less\" \"dist/bundles/lib.css\" --source-map=dist/bundles/lib.css.map",