Skip to content

Commit 06db044

Browse files
authored
feat: add template sync agentic workflow
Adds a gh-aw (GitHub Agentic Workflow) that automatically detects changes in the upstream nuxt-ui-templates/saas template and selectively applies relevant improvements to this site.
1 parent ebed842 commit 06db044

10 files changed

Lines changed: 1383 additions & 14 deletions

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.github/workflows/*.lock.yml linguist-generated=true merge=ours

.github/aw/actions-lock.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"entries": {
3+
"actions/github-script@v8": {
4+
"repo": "actions/github-script",
5+
"version": "v8",
6+
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
7+
},
8+
"github/gh-aw-actions/setup@v0.64.4": {
9+
"repo": "github/gh-aw-actions/setup",
10+
"version": "v0.64.4",
11+
"sha": "7cae8cd356c7905aeda72eb08e1d0b4501310c23"
12+
}
13+
}
14+
}

.github/copilot-instructions.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This is **TechWatching.dev**, Alexandre Nédélec's personal blog at https://techwatching.dev. It is a statically generated site built with:
66

77
- **Nuxt 4** — Vue.js meta-framework (compatibility date `2024-07-11`)
8-
- **Nuxt UI v3** (`@nuxt/ui`) — UI component library based on TailwindCSS v4
8+
- **Nuxt UI v4** (`@nuxt/ui`) — UI component library based on TailwindCSS v4
99
- **Nuxt Content v3** (`@nuxt/content`) — Markdown/YAML content management with SQLite
1010
- **TailwindCSS v4** — Utility-first CSS
1111
- **@nuxtjs/seo** — SEO, OG images, schema.org, sitemap
@@ -17,8 +17,6 @@ This is **TechWatching.dev**, Alexandre Nédélec's personal blog at https://tec
1717

1818
This project uses **pnpm** (version specified in `package.json``"packageManager": "pnpm@10.29.2"`). Always use `pnpm` — never `npm` or `yarn`.
1919

20-
The `.npmrc` sets `shamefully-hoist=true`.
21-
2220
### Bootstrap
2321

2422
```bash
@@ -44,8 +42,9 @@ The CI workflow (`.github/workflows/ci.yml`) runs on every push:
4442
1. `pnpm install` — install dependencies
4543
2. `pnpm run lint`**must pass with zero errors**
4644
3. `pnpm run typecheck`**must pass with zero errors**
45+
4. `pnpm run generate`**static site generation must succeed**
4746

48-
Always run both `pnpm lint` and `pnpm typecheck` before committing. Fix all lint and type errors before marking work as done.
47+
Always run `pnpm lint`, `pnpm typecheck`, and `pnpm generate` before committing. Fix all lint, type, and generation errors before marking work as done.
4948

5049
## Project Layout
5150

@@ -62,7 +61,7 @@ techwatching.dev/
6261
│ ├── agents/ # Copilot agent definitions
6362
│ │ └── nuxt.agent.md
6463
│ └── workflows/
65-
│ └── ci.yml # lint + typecheck on every push
64+
│ └── ci.yml # lint + typecheck + generate on every push
6665
├── app/ # Nuxt app source (Nuxt 4 layout)
6766
│ ├── app.vue # root Vue component
6867
│ ├── app.config.ts # Nuxt UI theme config (colors, components)
@@ -142,9 +141,9 @@ Activate additional tool groups as needed:
142141
- How do I deploy to Netlify/Vercel?
143142
- How do I create API routes in Nuxt?
144143

145-
## Nuxt UI v3 Styling Guidelines
144+
## Nuxt UI v4 Styling Guidelines
146145

147-
When customizing Nuxt UI v3 components:
146+
When customizing Nuxt UI v4 components:
148147

149148
### Use the `ui` prop for styling
150149
Do NOT use `class` to style internal parts of components. Instead, use the `ui` prop with slot names:

.github/template-sync-state.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"upstreamRepo": "nuxt-ui-templates/saas",
3+
"lastSyncedCommit": "d548b61351af9ef0802da1946d26b2c35a3db449",
4+
"lastSyncDate": "2026-03-30T00:00:00Z"
5+
}

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ jobs:
3232

3333
- name: Typecheck
3434
run: pnpm run typecheck
35+
36+
- name: Build
37+
run: pnpm run generate

0 commit comments

Comments
 (0)