fix: add workspace config and remove --filter for extracted repo

The extracted repo is no longer a monorepo — pnpm --filter doesn't match
the root package. Add pnpm-workspace.yaml for packages/types, add
@groombook/types as workspace dep, and run commands directly at root.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-05-10 23:47:26 +00:00
committed by The Dogfather [agent]
parent 00fb7accbd
commit 9408ccff3e
5 changed files with 623 additions and 682 deletions
+3 -3
View File
@@ -32,10 +32,10 @@ jobs:
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
- name: Typecheck - name: Typecheck
run: pnpm --filter @groombook/web typecheck run: pnpm typecheck
- name: Lint - name: Lint
run: pnpm --filter @groombook/web lint run: pnpm lint
test: test:
name: Test name: Test
@@ -56,7 +56,7 @@ jobs:
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
- name: Run tests - name: Run tests
run: pnpm --filter @groombook/web test run: pnpm test
docker: docker:
name: Build & Push Docker Image name: Build & Push Docker Image
+1 -1
View File
@@ -11,7 +11,7 @@ FROM deps AS builder
COPY packages/types/ packages/types/ COPY packages/types/ packages/types/
COPY src/ src/ COPY src/ src/
COPY index.html vite.config.ts tsconfig.json ./ COPY index.html vite.config.ts tsconfig.json ./
RUN pnpm --filter @groombook/web build RUN pnpm build
FROM nginx:alpine AS runner FROM nginx:alpine AS runner
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
+1
View File
@@ -13,6 +13,7 @@
"test:e2e": "playwright test -c e2e/playwright.config.ts" "test:e2e": "playwright test -c e2e/playwright.config.ts"
}, },
"dependencies": { "dependencies": {
"@groombook/types": "workspace:*",
"@stripe/react-stripe-js": "^6.1.0", "@stripe/react-stripe-js": "^6.1.0",
"@stripe/stripe-js": "^9.1.0", "@stripe/stripe-js": "^9.1.0",
"@tailwindcss/vite": "^4.2.2", "@tailwindcss/vite": "^4.2.2",
+616 -678
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -0,0 +1,2 @@
packages:
- "packages/*"