Skip to content

Commit ba393a4

Browse files
committed
๐Ÿ”จ ํŒจํ‚ค์ง€์— ์˜์กด์„ฑ์„ ์ถ”๊ฐ€ํ•˜๋Š” ์Šคํฌ๋ฆฝํŠธ ์ž‘์„ฑ
์˜์กด์„ฑ์„ ์ถ”๊ฐ€ํ•œ ๋‹ค์Œ ํ•ด์•ผํ•  ์ž‘์—…์„ postadd ์Šคํฌ๋ฆฝํŠธ๋กœ ์ž๋™ํ™”ํ•ฉ๋‹ˆ๋‹ค. references๋กœ tsconfig์— ์ฐธ์กฐ ๊ฒฝ๋กœ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. make-build-tsconfig๋กœ ๋นŒ๋“œํ•  ๋•Œ ์‚ฌ์šฉํ•˜๋Š” tsconfig ํŒŒ์ผ์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค. npm install๋กœ package-lock ํŒŒ์ผ์„ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค.
1 parent edaf06c commit ba393a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

โ€Žpackage.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
"clean": "lerna exec -- rm -rf ./node_modules ./lib ./*.tsbuildinfo",
3030
"references": "lerna exec --parallel -- node \\$LERNA_ROOT_PATH/scripts/make-references.js",
3131
"make-build-tsconfig": "lerna exec --ignore @titicaca/triple-frontend-docs --parallel -- node \\$LERNA_ROOT_PATH/scripts/make-build-tsconfig.js",
32-
"prepare": "husky install"
32+
"prepare": "husky install",
33+
"add": "lerna add --no-bootstrap",
34+
"postadd": "npm run references && npm run make-build-tsconfig && npm install"
3335
},
3436
"devDependencies": {
3537
"@babel/cli": "^7.10.1",

0 commit comments

Comments
ย (0)