<p>lerna๊ฐ€ ์•„๋‹Œ ํ”„๋กœ์ ํŠธ์—์„œ auto</p>

์— ๋งŒ๋“  2020๋…„ 02์›” 21์ผ  ยท  35์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: intuit/auto

๋ฒ„๊ทธ ์„ค๋ช…

https://github.com/react-native-community/hooks ๋ฆฌํฌ์ง€ํ† ๋ฆฌ์—์„œ ์ž๋™์„ ์„ค์ •ํ–ˆ์Šต๋‹ˆ๋‹ค. ์šฐ๋ฆฌ๋Š” ์ „ํ˜€ ์—†๋‹ค lerna.json ํŒŒ์ผ์„, ๋‚ด๊ฐ€ ์‹คํ–‰ํ•˜๋ฉด yarn auto changelog --verbose , ๋‚˜๋Š” ์˜ค๋ฅ˜ ๋“ฑ์œผ๋กœ ์–ป์„ ์ˆ˜

โœ”  success   Calculated SEMVER bump: patch
โ„น  info      Calculated next version to be: 2.0.3
โ„น  info      Old changelog exists, prepending changes.
โ„น  info      Wrote new changelog to filesystem.
โ„น  info      Getting commits from 2.0.2 to HEAD
โ„น  info      Committed new changelog.
โœ–  error     Called from: Error
    at Object.execPromise [as default] (/Users/pvinis/Source/react-native-community/hooks/node_modules/@auto-it/core/dist/utils/exec-promise.js:15:22)
    at Object.getLernaPackages (/Users/pvinis/Source/react-native-community/hooks/node_modules/@auto-it/core/dist/utils/get-lerna-packages.js:7:34)
    at /Users/pvinis/Source/react-native-community/hooks/node_modules/@auto-it/all-contributors/dist/index.js:82:48
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: Running command 'npx' with args [lerna, ls, -pl] failed

npx: installed 706 in 55.72s
lerna notice cli v3.20.2
lerna ERR! ENOLERNA `lerna.json` does not exist, have you run `lerna init`?

    at ChildProcess.<anonymous> (/Users/pvinis/Source/react-native-community/hooks/node_modules/@auto-it/core/dist/utils/exec-promise.js:49:24)
    at ChildProcess.emit (events.js:321:20)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

์žฌํ˜„ํ•˜๊ธฐ ์œ„ํ•ด

์˜ˆ์ƒ๋˜๋Š” ํ–‰๋™

๋ฆฌํฌ์ง€ํ† ๋ฆฌ์— lerna๊ฐ€ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์ง€ ์•Š์œผ๋ฉด ํ•„์š”ํ•˜์ง€ ์•Š๊ฑฐ๋‚˜ ์ฐพ์•„๋ณด๊ณ  ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ•ด์„œ๋Š” ์•ˆ ๋ฉ๋‹ˆ๋‹ค.

์Šคํฌ๋ฆฐ์ƒท

๋ฐ์Šคํฌํƒ‘(๋‹ค์Œ ์ •๋ณด๋ฅผ ์ž‘์„ฑํ•˜์‹ญ์‹œ์˜ค):

  • OS: [์˜ˆ: iOS]
  • ๋ธŒ๋ผ์šฐ์ €[์˜ˆ: ํฌ๋กฌ, ์‚ฌํŒŒ๋ฆฌ]
  • ๋ฒ„์ „ [์˜ˆ: 22]

์ถ”๊ฐ€ ์ปจํ…์ŠคํŠธ

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

์ง€์ ์ด ์žˆ๋‚˜์š”? ์ด๋ ‡๊ฒŒ๋˜์–ด ๋ฏธ์•ˆํ•ฉ๋‹ˆ๋‹ค. ์ด์ „ ๋ฒ„์ „์—์„œ ์ด ๋ฌธ์ œ๋ฅผ ํ•ด๊ฒฐํ–ˆ๋‹ค๊ณ  ์ƒ๊ฐํ–ˆ์Šต๋‹ˆ๋‹ค.

ํ˜„์žฌ ๊ท€ํ•˜์˜ ๋ฆฌํฌ์ง€ํ† ๋ฆฌ๋กœ ์žฌ์ƒ์‚ฐํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

์ €์žฅ์†Œ์˜ ๋งˆ์Šคํ„ฐ์—์„œ ์˜ค๋ฅ˜ ์—†์ด ๋‹ค์Œ์„ ์ˆ˜ํ–‰ํ–ˆ์Šต๋‹ˆ๋‹ค.

yarn add auto
yarn auto changelog --from 2.0.1 -d

์‚ฐ์ถœ:

#### ๐Ÿš€  Enhancement

- trying out auto [#60](https://github.com/react-native-community/hooks/pull/60) ([@pvinis](https://github.com/pvinis))

#### ๐Ÿ›  Bug Fix

- Update README.md [#61](https://github.com/react-native-community/hooks/pull/61) ([@pvinis](https://github.com/pvinis))
- Create LICENSE [#57](https://github.com/react-native-community/hooks/pull/57) ([@pvinis](https://github.com/pvinis))

#### โš ๏ธ  Pushed to master

- aha  ([@pvinis](https://github.com/pvinis))
- fix(sad): its a sad day when you cant make your tools do what you want.  ([@pvinis](https://github.com/pvinis))
- fix(bla) ok  ([@pvinis](https://github.com/pvinis))
- rename  ([@pvinis](https://github.com/pvinis))
- fix(something): i hate this  ([@pvinis](https://github.com/pvinis))
- again  ([@pvinis](https://github.com/pvinis))
- bla  ([@pvinis](https://github.com/pvinis))
- i give up..  ([@pvinis](https://github.com/pvinis))
- try  ([@pvinis](https://github.com/pvinis))
- bump  ([@pvinis](https://github.com/pvinis))
- upg  ([@pvinis](https://github.com/pvinis))
- test  ([@pvinis](https://github.com/pvinis))
- some baaaasic tests  ([@pvinis](https://github.com/pvinis))
- rename repo to be canonical with the rest and fix links  ([@pvinis](https://github.com/pvinis))

#### Authors: 1

- Pavlos Vinieratos ([@pvinis](https://github.com/pvinis))

๐Ÿ˜ญ ๋ช‡๋ถ„์ „์— ์ฒญ์†Œํ–ˆ์–ด์š” ๐Ÿคฆโ€โ™‚๏ธ.

๋‚ด์ผ ์ง€์ ์—์„œ ๋‹ค์‹œ ๋งŒ๋“ค ์ˆ˜ ์žˆ์ง€๋งŒ ์—ฌ๊ธฐ์— ๋‚ด๊ฐ€ ์•Œ์•„๋‚ธ ๊ฒƒ์„ ๋‚˜์—ดํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

์ž๋™ ๋ฐ ๋ชจ๋“  ๊ธฐ์—ฌ์ž๋ฅผ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿฐ ๋‹ค์Œ ์ž๋™ shipit์„ ์‹œ๋„ํ–ˆ๊ณ  ๋“œ๋ผ์ด ๋Ÿฐ์„ ์‚ฌ์šฉํ•ด๋„ lerna ์˜ค๋ฅ˜๋กœ ์ธํ•ด ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค.

๊ทธ๋Ÿฐ ๋‹ค์Œ ๋ชจ๋“  ๊ธฐ์—ฌ์ž๋ฅผ ์ œ๊ฑฐํ•˜๊ณ  ์—†์ด ์‹œ๋„ํ–ˆ์Šต๋‹ˆ๋‹ค. ๋‘ ๊ฐ€์ง€ ๋ฌธ์ œ๊ฐ€ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ํ•˜๋‚˜๋Š” ci๊ฐ€ GitHub.com์ด ์Šน์ธ๋˜์ง€ ์•Š์€ ip ๋˜๋Š” ๋ฌด์—‡์ธ๊ฐ€์— ๋Œ€ํ•ด ๋ถˆํ‰ํ–ˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. package.json์˜ ์ €์žฅ์†Œ์—์„œ https๋กœ ์ „ํ™˜ํ–ˆ์ง€๋งŒ ๋„์›€์ด ๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค. ๋‹ค๋ฅธ ๋ฌธ์ œ๋Š” gh ๋ฆด๋ฆฌ์Šค ๋ฐ ํƒœ๊ทธ๊ฐ€ ๋ฐœ์ƒํ•˜์ง€ ์•Š๋Š”๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์–ด๋Š ์‹œ์ ์—์„œ ๋‚˜๋Š” package.json์— ํ•˜๋‚˜์˜ ๋ฒ„์ „ ๋ฒˆํ˜ธ๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๊ณ , ๋‹ค๋ฅธ ํ•˜๋‚˜๋Š” ํƒœ๊ทธ๋กœ ์ƒ์„ฑํ•˜๋ ค๊ณ  ์‹œ๋„ํ–ˆ์œผ๋ฉฐ, ์„ธ ๋ฒˆ์งธ๋Š” npm ๋ฆด๋ฆฌ์Šค์˜€์Šต๋‹ˆ๋‹ค. ์„ธ ๊ฐœ์˜ ์ˆซ์ž๊ฐ€ ๋ชจ๋‘ ๋‹ฌ๋ผ์„œ ๋งŽ์ด ํ—ท๊ฐˆ๋ ค ํฌ๊ธฐํ–ˆ์Šต๋‹ˆ๋‹ค.

๋‚ด์ผ ๋‹ค์‹œ ๋งŒ๋“ค๊ฒ ์Šต๋‹ˆ๋‹ค. ์ฃ„์†กํ•˜๊ณ  ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

. ํ•˜๋‚˜๋Š” ci๊ฐ€ GitHub.com์ด ์Šน์ธ๋˜์ง€ ์•Š์€ ip ๋˜๋Š” ๋ฌด์—‡์ธ๊ฐ€์— ๋Œ€ํ•ด ๋ถˆํ‰ํ–ˆ๋‹ค๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.

https://github.com/intuit/auto/blob/master/.circleci/config.yml#L99

์ด๊ฒƒ์€ ๋‚ด๊ฐ€ ์ƒ๊ฐํ•˜๋Š” ๋ฌธ์„œ์—๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹ค์‹œ ์—ด์–ด ์ฃผ์†Œ #550์„ ์ž…๋ ฅํ•ด์•ผ ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.

'from'๊ณผ 'd' ์—†์ด ์ž‘๋™ํ•ฉ๋‹ˆ๊นŒ?

๋„ค ๊ทธ๋ƒฅ ์•„๋ฌด๊ฒƒ๋„ ์ถœ๋ ฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค

PR์„ ๋ชจ์•„์„œ ์ž๋™์œผ๋กœ ์„ค์ •ํ•ด ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๋‚œ ์‹œ๊ฐ„ ๊ดœ์ฐฎ์•„. ํ† ํฐ์ด ์ด๋ฏธ ์„ค์ •๋˜์–ด ์žˆ๋Š” ํ•œ ๊ฝค ์‰ฝ๊ฒŒ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ  ์ด์ƒํ•ด. ์ข‹์•„, ์œ ์ผํ•œ ๋ฐฉ๋ฒ•์€ ์‹œํ—˜์„ ๋‹ค์‹œ ๋ฐ›๋Š” ๊ฒƒ๋ฟ์ž…๋‹ˆ๋‹ค. ๊ดœ์ฐฎ์œผ๋ฉด reflog๋ฅผ ์ˆ˜ํ–‰ํ•˜๊ณ  ๋‚ด์ผ ๋ถ„๊ธฐ์— ํ‘ธ์‹œํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

ci์—๋Š” ํ† ํฐ์ด ์„ค์ •๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๊ฒƒ์€ ๋†€๋ผ์šด ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋” ์ง์ ‘์ ์ธ ์ฑ„ํŒ…์„ ์œ„ํ•ด discord ๋˜๋Š” ๋ฌด์–ธ๊ฐ€์— ๋Œ€ํ•ด ์ด์•ผ๊ธฐํ•˜๊ณ  ์‹ถ์Šต๋‹ˆ๊นŒ? ์—ฌ๊ธฐ๊ฐ€ ์ƒˆ๋ฒฝ 1์‹œ 26๋ถ„์ธ๋ฐ ์ •๋ง ๊ธด ํ•˜๋ฃจ์˜€์Šต๋‹ˆ๋‹ค ๐Ÿ˜ฌ

์ž๋Ÿฌ ๊ฐ€! hooks ํ•จ๊ป˜ PR์„ ๋ฐ›๊ณ  ๋‚ด์ผ(๋˜๋Š” ์–ธ์ œ๋“ ์ง€) ํ”ฝ์—…ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์—ฌ๊ธฐ์„œ ์ฑ„ํŒ…ํ•ด๋„ ๊ดœ์ฐฎ์Šต๋‹ˆ๋‹ค. ๋‚˜๋Š” ๊ณต๊ฐœ ํ† ๋ก ์„ ์ข‹์•„ํ•œ๋‹ค

์ €๋ฅผ repo์— ๊ณต๋™ ์ž‘์—…์ž๋กœ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ๋‹ค๋ฉด ๊ทธ๊ฒƒ๋„ ์™„๋ฒฝํ•  ๊ฒƒ์ž…๋‹ˆ๋‹ค. git ํƒœ๊ทธ๋งŒ ์ถ”๊ฐ€ํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค(์•„๋งˆ๋„).

#969 ์‚ฌ์šฉ์ž๊ฐ€ ์žˆ๋Š” @pvinis ๋Š” ์•Œ๋ ค์ง„ ํ˜ธ์ŠคํŠธ ๋ฌธ์ œ์— https url ๋˜๋Š” https + token ์ธ์ฆ์„ ์‹œ๋„ํ•ฉ๋‹ˆ๋‹ค.

๋‹น์‹ ์„ ํ˜‘๋ ฅ์ž๋กœ ์ดˆ๋Œ€ํ–ˆ์Šต๋‹ˆ๋‹ค.

์ข‹์•„, ๊ทธ๋ž˜์„œ ๋‚˜๋Š” ๋‹น์‹ ์˜ PR์„ ๋ณ‘ํ•ฉํ–ˆ์Šต๋‹ˆ๋‹ค. ๋ฐœ๋งค ๋ผ๋ฒจ ์—†์ด PR์„ ํ–ˆ๋Š”๋ฐ ์นด๋‚˜๋ฆฌ์•„๋งŒ ๋งŒ๋“ค์—ˆ์–ด์š”. ๋‚˜๋Š” ๋ฆด๋ฆฌ์Šค ๋ ˆ์ด๋ธ”๋กœ PR์„ํ–ˆ๊ณ  canary๊ฐ€ ์ž‘๋™ํ•˜๊ณ  ๋ณ‘ํ•ฉ ํ•œ ๋‹ค์Œ lerna ๋ฌธ์ œ https://app.circleci.com/jobs/github/react-native-community/hooks/114 ๋ฐ https://app.circleci.com /jobs/github/react-native-community/hooks/130.

๋˜ํ•œ ์ด์ƒํ•˜๊ฒŒ๋„ ๊ตฌ์„ฑ์„ ํŒŒ์ผ๋กœ ์˜ฎ๊ฒผ์„ ๋•Œ https://github.com/react-native-community/hooks/commit/aaca764128470a1096f84a0bf493a746a2fe5168 ์ ‘๋‘์‚ฌ ๐Ÿค” git ํƒœ๊ทธ๊ฐ€ ์ถ”๊ฐ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์—… ๋ฐ ์กฐ์‚ฌ

์šฐ๋ฆฌ๋Š” ์„ธ๊ณ„์˜ ๋‹ค๋ฅธ ์ธก๋ฉด์— def

๐Ÿ˜‚ ๊ณผ์—ฐ. ๊ทธ๋Ÿฌ๋‚˜ ๋‚˜๋Š” ์ž ์‹œ ๋™์•ˆ ๋” ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹น์‹ ์ด ํ•„์š”๋กœํ•˜๋Š” ๊ฒƒ์ด ์žˆ์œผ๋ฉด ๋‹น์‹ ์„ ๋„์šธ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํ•œ ์‹œ๊ฐ„ ์ •๋„๋ฉด ์‹œ๊ฐ„์ด ์žˆ์Šต๋‹ˆ๋‹ค.

๋”ฐ๋ผ์„œ ํƒœ๊ทธ๋ฅผ ํŽธ์ง‘/์‚ญ์ œํ•  ์ˆ˜ ์žˆ๋„๋ก ์‹ค์ œ๋กœ ๊ด€๋ฆฌ์ž๊ฐ€ ํ•„์š”ํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค. ๋˜ํ•œ:

  1. ๋‹จ์ผ ํŒจํ‚ค์ง€์— ๋Œ€ํ•œ ๋ชจ๋“  ๊ธฐ์—ฌ์ž ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ˆ˜์ •ํ•˜๋Š” ๋ฒ„๊ทธ ์ˆ˜์ •์ด ์žˆ์Šต๋‹ˆ๋‹ค. https://github.com/intuit/auto/pull/971

  2. noVersionPrefix ์‚ฌ์šฉ์„ ์ œ๊ฑฐํ•ด์•ผ ํ•œ๋‹ค๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค.

  • npm ๋ฌธ์„œ๋Š” ์ด์— ๋Œ€ํ•ด ์ œ์•ˆํ•ฉ๋‹ˆ๋‹ค. https://docs.npmjs.com/misc/config#tag -version-prefix
  • ๋‹น์‹ ์ด ๊ทธ๊ฒƒ์„ ์›ํ•˜๋Š” ๊ฒฝ์šฐ ์šฐ๋ฆฌ๋Š” ์ถ”๊ฐ€ ํ•  ํ•„์š”๊ฐ€ .npmrc ํฌํ•จ ๋œ tag-version-prefix="" (์›Œ๋“œ ํ”„๋กœ์„ธ์„œ์— ๋Œ€ํ•œ ๋ณ€๊ฒฝ์„ํ•˜๋Š” ๊ฒƒ์€์ด ๋ฐ–์œผ๋กœ ์ „ํ™”๋ฅผ)

๊ฐ€์žฅ ์ข‹์€ ๋ฐฉ๋ฒ•์€ ํƒœ๊ทธ์— v ๋ฅผ ๋„ฃ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค. ๋” ์ ์€ ์„ค์ •๊ณผ ๋” ๋งŽ์€ ํ‘œ์ค€

์›ํ•˜๋Š”๋Œ€๋กœ ํƒœ๊ทธ๋ฅผ ๋งŒ๋“ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋„ค, ์ €๋„ v์— ๋Œ€ํ•ด ๊ทธ๋ ‡๊ฒŒ ์ƒ๊ฐํ–ˆ์Šต๋‹ˆ๋‹ค. ์ €๋Š” ๊ทธ๊ฒƒ์„ ์ข‹์•„ํ•˜์ง€ ์•Š์ง€๋งŒ ๋งˆ์ฐฐ์ด ๋œํ•˜๋‹ค๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค.

์ข‹์•„, ์ ‘๋‘์‚ฌ ๊ตฌ์„ฑ์„ ์ œ๊ฑฐํ–ˆ๊ณ  ์ด์ œ v2.4.2 ๊ฐ€ ์žˆ์œผ๋ฏ€๋กœ lerna ์ˆ˜์ •์ด ์™„๋ฃŒ๋œ ํ›„ ์—…๊ทธ๋ ˆ์ด๋“œํ•  ์ˆ˜ ์žˆ๊ณ  ๊ทธ๊ฒŒ ๋‹ค ๐Ÿคž์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๋‚˜๋Š” ๋‹น์‹ ์„ ์œ„ํ•ด ์ดˆ๊ธฐ์˜ ๋ชจ๋“  ๊ธฐ์—ฌ์ž ์„น์…˜์„ ๋งŒ๋“ค๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. pr์€ ์ƒˆ ๋ฒ„์ „๊ณผ ํ•จ๊ป˜ ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค.

autorc์—์„œ onlyPublishWithReleaseLabel . auto.config.js์—์„œ onlyPublishWithReleaseLabel ๋˜๋Š” only-publish-with-release-label ์ž…๋‹ˆ๊นŒ?

ํ”Œ๋ž˜๊ทธ๋Š” ์ผ€๋ฐฅ ์ผ€์ด์Šค์ด๊ณ  ์ž๋™ rc์—์„œ๋Š” camelCase์ž…๋‹ˆ๋‹ค.

ํšจ๊ณผ๊ฐ€ ์žˆ์—ˆ๋‹ค! ๊ทธ๋ž˜์„œ ๊ทธ๊ฒƒ์€ lerna์™€ ๋ฒ„์ „ ์ ‘๋‘์‚ฌ์˜€์Šต๋‹ˆ๋‹ค.

์  ์žฅ, ๋„์›€๊ณผ ์ด ๋„๊ตฌ์— ๋Œ€ํ•ด ์ •๋ง ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! ์ €๋Š” ์˜คํ”ˆ ์†Œ์Šค์™€ ๊ด€๋ จ๋œ ์‚ฌ๋žŒ๋“ค์„ ์‚ฌ๋ž‘ํ•ฉ๋‹ˆ๋‹ค.

auto ํ•˜๊ณ  ๋ชจ๋‘์—๊ฒŒ ๋” ๋‚˜์€ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•  ์ˆ˜ ์žˆ๋„๋ก ๋„์™€์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค. ์ €๋Š” ํ•ญ์ƒ ์ƒˆ๋กœ์šด ๊ฐœ๋ฐœ์ž๊ฐ€ ์–ด๋ ค์šด ๋ถ€๋ถ„์— ๋ถ€๋”ชํž ๋•Œ ๋„๊ตฌ๋ฅผ ๊ฐœ์„ ํ•˜๋ ค๊ณ  ๋…ธ๋ ฅํ•ฉ๋‹ˆ๋‹ค.

#971์„ ํ†ตํ•ด ํ์‡„

.js ํŒŒ์ผ https://intuit.github.io/auto/pages/autorc.html์„ ์ง€์›ํ•˜์ง€ ์•Š๋Š”๋‹ค๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค json ๋˜๋Š” yml . ์ด๊ฒƒ์€ GitHub ๋ด‡๊ณผ ๊ด€๋ จ๋œ ์ด์œ ์ž…๋‹ˆ๋‹ค. @zephraph ๊ฐ€ ๋” ์ž์„ธํžˆ ์„ค๋ช…ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์•„. ์–ด๋””์„ ๊ฐ€ cosmicconfig๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์„ ๋ณธ ๊ฒƒ ๊ฐ™์•„์š”. ์ž, json์˜ .autorc ์ž…๋‹ˆ๋‹ค.

์˜ˆ, js ํŒŒ์ผ์€ JSON/yml ํŒŒ์ผ๊ณผ ๊ฐ™์€ ๋ฐฉ์‹์œผ๋กœ ์ •์ ์œผ๋กœ ๋ถ„์„ํ•  ์ˆ˜ ์—†๊ธฐ ๋•Œ๋ฌธ์— ์ž๋™ํ™”๋ฅผ ๊ตฌ์ถ•ํ•˜๊ธฐ๊ฐ€ ์–ด๋ ต์Šต๋‹ˆ๋‹ค.

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