Closed jpwilliams closed 12 months ago
Latest commit: 1b5455118995e02d544f4ddd6e15975c55a5f2be
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Summary
An assortment of fixes and regression tests for consumers using
skipLibCheck: false
.New CI test checks for dependencies used within exported files but in
devDependencies
instead ofdependencies
. For any regular project, all types would be insidedevDependencies
, but this isn't true for libraries depending on how they're being consumed.We use
import/no-extraneous-dependencies
for most of this (thanks, @goodoldneon), but include the script to also cover@types/*
packages that must be shipped independencies
or bundled. This can be the case if the consuming package won't get types from the base package that is included independencies
and those types are part of any exported types.Successful builds can also still produce erroring
*.d.ts
files against some versions/configurations of TypeScript. Another new CI test runs checks against these generated files with every supported minor of TypeScript.Checklist
Added a docs PR that references this PRN/A Avoidance of this error no longer needed