Skip to content

Releases: typhonjs-node-build-test/esm-d-ts

0.3.0-next.1

02 Mar 04:21
Compare
Choose a tag to compare
0.3.0-next.1 Pre-release
Pre-release

(0.3.0-next.1 / partial list):

  • Support for Typescript projects; easily generate bundled type declarations for TS projects including all file types
    TS supports.

  • (soon) Added plugin support for alternate file formats that support ES Modules. The first plugin available adds support for
    ESM Svelte components (.svelte files).

0.2.2

20 Jan 17:16
c6e17ef
Compare
Choose a tag to compare

Release 0.2.2

  • Added a TS AST transformer to support import types in @implements JSDoc tags. This allows you to reference
    an interface from a class and have it properly converted to implements <INTERFACE> in the declarations generated.
  • Added transformer "meta-transformer" to reduce the boilerplate of creating custom TS AST transformers.

0.2.1

17 Jan 21:12
af5632c
Compare
Choose a tag to compare

Release 0.2.1

  • Added a new internal AST transformer that corrects the output of the TS compiler for setter accessor parameter names.
    The TS compiler for ESM will rename setter accessor parameter names to arg regardless of the value set in the source
    file. If there is a JSDoc comment associated with a setter the first @param tag name will be set to the AST node
    param name. Downstream tooling such as TypeDoc 0.25.7+ validates comment / @param name against the type declaration
    name; this change fixes that mismatch.

0.2.0

13 Jan 02:24
Compare
Choose a tag to compare

Release 0.2.0

  • Added @module / @packageDocumentation comment pass-through to generated DTS when this comment type appears in the main entry point source
    file. This is helpful when generating docs from the DTS file.

  • Introduces optional postprocessing of the generated bundled Typescript declaration.

    • First post processor is for @inheritDoc support.
  • Added outputPostprocess configuration option to separately output postprocessing to an alternate filepath for
    easier debugging / comparison.

0.2.0-next.4

09 Jan 20:31
Compare
Choose a tag to compare
0.2.0-next.4 Pre-release
Pre-release

Release 0.2.0-next.4

  • Added @packageDocumentation comment pass-through to generated DTS when this comment type appears in the main entry
    point source file.

0.2.0-next.3

18 Nov 06:37
Compare
Choose a tag to compare
0.2.0-next.3 Pre-release
Pre-release

Release 0.2.0-next.3

  • Added @module comment pass-through to generated DTS when this comment type appears in the main entry point source
    file. This is helpful when generating docs from the DTS file.

0.2.0-next.2

17 Nov 23:01
Compare
Choose a tag to compare
0.2.0-next.2 Pre-release
Pre-release

Release 0.2.0-next.2

  • Added outputPostprocess configuration option to separately output postprocessing to an alternate file path for
    easier debugging / comparison.

0.2.0-next.1

17 Nov 06:04
Compare
Choose a tag to compare
0.2.0-next.1 Pre-release
Pre-release

Release 0.2.0-next.1

  • Introduces optional postprocessing of the generated bundled Typescript declaration.
    • First post processor is for @inheritDoc support.

0.1.1

17 Nov 05:13
Compare
Choose a tag to compare

Release 0.1.1

  • Support for .mjs source files.
    • Caveat: when using import types you must specify the .mjs extension like: @param {import('./AFile.mjs').ASymbol}