build(v3): use pnpm, docker, docker-compose to orchestrate two services (client, server)

This commit is contained in:
Amruth Pillai
2022-03-07 13:43:34 +01:00
parent 9c1380f401
commit 938e2e8e25
23 changed files with 9355 additions and 11409 deletions

View File

@ -2,29 +2,38 @@
"name": "reactive-resume",
"version": "3.0.0",
"private": true,
"packageManager": "yarn@3.2.0",
"workspaces": [
"schema",
"client",
"server"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"scripts": {
"dev:client": "yarn workspace @reactive-resume/client run dev",
"dev:server": "yarn workspace @reactive-resume/server run start:dev",
"dev": "env-cmd concurrently --kill-others \"yarn:dev:*\"",
"build": "yarn workspaces foreach run build",
"lint": "yarn workspaces foreach run lint",
"start:client": "yarn workspace @reactive-resume/client run start",
"start:server": "yarn workspace @reactive-resume/server run start:prod",
"start": "concurrently --kill-others \"yarn:start:*\""
"dev:schema": "pnpm -F schema dev",
"dev:server": "pnpm -F server start:dev",
"dev:client": "pnpm -F client dev",
"dev": "env-cmd concurrently --kill-others \"pnpm run dev:*\"",
"build:schema": "pnpm -F schema build",
"build:server": "pnpm -F server build",
"build:client": "pnpm -F client build",
"build": "env-cmd concurrently \"pnpm run build:*\"",
"start:server": "pnpm -F server start:prod",
"start:client": "pnpm -F client start",
"start": "env-cmd concurrently --kill-others \"pnpm run start:*\""
},
"dependencies": {
"concurrently": "^7.0.0",
"env-cmd": "^10.1.0"
},
"devDependencies": {
"@changesets/cli": "^2.21.1",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
@ -32,6 +41,6 @@
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"prettier": "^2.5.1",
"typescript": "<4.6.0"
"typescript": "^4.5.5"
}
}