Skip to content

Commit 406d82d

Browse files
authored
David/refactoring front end by hand (#79)
* Nuked Front End * Generated Vite Starter Code from Scratch * Modified Files to run on Docker * Migrated to pnpm * Added Linter + Prettier, Need to Update Readme in the end to ensure everything is validated * Added Tailwind V4, refactored app.tsx with tailwind css * Added Folder structure * Updated ReadMe
1 parent 7ef0fe3 commit 406d82d

File tree

95 files changed

+4795
-14075
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+4795
-14075
lines changed

.github/workflows/lint.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,29 @@ jobs:
3131
python-backend:
3232
- "backend/python/**"
3333
34+
- name: Set up pnpm
35+
if: steps.changes.outputs.frontend == 'true'
36+
uses: pnpm/action-setup@v4
37+
with:
38+
version: 9
39+
3440
- name: Set up Node.js
3541
if: steps.changes.outputs.frontend == 'true'
3642
uses: actions/setup-node@v4
3743
with:
3844
node-version: "20.11.1"
39-
cache: "yarn"
40-
cache-dependency-path: frontend/yarn.lock
45+
cache: "pnpm"
46+
cache-dependency-path: frontend/pnpm-lock.yaml
4147

4248
- name: Install Node.js dependencies
4349
if: steps.changes.outputs.frontend == 'true'
44-
run: yarn --cwd ./frontend --prefer-offline
50+
run: pnpm install --frozen-lockfile
51+
working-directory: ./frontend
4552

4653
- name: Lint frontend
4754
if: steps.changes.outputs.frontend == 'true'
4855
working-directory: ./frontend
49-
run: yarn lint
56+
run: pnpm lint
5057

5158

5259
- name: Set up Python

0 commit comments

Comments
 (0)