You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2022/03/21 22:23:15 UTC

[camel-website] 02/03: feat: nicer output of run-s

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit a05b02ed4224477177b3d73f13b47c5412216fb3
Author: Zoran Regvart <zo...@regvart.com>
AuthorDate: Mon Mar 21 14:49:10 2022 +0100

    feat: nicer output of run-s
    
    Now includes the task being run.
---
 package.json | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/package.json b/package.json
index 265bc05..e2229ee 100644
--- a/package.json
+++ b/package.json
@@ -3,9 +3,9 @@
   "version": "1.0.0-SNAPSHOT",
   "license": "Apache-2.0",
   "scripts": {
-    "build": "run-s build:antora build:hugo build:sitemap build:htaccess build:minify",
+    "build": "run-s -l build:antora build:hugo build:sitemap build:htaccess build:minify",
     "build-all": "yarn workspaces foreach --topological-dev run build",
-    "build:antora": "run-s build:antora-prep build:antora-perf",
+    "build:antora": "run-s -l build:antora-prep build:antora-perf",
     "build:antora-prep": "yarn exec antora-playbook-snippets/assemble-playbook.sh antora-playbook-production.yml playbook-export-site-manifest.yml",
     "build:antora-perf": "antora --clean --fetch antora-playbook-production.yml --stacktrace",
     "build:hugo": "hugo --cacheDir ${HUGO_CACHE_DIR:-$(pwd)/.hugo_data} ${HUGO_OPTIONS:-}",
@@ -15,15 +15,15 @@
     "check:html": "html-validate public",
     "check:links": "deadlinks-linux public",
     "check:redirects": "tests/redirect.sh -s",
-    "checks": "run-s check:links check:html check:redirects",
+    "checks": "run-s -l check:links check:html check:redirects",
     "clean": "gulp clean",
     "check:dependencies": "run-p check:cache check:dedupe",
     "check:cache": "yarn workspaces foreach install --immutable --immutable-cache --check-cache",
     "check:dedupe": "yarn workspaces foreach dedupe --check",
-    "update:dependencies": "run-s update:dedupe update:cache",
+    "update:dependencies": "run-s -l update:dedupe update:cache",
     "update:cache": "yarn workspaces foreach install --check-cache",
     "update:dedupe": "yarn workspaces foreach dedupe",
-    "preview": "run-s preview:antora preview:hugo",
+    "preview": "run-s -l preview:antora preview:hugo",
     "preview:antora": "antora --clean --fetch antora-playbook.yml",
     "preview:hugo": "hugo server -D",
     "preview:netlify": "netlify deploy --dir public",