Boilerplate monorepo with yarn 2
git clone https://github.com/JHSeo-git/boilerplate-yarn-2-monorepo.git my-project
cd my-project
# yarn install
yarn
# yarn dlx install
yarn dlx @yarnpkg/sdks vscode
rm rf .git
git init
you make and use workspaces in apps/
, packages/
.
- package.json
yarn build
- Run concurrently workspaces's build
yarn dev
- Run concurrently workspaces's dev
- nextjs app
- node package