From 214bdbbc2b09ab3f56f0ffe1ad5930d48ec0c76f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 23 Feb 2023 16:41:28 +0100 Subject: feat(task): add warning about package.json scripts support (#17900) --- cli/tests/testdata/task/npx/non_existent.out | 2 ++ cli/tests/testdata/task/npx/on_own.out | 2 ++ 2 files changed, 4 insertions(+) (limited to 'cli/tests/testdata/task/npx') diff --git a/cli/tests/testdata/task/npx/non_existent.out b/cli/tests/testdata/task/npx/non_existent.out index 5df04917e..666435787 100644 --- a/cli/tests/testdata/task/npx/non_existent.out +++ b/cli/tests/testdata/task/npx/non_existent.out @@ -1,2 +1,4 @@ +Warning Currently only basic package.json `scripts` are supported. +Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in the upcoming release. Task non-existent npx this-command-should-not-exist-for-you npx: could not resolve command 'this-command-should-not-exist-for-you' diff --git a/cli/tests/testdata/task/npx/on_own.out b/cli/tests/testdata/task/npx/on_own.out index 67491f7b0..9d4184fbf 100644 --- a/cli/tests/testdata/task/npx/on_own.out +++ b/cli/tests/testdata/task/npx/on_own.out @@ -1,2 +1,4 @@ +Warning Currently only basic package.json `scripts` are supported. +Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in the upcoming release. Task on-own npx npx: missing command -- cgit v1.2.3