zotero-plugin-scaffold 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.mjs +5 -3
- package/package.json +8 -8
package/dist/cli.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import 'chokidar';
|
|
|
23
23
|
import 'node:fs';
|
|
24
24
|
|
|
25
25
|
const name = "zotero-plugin-scaffold";
|
|
26
|
-
const version = "0.1.
|
|
26
|
+
const version = "0.1.6";
|
|
27
27
|
|
|
28
28
|
const logger = new Log();
|
|
29
29
|
async function main() {
|
|
@@ -63,9 +63,11 @@ async function main() {
|
|
|
63
63
|
});
|
|
64
64
|
cli.parse();
|
|
65
65
|
}
|
|
66
|
-
main().catch(
|
|
66
|
+
main().catch(onError);
|
|
67
|
+
process.on("uncaughtException", onError);
|
|
68
|
+
function onError(err) {
|
|
67
69
|
logger.error(err);
|
|
68
70
|
exit(1);
|
|
69
|
-
}
|
|
71
|
+
}
|
|
70
72
|
|
|
71
73
|
export { main as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zotero-plugin-scaffold",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"description": "A scaffold for Zotero plugin development.",
|
|
6
6
|
"author": "northword",
|
|
7
7
|
"license": "AGPL-3.0-or-later",
|
|
@@ -54,30 +54,30 @@
|
|
|
54
54
|
"@commander-js/extra-typings": "^12.1.0",
|
|
55
55
|
"@gitee/typescript-sdk-v5": "^5.4.85",
|
|
56
56
|
"@inquirer/prompts": "^5.5.0",
|
|
57
|
-
"bumpp": "^9.
|
|
57
|
+
"bumpp": "^9.6.1",
|
|
58
58
|
"c12": "^1.11.2",
|
|
59
59
|
"chalk": "^5.3.0",
|
|
60
60
|
"chokidar": "^3.6.0",
|
|
61
61
|
"commander": "^12.1.0",
|
|
62
62
|
"conventional-changelog": "^6.0.0",
|
|
63
|
-
"es-toolkit": "^1.
|
|
63
|
+
"es-toolkit": "^1.22.0",
|
|
64
64
|
"esbuild": "^0.23.1",
|
|
65
65
|
"fs-extra": "^11.2.0",
|
|
66
66
|
"globby": "^14.0.2",
|
|
67
67
|
"hookable": "^5.5.3",
|
|
68
68
|
"mime": "^4.0.4",
|
|
69
69
|
"octokit": "^4.0.2",
|
|
70
|
-
"replace-in-file": "^8.
|
|
70
|
+
"replace-in-file": "^8.2.0",
|
|
71
71
|
"std-env": "^3.7.0",
|
|
72
72
|
"update-notifier": "^7.3.1",
|
|
73
|
-
"web-ext": "^8.
|
|
73
|
+
"web-ext": "^8.3.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@antfu/eslint-config": "^3.
|
|
76
|
+
"@antfu/eslint-config": "^3.7.3",
|
|
77
77
|
"@types/fs-extra": "^11.0.4",
|
|
78
|
-
"@types/node": "^20.16.
|
|
78
|
+
"@types/node": "^20.16.10",
|
|
79
79
|
"@types/update-notifier": "^6.0.8",
|
|
80
|
-
"eslint": "^9.
|
|
80
|
+
"eslint": "^9.11.1",
|
|
81
81
|
"eslint-plugin-format": "^0.1.2",
|
|
82
82
|
"typescript": "^5.6.2",
|
|
83
83
|
"unbuild": "^2.0.0"
|