🐛 fix(tsl-playbook): sync node formatting configs

Publish package metadata and Prettier settings through the scoped tsl-playbook bundle sync.

Force-add only managed paths so the target branch ignore rules cannot drop the lockfile.
This commit is contained in:
csh
2026-07-30 13:47:49 +08:00
parent 1ae798bcaa
commit 0dcd968188
5 changed files with 1323 additions and 2 deletions
+5 -1
View File
@@ -158,6 +158,10 @@ jobs:
# 本 workflow 在目标分支上仅拥有以下路径。
managed_paths=(
"AGENTS.md"
"package.json"
"package-lock.json"
".prettierrc.json"
".prettierignore"
"docs/tsl"
"skills/tsl-syntax-reference"
"skills/tsl-api-reference"
@@ -185,7 +189,7 @@ jobs:
cp -R -- "$bundle/$path" "$path"
done
git add -A -- "${managed_paths[@]}"
git add -f -A -- "${managed_paths[@]}"
if git diff --cached --quiet; then
echo "No tsl-playbook changes to publish."