🔧 Ignore pubv in knip via knip.json
pubv is a CLI invoked by release.sh, never imported, so knip reported it as an unused devDependency on every advisory run. Add a knip config with an ignoreDependencies entry; verified removal of the entry reproduces the report.
This commit is contained in:
1 parent
0b461c233f
commit
1709fbe842
2 files changed
+6
-2
No files matched your search
+2
-2
@@ -42,9 +42,9 @@ Setup:
|
|||||||
✔ `npm run clean` only removes `dist`; add `coverage` (both are gitignored but bloat the working tree) @done
|
✔ `npm run clean` only removes `dist`; add `coverage` (both are gitignored but bloat the working tree) @done
|
||||||
✔ Drop redundant `main`/`types` top-level fields @done
|
✔ Drop redundant `main`/`types` top-level fields @done
|
||||||
✔ `exports` is the source of truth; `main`/`types` are redundant (harmless, but publint/ATTW prefer `exports`) @done
|
✔ `exports` is the source of truth; `main`/`types` are redundant (harmless, but publint/ATTW prefer `exports`) @done
|
||||||
☐ Silence the knip `@runwisp/pubv` false positive
|
✔ Silence the knip `@runwisp/pubv` false positive @done
|
||||||
- `pubv` is a CLI invoked by `release.sh`, not imported, so knip flags it as an unused devDependency and advisory output stays permanently red
|
- `pubv` is a CLI invoked by `release.sh`, not imported, so knip flags it as an unused devDependency and advisory output stays permanently red
|
||||||
☐ Add a knip `ignoreDependencies` entry
|
✔ Add a knip `ignoreDependencies` entry @done
|
||||||
☐ Resolve sourcemap sources for consumers
|
☐ Resolve sourcemap sources for consumers
|
||||||
- `dist/*.map` `sources` are `../src/*.ts`, but `src` is not in `files`, so debuggers get missing sources
|
- `dist/*.map` `sources` are `../src/*.ts`, but `src` is not in `files`, so debuggers get missing sources
|
||||||
☐ Ship `src`, or disable `sourceMap`/`declarationMap` for the published artifact
|
☐ Ship `src`, or disable `sourceMap`/`declarationMap` for the published artifact
|
||||||
|
|||||||
Reference in new issue
Block a user