- Drop support for nodes before 20
- 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 arequire
condition if the package.json is"type": "module"
. - Treat
composite
andincremental
the same, sincecomposite
impliesincremental
.
- Add
sourceDialects
- Add
module
field if a top-levelesm
export exists for subpath"."
, andtshy.module
is not set to false.
- Upgrade to TypeScript 5.5
- Add
liveDev
option - Add
"source"
export condition
- Do not fail if sourcemaps are not generated
- Support glob patterns in
tshy.exports
- Add support for TypeScript 5.4
- Take
target
fromtsconfig.json
if present, rather than hard-coding in thebuild.json
config. - Find
tsc
where pnpm hides it.
- Respect
package.json
type field if set to"commonjs"
- Ignore
package.json
changes intshy --watch
if the data itself did not change.
- Add support for TypeScript 5.3
- Preserve indentation/newlines in
package.json
files
- Exclude sources from all builds via the
exclude
config setting.
- Set a custom tsconfig file via the
project
config setting.
- 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.
- Prevent
verbatimModuleSyntax
ts config if building for both ESM and CommonJS, as it's fundamentally incompatible - Add
--watch
option - Add
--help
option
- put all imports in top-level imports field (2023-10-19)
- Add
tshy.imports
config
- Add
tshy.esmDialects
andtshy.commonjsDialects
configs - Use more complete package/import/export types defined by the
resolve-import
package
- Default
tshy.main = true
if a'.'
CommonJS export is present
- Initial experimental support for
tshy.main
- Add
tshy.selfLink
config to suppress the internal symlink
- Add support for local package imports/exports
- Initial version