zotero-plugin-scaffold 0.9.3 → 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/vendor.d.ts CHANGED
@@ -1,13 +1,11 @@
1
- import "./shared/scaffold-index-DUirnfLl.mjs";
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
- //#region src/core/builder/replace.d.ts
5
- declare function replace(contents: string, from: RegExp | RegExp[], to: string | string[]): string;
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
- //#endregion
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-Dn0wBA9W.mjs";
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.3",
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.1",
60
- "adm-zip": "^0.6.0",
61
- "bumpp": "^12.2.2",
62
- "c12": "4.0.0-beta.5",
63
- "chokidar": "^5.0.0",
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.52.0",
65
+ "es-toolkit": "^1.53.2",
66
66
  "esbuild": "^0.28.2",
67
- "fs-extra": "^11.4.0",
68
- "hookable": "^6.1.1",
69
- "std-env": "^4.2.0",
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": "^9.3.0",
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": "^25.9.5",
80
- "bumpp": "^12.2.2",
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.9.1",
82
+ "eslint": "^10.14.0",
83
83
  "eslint-plugin-format": "^2.0.1",
84
84
  "husky": "^9.1.7",
85
- "lint-staged": "^17.4.1",
86
- "tsdown": "^0.22.14",
87
- "tsx": "^4.23.13",
88
- "typescript": "^6.0.3",
89
- "unplugin-raw": "^0.7.0",
90
- "vitest": "^4.1.11"
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
  },