zotero-plugin-scaffold 0.2.9 → 0.2.10

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 { E as ExitSignals, l as logger, C as Config, B as Build, S as Serve, T as Test, R as Release } from './shared/zotero-plugin-scaffold.CBp9PBY_.mjs';
3
+ import { E as ExitSignals, l as logger, C as Config, B as Build, S as Serve, T as Test, R as Release } from './shared/zotero-plugin-scaffold.CpbQ9PJO.mjs';
4
4
  import { readFile, writeFile } from 'node:fs/promises';
5
5
  import { pathExists, ensureFile } 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.2.9";
34
+ const version = "0.2.10";
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.CBp9PBY_.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.CpbQ9PJO.mjs';
2
2
  import 'c12';
3
3
  import 'es-toolkit';
4
4
  import 'fs-extra/esm';
@@ -1234,9 +1234,40 @@ const prefsFirefox = {
1234
1234
  // (See #1114 for rationale)
1235
1235
  "datareporting.policy.firstRunURL": ""
1236
1236
  };
1237
+ const zoteroPrefs = {
1238
+ "extensions.experiments.enabled": true,
1239
+ "extensions.autoDisableScopes": 0,
1240
+ // Enable remote-debugging
1241
+ "devtools.debugger.remote-enabled": true,
1242
+ "devtools.debugger.remote-websocket": true,
1243
+ "devtools.debugger.prompt-connection": false,
1244
+ // Inherit the default test settings from Zotero
1245
+ // https://github.com/zotero/zotero/blob/8a06edab49f07b84d07056ccd594c87920ef2c5e/test/runtests.sh#L127-L147
1246
+ // "app.update.enabled": false,
1247
+ "extensions.zotero.sync.server.compressData": false,
1248
+ "extensions.zotero.automaticScraperUpdates": false,
1249
+ "extensions.zotero.debug.log": 5,
1250
+ "extensions.zotero.debug.level": 5,
1251
+ "extensions.zotero.debug.time": 5,
1252
+ "extensions.zotero.firstRun.skipFirefoxProfileAccessCheck": true,
1253
+ "extensions.zotero.firstRunGuidance": false,
1254
+ "extensions.zotero.firstRun2": false,
1255
+ "extensions.zotero.reportTranslationFailure": false,
1256
+ "extensions.zotero.httpServer.enabled": true,
1257
+ "extensions.zotero.httpServer.port": 23124,
1258
+ // ascii "ZT"
1259
+ "extensions.zotero.httpServer.localAPI.enabled": true,
1260
+ "extensions.zotero.backup.numBackups": 0,
1261
+ // "extensions.zotero.sync.autoSync": false,
1262
+ "extensions.zoteroMacWordIntegration.installed": true,
1263
+ "extensions.zoteroMacWordIntegration.skipInstallation": true,
1264
+ "extensions.zoteroWinWordIntegration.skipInstallation": true,
1265
+ "extensions.zoteroOpenOfficeIntegration.skipInstallation": true
1266
+ };
1237
1267
  const prefs = {
1238
1268
  ...prefsCommon,
1239
- ...prefsFirefox
1269
+ ...prefsFirefox,
1270
+ ...zoteroPrefs
1240
1271
  };
1241
1272
 
1242
1273
  const UNSOLICITED_EVENTS = /* @__PURE__ */ new Set([
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zotero-plugin-scaffold",
3
3
  "type": "module",
4
- "version": "0.2.9",
4
+ "version": "0.2.10",
5
5
  "description": "A scaffold for Zotero plugin development.",
6
6
  "author": "northword",
7
7
  "license": "AGPL-3.0-or-later",