From 7e5ce87e3e7bee3382885ec7d855b2af7aeff435 Mon Sep 17 00:00:00 2001 From: 0age <37939117+0age@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:04:47 -0800 Subject: [PATCH] add check:all --- .env.example | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 4f93285..940b18f 100644 --- a/.env.example +++ b/.env.example @@ -1,6 +1,7 @@ # Server Configuration BASE_URL=http://localhost:3000 PORT=3000 +CORS_ORIGIN=* DEV_FRONTEND_URL=http://localhost:3001 # Database Configuration diff --git a/package.json b/package.json index 8210d86..6a68054 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "format:check": "prettier --check \"src/**/*.ts\"", "prepare": "husky", "check-test-files": "node scripts/check-test-files.js", - "lint-staged": "lint-staged" + "lint-staged": "lint-staged", + "check:all": "pnpm build:all || true && pnpm lint || true && cd frontend && pnpm lint || true && cd - && pnpm format:check || true && cd frontend && prettier --check \"src/**/*.{ts,tsx}\" || true && cd - && pnpm type-check || true && cd frontend && pnpm tsc --noEmit -p tsconfig.app.json || true && cd - && pnpm test || true && pnpm smoke-test || true" }, "lint-staged": { "**/*.{test,spec}.ts": [