Skip to content

v3.0.0

Choose a tag to compare

@Gelio Gelio released this 09 Feb 08:10
· 168 commits to master since this release
e3bf782

Added

  • TypeScript tsconfigs (tsconfig.base.json and tsconfig.composite.json) (RD-1230) (#46)

    Those tsconfigs can be used as a base in other projects.

  • Typings are included in the bundle (RD-1230) (#46)

    This package contains type declarations (d.ts) for the code in this bundle, both for the frontend part (src) and the backend part.

    Declaration maps are also included, meaning it is possible to jump straight to the source code instead of the typings file when going to the symbol definition.

  • A new eslint-ts-overrides.json ESLint config, which overrides some existing ESLint rules to support/deduplicate TypeScript features (e.g. no-unused-vars) (RD-1230) (#46)

    This ESLint config should be specified as the last item in the extends array in your ESLint config.

Changed

  • (BREAKING) ESLint configs use @typescript-eslint/parser and @typescript-eslint/eslint-plugin in order to handle TypeScript. Those packages are now required as peer dependencies. (RD-1230) (#46)

    In addition, ESLint understands new EcmaScript features, such as optional chaining (a?.b) and nullish coalescing (a ?? b)

  • Internal build system/tooling changes to handle TypeScript (jest, babel, rollup) (RD-1230) (#46)

  • Improved unminified build bundle size by around 0.5 kB (~8%) (RD-1230) (#46)