Move app to apps/web-react in pnpm workspace layout

This commit is contained in:
Kalle
2026-08-16 09:20:33 +03:00
parent 7e365ccfcf
commit bbc8ea57af
2913 changed files with 227 additions and 250 deletions

View File

@@ -3,16 +3,16 @@ name: E2E Tests
on:
pull_request:
paths-ignore:
- 'content/**'
- 'public/**'
- 'locales/**'
- 'apps/web-react/content/**'
- 'apps/web-react/public/**'
- 'apps/web-react/locales/**'
push:
branches:
- main
paths-ignore:
- 'content/**'
- 'public/**'
- 'locales/**'
- 'apps/web-react/content/**'
- 'apps/web-react/public/**'
- 'apps/web-react/locales/**'
jobs:
e2e:
@@ -50,7 +50,7 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps
run: pnpm --filter web-react exec playwright install --with-deps
- name: Run E2E tests
run: pnpm run test:e2e
@@ -63,12 +63,12 @@ jobs:
if: failure()
with:
name: playwright-report
path: playwright-report/
path: apps/web-react/playwright-report/
retention-days: 30
- uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright-traces
path: test-results/
path: apps/web-react/test-results/
retention-days: 30

View File

@@ -24,7 +24,7 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Install Playwright browsers
run: pnpm exec playwright install chromium
run: pnpm --filter web-react exec playwright install chromium
- name: Formatter/Linter
run: pnpm run biome:check

View File

@@ -29,4 +29,4 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pnpm run check-translation-jsons
gh issue edit 1104 --body-file ./translation-progress.md
gh issue edit 1104 --body-file ./apps/web-react/translation-progress.md

26
.gitignore vendored
View File

@@ -1,9 +1,9 @@
node_modules
package-lock.json
/.cache*
/build
/public/build
.cache*
apps/web-react/build
apps/web-react/public/build
.react-router/
.env
translation-progress.md
@@ -16,15 +16,15 @@ dump
.DS_Store
.excalidraw
/scripts/output/*
!/scripts/output/.gitkeep
apps/web-react/scripts/output/*
!apps/web-react/scripts/output/.gitkeep
/scripts/dicts/**/*
/scripts/badge
/test-results/
/playwright-report/
/playwright/.cache/
/.vitest-attachments
apps/web-react/scripts/dicts/**/*
apps/web-react/scripts/badge
test-results/
playwright-report/
playwright/.cache/
.vitest-attachments
.vitest-attachments/
# Vitest auto-captured failure screenshots (numbered, without browser info)
@@ -36,7 +36,7 @@ dump
notepad.txt
# proprietary game fonts for the scanner glyph-atlas builders (scripts/scanner)
/assets/fonts/
apps/web-react/assets/fonts/
*.mp4
*.mkv
*.mkv

Some files were not shown because too many files have changed in this diff Show More