From b8219e322c99af6fd68a8eb29b335c8fcce58e71 Mon Sep 17 00:00:00 2001 From: Tiago Yamamoto Date: Mon, 15 Dec 2025 16:07:38 -0300 Subject: [PATCH] chore: setup monorepo structure and cloudflare page config --- frontend/wrangler.toml | 12 ++++++++++++ package.json | 15 +++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 frontend/wrangler.toml create mode 100644 package.json diff --git a/frontend/wrangler.toml b/frontend/wrangler.toml new file mode 100644 index 0000000..95564e3 --- /dev/null +++ b/frontend/wrangler.toml @@ -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" diff --git a/package.json b/package.json new file mode 100644 index 0000000..5dd88d0 --- /dev/null +++ b/package.json @@ -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" + } +}