BREAKING CHANGE(smartwatch): Introduce Smartwatch: cross-runtime native file watching for Node.js, Deno and Bun; rename smartchok to smartwatch and bump major version to 2.0.0

This commit is contained in:
2025-11-30 03:04:49 +00:00
parent aab3ce213b
commit 0f17be179c
16 changed files with 1011 additions and 162 deletions

View File

@@ -1,8 +1,8 @@
{
"name": "@push.rocks/smartchok",
"version": "1.2.0",
"version": "2.0.0",
"private": false,
"description": "A smart wrapper for chokidar 5.x with glob pattern support and enhanced features.",
"description": "A cross-runtime file watcher with glob pattern support for Node.js, Deno, and Bun.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"scripts": {
@@ -21,11 +21,14 @@
"url": "https://gitlab.com/push.rocks/smartchok/issues"
},
"homepage": "https://code.foss.global/push.rocks/smartchok",
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"@push.rocks/lik": "^6.2.2",
"@push.rocks/smartenv": "^6.0.0",
"@push.rocks/smartpromise": "^4.2.3",
"@push.rocks/smartrx": "^3.0.10",
"chokidar": "^5.0.0",
"picomatch": "^4.0.3"
},
"devDependencies": {
@@ -53,15 +56,18 @@
"type": "module",
"keywords": [
"file watching",
"chokidar",
"filesystem",
"observable",
"typescript",
"node.js",
"deno",
"bun",
"cross-runtime",
"development tool",
"file system events",
"real-time",
"watch files"
"watch files",
"glob patterns"
],
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
}