chore: setup monorepo structure and cloudflare page config
This commit is contained in:
parent
00978bf995
commit
b8219e322c
2 changed files with 27 additions and 0 deletions
12
frontend/wrangler.toml
Normal file
12
frontend/wrangler.toml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#:schema node_modules/wrangler/config-schema.json
|
||||
name = "gohorsejobs-frontend"
|
||||
compatibility_date = "2024-09-23"
|
||||
compatibility_flags = ["nodejs_als"]
|
||||
pages_build_output_dir = ".vercel/output/static"
|
||||
|
||||
[site]
|
||||
bucket = ".vercel/output/static"
|
||||
|
||||
[build]
|
||||
command = "npm run build"
|
||||
watch_dir = "src"
|
||||
15
package.json
Normal file
15
package.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "gohorsejobs",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"frontend",
|
||||
"backoffice",
|
||||
"seeder-api",
|
||||
"job-scraper-multisite"
|
||||
],
|
||||
"scripts": {
|
||||
"dev:frontend": "npm run dev --workspace=frontend",
|
||||
"build:frontend": "npm run build --workspace=frontend"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue