Skip to content

Latest commit

 

History

History
111 lines (70 loc) · 2.31 KB

CHANGELOG.md

File metadata and controls

111 lines (70 loc) · 2.31 KB

3.0

  • Drop support for nodes before 20

2.0

  • No longer create a source export automatically
  • Limit custom sourceDialects exports to only those that match the package type. For example, do not export source under a require condition if the package.json is "type": "module".
  • Treat composite and incremental the same, since composite implies incremental.

1.18

  • Add sourceDialects

1.17

  • Add module field if a top-level esm export exists for subpath ".", and tshy.module is not set to false.

1.16

  • Upgrade to TypeScript 5.5

1.15

  • Add liveDev option
  • Add "source" export condition

1.14

  • Do not fail if sourcemaps are not generated
  • Support glob patterns in tshy.exports
  • Add support for TypeScript 5.4

1.13

  • Take target from tsconfig.json if present, rather than hard-coding in the build.json config.
  • Find tsc where pnpm hides it.

1.12

  • Respect package.json type field if set to "commonjs"
  • Ignore package.json changes in tshy --watch if the data itself did not change.

1.11

  • Add support for TypeScript 5.3
  • Preserve indentation/newlines in package.json files

1.10

  • Exclude sources from all builds via the exclude config setting.

1.9

  • Set a custom tsconfig file via the project config setting.

1.8

  • Support "incremental": true tsconfig option, making the build directory persistent if there are *.tsbuildinfo files present.
  • Rename build directory from '.tshy-build-tmp' to '.tshy-build', since it's not temporary if incremental builds are used.
  • Make the selfLink best-effort if not explicitly true or false.

1.7

  • Prevent verbatimModuleSyntax ts config if building for both ESM and CommonJS, as it's fundamentally incompatible
  • Add --watch option
  • Add --help option

1.6

  • put all imports in top-level imports field (2023-10-19)

1.5

  • Add tshy.imports config

1.4

  • Add tshy.esmDialects and tshy.commonjsDialects configs
  • Use more complete package/import/export types defined by the resolve-import package

1.3

  • Default tshy.main = true if a '.' CommonJS export is present

1.2

  • Initial experimental support for tshy.main
  • Add tshy.selfLink config to suppress the internal symlink

1.1

  • Add support for local package imports/exports

1.0

  • Initial version