feat(exports): modernize package exports and expose watcher class
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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",
|
||||
|
@@ -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.'
|
||||
}
|
||||
|
@@ -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';
|
Reference in New Issue
Block a user