From 83f1d1f7b434907be4cd359fa4f6df34e60502b0 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Mon, 3 Apr 2023 13:53:51 +0800 Subject: [PATCH] chore(deps): update dependency tsbb to v4 #481 --- .gitignore | 1 + core/package.json | 4 ++-- extensions/basic-setup/package.json | 4 ++-- extensions/classname/package.json | 4 ++-- extensions/color/package.json | 4 ++-- extensions/events/package.json | 4 ++-- extensions/hyper-link/package.json | 4 ++-- extensions/langs/package.json | 4 ++-- extensions/line-numbers-relative/package.json | 4 ++-- extensions/mentions/package.json | 4 ++-- extensions/zebra-stripes/package.json | 4 ++-- package.json | 2 +- themes/abcdef/package.json | 4 ++-- themes/all/package.json | 4 ++-- themes/androidstudio/package.json | 4 ++-- themes/atomone/package.json | 4 ++-- themes/aura/package.json | 4 ++-- themes/bbedit/package.json | 4 ++-- themes/bespin/package.json | 4 ++-- themes/darcula/package.json | 4 ++-- themes/dracula/package.json | 4 ++-- themes/duotone/package.json | 4 ++-- themes/eclipse/package.json | 4 ++-- themes/github/package.json | 4 ++-- themes/gruvbox/package.json | 4 ++-- themes/material/package.json | 4 ++-- themes/noctis-lilac/package.json | 4 ++-- themes/nord/package.json | 4 ++-- themes/okaidia/package.json | 4 ++-- themes/solarized/package.json | 4 ++-- themes/sublime/package.json | 4 ++-- themes/theme/package.json | 4 ++-- themes/tokyo-night-day/package.json | 4 ++-- themes/tokyo-night-storm/package.json | 4 ++-- themes/tokyo-night/package.json | 4 ++-- themes/vscode/package.json | 4 ++-- themes/xcode/package.json | 4 ++-- 37 files changed, 72 insertions(+), 71 deletions(-) diff --git a/.gitignore b/.gitignore index 76becdf68..65e823131 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ build dist +lib cjs esm node_modules diff --git a/core/package.json b/core/package.json index fde0de294..7d46692bd 100644 --- a/core/package.json +++ b/core/package.json @@ -11,8 +11,8 @@ "bundle": "ncc build src/index.tsx --target web --filename mdeditor && npm run bundle:min", "bundle:watch": "ncc watch src/index.tsx --target web --filename mdeditor", "bundle:min": "ncc build src/index.tsx --target web --filename mdeditor --minify", - "watch": "tsbb watch", - "build": "tsbb build", + "watch": "tsbb watch src/*.tsx --use-babel", + "build": "tsbb build src/*.tsx --use-babel", "test": "tsbb test --env=jsdom", "coverage": "tsbb test --env=jsdom --coverage --bail" }, diff --git a/extensions/basic-setup/package.json b/extensions/basic-setup/package.json index be41d1f42..b42218280 100644 --- a/extensions/basic-setup/package.json +++ b/extensions/basic-setup/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/extensions/classname/package.json b/extensions/classname/package.json index 1cad0a589..57b20819b 100644 --- a/extensions/classname/package.json +++ b/extensions/classname/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/extensions/color/package.json b/extensions/color/package.json index 15dba91cc..22fdf4f28 100644 --- a/extensions/color/package.json +++ b/extensions/color/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/extensions/events/package.json b/extensions/events/package.json index 28d426740..84f3bdb02 100644 --- a/extensions/events/package.json +++ b/extensions/events/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/extensions/hyper-link/package.json b/extensions/hyper-link/package.json index 0cb7e58d5..fee260881 100644 --- a/extensions/hyper-link/package.json +++ b/extensions/hyper-link/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/extensions/langs/package.json b/extensions/langs/package.json index 5e98241e3..bfbfbed0d 100644 --- a/extensions/langs/package.json +++ b/extensions/langs/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/extensions/line-numbers-relative/package.json b/extensions/line-numbers-relative/package.json index b4f48fb7f..b485bca8a 100644 --- a/extensions/line-numbers-relative/package.json +++ b/extensions/line-numbers-relative/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/extensions/mentions/package.json b/extensions/mentions/package.json index 6b66f3148..c3fc6d954 100644 --- a/extensions/mentions/package.json +++ b/extensions/mentions/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/extensions/zebra-stripes/package.json b/extensions/zebra-stripes/package.json index 027c3351f..4c832c707 100644 --- a/extensions/zebra-stripes/package.json +++ b/extensions/zebra-stripes/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/package.json b/package.json index e47515f4c..6aaeb10d1 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,6 @@ "lint-staged": "~13.2.0", "prettier": "~2.8.0", "react-test-renderer": "~18.2.0", - "tsbb": "~3.7.0" + "tsbb": "^4.1.1" } } diff --git a/themes/abcdef/package.json b/themes/abcdef/package.json index e20bfbb6c..a999bc269 100644 --- a/themes/abcdef/package.json +++ b/themes/abcdef/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/all/package.json b/themes/all/package.json index 0b7fab6f2..7ec9b0dff 100644 --- a/themes/all/package.json +++ b/themes/all/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/androidstudio/package.json b/themes/androidstudio/package.json index d53aa3502..2ee37f04b 100644 --- a/themes/androidstudio/package.json +++ b/themes/androidstudio/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/atomone/package.json b/themes/atomone/package.json index 7445aad88..f67a84c72 100644 --- a/themes/atomone/package.json +++ b/themes/atomone/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/aura/package.json b/themes/aura/package.json index 256bb4ce1..2b7ab1ef1 100644 --- a/themes/aura/package.json +++ b/themes/aura/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/bbedit/package.json b/themes/bbedit/package.json index a6339f122..23614cf51 100644 --- a/themes/bbedit/package.json +++ b/themes/bbedit/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/bespin/package.json b/themes/bespin/package.json index bdd008036..6bdf6a109 100644 --- a/themes/bespin/package.json +++ b/themes/bespin/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/darcula/package.json b/themes/darcula/package.json index 3de4357e1..a921a9c2b 100644 --- a/themes/darcula/package.json +++ b/themes/darcula/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/dracula/package.json b/themes/dracula/package.json index 9c50da17e..cd3ccad73 100644 --- a/themes/dracula/package.json +++ b/themes/dracula/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/duotone/package.json b/themes/duotone/package.json index 1b5d733a8..659cd45bb 100644 --- a/themes/duotone/package.json +++ b/themes/duotone/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/eclipse/package.json b/themes/eclipse/package.json index 6a5c164fb..9597b85f9 100644 --- a/themes/eclipse/package.json +++ b/themes/eclipse/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/github/package.json b/themes/github/package.json index f77ec90ff..fd85f1c73 100644 --- a/themes/github/package.json +++ b/themes/github/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/gruvbox/package.json b/themes/gruvbox/package.json index c8b0255c4..23e96d797 100644 --- a/themes/gruvbox/package.json +++ b/themes/gruvbox/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/material/package.json b/themes/material/package.json index 99f045f8b..73e539c7d 100644 --- a/themes/material/package.json +++ b/themes/material/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/noctis-lilac/package.json b/themes/noctis-lilac/package.json index b804095e9..4d6c9c0d2 100644 --- a/themes/noctis-lilac/package.json +++ b/themes/noctis-lilac/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/nord/package.json b/themes/nord/package.json index 93ea913b2..14aa760b3 100644 --- a/themes/nord/package.json +++ b/themes/nord/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/okaidia/package.json b/themes/okaidia/package.json index 154dddef5..2c13af828 100644 --- a/themes/okaidia/package.json +++ b/themes/okaidia/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/solarized/package.json b/themes/solarized/package.json index dc82927c7..6e1bccff7 100644 --- a/themes/solarized/package.json +++ b/themes/solarized/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/sublime/package.json b/themes/sublime/package.json index 55c66fc0a..3910b53b9 100644 --- a/themes/sublime/package.json +++ b/themes/sublime/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/theme/package.json b/themes/theme/package.json index fe5bd4278..2bd8e2560 100644 --- a/themes/theme/package.json +++ b/themes/theme/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.tsx --use-babel", + "build": "tsbb build src/*.tsx --use-babel" }, "repository": { "type": "git", diff --git a/themes/tokyo-night-day/package.json b/themes/tokyo-night-day/package.json index 48facd5a8..8bf049ece 100644 --- a/themes/tokyo-night-day/package.json +++ b/themes/tokyo-night-day/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/tokyo-night-storm/package.json b/themes/tokyo-night-storm/package.json index 48b4b6cd6..2083d3faf 100644 --- a/themes/tokyo-night-storm/package.json +++ b/themes/tokyo-night-storm/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/tokyo-night/package.json b/themes/tokyo-night/package.json index 842b72609..863e0262f 100644 --- a/themes/tokyo-night/package.json +++ b/themes/tokyo-night/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/vscode/package.json b/themes/vscode/package.json index 4625b007a..c8ef32c10 100644 --- a/themes/vscode/package.json +++ b/themes/vscode/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git", diff --git a/themes/xcode/package.json b/themes/xcode/package.json index 4ec217087..b9bb6d65b 100644 --- a/themes/xcode/package.json +++ b/themes/xcode/package.json @@ -8,8 +8,8 @@ "main": "./cjs/index.js", "module": "./esm/index.js", "scripts": { - "watch": "tsbb watch", - "build": "tsbb build" + "watch": "tsbb watch src/*.ts --use-babel", + "build": "tsbb build src/*.ts --use-babel" }, "repository": { "type": "git",