Yarn: License generateDisclaimer - "์ •ํฌ"๋ฅผ stdout์œผ๋กœ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค.

์— ๋งŒ๋“  2016๋…„ 10์›” 18์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: yarnpkg/yarn

_๊ธฐ๋Šฅ_์„ ์š”์ฒญํ•˜์‹œ๊ฒ ์Šต๋‹ˆ๊นŒ? ์•„๋‹ˆ๋ฉด _๋ฒ„๊ทธ_๋ฅผ ๋ณด๊ณ ํ•˜์‹œ๊ฒ ์Šต๋‹ˆ๊นŒ?
๋ฒŒ๋ ˆ

ํ˜„์žฌ ํ–‰๋™์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?
yarn licenses generateDisclaimer ๋ฅผ ์‹คํ–‰ํ•˜๊ณ  stdout์„ ํŒŒ์ผ๋กœ ํŒŒ์ดํ•‘ํ•  ๋•Œ ์ด ๊ธฐ๋Šฅ์„ CI ๋“ฑ๊ณผ ์‰ฝ๊ฒŒ ํ†ตํ•ฉํ•˜๊ธฐ ์œ„ํ•ด ๊ณ ์ง€ ์‚ฌํ•ญ ํ…์ŠคํŠธ๋งŒ ์–ป์„ ๊ฒƒ์œผ๋กœ ์˜ˆ์ƒํ•ฉ๋‹ˆ๋‹ค. ๋Œ€์‹  ์ฒ˜์Œ ๋ช‡ ์ค„์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

yarn licenses v0.15.1
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THE XXX PRODUCT.

์„ธ ๋ฒˆ์งธ ์ค„์€ ์ •ํ™•ํ•˜์ง€๋งŒ ๋‘ ๊ฐ€์ง€ ์ ˆ์ฐจ๋Š” ๋ฉด์ฑ… ์กฐํ•ญ๊ณผ ๊ด€๋ จ์ด ์—†์Šต๋‹ˆ๋‹ค.

๋ฌธ์„œ ๋์— ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์ค„์ด ์žˆ์Šต๋‹ˆ๋‹ค.

Done in 5.45s.

์ด๊ฒƒ์€ ๋˜ํ•œ ๋ฉด์ฑ… ์กฐํ•ญ์˜ ์ผ๋ถ€๊ฐ€ ์•„๋‹ˆ๋ฉฐ ์ถœ๋ ฅ์˜ ์ผ๋ถ€๊ฐ€ ๋˜์–ด์„œ๋„ ์•ˆ ๋ฉ๋‹ˆ๋‹ค.

๋„ค ๊ฐ€์ง€ ๊ฐ€๋Šฅํ•œ ํ•ด๊ฒฐ์ฑ…์ด ์žˆ์Šต๋‹ˆ๋‹ค.

  • ์ฒซ ๋ฒˆ์งธ๋Š” yarn ์— ๋Œ€ํ•œ ๋ชจ๋“  ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋ฅผ stderr ๋กœ ๋ณด๋‚ด๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.
  • ๋‘ ๋ฒˆ์งธ๋Š” generateDisclaimer ๋ฅผ ํŠน๋ณ„ํžˆ ์ฒ˜๋ฆฌํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.
  • ์„ธ ๋ฒˆ์งธ๋Š” ์ „์—ญ -q, --quiet ํ”Œ๋ž˜๊ทธ๋ฅผ ๋งŒ๋“œ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.
  • ๋งˆ์ง€๋ง‰์€ -o --output ์˜ต์…˜์„ generateDisclaimer ์— ์ถ”๊ฐ€ํ•˜์—ฌ ํŒŒ์ผ์„ ์ž‘์„ฑํ•˜๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.

ํ˜„์žฌ ๋™์ž‘์ด ๋ฒ„๊ทธ์ธ ๊ฒฝ์šฐ ์žฌํ˜„ ๋‹จ๊ณ„๋ฅผ ์ œ๊ณตํ•˜์‹ญ์‹œ์˜ค.

  1. ์ผ๋ถ€ ์ข…์†์„ฑ์ด ์žˆ๋Š” package.json์„ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค(์ผ๋ถ€ ํ˜ธํ™˜๋˜์ง€ ์•Š๋Š” peerDependencies๊ฐ€ ์žˆ๋Š” ๊ฒƒ์ด ๋ฐ”๋žŒ์งํ•จ).
  2. yarn licenses generateDisclaimer > DISCLAIMERS.txt ์‹คํ–‰
  3. DISCLAIMERS.txt ์—ด๊ธฐ
  4. ๋ฌธ์„œ์˜ ์‹œ์ž‘๊ณผ ๋์„ ๋ด…๋‹ˆ๋‹ค.

์˜ˆ์ƒ๋˜๋Š” ๋™์ž‘์€ ๋ฌด์—‡์ž…๋‹ˆ๊นŒ?
๊ณ ์ง€ ์‚ฌํ•ญ ํŒŒ์ผ์€ THE FOLLOWING SETS FORTH ATTRIBUTION ์•ž์˜ ๋ถ€๋ถ„ ์—†์ด ์ƒ์„ฑ๋˜๊ณ  ๋์— Done in 5.45s. ์—†์ด ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค.

node.js, ์›์‚ฌ ๋ฐ ์šด์˜ ์ฒด์ œ ๋ฒ„์ „์„ ์–ธ๊ธ‰ํ•˜์‹ญ์‹œ์˜ค.

$ yarn --version
0.15.1
$ node --version
v6.4.0
$ uname -a
Linux thor.osl.manamind.com 4.7.7-200.fc24.x86_64 #1 SMP Sat Oct 8 00:21:59 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
cat-feature

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

์•ˆ๋…• ๋ชจ๋‘, ๋‚˜๋Š” ์—ฌ์ „ํžˆ์ด ๋ฌธ์ œ๊ฐ€์žˆ๋Š” ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค :

$ yarn --version
0.22.0
$ yarn licenses generate-disclaimer > test.out
warning [email protected]: No license field
warning [email protected]: The platform "darwin" is incompatible with this module.
warning [email protected]: The platform "darwin" is incompatible with this module.
warning package.json: No license field
$ head test.out
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THE CASTBRIDGE PRODUCT.
...

์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์Šต๋‹ˆ๊นŒ? ๊ฐ์‚ฌ ํ•ด์š”!

NINJA EDIT: yarn licenses generate-disclaimer --ignore-platform ๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ ์›ํ•˜๋Š” ๋Œ€๋กœ ์ˆ˜ํ–‰๋˜์ง€๋งŒ ์˜๋„๋œ ์‚ฌ์šฉ ํŒจํ„ด์€ ์•„๋‹Œ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. (๋‚ด๊ฐ€ ํ‹€๋ ธ์„ ์ˆ˜๋„์žˆ๋‹ค)

๋ชจ๋“  3 ๋Œ“๊ธ€

๊ธฐ์—ฌ๋ฅผ ์‹œ์ž‘ํ•˜๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ์ด ์ผ์„ ํ•˜๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค.

์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด #1586์„ ๋งŒ๋“ค์—ˆ์œผ๋ฉฐ ์Šน์ธ ๋Œ€๊ธฐ ์ค‘์ž…๋‹ˆ๋‹ค.

์•ˆ๋…• ๋ชจ๋‘, ๋‚˜๋Š” ์—ฌ์ „ํžˆ์ด ๋ฌธ์ œ๊ฐ€์žˆ๋Š” ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค :

$ yarn --version
0.22.0
$ yarn licenses generate-disclaimer > test.out
warning [email protected]: No license field
warning [email protected]: The platform "darwin" is incompatible with this module.
warning [email protected]: The platform "darwin" is incompatible with this module.
warning package.json: No license field
$ head test.out
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THE CASTBRIDGE PRODUCT.
...

์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์Šต๋‹ˆ๊นŒ? ๊ฐ์‚ฌ ํ•ด์š”!

NINJA EDIT: yarn licenses generate-disclaimer --ignore-platform ๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ ์›ํ•˜๋Š” ๋Œ€๋กœ ์ˆ˜ํ–‰๋˜์ง€๋งŒ ์˜๋„๋œ ์‚ฌ์šฉ ํŒจํ„ด์€ ์•„๋‹Œ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. (๋‚ด๊ฐ€ ํ‹€๋ ธ์„ ์ˆ˜๋„์žˆ๋‹ค)

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰