pi-ext
bugabingas pi extensions
owned by bugabinga
fix(check): ignore linked worktree copies
655eaf2f5da9d7d94dad9854b9a641ac7a1ce2f2
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
Browse filesCompare with HEAD
Changed files (3)
extensions/leaks/package.json
Modified20 20 "@earendil-works/pi-coding-agent":
"*" 22 22 "devDependencies": {
23 + "@fast-check/vitest":
"^0.4.1",
23 24 "@marcfargas/pi-test-harness":
"^0.6.1",
25 + "fast-check":
"^4.9.0",
package-lock.json
Modified 213 213 "name":
"@bugabinga/pi-ext-leaks",
214 214 "license":
"MIT",
215 215 "devDependencies": {
216 + "@fast-check/vitest":
"^0.4.1",
216 217 "@marcfargas/pi-test-harness":
"^0.6.1",
218 + "fast-check":
"^4.9.0",
217 219 "vitest":
"^4.1.9" 219 221 "peerDependencies": {
scripts/test_extensions_static_check.mjs
Modified217 217 entry.name
=== ".git" || 218 218 entry.name
=== ".jj" || 219 + entry.name
=== ".worktrees" || 219 220 entry.name
=== "node_modules" || 220 221 path
=== join(ROOT,
"docs",
"super")
236 +withTemp((root)
=> {
237 + mkdirSync(join(root,
".worktrees",
"branch"), { recursive:
true });
239 + join(root,
".worktrees",
"branch",
"ignored.md"),
240 + legacyReferences.join(
"\n"),
242 + assert.deepEqual(liveTextFiles(root), []);
235 245 const legacyReferenceViolations
= liveTextFiles().flatMap((path)
=> {
236 246 const content
= readFileSync(path,
"utf8");
237 247 return legacyReferences