summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/cjs_with_deps
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-13 14:18:29 -0400
committerGitHub <noreply@github.com>2023-03-13 18:18:29 +0000
commit44b0d4cb11853bcdc7aa61c1412719a13d572b24 (patch)
tree074bcf6b77b4174343c4d0f3c239c53b7adf8350 /cli/tests/testdata/npm/cjs_with_deps
parente8f22c076525c2fa55115349157f67085df287bf (diff)
fix(npm): show a progress bar when initializing the node_modules folder (#18136)
Creating the node_modules folder when the packages are already downloaded can take a bit of time and not knowing what is going on can be confusing. It's better to show a progress bar.
Diffstat (limited to 'cli/tests/testdata/npm/cjs_with_deps')
-rw-r--r--cli/tests/testdata/npm/cjs_with_deps/main_node_modules.out43
1 files changed, 43 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/cjs_with_deps/main_node_modules.out b/cli/tests/testdata/npm/cjs_with_deps/main_node_modules.out
new file mode 100644
index 000000000..1ae22f510
--- /dev/null
+++ b/cli/tests/testdata/npm/cjs_with_deps/main_node_modules.out
@@ -0,0 +1,43 @@
+Download http://localhost:4545/npm/registry/chalk
+Download http://localhost:4545/npm/registry/chai
+Download http://localhost:4545/npm/registry/ansi-styles
+Download http://localhost:4545/npm/registry/supports-color
+Download http://localhost:4545/npm/registry/assertion-error
+Download http://localhost:4545/npm/registry/check-error
+Download http://localhost:4545/npm/registry/deep-eql
+Download http://localhost:4545/npm/registry/get-func-name
+Download http://localhost:4545/npm/registry/loupe
+Download http://localhost:4545/npm/registry/pathval
+Download http://localhost:4545/npm/registry/type-detect
+Download http://localhost:4545/npm/registry/color-convert
+Download http://localhost:4545/npm/registry/has-flag
+Download http://localhost:4545/npm/registry/color-name
+Download http://localhost:4545/npm/registry/ansi-styles/ansi-styles-4.3.0.tgz
+Initialize ansi-styles@4.3.0
+Download http://localhost:4545/npm/registry/assertion-error/assertion-error-1.1.0.tgz
+Initialize assertion-error@1.1.0
+Download http://localhost:4545/npm/registry/chai/chai-4.3.6.tgz
+Initialize chai@4.3.6
+Download http://localhost:4545/npm/registry/chalk/chalk-4.1.2.tgz
+Initialize chalk@4.1.2
+Download http://localhost:4545/npm/registry/check-error/check-error-1.0.2.tgz
+Initialize check-error@1.0.2
+Download http://localhost:4545/npm/registry/color-convert/color-convert-2.0.1.tgz
+Initialize color-convert@2.0.1
+Download http://localhost:4545/npm/registry/color-name/color-name-1.1.4.tgz
+Initialize color-name@1.1.4
+Download http://localhost:4545/npm/registry/deep-eql/deep-eql-3.0.1.tgz
+Initialize deep-eql@3.0.1
+Download http://localhost:4545/npm/registry/get-func-name/get-func-name-2.0.0.tgz
+Initialize get-func-name@2.0.0
+Download http://localhost:4545/npm/registry/has-flag/has-flag-4.0.0.tgz
+Initialize has-flag@4.0.0
+Download http://localhost:4545/npm/registry/loupe/loupe-2.3.4.tgz
+Initialize loupe@2.3.4
+Download http://localhost:4545/npm/registry/pathval/pathval-1.1.1.tgz
+Initialize pathval@1.1.1
+Download http://localhost:4545/npm/registry/supports-color/supports-color-7.2.0.tgz
+Initialize supports-color@7.2.0
+Download http://localhost:4545/npm/registry/type-detect/type-detect-4.0.8.tgz
+Initialize type-detect@4.0.8
+chalk cjs loads