Commit ce46263
fix: pin picomatch to 2.3.1 (rpt2 include filter regression)
The picomatch 2.3.1 -> 2.3.2 bump in PR #76 broke
rollup-plugin-typescript2's default include filter
['*.ts+(|x)', '**/*.ts+(|x)'] which uses the +(|x) extglob syntax.
picomatch 2.3.2 stopped matching this pattern, causing rpt2 to skip
all .ts files. Babel then sees raw TypeScript and chokes on 'as const'
and 'import type', breaking the publish-npm step.
Pin picomatch via npm overrides until rpt2 0.32+ updates its default
include pattern. Also add the previously-noted tsconfig fixes for
TypeScript 6 (rootDir + ignoreDeprecations) to silence rpt2 warnings.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9877499 commit ce46263
6 files changed
Lines changed: 60 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
0 commit comments