From 04b4444fc2cf6c97f21a4ffa4b213b4dae13ae66 Mon Sep 17 00:00:00 2001 From: Thodoris Greasidis Date: Tue, 9 Apr 2024 15:12:52 +0300 Subject: [PATCH] Update expected build warning tests --- .../pkg/expected-warnings-darwin-arm64.txt | 89 ++----------------- .../pkg/expected-warnings-darwin-x64.txt | 89 ++----------------- .../pkg/expected-warnings-linux-arm64.txt | 86 ++---------------- .../pkg/expected-warnings-linux-x64.txt | 86 ++---------------- .../pkg/expected-warnings-win32-x64.txt | 80 ++--------------- 5 files changed, 42 insertions(+), 388 deletions(-) diff --git a/tests/test-data/pkg/expected-warnings-darwin-arm64.txt b/tests/test-data/pkg/expected-warnings-darwin-arm64.txt index e02fa3e3..e65f114e 100644 --- a/tests/test-data/pkg/expected-warnings-darwin-arm64.txt +++ b/tests/test-data/pkg/expected-warnings-darwin-arm64.txt @@ -8,35 +8,35 @@ %2: path-to-executable/xdg-open > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/build/Release/drivelist.node + %1: node_modules/drivelist/build/Release/drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/darwin.sh + %1: node_modules/drivelist/scripts/darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/linux.sh + %1: node_modules/drivelist/scripts/linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/win32.bat + %1: node_modules/drivelist/scripts/win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/build/Release/drivelist.node + %1: node_modules/drivelist/build/Release/drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/darwin.sh + %1: node_modules/drivelist/scripts/darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/linux.sh + %1: node_modules/drivelist/scripts/linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/win32.bat + %1: node_modules/drivelist/scripts/win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot resolve 'path' node_modules/@balena/compose/dist/parse/schemas/index.js @@ -44,70 +44,6 @@ is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option. -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/axios.js > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/utils.js @@ -158,15 +94,8 @@ > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/classes/FormData.js > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/classes/URLSearchParams.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=darwin) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=darwin) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=darwin) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=darwin) > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/string-width/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=darwin) > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js -> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=darwin) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=darwin) \ No newline at end of file +> Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js \ No newline at end of file diff --git a/tests/test-data/pkg/expected-warnings-darwin-x64.txt b/tests/test-data/pkg/expected-warnings-darwin-x64.txt index 456f4ff3..fb38c8c9 100644 --- a/tests/test-data/pkg/expected-warnings-darwin-x64.txt +++ b/tests/test-data/pkg/expected-warnings-darwin-x64.txt @@ -8,35 +8,35 @@ %2: path-to-executable/xdg-open > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/build/Release/drivelist.node + %1: node_modules/drivelist/build/Release/drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/darwin.sh + %1: node_modules/drivelist/scripts/darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/linux.sh + %1: node_modules/drivelist/scripts/linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/win32.bat + %1: node_modules/drivelist/scripts/win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/build/Release/drivelist.node + %1: node_modules/drivelist/build/Release/drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/darwin.sh + %1: node_modules/drivelist/scripts/darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/linux.sh + %1: node_modules/drivelist/scripts/linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/win32.bat + %1: node_modules/drivelist/scripts/win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot resolve 'path' node_modules/@balena/compose/dist/parse/schemas/index.js @@ -44,70 +44,6 @@ is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option. -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat > Warning Failed to make bytecode node20-x64 for file node_modules/axios/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/axios.js > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/utils.js @@ -158,15 +94,8 @@ > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/classes/FormData.js > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/classes/URLSearchParams.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=darwin) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=darwin) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=darwin) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=darwin) > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/string-width/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=darwin) > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js -> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=darwin) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=darwin) \ No newline at end of file +> Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js \ No newline at end of file diff --git a/tests/test-data/pkg/expected-warnings-linux-arm64.txt b/tests/test-data/pkg/expected-warnings-linux-arm64.txt index f693301a..86d0bb5d 100644 --- a/tests/test-data/pkg/expected-warnings-linux-arm64.txt +++ b/tests/test-data/pkg/expected-warnings-linux-arm64.txt @@ -8,35 +8,35 @@ %2: path-to-executable/xdg-open > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/build/Release/drivelist.node + %1: node_modules/drivelist/build/Release/drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/darwin.sh + %1: node_modules/drivelist/scripts/darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/linux.sh + %1: node_modules/drivelist/scripts/linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/win32.bat + %1: node_modules/drivelist/scripts/win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/build/Release/drivelist.node + %1: node_modules/drivelist/build/Release/drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/darwin.sh + %1: node_modules/drivelist/scripts/darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/linux.sh + %1: node_modules/drivelist/scripts/linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/win32.bat + %1: node_modules/drivelist/scripts/win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot resolve 'path' node_modules/@balena/compose/dist/parse/schemas/index.js @@ -44,70 +44,6 @@ is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option. -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/axios.js > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/utils.js @@ -158,14 +94,8 @@ > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/classes/FormData.js > Warning Failed to make bytecode node20-arm64 for file node_modules/axios/lib/platform/node/classes/URLSearchParams.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=linux) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=linux) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=linux) > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/string-width/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=linux) > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js > Warning Failed to make bytecode node20-arm64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=linux) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=arm64 libc= platform=linux) diff --git a/tests/test-data/pkg/expected-warnings-linux-x64.txt b/tests/test-data/pkg/expected-warnings-linux-x64.txt index 21623e15..3ecf14e5 100644 --- a/tests/test-data/pkg/expected-warnings-linux-x64.txt +++ b/tests/test-data/pkg/expected-warnings-linux-x64.txt @@ -8,35 +8,35 @@ %2: path-to-executable/xdg-open > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/build/Release/drivelist.node + %1: node_modules/drivelist/build/Release/drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/darwin.sh + %1: node_modules/drivelist/scripts/darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/linux.sh + %1: node_modules/drivelist/scripts/linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/win32.bat + %1: node_modules/drivelist/scripts/win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/build/Release/drivelist.node + %1: node_modules/drivelist/build/Release/drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/darwin.sh + %1: node_modules/drivelist/scripts/darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/linux.sh + %1: node_modules/drivelist/scripts/linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules/etcher-sdk/node_modules/drivelist/scripts/win32.bat + %1: node_modules/drivelist/scripts/win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot resolve 'path' node_modules/@balena/compose/dist/parse/schemas/index.js @@ -44,70 +44,6 @@ is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option. -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/build/Release/drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules/resin-cli-visuals/node_modules/drivelist/scripts/win32.bat - %2: path-to-executable/drivelist/win32.bat > Warning Failed to make bytecode node20-x64 for file node_modules/axios/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/axios.js > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/utils.js @@ -158,14 +94,8 @@ > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/classes/FormData.js > Warning Failed to make bytecode node20-x64 for file node_modules/axios/lib/platform/node/classes/URLSearchParams.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=linux) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=linux) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=linux) > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/string-width/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/wrap-ansi/index.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=linux) > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js > Warning Failed to make bytecode node20-x64 for file node_modules/@isaacs/cliui/node_modules/ansi-styles/index.js -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=linux) -prebuild-install warn install No prebuilt binaries found (target=v20.10.0 runtime=node arch=x64 libc= platform=linux) diff --git a/tests/test-data/pkg/expected-warnings-win32-x64.txt b/tests/test-data/pkg/expected-warnings-win32-x64.txt index afc1bd42..a6c5742e 100644 --- a/tests/test-data/pkg/expected-warnings-win32-x64.txt +++ b/tests/test-data/pkg/expected-warnings-win32-x64.txt @@ -8,35 +8,35 @@ %2: path-to-executable/xdg-open > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules\etcher-sdk\node_modules\drivelist\build\Release\drivelist.node + %1: node_modules\drivelist\build\Release\drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules\etcher-sdk\node_modules\drivelist\scripts\darwin.sh + %1: node_modules\drivelist\scripts\darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules\etcher-sdk\node_modules\drivelist\scripts\linux.sh + %1: node_modules\drivelist\scripts\linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules\etcher-sdk\node_modules\drivelist\scripts\win32.bat + %1: node_modules\drivelist\scripts\win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules\etcher-sdk\node_modules\drivelist\build\Release\drivelist.node + %1: node_modules\drivelist\build\Release\drivelist.node %2: path-to-executable/drivelist.node > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules\etcher-sdk\node_modules\drivelist\scripts\darwin.sh + %1: node_modules\drivelist\scripts\darwin.sh %2: path-to-executable/drivelist/darwin.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules\etcher-sdk\node_modules\drivelist\scripts\linux.sh + %1: node_modules\drivelist\scripts\linux.sh %2: path-to-executable/drivelist/linux.sh > Warning Cannot include file %1 into executable. The file must be distributed with executable as %2. - %1: node_modules\etcher-sdk\node_modules\drivelist\scripts\win32.bat + %1: node_modules\drivelist\scripts\win32.bat %2: path-to-executable/drivelist/win32.bat > Warning Cannot resolve 'path' node_modules\@balena\compose\dist\parse\schemas\index.js @@ -44,70 +44,6 @@ is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option. -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\build\Release\drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\build\Release\drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\drivelist\scripts\win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\resin-cli-visuals\node_modules\drivelist\build\Release\drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\resin-cli-visuals\node_modules\drivelist\scripts\darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\resin-cli-visuals\node_modules\drivelist\scripts\linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\resin-cli-visuals\node_modules\drivelist\scripts\win32.bat - %2: path-to-executable/drivelist/win32.bat -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\resin-cli-visuals\node_modules\drivelist\build\Release\drivelist.node - %2: path-to-executable/drivelist.node -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\resin-cli-visuals\node_modules\drivelist\scripts\darwin.sh - %2: path-to-executable/drivelist/darwin.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\resin-cli-visuals\node_modules\drivelist\scripts\linux.sh - %2: path-to-executable/drivelist/linux.sh -> Warning Cannot include file %1 into executable. - The file must be distributed with executable as %2. - %1: node_modules\resin-cli-visuals\node_modules\drivelist\scripts\win32.bat - %2: path-to-executable/drivelist/win32.bat > Warning Failed to make bytecode node20-x64 for file node_modules\axios\index.js > Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\axios.js > Warning Failed to make bytecode node20-x64 for file node_modules\axios\lib\utils.js