Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

Commit 08f0bf3

Browse files
authored
feat: 3.0 update (#15)
* Revert "chore: update directory to use the same node_modules across the project" This reverts commit 94c59e3. * Revert "chore: migrate template to use latest beta of payload packages" This reverts commit b8b6d17. * feat: update many a thing * chore: add components * chore: update dev directory * chore: remove unused files * chore: update lock * chore: allow .js import statements from dev app * ci: build dev app in workflow
1 parent 94c59e3 commit 08f0bf3

54 files changed

Lines changed: 7515 additions & 8132 deletions

Some content is hidden

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

.eslintrc.js

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

.github/workflows/main.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Build
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
push:
10+
branches:
11+
- main
12+
13+
env:
14+
NODE_VERSION: 22.6.0
15+
PNPM_VERSION: 9.7.1
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Setup Node@${{ env.NODE_VERSION }}
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: ${{ env.NODE_VERSION }}
28+
29+
- name: Install pnpm
30+
uses: pnpm/action-setup@v4
31+
with:
32+
version: ${{ env.PNPM_VERSION }}
33+
run_install: false
34+
35+
- name: Get pnpm store directory
36+
shell: bash
37+
run: |
38+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
39+
40+
- name: Setup pnpm cache
41+
uses: actions/cache@v4
42+
timeout-minutes: 720
43+
with:
44+
path: ${{ env.STORE_PATH }}
45+
key: pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
46+
restore-keys: |
47+
pnpm-store-
48+
pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
49+
50+
- run: pnpm install
51+
52+
- run: pnpm build
53+
description: Build package
54+
env:
55+
DO_NOT_TRACK: 1 # Disable Turbopack telemetry
56+
57+
- run: pnpm build:app
58+
description: Build dev dir app
59+
60+
- name: Cache build
61+
uses: actions/cache@v4
62+
timeout-minutes: 10
63+
with:
64+
path: ./*
65+
key: ${{ github.sha }}-${{ github.run_number }}

.github/workflows/test.yml

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

0 commit comments

Comments
 (0)