diff --git a/package.json b/package.json index a68e452b3..b4c2e3389 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "impeccable", - "version": "2.1.7", + "version": "2.1.8", "author": "Paul Bakaus", "description": "Design skills, commands, and anti-pattern detection for AI coding agents", "keywords": [ @@ -53,6 +53,9 @@ "test:live-e2e": "node --test --test-timeout=600000 tests/live-e2e.test.mjs", "prepack": "cp README.md README.repo.md && cp README.npm.md README.md", "postpack": "cp README.repo.md README.md && rm README.repo.md", + "release:skill": "node scripts/release.mjs skill", + "release:cli": "node scripts/release.mjs cli", + "release:ext": "node scripts/release.mjs extension", "screenshot": "bun run scripts/screenshot-antipatterns.js", "og-image": "bun run scripts/generate-og-image.js" }, diff --git a/public/index.html b/public/index.html index 66724b55d..8d7844d4b 100644 --- a/public/index.html +++ b/public/index.html @@ -933,6 +933,17 @@
new URL(...).pathname, which prepends a slash to drive letters (/C:/...) and breaks fs on Windows. Switched to fileURLToPath across the board. Reported in #95, contributed by @voidborne-d.([\s\S]*?)<\/code>/g, '`$1`');
+ md = md.replace(/]*>([\s\S]*?)<\/a>/g, '[$2]($1)');
+ md = md.replace(/<\/?(ul|div|span)[^>]*>/g, '');
+ md = md.replace(/×/g, '×');
+ md = md.replace(/&/g, '&');
+ md = md.replace(/</g, '<');
+ md = md.replace(/>/g, '>');
+ md = md.replace(/"/g, '"');
+ md = md.replace(/'/g, "'");
+ md = md.replace(/[ \t]+\n/g, '\n');
+ md = md.replace(/\n{3,}/g, '\n\n');
+ return md.trim();
+}