From f1630646cf6092dec812bf303206b5e472d0ae28 Mon Sep 17 00:00:00 2001 From: spencer kelly Date: Sat, 17 Aug 2024 12:38:14 -0400 Subject: [PATCH] use native node watch --- package.json | 6 ++---- plugins/_experiments/ast/package.json | 2 +- plugins/_experiments/markdown/package.json | 2 +- plugins/_experiments/sentiment/package.json | 4 ++-- plugins/dates/package.json | 4 ++-- plugins/paragraphs/package.json | 4 ++-- plugins/payload/package.json | 4 ++-- plugins/speech/package.json | 4 ++-- plugins/speed/package.json | 4 ++-- plugins/stats/package.json | 4 ++-- plugins/wikipedia/package.json | 4 ++-- src/{four.js => five.js} | 0 12 files changed, 20 insertions(+), 22 deletions(-) rename src/{four.js => five.js} (100%) diff --git a/package.json b/package.json index 26fd1fd78..72af6c098 100644 --- a/package.json +++ b/package.json @@ -71,8 +71,7 @@ }, "scripts": { "build": "npm run version && rollup -c --silent", - "watch": "amble ./scratch.js", - "watch:tag": "amble ./tagger.scratch.js", + "watch": "node --watch scratch.js", "pack": "node ./scripts/pack.js", "version": "node ./scripts/version.js", "test": "tape \"./tests/**/*.test.js\" | tap-dancer", @@ -116,7 +115,6 @@ "devDependencies": { "@rollup/plugin-node-resolve": "15.2.3", "@rollup/plugin-terser": "0.4.4", - "amble": "1.3.0", "cross-env": "^7.0.3", "eslint": "9.8.0", "eslint-plugin-regexp": "2.6.0", @@ -134,4 +132,4 @@ "_tests/**" ], "license": "MIT" -} +} \ No newline at end of file diff --git a/plugins/_experiments/ast/package.json b/plugins/_experiments/ast/package.json index c7c41d057..051134905 100644 --- a/plugins/_experiments/ast/package.json +++ b/plugins/_experiments/ast/package.json @@ -23,7 +23,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "build": "rollup -c --silent" }, "eslintIgnore": [ diff --git a/plugins/_experiments/markdown/package.json b/plugins/_experiments/markdown/package.json index c5e43116c..7724370f9 100644 --- a/plugins/_experiments/markdown/package.json +++ b/plugins/_experiments/markdown/package.json @@ -23,7 +23,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "build": "rollup -c --silent" }, "eslintIgnore": [ diff --git a/plugins/_experiments/sentiment/package.json b/plugins/_experiments/sentiment/package.json index e38aac8d7..48010e7c2 100644 --- a/plugins/_experiments/sentiment/package.json +++ b/plugins/_experiments/sentiment/package.json @@ -22,7 +22,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "build": "rollup -c --silent" }, "eslintIgnore": [ @@ -43,4 +43,4 @@ "devDependencies": { "@rollup/plugin-commonjs": "^24.0.1" } -} +} \ No newline at end of file diff --git a/plugins/dates/package.json b/plugins/dates/package.json index c9a10fbe1..a23fcb586 100644 --- a/plugins/dates/package.json +++ b/plugins/dates/package.json @@ -24,7 +24,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "perf": "node ./scripts/perf.js", "version": "node ./scripts/version.js", "build": "npm run version && rollup -c --silent" @@ -42,4 +42,4 @@ "spacetime-holiday": "0.3.0" }, "license": "MIT" -} +} \ No newline at end of file diff --git a/plugins/paragraphs/package.json b/plugins/paragraphs/package.json index 6306a4701..0fe3473f3 100644 --- a/plugins/paragraphs/package.json +++ b/plugins/paragraphs/package.json @@ -24,7 +24,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "build": "rollup -c --silent" }, "files": [ @@ -36,4 +36,4 @@ }, "devDependencies": {}, "license": "MIT" -} +} \ No newline at end of file diff --git a/plugins/payload/package.json b/plugins/payload/package.json index 035c5e472..8d5fe8be2 100644 --- a/plugins/payload/package.json +++ b/plugins/payload/package.json @@ -23,7 +23,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "build": "rollup -c --silent" }, "peerDependencies": { @@ -37,4 +37,4 @@ ], "devDependencies": {}, "license": "MIT" -} +} \ No newline at end of file diff --git a/plugins/speech/package.json b/plugins/speech/package.json index a731d602d..6b30d4273 100644 --- a/plugins/speech/package.json +++ b/plugins/speech/package.json @@ -24,7 +24,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "build": "rollup -c --silent" }, "eslintIgnore": [ @@ -41,4 +41,4 @@ "dependencies": {}, "devDependencies": {}, "license": "MIT" -} +} \ No newline at end of file diff --git a/plugins/speed/package.json b/plugins/speed/package.json index 10d3cd24a..e0191fc5a 100644 --- a/plugins/speed/package.json +++ b/plugins/speed/package.json @@ -24,7 +24,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "version": "node ./scripts/version.js", "build": "npm run version && rollup -c --silent" }, @@ -40,4 +40,4 @@ "nlp-corpus": "^4.4.0" }, "license": "MIT" -} +} \ No newline at end of file diff --git a/plugins/stats/package.json b/plugins/stats/package.json index b76105a62..ad15f38c2 100644 --- a/plugins/stats/package.json +++ b/plugins/stats/package.json @@ -24,7 +24,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "generate": "node ./scripts/generate.js", "stat": "node ./scripts/stat.js", "perf": "node ./scripts/perf.js", @@ -43,4 +43,4 @@ }, "devDependencies": {}, "license": "MIT" -} +} \ No newline at end of file diff --git a/plugins/wikipedia/package.json b/plugins/wikipedia/package.json index 4744ab401..783819769 100644 --- a/plugins/wikipedia/package.json +++ b/plugins/wikipedia/package.json @@ -23,7 +23,7 @@ "scripts": { "test": "tape \"./tests/**/*.test.js\" | tap-dancer --color always", "testb": "TESTENV=prod tape \"./tests/**/*.test.js\" | tap-dancer --color always", - "watch": "amble ./scratch.js", + "watch": "node --watch ./scratch.js", "generate": "node ./scripts/generate/index.js", "stat": "node ./scripts/stat.js", "perf": "node ./scripts/perf.js", @@ -45,4 +45,4 @@ "node-wget-promise": "0.1.6" }, "license": "MIT" -} +} \ No newline at end of file diff --git a/src/four.js b/src/five.js similarity index 100% rename from src/four.js rename to src/five.js