Skip to content

Releases: preconstruct/preconstruct

@preconstruct/cli@2.8.4

02 May 23:44
5113f84
Compare
Choose a tag to compare

Patch Changes

  • fa66c34 Thanks @emmatown! - Fix preconstruct dev with exports: { importConditionDefaultExport: "default" } with a .d.ts file

@preconstruct/cli@2.8.3

15 Jan 02:41
9f44a11
Compare
Choose a tag to compare

Patch Changes

@preconstruct/cli@2.8.2

07 Dec 04:58
2dd112b
Compare
Choose a tag to compare

Patch Changes

@preconstruct/eslint-plugin-format-js-tag@0.4.0

03 Jul 01:00
a096eaa
Compare
Choose a tag to compare

Minor Changes

  • #565 484c6a7 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

@preconstruct/cli@2.8.1

03 Jul 23:33
9132a5d
Compare
Choose a tag to compare

Patch Changes

  • #567 d4006c8 Thanks @Andarist! - Fixed .mjs proxies generation with ___experimentalFlags_WILL_CHANGE_IN_PATCH.importsConditions and exports.importConditionDefaultExport: 'default'

@preconstruct/cli@2.8.0

03 Jul 01:00
a096eaa
Compare
Choose a tag to compare

Minor Changes

  • #565 484c6a7 Thanks @Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.

  • #566 9d4f0dc Thanks @emmatown! - Preconstruct no longer emits unnecessary .d.ts files that aren't referenced by an entrypoint

Patch Changes

  • 58df49f Thanks @emmatown! - Fix require hook skipping compiling files when just an entrypoint is loaded

  • #559 a58f021 Thanks @emmatown! - Extend import path normalisation in generated declaration files to manually written declaration files as well

@preconstruct/cli@2.7.0

19 May 10:55
0a4853c
Compare
Choose a tag to compare

Minor Changes

  • #556 908c43e Thanks @Andarist! - Always emit relative paths used in generated TS declaration files with resolved extensions of their runtime equivalents. This currently requires one of the 2 experimental flags: importsConditions or onlyEmitUsedTypeScriptDeclarations

Patch Changes

  • #554 1147fee Thanks @Andarist! - Fix types like import('#foo').Foo<import('#bar').Bar> not replacing the import to #bar in generated declarations under the importsConditions experimental flag

@preconstruct/cli@2.6.4

15 May 06:19
b9143b9
Compare
Choose a tag to compare

Patch Changes

  • e78203b Thanks @emmatown! - Fix .d.ts files under importsConditions experimental flag incorrectly pointing to the source files

@preconstruct/cli@2.6.3

15 May 01:15
ebd7a55
Compare
Choose a tag to compare

Patch Changes

@preconstruct/cli@2.6.2

02 May 23:30
17021e5
Compare
Choose a tag to compare

Patch Changes

  • #546 c28b10a Thanks @emmatown! - importConditionDefaultExport is now re-enabled and works with "moduleResolution": "bundler"