added prettier | pnpm workspaces

This commit is contained in:
Oleksandr Honcharov 2024-06-13 19:45:40 +03:00
parent 9ab27a83dd
commit bc08e1c707
3 changed files with 14 additions and 6 deletions

7
.prettierrc.yaml Normal file
View File

@ -0,0 +1,7 @@
tabWidth: 4
printWidth: 80
singleQuote: true
jsxSingleQuote: false
semi: false
arrowParens: avoid
endOfLine: auto

View File

@ -7,11 +7,6 @@
"scripts": {
"server:update": "cd server && rage-win64.exe",
"install:client": "cd apps/client && pnpm i",
"install:server": "cd apps/server && pnpm i",
"install:cef": "cd apps/cef && pnpm i",
"install:all": "pnpm install:client && pnpm install:server && pnpm install:cef",
"build:client": "cd apps/client && pnpm build",
"build:server": "cd apps/server && pnpm build",
"build:cef": "cd apps/cef && pnpm build",
@ -23,6 +18,7 @@
"@ragempcommunity/types-cef": "^2.1.8",
"rage-fw-shared-types": "latest",
"esbuild": "^0.21.5",
"typescript": "^5.4.5"
"typescript": "^5.4.5",
"prettier": "^3.3.2"
}
}

5
pnpm-workspace.yaml Normal file
View File

@ -0,0 +1,5 @@
packages:
- "apps/cef"
- "apps/client"
- "apps/server"
- "apps/shared"