zotero-plugin-scaffold 0.9.2 → 0.9.3
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 +2 -2
- package/dist/cli.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/shared/{scaffold-base-oQP-TMDS.d.mts → scaffold-base-D5fAvZGP.d.mts} +1 -1
- package/dist/shared/{scaffold-index-BDz8-InR.d.mts → scaffold-index-DUirnfLl.d.mts} +1 -1
- package/dist/shared/{scaffold-src-D5mM4ypK.mjs → scaffold-src-Bv9sPw2S.mjs} +2 -1
- package/dist/vendor.d.ts +1 -1
- package/package.json +1 -1
package/dist/cli.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as OverrideConfig, t as Context } from "./shared/scaffold-index-
|
|
2
|
-
import { t as Base } from "./shared/scaffold-base-
|
|
1
|
+
import { n as OverrideConfig, t as Context } from "./shared/scaffold-index-DUirnfLl.mjs";
|
|
2
|
+
import { t as Base } from "./shared/scaffold-base-D5fAvZGP.mjs";
|
|
3
3
|
//#region src/cli.d.ts
|
|
4
4
|
type Constructor<T> = new (ctx: Context) => T;
|
|
5
5
|
declare function runCommand<T extends Base>(CommandClass: Constructor<T>, config: OverrideConfig): Promise<void>;
|
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as logger } from "./shared/scaffold-replace-Dn0wBA9W.mjs";
|
|
2
|
-
import { a as Release, i as ExitSignals, n as Test, o as Build, r as Serve, t as Config } from "./shared/scaffold-src-
|
|
2
|
+
import { a as Release, i as ExitSignals, n as Test, o as Build, r as Serve, t as Config } from "./shared/scaffold-src-Bv9sPw2S.mjs";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import { readFile } from "node:fs/promises";
|
|
5
5
|
import { Command } from "commander";
|
|
@@ -7,7 +7,7 @@ import { pathExists } from "fs-extra";
|
|
|
7
7
|
import tinyUpdateNotifier from "tiny-update-notifier";
|
|
8
8
|
//#region package.json
|
|
9
9
|
var name = "zotero-plugin-scaffold";
|
|
10
|
-
var version = "0.9.
|
|
10
|
+
var version = "0.9.3";
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region src/utils/gitignore.ts
|
|
13
13
|
async function checkGitIgnore() {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as OverrideConfig, r as UserConfig, t as Context } from "./shared/scaffold-index-
|
|
2
|
-
import { t as Base } from "./shared/scaffold-base-
|
|
1
|
+
import { n as OverrideConfig, r as UserConfig, t as Context } from "./shared/scaffold-index-DUirnfLl.mjs";
|
|
2
|
+
import { t as Base } from "./shared/scaffold-base-D5fAvZGP.mjs";
|
|
3
3
|
//#region src/config.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Helper for user define configuration.
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Release, n as Test, o as Build, r as Serve, s as defineConfig, t as Config } from "./shared/scaffold-src-
|
|
1
|
+
import { a as Release, n as Test, o as Build, r as Serve, s as defineConfig, t as Config } from "./shared/scaffold-src-Bv9sPw2S.mjs";
|
|
2
2
|
export { Build, Config, Release, Serve, Test, defineConfig };
|
|
@@ -5,7 +5,7 @@ import { copy, emptyDir, ensureDir, ensureDirSync, move, outputFile, outputJSON,
|
|
|
5
5
|
import { createHooks } from "hookable";
|
|
6
6
|
import process$1 from "node:process";
|
|
7
7
|
import { format, inspect, styleText } from "node:util";
|
|
8
|
-
import { isCI, isDebug, isLinux, isMacOS, isWindows } from "std-env";
|
|
8
|
+
import { isAgent, isCI, isDebug, isLinux, isMacOS, isWindows } from "std-env";
|
|
9
9
|
import { glob, globSync } from "tinyglobby";
|
|
10
10
|
import path, { basename, dirname, extname, isAbsolute, join, resolve } from "node:path";
|
|
11
11
|
import { build, context } from "esbuild";
|
|
@@ -4325,6 +4325,7 @@ var Test = class extends Base {
|
|
|
4325
4325
|
this.ctx.test.headless = true;
|
|
4326
4326
|
this.ctx.test.watch = false;
|
|
4327
4327
|
}
|
|
4328
|
+
if (isAgent) this.ctx.test.watch = false;
|
|
4328
4329
|
}
|
|
4329
4330
|
async run() {
|
|
4330
4331
|
await emptyDir(TESTER_PROFILE_DIR);
|
package/dist/vendor.d.ts
CHANGED