zotero-plugin-scaffold 0.9.2 → 0.9.4
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.d.ts +5 -7
- package/dist/cli.js +7 -11
- package/dist/index.d.ts +4 -16
- package/dist/index.js +1 -2
- package/dist/shared/{scaffold-base-oQP-TMDS.d.mts → scaffold-base-BzOO6CRI.d.mts} +1 -3
- package/dist/shared/{scaffold-index-BDz8-InR.d.mts → scaffold-index-D-5PZpaP.d.mts} +10 -15
- package/dist/shared/{scaffold-replace-Dn0wBA9W.mjs → scaffold-replace-CI5Lu8Fb.mjs} +3 -6
- package/dist/shared/{scaffold-src-D5mM4ypK.mjs → scaffold-src-CZoKPRL3.mjs} +472 -637
- package/dist/vendor.d.ts +4 -6
- package/dist/vendor.js +1 -1
- package/package.json +21 -25
package/dist/vendor.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import "./shared/scaffold-index-
|
|
1
|
+
import "./shared/scaffold-index-D-5PZpaP.mjs";
|
|
2
2
|
import * as esToolkit from "es-toolkit";
|
|
3
3
|
import * as fse from "fs-extra/esm";
|
|
4
|
-
|
|
5
|
-
declare function
|
|
6
|
-
declare function replaceInFile({ files, from, to, isGlob }: {
|
|
4
|
+
export declare function replace(contents: string, from: RegExp | RegExp[], to: string | string[]): string;
|
|
5
|
+
export declare function replaceInFile({ files, from, to, isGlob }: {
|
|
7
6
|
files: string | string[];
|
|
8
7
|
from: RegExp | RegExp[];
|
|
9
8
|
to: string | string[];
|
|
10
9
|
isGlob?: boolean;
|
|
11
10
|
}): Promise<void>;
|
|
12
|
-
|
|
13
|
-
export { esToolkit, fse, replace, replaceInFile };
|
|
11
|
+
export { esToolkit, fse };
|
package/dist/vendor.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as replaceInFile, t as replace } from "./shared/scaffold-replace-
|
|
1
|
+
import { r as replaceInFile, t as replace } from "./shared/scaffold-replace-CI5Lu8Fb.mjs";
|
|
2
2
|
import * as esToolkit from "es-toolkit";
|
|
3
3
|
import * as fse from "fs-extra/esm";
|
|
4
4
|
export { esToolkit, fse, replace, replaceInFile };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zotero-plugin-scaffold",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.4",
|
|
5
5
|
"description": "A scaffold for Zotero plugin development.",
|
|
6
6
|
"author": "northword",
|
|
7
7
|
"license": "AGPL-3.0-or-later",
|
|
@@ -56,43 +56,39 @@
|
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@fluent/syntax": "^0.19.0",
|
|
58
58
|
"@octokit/rest": "^22.0.1",
|
|
59
|
-
"@swc/core": "^1.16.
|
|
60
|
-
"adm-zip": "^0.6.
|
|
61
|
-
"bumpp": "^12.
|
|
62
|
-
"c12": "4.0.0-
|
|
63
|
-
"chokidar": "^
|
|
59
|
+
"@swc/core": "^1.16.22",
|
|
60
|
+
"adm-zip": "^0.6.1",
|
|
61
|
+
"bumpp": "^12.3.0",
|
|
62
|
+
"c12": "4.0.0-rc.4",
|
|
63
|
+
"chokidar": "^6.0.0",
|
|
64
64
|
"commander": "^15.0.0",
|
|
65
|
-
"es-toolkit": "^1.
|
|
65
|
+
"es-toolkit": "^1.53.2",
|
|
66
66
|
"esbuild": "^0.28.2",
|
|
67
|
-
"fs-extra": "^11.4.
|
|
68
|
-
"hookable": "^6.1.
|
|
69
|
-
"std-env": "^4.
|
|
67
|
+
"fs-extra": "^11.4.1",
|
|
68
|
+
"hookable": "^6.1.2",
|
|
69
|
+
"std-env": "^4.3.0",
|
|
70
70
|
"tiny-update-notifier": "^2.0.2",
|
|
71
71
|
"tinyglobby": "^0.2.17",
|
|
72
72
|
"xvfb-ts": "^1.1.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@antfu/eslint-config": "^
|
|
75
|
+
"@antfu/eslint-config": "^10.0.0",
|
|
76
76
|
"@commander-js/extra-typings": "^15.0.0",
|
|
77
|
-
"@types/adm-zip": "^0.5.8",
|
|
78
77
|
"@types/fs-extra": "^11.0.4",
|
|
79
|
-
"@types/node": "^
|
|
80
|
-
"
|
|
78
|
+
"@types/node": "^26.6.6",
|
|
79
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
80
|
+
"bumpp": "^12.3.0",
|
|
81
81
|
"changelogen": "^0.6.2",
|
|
82
|
-
"eslint": "^10.
|
|
82
|
+
"eslint": "^10.14.0",
|
|
83
83
|
"eslint-plugin-format": "^2.0.1",
|
|
84
84
|
"husky": "^9.1.7",
|
|
85
|
-
"lint-staged": "^17.
|
|
86
|
-
"tsdown": "^0.
|
|
87
|
-
"tsx": "^4.23.
|
|
88
|
-
"typescript": "
|
|
89
|
-
"unplugin-raw": "^0.
|
|
90
|
-
"vitest": "^
|
|
85
|
+
"lint-staged": "^17.6.0",
|
|
86
|
+
"tsdown": "^0.23.7",
|
|
87
|
+
"tsx": "^4.23.15",
|
|
88
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
89
|
+
"unplugin-raw": "^0.8.0",
|
|
90
|
+
"vitest": "^5.1.0"
|
|
91
91
|
},
|
|
92
|
-
"workspaces": [
|
|
93
|
-
"src",
|
|
94
|
-
"docs"
|
|
95
|
-
],
|
|
96
92
|
"lint-staged": {
|
|
97
93
|
"*": "eslint --fix"
|
|
98
94
|
},
|