Skip to content

Commit adb8fa9

Browse files
Alexandre NédélecCopilot
andcommitted
fix: add .npmrc to apply rules and catch-all for unlisted files
.npmrc was changed upstream (shamefully-hoist removed) but wasn't in the apply list, so the agent silently skipped it. Also add a catch-all rule so unlisted files are applied by default instead of ignored. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bba5c74 commit adb8fa9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/template-sync.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ apply or adapt (see rules below), fetch its current content from `nuxt-ui-templa
6868
- `eslint.config.mjs`
6969
- `tsconfig.json`
7070
- `pnpm-workspace.yaml`
71+
- `.npmrc` — apply changes (or deletion) as-is
7172
- `package.json` — apply only updates to **shared** dependencies (nuxt, @nuxt/ui, @nuxt/content,
7273
@nuxt/image, @nuxt/fonts, @nuxt/icon, typescript, vue, etc.). Do NOT remove packages that
7374
exist in this repo but not the template (e.g. @nuxtjs/seo, gsap, @vueuse/nuxt, and others).
@@ -123,6 +124,12 @@ Also skip these site-specific files (they are fully custom and must not be chang
123124
- `.github/` (all files except `template-sync-state.json`)
124125
- `public/` (site-specific static assets)
125126

127+
### 🤔 Any other file not listed above
128+
129+
If an upstream change touches a file not covered by any of the rules above, **apply it** unless
130+
it clearly conflicts with site-specific customizations. Mention it in the PR description table
131+
with action "Applied (unlisted)" so the reviewer can double-check.
132+
126133
## Step 4: Update state file
127134

128135
Update `.github/template-sync-state.json`:

0 commit comments

Comments
 (0)