From 44b0d4cb11853bcdc7aa61c1412719a13d572b24 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 13 Mar 2023 14:18:29 -0400 Subject: 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. --- cli/tests/testdata/npm/cjs_yargs/main.out | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'cli/tests/testdata/npm/cjs_yargs') diff --git a/cli/tests/testdata/npm/cjs_yargs/main.out b/cli/tests/testdata/npm/cjs_yargs/main.out index ded92a4da..6aa34bce8 100644 --- a/cli/tests/testdata/npm/cjs_yargs/main.out +++ b/cli/tests/testdata/npm/cjs_yargs/main.out @@ -25,30 +25,56 @@ Download http://localhost:4545/npm/registry/p-limit Download http://localhost:4545/npm/registry/color-name Download http://localhost:4545/npm/registry/p-try Download http://localhost:4545/npm/registry/ansi-regex/ansi-regex-5.0.1.tgz +Initialize ansi-regex@5.0.1 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/camelcase/camelcase-5.3.1.tgz +Initialize camelcase@5.3.1 Download http://localhost:4545/npm/registry/cliui/cliui-6.0.0.tgz +Initialize cliui@6.0.0 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/decamelize/decamelize-1.2.0.tgz +Initialize decamelize@1.2.0 Download http://localhost:4545/npm/registry/emoji-regex/emoji-regex-8.0.0.tgz +Initialize emoji-regex@8.0.0 Download http://localhost:4545/npm/registry/find-up/find-up-4.1.0.tgz +Initialize find-up@4.1.0 Download http://localhost:4545/npm/registry/get-caller-file/get-caller-file-2.0.5.tgz +Initialize get-caller-file@2.0.5 Download http://localhost:4545/npm/registry/is-fullwidth-code-point/is-fullwidth-code-point-3.0.0.tgz +Initialize is-fullwidth-code-point@3.0.0 Download http://localhost:4545/npm/registry/locate-path/locate-path-5.0.0.tgz +Initialize locate-path@5.0.0 Download http://localhost:4545/npm/registry/p-limit/p-limit-2.3.0.tgz +Initialize p-limit@2.3.0 Download http://localhost:4545/npm/registry/p-locate/p-locate-4.1.0.tgz +Initialize p-locate@4.1.0 Download http://localhost:4545/npm/registry/p-try/p-try-2.2.0.tgz +Initialize p-try@2.2.0 Download http://localhost:4545/npm/registry/path-exists/path-exists-4.0.0.tgz +Initialize path-exists@4.0.0 Download http://localhost:4545/npm/registry/require-directory/require-directory-2.1.1.tgz +Initialize require-directory@2.1.1 Download http://localhost:4545/npm/registry/require-main-filename/require-main-filename-2.0.0.tgz +Initialize require-main-filename@2.0.0 Download http://localhost:4545/npm/registry/set-blocking/set-blocking-2.0.0.tgz +Initialize set-blocking@2.0.0 Download http://localhost:4545/npm/registry/string-width/string-width-4.2.3.tgz +Initialize string-width@4.2.3 Download http://localhost:4545/npm/registry/strip-ansi/strip-ansi-6.0.1.tgz +Initialize strip-ansi@6.0.1 Download http://localhost:4545/npm/registry/which-module/which-module-2.0.0.tgz +Initialize which-module@2.0.0 Download http://localhost:4545/npm/registry/wrap-ansi/wrap-ansi-6.2.0.tgz +Initialize wrap-ansi@6.2.0 Download http://localhost:4545/npm/registry/y18n/y18n-4.0.3.tgz +Initialize y18n@4.0.3 Download http://localhost:4545/npm/registry/yargs/yargs-15.4.1.tgz +Initialize yargs@15.4.1 Download http://localhost:4545/npm/registry/yargs-parser/yargs-parser-18.1.3.tgz +Initialize yargs-parser@18.1.3 start server on :8000 [WILDCARD] -- cgit v1.2.3