ncu 명령어를 실행하여 업데이트가 필요한 패키지들을 확인하고, ncu -u 명령어를 실행하여 업데이트가 필요한 패키지들을 한번에 업데이트합니다.ncu
ncu -u

start-storybook -p 6006을 실행하니 오류가 발생했습니다.기존 Package.json 파일 내용
start-storybook에서 storybook dev로 변경되었기 때문이었습니다. (참고 : Storybook Github PR - Split sb-scripts into two different migrations)yarn dlx storybook@latest init 명령어를 실행했습니다.yarn dlx storybook@latest init
init 명령 실행 후 package.json 파일
storybook dev -p 6006 명령어가 잘 실행되는 것을 확인했습니다.typeScript 5로 업데이트 한 후, Cannot find module or its corresponding type declaration.ts(2307) 오류와 JSX element implicitly has type 'any' error.ts(7026)오류가 발생했습니다.
원인 : 업데이트한 typescript의 버전 5.1.6과 msw의 peerDependencies에서의 typescript 버전(>=4.4.x , <=4.9.x)이 맞지 않아서였습니다.
msw의 peerDependencies in yarn.lock 파일