κΈ°λ₯μ΄ μμ΅λλ€. npm ls once
κ³Ό (μ) λΉκ΅νμμμ€. yarn why once
μ΄ λμ ν΄μΌν©λκΉ? κ·Έλ λ€λ©΄ νμλλ μ’
μμ± κ·Έλνκ° μλͺ»λ κ² κ°μ΅λλ€.
[cpojer: ~/Projects/yarn (master)]$ yarn why once
yarn why v0.14.0
[1/3] π€ Why do we have the module "once"...?
[2/3] π Initialising dependency graph...
[3/3] π Finding dependency...
info Reasons this module exists
- "node-gyp#glob" depends on it
- "jest#jest-cli#istanbul-api" depends on it
[cpojer: ~/Projects/yarn (master)]$ npm ls once
[email protected] /Users/cpojer/Projects/yarn
βββ¬ [email protected]
β βββ¬ [email protected]
β βββ [email protected]
βββ¬ [email protected]
β βββ¬ [email protected]
β βββ¬ [email protected]
β βββ [email protected]
βββ¬ [email protected]
βββ¬ [email protected]
βββ [email protected]
νμ¬ yarn ls <package>
μμ΅λλ€ π
νΈμ λ΄μ κ°κΈ°
ls
λͺ
λ Ήμ κ²μνμ¬ μ¬κΈ°μ μ€λ λͺ¨λ μ¬λμ κ²½μ° yarn list <package>
λ v1.9.4
( ls
λ μλνμ§ μμ).
yarn ls <package>
μ°Ύμ μ μμ
β― yarn ls react
yarn run v1.19.1
error Command "ls" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
κ°μ₯ μ μ©ν λκΈ
ls
λͺ λ Ήμ κ²μνμ¬ μ¬κΈ°μ μ€λ λͺ¨λ μ¬λμ κ²½μ°yarn list <package>
λv1.9.4
(ls
λ μλνμ§ μμ).