From 66d25df42cf94e289b1173020a50065732a081d1 Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Thu, 18 May 2023 21:51:17 +0200 Subject: fix(npm): run pre and post tasks if present (#19178) This PR optionally runs pre and posts tasks from `package.json` if available. Fixes #19157 --- cli/tests/testdata/task/package_json_post_only/bin.out | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 cli/tests/testdata/task/package_json_post_only/bin.out (limited to 'cli/tests/testdata/task/package_json_post_only/bin.out') diff --git a/cli/tests/testdata/task/package_json_post_only/bin.out b/cli/tests/testdata/task/package_json_post_only/bin.out new file mode 100644 index 000000000..9e7cea091 --- /dev/null +++ b/cli/tests/testdata/task/package_json_post_only/bin.out @@ -0,0 +1,4 @@ +Task not found: test +Available tasks: +- posttest (package.json) + echo 'posttest' -- cgit v1.2.3