added prettier | pnpm workspaces
This commit is contained in:
parent
9ab27a83dd
commit
bc08e1c707
7
.prettierrc.yaml
Normal file
7
.prettierrc.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
tabWidth: 4
|
||||
printWidth: 80
|
||||
singleQuote: true
|
||||
jsxSingleQuote: false
|
||||
semi: false
|
||||
arrowParens: avoid
|
||||
endOfLine: auto
|
@ -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
5
pnpm-workspace.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
packages:
|
||||
- "apps/cef"
|
||||
- "apps/client"
|
||||
- "apps/server"
|
||||
- "apps/shared"
|
Loading…
Reference in New Issue
Block a user