mirror of
https://github.com/logos-messaging/OpChan.git
synced 2026-01-02 12:53:10 +00:00
fix: vercel deployment
This commit is contained in:
parent
2e9871d3a1
commit
fe2f954c93
45
.vercelignore
Normal file
45
.vercelignore
Normal file
@ -0,0 +1,45 @@
|
||||
# Development files
|
||||
*.log
|
||||
*.tmp
|
||||
.DS_Store
|
||||
.vscode/
|
||||
.idea/
|
||||
|
||||
# Test files
|
||||
**/*.test.*
|
||||
**/*.spec.*
|
||||
**/test/
|
||||
**/tests/
|
||||
**/__tests__/
|
||||
|
||||
# Documentation
|
||||
README.md
|
||||
*.md
|
||||
docs/
|
||||
|
||||
# Package manager files
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
pnpm-lock.yaml
|
||||
|
||||
# Build artifacts (except dist)
|
||||
**/dist/
|
||||
!app/dist/
|
||||
|
||||
# Source files (we only need the built app)
|
||||
packages/
|
||||
!packages/core/dist/
|
||||
!packages/react/dist/
|
||||
|
||||
# Development configs
|
||||
.eslintrc*
|
||||
.prettierrc*
|
||||
vitest.config.*
|
||||
vite.config.*
|
||||
tailwind.config.*
|
||||
postcss.config.*
|
||||
tsconfig*.json
|
||||
|
||||
# Git
|
||||
.git/
|
||||
.gitignore
|
||||
@ -6,7 +6,8 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"build": "npm run build:deps && vite build",
|
||||
"build:deps": "cd ../packages/core && npm run build && cd ../react && npm run build",
|
||||
"build:dev": "vite build --mode development",
|
||||
"check": "tsc --project tsconfig.app.json --noEmit && tsc --project tsconfig.node.json --noEmit && eslint . --fix && prettier --write .",
|
||||
"fix": "prettier --write . && eslint . --fix",
|
||||
@ -102,5 +103,8 @@
|
||||
"typescript-eslint": "^8.0.1",
|
||||
"vite": "^5.4.1",
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-linux-x64-gnu": "^4.28.1"
|
||||
}
|
||||
}
|
||||
|
||||
8574
package-lock.json
generated
8574
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
vercel.json
11
vercel.json
@ -1,8 +1,13 @@
|
||||
{
|
||||
"version": 2,
|
||||
"installCommand": "npm ci --workspaces",
|
||||
"buildCommand": "npm run -w packages/core build && npm run -w packages/react build && npm run -w app build",
|
||||
"installCommand": "npm ci --workspaces --include=optional",
|
||||
"buildCommand": "cd app && npm run build",
|
||||
"outputDirectory": "app/dist",
|
||||
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
|
||||
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }],
|
||||
"functions": {
|
||||
"app/dist/**": {
|
||||
"runtime": "nodejs20.x"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user