schema-dts & schema-dts-gen v1.0.0
schema-dts
and schema-dts-gen
are both now considered stable & mature 🎉
Changes in schema-dts
-
Updates the package file layout for
schema-dts
.This should be a backwards-compatible change if you use the public API surface area (as in, import from
"schema-dts"
only). -
v1.0.0
is otherwise identical tov0.11.0
. The SemVer-incompatible version bump is done to reflect current maturity of this package.
Changes in schema-dts-gen
- Breaking: schema-dts-gen is now upgraded to ESM.
- If importing it directly, you must use ES6 imports, e.g.
import {} from "schema-dts-gen";
- The minimum Node.js supported version is now 14.x.
- If importing it directly, you must use ES6 imports, e.g.
Infrastructure Changes
In addition to the above changes, v1.0.0
also brings a completely overhauled repository structure to schema-dts
.
- Now using NPM workspaces and adopting a more traditional monorepo structure for both packages
- Simplifies build dependency between
schema-dts-gen
andschema-dts
- Migrate from Travis-CI.org (deprecated) to GitHub Actions.
- Also start running tests for Node.js 14 and 16 to catch issues.
schema-dts
is now has its own test suite using// @ts-expect-error
andtsc
.schema-dts
is built fromschema-dts-gen
by running it as an NPM script, just as we expect downstream clients of schema-dts-gen to do so