zotero-plugin-scaffold 0.0.26 → 0.0.28

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
@@ -24,7 +24,7 @@ import 'chokidar';
24
24
  import 'process';
25
25
 
26
26
  const name = "zotero-plugin-scaffold";
27
- const version = "0.0.26";
27
+ const version = "0.0.28";
28
28
  const description = "A scaffold for Zotero plugin development.";
29
29
  const scripts = {
30
30
  dev: "unbuild --stub",
package/dist/index.mjs CHANGED
@@ -84,6 +84,7 @@ async function loadConfig(overrides) {
84
84
  const result = await loadConfig$1({
85
85
  name: "zotero-plugin",
86
86
  dotenv: true,
87
+ packageJson: true,
87
88
  defaults: getDefaultConfig(),
88
89
  overrides
89
90
  });
@@ -93,7 +94,7 @@ function resolveConfig(config) {
93
94
  const pkg = fs.readJsonSync(path.join("package.json"), {
94
95
  encoding: "utf-8"
95
96
  }), [, owner, repo] = (pkg.repository?.url ?? "").match(
96
- /:\/\/github.com\/([^/]+)\/([^.]+)\.git$/
97
+ /:\/\/.*.com\/([^/]+)\/([^.]+)\.git$/
97
98
  ), data = {
98
99
  owner,
99
100
  repo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zotero-plugin-scaffold",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "description": "A scaffold for Zotero plugin development.",
5
5
  "type": "module",
6
6
  "exports": {