From a7557d65979e463f9b8383919e45fb26aa2218c1 Mon Sep 17 00:00:00 2001 From: Adam Raine <6752989+adamraine@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:23:45 -0700 Subject: [PATCH] misc: correct .npmignore for node >=18.20 (#15924) --- .npmignore | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.npmignore b/.npmignore index 8e04533c3e47..97ae121ee42d 100644 --- a/.npmignore +++ b/.npmignore @@ -3,20 +3,20 @@ # folders .vscode/ .github/ -assets/ -build/ -coverage/ -proto/ -docs/ +/assets/ +/build/ +/coverage/ +/proto/ +/docs/ -core/scripts/* -viewer/ -treemap/ -clients/ -cli/results/ -lighthouse-logger/ +/core/scripts/* +/viewer/ +/treemap/ +/clients/ +/cli/results/ +/lighthouse-logger/ **/test/** -report/test-assets/ +/report/test-assets/ # keep a few scripts useful for CI !core/scripts/manual-chrome-launcher.js @@ -25,12 +25,12 @@ report/test-assets/ # Exclude the CLI smoketests but keep the smoketest runner that is used # by downstream projects (e.g. publisher ads). -!cli/test/smokehouse/** -cli/test/smokehouse/test-definitions/ +!/cli/test/smokehouse/** +/cli/test/smokehouse/test-definitions/ results/ -lantern-data/ -timings-data/ +/lantern-data/ +/timings-data/ # ignore all folders named as such node_modules