feat(exports): modernize package exports and expose watcher class
Some checks failed
Default (tags) / security (push) Successful in 49s
Default (tags) / test (push) Successful in 1m7s
Default (tags) / release (push) Failing after 1m18s
Default (tags) / metadata (push) Successful in 1m26s

This commit is contained in:
Juergen Kunz
2025-07-29 17:46:28 +00:00
parent 83cf8594ab
commit 75acc4b768
4 changed files with 13 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2025-07-29 - 2.2.0 - feat(exports)
Modernize package exports and expose watcher class
- Updated package.json to use modern exports field instead of main/typings
- Exposed TsWatch watcher class through index exports
## 2025-07-29 - 2.1.3 - fix(documentation)
Update and align documentation with internal CLI and project structure

View File

@@ -1,10 +1,11 @@
{
"name": "@git.zone/tswatch",
"version": "2.1.5",
"version": "2.2.0",
"private": false,
"description": "A development tool for automatically watching and re-compiling TypeScript projects upon detecting file changes, enhancing developer workflows.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"exports": {
"./": "./dist_ts/index.js"
},
"type": "module",
"author": "Lossless GmbH",
"license": "MIT",

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tswatch',
version: '2.1.3',
version: '2.2.0',
description: 'A development tool for automatically watching and re-compiling TypeScript projects upon detecting file changes, enhancing developer workflows.'
}

View File

@@ -3,3 +3,5 @@ early.start('tswatch');
export * from './tswatch.classes.tswatch.js';
export * from './tswatch.cli.js';
early.stop();
export * from './tswatch.classes.watcher.js';