Commit 0585586
committed
chore(compat-eslint): scope
Before:
- `**/*.js` and `**/*.d.ts` matched `test/**/*` too — every
compiled test file (compat-pipeline, lazy-estree, upstream-
runner, bench/run.js, scope-compat, selector-analysis,
ts-ast-scan, predicate-coverage, _debug-seq) shipped to npm,
pulling in references to devDependencies (eslint,
@typescript-eslint/scope-manager) that consumers don't have.
- `bin` referenced a directory that doesn't exist; the package
has no `bin` field either, so the entry was dead config.
After: `index.{js,d.ts}` + `lib/**/*.{js,d.ts}` — covers every
runtime path including the vendored `lib/code-path-analysis/`,
nothing else. Verified via `npm pack --dry-run`: 32 files /
143 KB tarball, no test artefacts.files to production paths only1 parent 43e4a73 commit 0585586
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments