zotero-plugin-scaffold 0.3.3 → 0.3.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import process from 'node:process';
2
2
  import { Command } from 'commander';
3
- import { l as logger, E as ExitSignals, C as Config, B as Build, S as Serve, T as Test, R as Release } from './shared/zotero-plugin-scaffold.7eS2y7c2.mjs';
3
+ import { l as logger, E as ExitSignals, C as Config, B as Build, S as Serve, T as Test, R as Release } from './shared/zotero-plugin-scaffold.B4EUQxfu.mjs';
4
4
  import { readFile } from 'node:fs/promises';
5
5
  import { pathExists } from 'fs-extra';
6
6
  import tinyUpdateNotifier from 'tiny-update-notifier';
@@ -31,7 +31,7 @@ import 'node:http';
31
31
  import 'xvfb-ts';
32
32
 
33
33
  const name = "zotero-plugin-scaffold";
34
- const version = "0.3.3";
34
+ const version = "0.3.5";
35
35
  const pkg = {
36
36
  name: name,
37
37
  version: version};
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { B as Build, C as Config, R as Release, S as Serve, T as Test, d as defineConfig } from './shared/zotero-plugin-scaffold.7eS2y7c2.mjs';
1
+ export { B as Build, C as Config, R as Release, S as Serve, T as Test, d as defineConfig } from './shared/zotero-plugin-scaffold.B4EUQxfu.mjs';
2
2
  import 'c12';
3
3
  import 'es-toolkit';
4
4
  import 'fs-extra/esm';
@@ -473,6 +473,7 @@ class PrefsManager {
473
473
  operator: "-",
474
474
  argument: {
475
475
  type: "NumericLiteral",
476
+ span,
476
477
  value: Math.abs(value)
477
478
  }
478
479
  };
@@ -1168,7 +1169,7 @@ class Release extends Base {
1168
1169
  conventionalChangelog({ releaseCount: 2, preset: "angular" }, { version }).on("data", (chunk) => {
1169
1170
  changelog += chunk.toString();
1170
1171
  }).on("end", () => {
1171
- changelog = changelog.split("\n").filter((line) => !line.match(/^## .*/) || !line.match(/^# .*/)).join("\n").trim();
1172
+ changelog = changelog.split("\n").filter((line) => !line.match(/^## .*/) && !line.match(/^# .*/)).join("\n").trim();
1172
1173
  resolve(changelog);
1173
1174
  }).on("error", (err) => {
1174
1175
  reject(err);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zotero-plugin-scaffold",
3
3
  "type": "module",
4
- "version": "0.3.3",
4
+ "version": "0.3.5",
5
5
  "description": "A scaffold for Zotero plugin development.",
6
6
  "author": "northword",
7
7
  "license": "AGPL-3.0-or-later",