fg-devkit 1.12.2 → 1.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fg-devkit",
3
- "version": "1.12.2",
3
+ "version": "1.12.4",
4
4
  "description": "Shared configs, scripts, and DX tooling for Vue / TypeScript frontend repos",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -34,7 +34,7 @@
34
34
  "@tanstack/vue-query-devtools": "6.1.34",
35
35
  "@types/node": "22.16.5",
36
36
  "@vitejs/plugin-vue": "6.0.7",
37
- "fg-devkit": "1.12.2",
37
+ "fg-devkit": "1.12.4",
38
38
  "start-server-and-test": "2.1.3",
39
39
  "tailwindcss": "4.3.1",
40
40
  "tsx": "4.22.4",
@@ -129,7 +129,7 @@ function main() {
129
129
  }
130
130
 
131
131
  const [only] = changed
132
- const stageExitCode = stageExistingFiles(['package.json', 'pnpm-lock.yaml'])
132
+ const stageExitCode = stageExistingFiles(['package.json', 'pnpm-lock.yaml', 'pnpm-workspace.yaml'])
133
133
  if (stageExitCode !== 0) {
134
134
  process.exit(stageExitCode)
135
135
  }
@@ -151,8 +151,9 @@ stage_release_notes() {
151
151
  return 0
152
152
  fi
153
153
 
154
- for file in CHANGELOG.md CHANGELOG.user.md CHANGELOG.user.draft.md; do
155
- if [[ -f "$file" ]]; then
154
+ # CHANGELOG.user.draft.md is a local working file (often gitignored) — only commit published changelogs.
155
+ for file in CHANGELOG.md CHANGELOG.user.md; do
156
+ if [[ -f "$file" ]] && ! git check-ignore -q "$file" 2>/dev/null; then
156
157
  git add "$file"
157
158
  fi
158
159
  done