Suggest to install nest-cli globally in dev environment.
# 1. Clone the repository
git clone https://github.com/DhivinX/monorepo-svelte-nestjs.git project-name
# 2. Install the project and build packages in libs folder
npm i
# 3. Enter your newly-cloned folder
cd project-name
# 6. Dev: Run frontend with hot reload
npm run web:dev
# 7. Dev: Run backend with hot reload
npm run server:dev
web:dev
- run frontend with hot reloadserver:dev
- run backend with hot reloadlibs:build
- build packages in libs
folderlibs:clean
- clean packages in libs
folderlibs:lint
- lint packages in libs
folderapps:build
- build packages in apps
folderapps:clean
- clean packages in apps
folderapps:lint
- lint packages in apps
folder
{
"recommendations": [
"dbaeumer.vscode-eslint",
"eamodio.gitlens",
"wayou.vscode-todo-highlight",
"syler.sass-indented",
"editorconfig.editorconfig",
"eg2.vscode-npm-script",
"platformio.platformio-ide",
"ms-python.python",
"tomoki1207.pdf",
"visualstudioexptteam.vscodeintellicode",
"pkief.material-icon-theme",
"svelte.svelte-vscode",
]
}
svelte.svelte-vscode
- Svelte for VS Code.syler.sass-indented
- Sass syntax highlighting.dbaeumer.vscode-eslint
- VS Code ESLint extension.editorconfig.editorconfig
- EditorConfig for VS Code.visualstudioexptteam.vscodeintellicode
- IntelliCodeeamodio.gitlens
- GitLens - Git supercharged.platformio.platformio-ide
- PlatformIO IDE. Collaborative platform for embedded development.ms-python.python
- Python extension.wayou.vscode-todo-highlight
- TODO Highlight.eg2.vscode-npm-script
- Supports running npm scripts defined in the package.json file.tomoki1207.pdf
- Display pdf in VS Code.pkief.material-icon-theme
- Material Icon Theme in VS Code.Disables top-level scripts for packages from the npm script panel.
{
"npm.exclude": [
"**/packages/**",
"**/apps/**",
]
}
If you find a bug, or have an enhancement in mind please post issues on GitHub.
MIT