Skip to content

schema-dts & schema-dts-gen v1.0.0

Compare
Choose a tag to compare
@Eyas Eyas released this 30 Aug 14:14
· 20 commits to main since this release
f349415

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 to v0.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.

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 and schema-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 and tsc.
  • schema-dts is built from schema-dts-gen by running it as an NPM script, just as we expect downstream clients of schema-dts-gen to do so