mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-29 07:04:09 +08:00
Format the npm case filter
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
dde27c7e21
commit
ba23a11110
@@ -24,7 +24,9 @@ export function npmCases(fixturesRoot: string): NpmCase[] {
|
||||
// consumers exercise the static rewrite's surface (lexer-visible
|
||||
// names the shipped .d.ts never declares, the __toESM interop
|
||||
// family), so they stay out of the flagless island lane by design.
|
||||
.filter((entry) => !/\/(246[5-9]|255[6-9]|256[0-7]|2571|258[0-4])-[^/]+\/main\.ts$/.test(entry))
|
||||
.filter(
|
||||
(entry) => !/\/(246[5-9]|255[6-9]|256[0-7]|2571|258[0-4])-[^/]+\/main\.ts$/.test(entry),
|
||||
)
|
||||
.map((entry) => ({
|
||||
name: entry.split("/").at(-2)!,
|
||||
entry,
|
||||
|
||||
Reference in New Issue
Block a user