@unerr-ai/unerr 0.1.8 → 0.2.0

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.
@@ -0,0 +1,9 @@
1
+ {
2
+ "host": "developer.mozilla.org",
3
+ "description": "Drop MDN language-selector and 'Find a translation' chrome lines.",
4
+ "drop": [
5
+ "^\\s*\\[Find a translation\\][^\\n]*$",
6
+ "^\\s*In this article\\s*$",
7
+ "^\\s*\\* \\[.*Edit this page.*\\][^\\n]*$"
8
+ ]
9
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "host": "github.com",
3
+ "description": "Drop README badge image lines, GitHub UI chrome, and signed-out repo banner from extracted markdown.",
4
+ "drop": [
5
+ "^\\s*!\\[[^\\]]*\\]\\(https://img\\.shields\\.io[^)]*\\)\\s*$",
6
+ "^\\s*!\\[[^\\]]*\\]\\(https://badge\\.fury\\.io[^)]*\\)\\s*$",
7
+ "^\\s*!\\[[^\\]]*\\]\\(https://[^)]*badge[^)]*\\)\\s*$",
8
+ "^\\s*\\[!\\[[^\\]]*\\]\\([^)]+\\)\\]\\([^)]+\\)\\s*$"
9
+ ],
10
+ "extractor": {
11
+ "removeSelectors": [
12
+ "header.Header",
13
+ "div.js-header-wrapper",
14
+ "footer.footer",
15
+ "div.notification-shelf",
16
+ "div.flash-warn",
17
+ "details.dropdown",
18
+ "div.Bgc-shadow-secondary"
19
+ ]
20
+ }
21
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unerr-ai/unerr",
3
- "version": "0.1.8",
3
+ "version": "0.2.0",
4
4
  "description": "Local-first code intelligence CLI for unerr",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,7 +14,7 @@
14
14
  "build:cli": "tsup src/entrypoints/cli.ts --format esm --target node20 --dts --no-splitting",
15
15
  "dev": "tsx watch src/entrypoints/cli.ts",
16
16
  "test": "vitest",
17
- "test:run": "vitest run",
17
+ "test:run": "vitest run < /dev/null",
18
18
  "dev:ui": "vite",
19
19
  "build:ui": "vite build && node scripts/check-ui-bundle.mjs",
20
20
  "preview:ui": "vite preview",