Skip to content

Commit 7b80b4a

Browse files
committed
ci: make vite 7 catalog swap version-agnostic and remove local script
Replace sed patterns that matched specific version strings with patterns that match the key name and replace any value after it. Remove the local e2e-vite7.sh script since CI handles this now. https://claude.ai/code/session_014gm5pSZ82jEKdrh4TLeTuC
1 parent e7cc63a commit 7b80b4a

2 files changed

Lines changed: 2 additions & 56 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ jobs:
9595
- name: Swap catalog to Vite 7
9696
run: |
9797
sed -i \
98-
-e 's|"@vitejs/plugin-react": \^6\.0\.1|"@vitejs/plugin-react": ^5.1.4|' \
99-
-e 's|vite: \^8\.0\.0|vite: ^7.3.1|' \
98+
-e 's|^\( "@vitejs/plugin-react":\).*|\1 ^5.1.4|' \
99+
-e 's|^\( vite:\).*|\1 ^7.3.1|' \
100100
pnpm-workspace.yaml
101101
102102
- name: Install dependencies

packages/static/scripts/e2e-vite7.sh

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)