From c7fa52a5fca05118bfe260937e4a5c02a6876af8 Mon Sep 17 00:00:00 2001 From: waynesbrain <175370544+waynesbrain@users.noreply.github.com> Date: Sat, 5 Oct 2024 15:01:59 -0400 Subject: [PATCH] Rename watch-build commands to just watch. --- labs/demo-server/package.json | 4 ++-- labs/demo-shared/package.json | 2 +- packages/core/package.json | 2 +- packages/idb/package.json | 2 +- packages/node/package.json | 2 +- packages/typebox/package.json | 2 +- packages/web/package.json | 2 +- packages/ws/package.json | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/labs/demo-server/package.json b/labs/demo-server/package.json index 6e9e915..020c712 100644 --- a/labs/demo-server/package.json +++ b/labs/demo-server/package.json @@ -31,8 +31,8 @@ "start-win": "nodemon", "start-bin": "node bin/jrfs-demo-server.cjs", "test": "echo 'Sorry, no tests yet!'", - "watch": "tsc -w --noEmit --pretty --skipLibCheck --project tsconfig.eslint.json", - "watch-build": "node --watch-path=./src --watch-path=../../node_modules/@jrfs ../../scripts/build-esm.mjs" + "watch": "node --watch-path=./src --watch-path=../../node_modules/@jrfs ../../scripts/build-esm.mjs", + "watch-ts": "tsc -w --noEmit --pretty --skipLibCheck --project tsconfig.eslint.json" }, "nodemonConfig": { "delay": "250ms", diff --git a/labs/demo-shared/package.json b/labs/demo-shared/package.json index 15c4f54..d24caf1 100644 --- a/labs/demo-shared/package.json +++ b/labs/demo-shared/package.json @@ -27,7 +27,7 @@ "lint-fix": "eslint . --ext .ts --fix", "lint-ts": "tsc --noEmit --pretty --project ./tsconfig.eslint.json", "rm-build": "shx rm -rf lib/*", - "watch-build": "node --watch-path=./src --watch-path=../../node_modules/@jrfs ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" + "watch": "node --watch-path=./src --watch-path=../../node_modules/@jrfs ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" }, "dependencies": { "nanoid": "^5.0.7" diff --git a/packages/core/package.json b/packages/core/package.json index 5957c82..4409cf2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -32,7 +32,7 @@ "lint-fix": "eslint . --ext .ts --fix", "lint-ts": "tsc --noEmit --pretty --project ./tsconfig.eslint.json", "rm-build": "shx rm -rf lib/*", - "watch-build": "node --watch-path=./src ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" + "watch": "node --watch-path=./src ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" }, "dependencies": { "mutative": "1.0.11" diff --git a/packages/idb/package.json b/packages/idb/package.json index bd2480f..c4ceac9 100644 --- a/packages/idb/package.json +++ b/packages/idb/package.json @@ -33,7 +33,7 @@ "lint-fix": "eslint . --ext .ts --fix", "lint-ts": "tsc --noEmit --pretty --project ./tsconfig.eslint.json", "rm-build": "shx rm -rf lib/*", - "watch-build": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" + "watch": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" }, "dependencies": { "@jrfs/core": "^0.2.0", diff --git a/packages/node/package.json b/packages/node/package.json index ca08dfa..98d6f40 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -35,7 +35,7 @@ "lint-fix": "eslint . --ext .ts --fix", "lint-ts": "tsc --noEmit --pretty --project ./tsconfig.eslint.json", "rm-build": "shx rm -rf lib/*", - "watch-build": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" + "watch": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" }, "dependencies": { "@jrfs/core": "^0.2.0" diff --git a/packages/typebox/package.json b/packages/typebox/package.json index 1fbd3b5..2252fcc 100644 --- a/packages/typebox/package.json +++ b/packages/typebox/package.json @@ -33,7 +33,7 @@ "lint-fix": "eslint . --ext .ts --fix", "lint-ts": "tsc --noEmit --pretty --project ./tsconfig.eslint.json", "rm-build": "shx rm -rf lib/*", - "watch-build": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" + "watch": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" }, "dependencies": { "@jrfs/core": "^0.2.0" diff --git a/packages/web/package.json b/packages/web/package.json index c404aa0..03d48e0 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -32,7 +32,7 @@ "lint-fix": "eslint . --ext .ts --fix", "lint-ts": "tsc --noEmit --pretty --project ./tsconfig.eslint.json", "rm-build": "shx rm -rf lib/*", - "watch-build": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" + "watch": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" }, "dependencies": { "@jrfs/core": "^0.2.0" diff --git a/packages/ws/package.json b/packages/ws/package.json index dd11531..8c15b26 100644 --- a/packages/ws/package.json +++ b/packages/ws/package.json @@ -33,7 +33,7 @@ "lint-fix": "eslint . --ext .ts --fix", "lint-ts": "tsc --noEmit --pretty --project ./tsconfig.eslint.json", "rm-build": "shx rm -rf lib/*", - "watch-build": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" + "watch": "node --watch-path=./src --watch-path=../../node_modules/@jrfs/core/lib ../../scripts/build-esm.mjs lib --tsconfig tsconfig.prod.json" }, "dependencies": { "@jrfs/core": "^0.2.0"