Skip to content

Commit 8ad52d6

Browse files
committed
๐Ÿ“ ๋ฒ„์ „ ์˜ฌ๋ฆฌ๋Š” ๋ฐฉ๋ฒ• ๋ฌธ์„œ ๋ณ€๊ฒฝ
npm version์„ ์‚ฌ์šฉํ•˜๋„๋ก ์œ ๋„ํ•ฉ๋‹ˆ๋‹ค.
1 parent f0d3d69 commit 8ad52d6

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

โ€ŽREADME.md

+9-19
Original file line numberDiff line numberDiff line change
@@ -160,27 +160,17 @@ devDependency์ด๋ฉด --dev๋ฅผ, peer dependency์ด๋ฉด --peer๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
160160
git switch -c release/v2.9.0
161161
```
162162

163-
์ƒˆ๋กœ์šด ๋ฒ„์ „์„ ์˜ฌ๋ฆฝ๋‹ˆ๋‹ค. ์›ํ•˜๋Š” ๋ฒ„์ „์„ ์„ ํƒํ•˜๋ฉด lerna๊ฐ€ ์•Œ์•„์„œ ๋ชจ๋“  ํŒจํ‚ค์ง€์˜ ๋ฒ„์ „์„ ๋ฐ”๊ฟ‰๋‹ˆ๋‹ค.
163+
[npm version](https://docs.npmjs.com/cli/v7/commands/npm-version) ๋ช…๋ น์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ฒ„์ „์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.
164+
์ด ๋•Œ `--workspaces` ์˜ต์…˜์„ ์‚ฌ์šฉํ•ด ์ฃผ์„ธ์š”.
164165

165166
```bash
166-
$ npm run version
167-
168-
> version
169-
> lerna version --no-push --force-publish
170-
171-
lerna notice cli v3.22.1
172-
lerna info current version 2.8.0
173-
lerna WARN force-publish all packages
174-
lerna info Assuming all packages changed
175-
? Select a new version (currently 2.8.0) (Use arrow keys)
176-
Patch (2.8.1)
177-
โฏ Minor (2.9.0)
178-
Major (3.0.0)
179-
Prepatch (2.8.1-alpha.0)
180-
Preminor (2.9.0-alpha.0)
181-
Premajor (3.0.0-alpha.0)
182-
Custom Prerelease
183-
Custom Version
167+
npm version minor --workspaces
168+
```
169+
170+
๋ฒ„์ „์„ ์˜ฌ๋ฆฐ ๋‹ค์Œ ๋ณ€๊ฒฝ๋œ ๋ฒ„์ „์„ package-lock์— ๋ฐ˜์˜ํ•ด์ค˜์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๋‹ค์Œ ๋ช…๋ น์„ ์‹คํ–‰ํ•˜์„ธ์š”.
171+
172+
```bash
173+
npm run sync-deps
184174
```
185175

186176
์ƒˆ๋กœ์šด ๋ฒ„์ „์˜ ๋งˆ์ผ์Šคํ†ค์ด๋‚˜ ์ปค๋ฐ‹ ํžˆ์Šคํ† ๋ฆฌ๋ฅผ ์ฐธ๊ณ ํ•˜์—ฌ `CHANGELOG.md`์— ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค.

0 commit comments

Comments
ย (0)