@reddoorla/maintenance 0.95.0 → 0.95.1
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/{announce-PGT4SZZB.js → announce-CLQYX5I4.js} +3 -3
- package/dist/{chunk-KQB2BX4V.js → chunk-2ZAZ7ETT.js} +2 -2
- package/dist/{chunk-DMPHP7UP.js → chunk-BI2VI6EM.js} +2 -2
- package/dist/{chunk-OCNSIBMP.js → chunk-C3IQQKXL.js} +26 -1
- package/dist/{chunk-OCNSIBMP.js.map → chunk-C3IQQKXL.js.map} +1 -1
- package/dist/{chunk-4AIYWWKV.js → chunk-KJRVMMM3.js} +2 -2
- package/dist/{chunk-AEUABPAJ.js → chunk-R5IMFAFR.js} +2 -2
- package/dist/{chunk-22GKJO5F.js → chunk-VSGMCCGQ.js} +2 -2
- package/dist/chunk-XPJQXSC4.js +112 -0
- package/dist/chunk-XPJQXSC4.js.map +1 -0
- package/dist/{chunk-6VKYQATC.js → chunk-ZCL7C5LH.js} +1115 -125
- package/dist/chunk-ZCL7C5LH.js.map +1 -0
- package/dist/cli/bin.js +15 -15
- package/dist/cli/commands/audit.js +5 -5
- package/dist/client-G2WGWPCA.js +11 -0
- package/dist/configs/eslint.js +27 -1
- package/dist/configs/eslint.js.map +1 -1
- package/dist/{db-BBEM7CBX.js → db-XKZYDCKM.js} +9 -9
- package/dist/{digest-65BOZ7AT.js → digest-7UBGUBRK.js} +13 -13
- package/dist/{digest-collectors-EHFY2OQC.js → digest-collectors-DJFN5ZDK.js} +7 -7
- package/dist/{ensure-site-WIDO6LGU.js → ensure-site-OAAE5YE2.js} +2 -2
- package/dist/{forms-notify-target-2LWF5C5B.js → forms-notify-target-UC6PF3AE.js} +2 -2
- package/dist/{github-signals-GAHNOAHS.js → github-signals-TX5FPYP6.js} +5 -5
- package/dist/{header-image-YN3AQRY3.js → header-image-PSPT7CUM.js} +2 -2
- package/dist/{health-mirror-EB76EERV.js → health-mirror-XJAKA3EY.js} +3 -3
- package/dist/index.js +8 -8
- package/dist/{launch-4RVWPZGI.js → launch-UD36AHUN.js} +3 -3
- package/dist/{match-harness-2Q6ISEES.js → match-harness-QRG6XZAR.js} +2 -2
- package/dist/migrate-Y7R4CESL.js +7 -0
- package/dist/{orchestrate-MWXENQOS.js → orchestrate-HYVQPRCE.js} +5 -5
- package/dist/{preflight-4VQP7JJL.js → preflight-RYIP54NY.js} +6 -6
- package/dist/{prismic-models-W6CNLTWH.js → prismic-models-P6FWWVRS.js} +2 -2
- package/dist/{prospect-audit-X4Z67LWW.js → prospect-audit-PRHU53HS.js} +3 -3
- package/dist/{prospect-audits-RVYEA4KH.js → prospect-audits-R3LWF6U7.js} +10 -4
- package/dist/{report-4GFD4MW2.js → report-LQS4ECTM.js} +11 -11
- package/dist/{report-mirror-IP64R7B3.js → report-mirror-HDTOJE64.js} +3 -3
- package/dist/{schema-2V7BGYVT.js → schema-A4WCPIF4.js} +1 -1
- package/dist/{schema-2V7BGYVT.js.map → schema-A4WCPIF4.js.map} +1 -1
- package/dist/{selftest-MAB2PBXQ.js → selftest-VXTHRPRN.js} +5 -5
- package/dist/{site-mirror-UKHREAD6.js → site-mirror-WON4FTJ2.js} +3 -3
- package/dist/{submissions-5GKJPCIH.js → submissions-OVZPVBYG.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-6VKYQATC.js.map +0 -1
- package/dist/chunk-7MKT4I5T.js +0 -62
- package/dist/chunk-7MKT4I5T.js.map +0 -1
- package/dist/client-M2V6FHH5.js +0 -11
- package/dist/migrate-K4JETR36.js +0 -7
- /package/dist/{announce-PGT4SZZB.js.map → announce-CLQYX5I4.js.map} +0 -0
- /package/dist/{chunk-KQB2BX4V.js.map → chunk-2ZAZ7ETT.js.map} +0 -0
- /package/dist/{chunk-DMPHP7UP.js.map → chunk-BI2VI6EM.js.map} +0 -0
- /package/dist/{chunk-4AIYWWKV.js.map → chunk-KJRVMMM3.js.map} +0 -0
- /package/dist/{chunk-AEUABPAJ.js.map → chunk-R5IMFAFR.js.map} +0 -0
- /package/dist/{chunk-22GKJO5F.js.map → chunk-VSGMCCGQ.js.map} +0 -0
- /package/dist/{client-M2V6FHH5.js.map → client-G2WGWPCA.js.map} +0 -0
- /package/dist/{db-BBEM7CBX.js.map → db-XKZYDCKM.js.map} +0 -0
- /package/dist/{digest-65BOZ7AT.js.map → digest-7UBGUBRK.js.map} +0 -0
- /package/dist/{digest-collectors-EHFY2OQC.js.map → digest-collectors-DJFN5ZDK.js.map} +0 -0
- /package/dist/{ensure-site-WIDO6LGU.js.map → ensure-site-OAAE5YE2.js.map} +0 -0
- /package/dist/{forms-notify-target-2LWF5C5B.js.map → forms-notify-target-UC6PF3AE.js.map} +0 -0
- /package/dist/{github-signals-GAHNOAHS.js.map → github-signals-TX5FPYP6.js.map} +0 -0
- /package/dist/{header-image-YN3AQRY3.js.map → header-image-PSPT7CUM.js.map} +0 -0
- /package/dist/{health-mirror-EB76EERV.js.map → health-mirror-XJAKA3EY.js.map} +0 -0
- /package/dist/{launch-4RVWPZGI.js.map → launch-UD36AHUN.js.map} +0 -0
- /package/dist/{match-harness-2Q6ISEES.js.map → match-harness-QRG6XZAR.js.map} +0 -0
- /package/dist/{migrate-K4JETR36.js.map → migrate-Y7R4CESL.js.map} +0 -0
- /package/dist/{orchestrate-MWXENQOS.js.map → orchestrate-HYVQPRCE.js.map} +0 -0
- /package/dist/{preflight-4VQP7JJL.js.map → preflight-RYIP54NY.js.map} +0 -0
- /package/dist/{prismic-models-W6CNLTWH.js.map → prismic-models-P6FWWVRS.js.map} +0 -0
- /package/dist/{prospect-audit-X4Z67LWW.js.map → prospect-audit-PRHU53HS.js.map} +0 -0
- /package/dist/{prospect-audits-RVYEA4KH.js.map → prospect-audits-R3LWF6U7.js.map} +0 -0
- /package/dist/{report-4GFD4MW2.js.map → report-LQS4ECTM.js.map} +0 -0
- /package/dist/{report-mirror-IP64R7B3.js.map → report-mirror-HDTOJE64.js.map} +0 -0
- /package/dist/{selftest-MAB2PBXQ.js.map → selftest-VXTHRPRN.js.map} +0 -0
- /package/dist/{site-mirror-UKHREAD6.js.map → site-mirror-WON4FTJ2.js.map} +0 -0
- /package/dist/{submissions-5GKJPCIH.js.map → submissions-OVZPVBYG.js.map} +0 -0
package/dist/configs/eslint.js
CHANGED
|
@@ -68,7 +68,33 @@ function createEslintConfig(opts) {
|
|
|
68
68
|
// Agency process artifacts: git-ignored in every repo, but present on
|
|
69
69
|
// disk locally, so `pnpm lint` would otherwise try to parse them.
|
|
70
70
|
"docs/superpowers/",
|
|
71
|
-
"scratchpad/"
|
|
71
|
+
"scratchpad/",
|
|
72
|
+
// Third member of that class: the match-harness Phase 0 reference
|
|
73
|
+
// capture. `matching/capture-reference.mjs` downloads the live site's
|
|
74
|
+
// own HTML/CSS/JS byte-for-byte into a fixed `matching/spec` (line 31,
|
|
75
|
+
// `const OUT = "matching/spec"` — a const, not configurable), so eslint
|
|
76
|
+
// gets handed third-party minified bundles. Measured on 29 Navy's first
|
|
77
|
+
// capture: 745 errors, `pnpm verify` red — Webflow's two chunks 377 and
|
|
78
|
+
// 78, jQuery 3.5.1 290.
|
|
79
|
+
//
|
|
80
|
+
// `prettier --check .` survives the same files, but only by accident of
|
|
81
|
+
// prettier 3 defaulting --ignore-path to `.gitignore`, which the recipe's
|
|
82
|
+
// block fills with `matching/*`. Eslint flat config reads no ignore file
|
|
83
|
+
// at all, and `.prettierignore` does NOT list the capture: measured,
|
|
84
|
+
// `prettier --check matching/spec --ignore-path .prettierignore` flags
|
|
85
|
+
// five files. That asymmetry is the whole bug.
|
|
86
|
+
//
|
|
87
|
+
// SCOPED TO `matching/spec/`, deliberately NOT `matching/`. The probes,
|
|
88
|
+
// gate scripts and site records under `matching/` are ours and must stay
|
|
89
|
+
// linted — beachfront-dentistry ignores `matching/` wholesale and has
|
|
90
|
+
// un-linted its own `adv-verify-svc*.mjs` that way. The narrowness cuts
|
|
91
|
+
// both ways: `matching/spec*` also swallows the TRACKED
|
|
92
|
+
// `matching/spec-sections/`.
|
|
93
|
+
"matching/spec/",
|
|
94
|
+
// Same class, same generated .gitignore block: the harness's scratch
|
|
95
|
+
// diff workspace. Included on class grounds, NOT on a reproduced signal
|
|
96
|
+
// — nothing in the harness writes it and no clone has one on disk.
|
|
97
|
+
"scratch-diff*/"
|
|
72
98
|
]
|
|
73
99
|
}
|
|
74
100
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/configs/eslint.ts"],"sourcesContent":["import js from \"@eslint/js\";\nimport ts from \"typescript-eslint\";\nimport svelte from \"eslint-plugin-svelte\";\nimport prettier from \"eslint-config-prettier\";\nimport globals from \"globals\";\nimport type { Linter } from \"eslint\";\n\nexport type CreateEslintConfigOptions = {\n svelteConfig: unknown;\n};\n\nexport function createEslintConfig(opts: CreateEslintConfigOptions): Linter.Config[] {\n return [\n js.configs.recommended,\n ...ts.configs.recommended,\n ...svelte.configs.recommended,\n prettier,\n ...svelte.configs.prettier,\n {\n languageOptions: {\n globals: {\n ...globals.browser,\n ...globals.node,\n },\n },\n rules: {\n \"@typescript-eslint/no-unused-vars\": [\n \"error\",\n {\n argsIgnorePattern: \"^_\",\n varsIgnorePattern: \"^_\",\n caughtErrorsIgnorePattern: \"^_\",\n },\n ],\n \"svelte/no-navigation-without-resolve\": \"off\",\n },\n },\n {\n files: [\"**/*.svelte\", \"**/*.svelte.js\", \"**/*.svelte.ts\"],\n languageOptions: {\n parserOptions: {\n parser: ts.parser,\n svelteConfig: opts.svelteConfig,\n },\n },\n },\n {\n // eslint-plugin-svelte 3.20+ allows only an `error` prop in +error.svelte,\n // but SvelteKit really does pass merged layout `data` to error pages\n // (typed by hand since kit generates no ./$types for +error). The rule\n // takes no options (schema: []), so scope it off for error pages only.\n files: [\"**/+error.svelte\"],\n rules: {\n \"svelte/valid-prop-names-in-kit-pages\": \"off\",\n },\n },\n {\n files: [\"**/*.d.ts\"],\n rules: {\n \"no-var\": \"off\",\n \"@typescript-eslint/no-unused-vars\": \"off\",\n },\n },\n {\n ignores: [\n \"build/\",\n \".svelte-kit/\",\n \".netlify/\",\n \"node_modules/\",\n \"static/\",\n \"customtypes/\",\n \"src/lib/slices/**/index.js\",\n // Agency process artifacts: git-ignored in every repo, but present on\n // disk locally, so `pnpm lint` would otherwise try to parse them.\n \"docs/superpowers/\",\n \"scratchpad/\",\n ],\n },\n ] as Linter.Config[];\n}\n\nexport default createEslintConfig;\n"],"mappings":";AAAA,OAAO,QAAQ;AACf,OAAO,QAAQ;AACf,OAAO,YAAY;AACnB,OAAO,cAAc;AACrB,OAAO,aAAa;AAOb,SAAS,mBAAmB,MAAkD;AACnF,SAAO;AAAA,IACL,GAAG,QAAQ;AAAA,IACX,GAAG,GAAG,QAAQ;AAAA,IACd,GAAG,OAAO,QAAQ;AAAA,IAClB;AAAA,IACA,GAAG,OAAO,QAAQ;AAAA,IAClB;AAAA,MACE,iBAAiB;AAAA,QACf,SAAS;AAAA,UACP,GAAG,QAAQ;AAAA,UACX,GAAG,QAAQ;AAAA,QACb;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACL,qCAAqC;AAAA,UACnC;AAAA,UACA;AAAA,YACE,mBAAmB;AAAA,YACnB,mBAAmB;AAAA,YACnB,2BAA2B;AAAA,UAC7B;AAAA,QACF;AAAA,QACA,wCAAwC;AAAA,MAC1C;AAAA,IACF;AAAA,IACA;AAAA,MACE,OAAO,CAAC,eAAe,kBAAkB,gBAAgB;AAAA,MACzD,iBAAiB;AAAA,QACf,eAAe;AAAA,UACb,QAAQ,GAAG;AAAA,UACX,cAAc,KAAK;AAAA,QACrB;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,MAKE,OAAO,CAAC,kBAAkB;AAAA,MAC1B,OAAO;AAAA,QACL,wCAAwC;AAAA,MAC1C;AAAA,IACF;AAAA,IACA;AAAA,MACE,OAAO,CAAC,WAAW;AAAA,MACnB,OAAO;AAAA,QACL,UAAU;AAAA,QACV,qCAAqC;AAAA,MACvC;AAAA,IACF;AAAA,IACA;AAAA,MACE,SAAS;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA;AAAA,QAGA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAO,iBAAQ;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/configs/eslint.ts"],"sourcesContent":["import js from \"@eslint/js\";\nimport ts from \"typescript-eslint\";\nimport svelte from \"eslint-plugin-svelte\";\nimport prettier from \"eslint-config-prettier\";\nimport globals from \"globals\";\nimport type { Linter } from \"eslint\";\n\nexport type CreateEslintConfigOptions = {\n svelteConfig: unknown;\n};\n\nexport function createEslintConfig(opts: CreateEslintConfigOptions): Linter.Config[] {\n return [\n js.configs.recommended,\n ...ts.configs.recommended,\n ...svelte.configs.recommended,\n prettier,\n ...svelte.configs.prettier,\n {\n languageOptions: {\n globals: {\n ...globals.browser,\n ...globals.node,\n },\n },\n rules: {\n \"@typescript-eslint/no-unused-vars\": [\n \"error\",\n {\n argsIgnorePattern: \"^_\",\n varsIgnorePattern: \"^_\",\n caughtErrorsIgnorePattern: \"^_\",\n },\n ],\n \"svelte/no-navigation-without-resolve\": \"off\",\n },\n },\n {\n files: [\"**/*.svelte\", \"**/*.svelte.js\", \"**/*.svelte.ts\"],\n languageOptions: {\n parserOptions: {\n parser: ts.parser,\n svelteConfig: opts.svelteConfig,\n },\n },\n },\n {\n // eslint-plugin-svelte 3.20+ allows only an `error` prop in +error.svelte,\n // but SvelteKit really does pass merged layout `data` to error pages\n // (typed by hand since kit generates no ./$types for +error). The rule\n // takes no options (schema: []), so scope it off for error pages only.\n files: [\"**/+error.svelte\"],\n rules: {\n \"svelte/valid-prop-names-in-kit-pages\": \"off\",\n },\n },\n {\n files: [\"**/*.d.ts\"],\n rules: {\n \"no-var\": \"off\",\n \"@typescript-eslint/no-unused-vars\": \"off\",\n },\n },\n {\n ignores: [\n \"build/\",\n \".svelte-kit/\",\n \".netlify/\",\n \"node_modules/\",\n \"static/\",\n \"customtypes/\",\n \"src/lib/slices/**/index.js\",\n // Agency process artifacts: git-ignored in every repo, but present on\n // disk locally, so `pnpm lint` would otherwise try to parse them.\n \"docs/superpowers/\",\n \"scratchpad/\",\n // Third member of that class: the match-harness Phase 0 reference\n // capture. `matching/capture-reference.mjs` downloads the live site's\n // own HTML/CSS/JS byte-for-byte into a fixed `matching/spec` (line 31,\n // `const OUT = \"matching/spec\"` — a const, not configurable), so eslint\n // gets handed third-party minified bundles. Measured on 29 Navy's first\n // capture: 745 errors, `pnpm verify` red — Webflow's two chunks 377 and\n // 78, jQuery 3.5.1 290.\n //\n // `prettier --check .` survives the same files, but only by accident of\n // prettier 3 defaulting --ignore-path to `.gitignore`, which the recipe's\n // block fills with `matching/*`. Eslint flat config reads no ignore file\n // at all, and `.prettierignore` does NOT list the capture: measured,\n // `prettier --check matching/spec --ignore-path .prettierignore` flags\n // five files. That asymmetry is the whole bug.\n //\n // SCOPED TO `matching/spec/`, deliberately NOT `matching/`. The probes,\n // gate scripts and site records under `matching/` are ours and must stay\n // linted — beachfront-dentistry ignores `matching/` wholesale and has\n // un-linted its own `adv-verify-svc*.mjs` that way. The narrowness cuts\n // both ways: `matching/spec*` also swallows the TRACKED\n // `matching/spec-sections/`.\n \"matching/spec/\",\n // Same class, same generated .gitignore block: the harness's scratch\n // diff workspace. Included on class grounds, NOT on a reproduced signal\n // — nothing in the harness writes it and no clone has one on disk.\n \"scratch-diff*/\",\n ],\n },\n ] as Linter.Config[];\n}\n\nexport default createEslintConfig;\n"],"mappings":";AAAA,OAAO,QAAQ;AACf,OAAO,QAAQ;AACf,OAAO,YAAY;AACnB,OAAO,cAAc;AACrB,OAAO,aAAa;AAOb,SAAS,mBAAmB,MAAkD;AACnF,SAAO;AAAA,IACL,GAAG,QAAQ;AAAA,IACX,GAAG,GAAG,QAAQ;AAAA,IACd,GAAG,OAAO,QAAQ;AAAA,IAClB;AAAA,IACA,GAAG,OAAO,QAAQ;AAAA,IAClB;AAAA,MACE,iBAAiB;AAAA,QACf,SAAS;AAAA,UACP,GAAG,QAAQ;AAAA,UACX,GAAG,QAAQ;AAAA,QACb;AAAA,MACF;AAAA,MACA,OAAO;AAAA,QACL,qCAAqC;AAAA,UACnC;AAAA,UACA;AAAA,YACE,mBAAmB;AAAA,YACnB,mBAAmB;AAAA,YACnB,2BAA2B;AAAA,UAC7B;AAAA,QACF;AAAA,QACA,wCAAwC;AAAA,MAC1C;AAAA,IACF;AAAA,IACA;AAAA,MACE,OAAO,CAAC,eAAe,kBAAkB,gBAAgB;AAAA,MACzD,iBAAiB;AAAA,QACf,eAAe;AAAA,UACb,QAAQ,GAAG;AAAA,UACX,cAAc,KAAK;AAAA,QACrB;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,MAKE,OAAO,CAAC,kBAAkB;AAAA,MAC1B,OAAO;AAAA,QACL,wCAAwC;AAAA,MAC1C;AAAA,IACF;AAAA,IACA;AAAA,MACE,OAAO,CAAC,WAAW;AAAA,MACnB,OAAO;AAAA,QACL,UAAU;AAAA,QACV,qCAAqC;AAAA,MACvC;AAAA,IACF;AAAA,IACA;AAAA,MACE,SAAS;AAAA,QACP;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA;AAAA,QAGA;AAAA,QACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAsBA;AAAA;AAAA;AAAA;AAAA,QAIA;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAO,iBAAQ;","names":[]}
|
|
@@ -10,9 +10,9 @@ function freezeGuardsDbWrite(action, force, authoritative) {
|
|
|
10
10
|
}
|
|
11
11
|
async function runDbCommand(action, opts, deps = {}) {
|
|
12
12
|
if (action === "migrate") {
|
|
13
|
-
const { readDbConfig } = await import("./client-
|
|
13
|
+
const { readDbConfig } = await import("./client-G2WGWPCA.js");
|
|
14
14
|
const cfg = opts.url ? { url: opts.url } : readDbConfig();
|
|
15
|
-
const { runMigrations } = await import("./migrate-
|
|
15
|
+
const { runMigrations } = await import("./migrate-Y7R4CESL.js");
|
|
16
16
|
const { createClient } = await import("@libsql/client");
|
|
17
17
|
const client = createClient(cfg.url === ":memory:" ? { url: ":memory:" } : cfg);
|
|
18
18
|
const ran = await runMigrations(client);
|
|
@@ -22,7 +22,7 @@ async function runDbCommand(action, opts, deps = {}) {
|
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
if (action === "replay-deadletters") {
|
|
25
|
-
const { readDbConfig, openDb } = await import("./client-
|
|
25
|
+
const { readDbConfig, openDb } = await import("./client-G2WGWPCA.js");
|
|
26
26
|
const db = await openDb(opts.url ? { url: opts.url } : readDbConfig());
|
|
27
27
|
const { openBase, readAirtableConfig } = await import("./client-EPVO3FEH.js");
|
|
28
28
|
const { getWebsiteBySlug } = await import("./websites-TB4TCAWM.js");
|
|
@@ -87,7 +87,7 @@ async function runDbCommand(action, opts, deps = {}) {
|
|
|
87
87
|
const { TURSO_IS_AUTHORITATIVE } = await import("./freeze-A6MUCZU4.js");
|
|
88
88
|
const refused = freezeGuardsDbWrite(action, opts.force === true, TURSO_IS_AUTHORITATIVE);
|
|
89
89
|
if (refused) return refused;
|
|
90
|
-
const { readDbConfig, openDb } = await import("./client-
|
|
90
|
+
const { readDbConfig, openDb } = await import("./client-G2WGWPCA.js");
|
|
91
91
|
const db = await openDb(opts.url ? { url: opts.url } : readDbConfig());
|
|
92
92
|
const { openBase, readAirtableConfig } = await import("./client-EPVO3FEH.js");
|
|
93
93
|
const base = openBase(readAirtableConfig());
|
|
@@ -150,7 +150,7 @@ async function runDbCommand(action, opts, deps = {}) {
|
|
|
150
150
|
return { output: formatParityResult(result), code: result.mismatches.length > 0 ? 1 : 0 };
|
|
151
151
|
}
|
|
152
152
|
if (action === "backfill-header-images") {
|
|
153
|
-
const { readDbConfig, openDb } = await import("./client-
|
|
153
|
+
const { readDbConfig, openDb } = await import("./client-G2WGWPCA.js");
|
|
154
154
|
const db = await openDb(opts.url ? { url: opts.url } : readDbConfig());
|
|
155
155
|
const { openBase, readAirtableConfig } = await import("./client-EPVO3FEH.js");
|
|
156
156
|
const base = openBase(readAirtableConfig());
|
|
@@ -172,7 +172,7 @@ async function runDbCommand(action, opts, deps = {}) {
|
|
|
172
172
|
return { output: formatBackfillResult(result), code: result.failed.length > 0 ? 1 : 0 };
|
|
173
173
|
}
|
|
174
174
|
if (action === "backfill-digest-state") {
|
|
175
|
-
const { readDbConfig, openDb } = await import("./client-
|
|
175
|
+
const { readDbConfig, openDb } = await import("./client-G2WGWPCA.js");
|
|
176
176
|
const db = await openDb(opts.url ? { url: opts.url } : readDbConfig());
|
|
177
177
|
const { readDigestState: readTurso, writeDigestState: writeTurso } = await import("./digest-state-3KHZF7GD.js");
|
|
178
178
|
const existing = await readTurso(db);
|
|
@@ -197,7 +197,7 @@ async function runDbCommand(action, opts, deps = {}) {
|
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
199
|
if (action === "dump") {
|
|
200
|
-
const { readDbConfig } = await import("./client-
|
|
200
|
+
const { readDbConfig } = await import("./client-G2WGWPCA.js");
|
|
201
201
|
const cfg = opts.url ? { url: opts.url } : readDbConfig();
|
|
202
202
|
const { createClient } = await import("@libsql/client");
|
|
203
203
|
const client = createClient(cfg.url === ":memory:" ? { url: ":memory:" } : cfg);
|
|
@@ -325,7 +325,7 @@ async function runDbCommand(action, opts, deps = {}) {
|
|
|
325
325
|
for (const table of Object.keys(restored)) {
|
|
326
326
|
if (!(table in manifest.tables)) mismatches.push(`${table}: not in origin manifest`);
|
|
327
327
|
}
|
|
328
|
-
const { DATABASE_TABLES } = await import("./schema-
|
|
328
|
+
const { DATABASE_TABLES } = await import("./schema-A4WCPIF4.js");
|
|
329
329
|
for (const table of DATABASE_TABLES) {
|
|
330
330
|
if (!(table in restored)) mismatches.push(`${table}: MISSING from the backup entirely`);
|
|
331
331
|
}
|
|
@@ -350,4 +350,4 @@ export {
|
|
|
350
350
|
freezeGuardsDbWrite,
|
|
351
351
|
runDbCommand
|
|
352
352
|
};
|
|
353
|
-
//# sourceMappingURL=db-
|
|
353
|
+
//# sourceMappingURL=db-XKZYDCKM.js.map
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
collectRenovateAlerts,
|
|
14
14
|
collectTurnstileGuardrailAlerts,
|
|
15
15
|
collectVulnAlerts
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-KJRVMMM3.js";
|
|
17
|
+
import "./chunk-R5IMFAFR.js";
|
|
18
18
|
import "./chunk-PZR4EBPY.js";
|
|
19
19
|
import {
|
|
20
20
|
isIdempotencyConflict
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2ZAZ7ETT.js";
|
|
22
22
|
import {
|
|
23
23
|
isPendingApproval,
|
|
24
24
|
listAllReports
|
|
@@ -47,9 +47,9 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
defaultResendClient
|
|
49
49
|
} from "./chunk-WEKL2HYJ.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-BI2VI6EM.js";
|
|
51
|
+
import "./chunk-VSGMCCGQ.js";
|
|
52
|
+
import "./chunk-C3IQQKXL.js";
|
|
53
53
|
import "./chunk-RARREDQE.js";
|
|
54
54
|
import "./chunk-6VAL7XJT.js";
|
|
55
55
|
|
|
@@ -149,7 +149,7 @@ async function listPendingApproval(base) {
|
|
|
149
149
|
async function fetchNotifyBounceCounts(now) {
|
|
150
150
|
try {
|
|
151
151
|
const [{ openDb, readDbConfig }, { countNotifyBouncedBySite }, { screenOutsSince }] = await Promise.all([
|
|
152
|
-
import("./client-
|
|
152
|
+
import("./client-G2WGWPCA.js"),
|
|
153
153
|
import("./submissions-3I3GAQAX.js"),
|
|
154
154
|
import("./screenouts-7P5GOZMV.js")
|
|
155
155
|
]);
|
|
@@ -162,7 +162,7 @@ async function fetchNotifyBounceCounts(now) {
|
|
|
162
162
|
}
|
|
163
163
|
async function readDigestStateFromDb() {
|
|
164
164
|
const [{ openDb, readDbConfig }, { readDigestState }] = await Promise.all([
|
|
165
|
-
import("./client-
|
|
165
|
+
import("./client-G2WGWPCA.js"),
|
|
166
166
|
import("./digest-state-3KHZF7GD.js")
|
|
167
167
|
]);
|
|
168
168
|
return readDigestState(await openDb(readDbConfig()));
|
|
@@ -176,7 +176,7 @@ async function writeRollupOnce(options, now) {
|
|
|
176
176
|
}
|
|
177
177
|
async function writeDigestStateToDb(next) {
|
|
178
178
|
const [{ openDb, readDbConfig }, { writeDigestState: writeDigestState2 }] = await Promise.all([
|
|
179
|
-
import("./client-
|
|
179
|
+
import("./client-G2WGWPCA.js"),
|
|
180
180
|
import("./digest-state-3KHZF7GD.js")
|
|
181
181
|
]);
|
|
182
182
|
await writeDigestState2(await openDb(readDbConfig()), next);
|
|
@@ -184,11 +184,11 @@ async function writeDigestStateToDb(next) {
|
|
|
184
184
|
async function writeCockpitRollupToDb(now) {
|
|
185
185
|
if (!process.env.TURSO_DATABASE_URL) return "absent";
|
|
186
186
|
const [{ openDb, readDbConfig }, { writeCockpitRollup }, screenouts, submissions, collectors] = await Promise.all([
|
|
187
|
-
import("./client-
|
|
187
|
+
import("./client-G2WGWPCA.js"),
|
|
188
188
|
import("./digest-state-3KHZF7GD.js"),
|
|
189
189
|
import("./screenouts-7P5GOZMV.js"),
|
|
190
190
|
import("./submissions-3I3GAQAX.js"),
|
|
191
|
-
import("./digest-collectors-
|
|
191
|
+
import("./digest-collectors-DJFN5ZDK.js")
|
|
192
192
|
]);
|
|
193
193
|
const db = await openDb(readDbConfig());
|
|
194
194
|
const SCREEN_OUT_WINDOW_DAYS = 30;
|
|
@@ -242,7 +242,7 @@ var SUBMISSIONS_DIGEST_WINDOW_MS = 24 * 60 * 60 * 1e3;
|
|
|
242
242
|
async function fetchSubmissionsDigestCounts(now) {
|
|
243
243
|
try {
|
|
244
244
|
const [{ openDb, readDbConfig }, { countSubmissionsSinceBySite }] = await Promise.all([
|
|
245
|
-
import("./client-
|
|
245
|
+
import("./client-G2WGWPCA.js"),
|
|
246
246
|
import("./submissions-3I3GAQAX.js")
|
|
247
247
|
]);
|
|
248
248
|
const db = await openDb(readDbConfig());
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
renderDigestHtml,
|
|
425
425
|
runDigest
|
|
426
426
|
};
|
|
427
|
-
//# sourceMappingURL=digest-
|
|
427
|
+
//# sourceMappingURL=digest-7UBGUBRK.js.map
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
collectTurnstileGuardrailAlerts,
|
|
13
13
|
collectVulnAlerts,
|
|
14
14
|
prismicAckIsLive
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-KJRVMMM3.js";
|
|
16
|
+
import "./chunk-R5IMFAFR.js";
|
|
17
17
|
import "./chunk-PZR4EBPY.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2ZAZ7ETT.js";
|
|
19
19
|
import "./chunk-F3JWOPTG.js";
|
|
20
20
|
import "./chunk-VAD43MOR.js";
|
|
21
21
|
import "./chunk-IY6256GK.js";
|
|
@@ -27,9 +27,9 @@ import "./chunk-BGTYPVLT.js";
|
|
|
27
27
|
import "./chunk-5UINJNAJ.js";
|
|
28
28
|
import "./chunk-3Z6X3BHU.js";
|
|
29
29
|
import "./chunk-WEKL2HYJ.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-BI2VI6EM.js";
|
|
31
|
+
import "./chunk-VSGMCCGQ.js";
|
|
32
|
+
import "./chunk-C3IQQKXL.js";
|
|
33
33
|
import "./chunk-RARREDQE.js";
|
|
34
34
|
import "./chunk-6VAL7XJT.js";
|
|
35
35
|
export {
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
collectVulnAlerts,
|
|
48
48
|
prismicAckIsLive
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=digest-collectors-
|
|
50
|
+
//# sourceMappingURL=digest-collectors-DJFN5ZDK.js.map
|
|
@@ -66,7 +66,7 @@ async function runEnsureSiteCommand(slug, opts) {
|
|
|
66
66
|
if (!slug) return { output: "Provide a <slug> (e.g. `ensure-site roalson`).", code: 2 };
|
|
67
67
|
try {
|
|
68
68
|
const base = openBase(readAirtableConfig());
|
|
69
|
-
const { makeSiteMirror } = await import("./site-mirror-
|
|
69
|
+
const { makeSiteMirror } = await import("./site-mirror-WON4FTJ2.js");
|
|
70
70
|
const result = await ensureSite(
|
|
71
71
|
base,
|
|
72
72
|
{
|
|
@@ -93,4 +93,4 @@ async function runEnsureSiteCommand(slug, opts) {
|
|
|
93
93
|
export {
|
|
94
94
|
runEnsureSiteCommand
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=ensure-site-
|
|
96
|
+
//# sourceMappingURL=ensure-site-OAAE5YE2.js.map
|
|
@@ -144,7 +144,7 @@ async function runFormsNotifyTargetCommand(site, opts) {
|
|
|
144
144
|
return { output: `--set must be 'on' or 'off' (got '${opts.set}')`, code: 2 };
|
|
145
145
|
}
|
|
146
146
|
try {
|
|
147
|
-
const { makeSiteMirror } = await import("./site-mirror-
|
|
147
|
+
const { makeSiteMirror } = await import("./site-mirror-WON4FTJ2.js");
|
|
148
148
|
const result = await formsNotifyTarget({
|
|
149
149
|
siteMirror: await makeSiteMirror(),
|
|
150
150
|
site: site.trim(),
|
|
@@ -164,4 +164,4 @@ export {
|
|
|
164
164
|
formatNotifyTarget,
|
|
165
165
|
runFormsNotifyTargetCommand
|
|
166
166
|
};
|
|
167
|
-
//# sourceMappingURL=forms-notify-target-
|
|
167
|
+
//# sourceMappingURL=forms-notify-target-UC6PF3AE.js.map
|
|
@@ -24,9 +24,9 @@ import {
|
|
|
24
24
|
} from "./chunk-XHHMM5HX.js";
|
|
25
25
|
import {
|
|
26
26
|
recordFleetEventsBestEffort
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-BI2VI6EM.js";
|
|
28
|
+
import "./chunk-VSGMCCGQ.js";
|
|
29
|
+
import "./chunk-C3IQQKXL.js";
|
|
30
30
|
import "./chunk-LBYOLBW7.js";
|
|
31
31
|
import "./chunk-6VAL7XJT.js";
|
|
32
32
|
|
|
@@ -91,7 +91,7 @@ async function runGitHubSignalsCommand(opts, deps = {}) {
|
|
|
91
91
|
);
|
|
92
92
|
const sweptAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
93
93
|
const makeMirror = deps.makeMirror ?? (async () => {
|
|
94
|
-
const { makeHealthMirrorBestEffort } = await import("./health-mirror-
|
|
94
|
+
const { makeHealthMirrorBestEffort } = await import("./health-mirror-XJAKA3EY.js");
|
|
95
95
|
return makeHealthMirrorBestEffort();
|
|
96
96
|
});
|
|
97
97
|
const mirror = await makeMirror();
|
|
@@ -156,4 +156,4 @@ export {
|
|
|
156
156
|
githubSignalsExitCode,
|
|
157
157
|
runGitHubSignalsCommand
|
|
158
158
|
};
|
|
159
|
-
//# sourceMappingURL=github-signals-
|
|
159
|
+
//# sourceMappingURL=github-signals-TX5FPYP6.js.map
|
|
@@ -102,7 +102,7 @@ async function runHeaderImageCommand(site, opts) {
|
|
|
102
102
|
}
|
|
103
103
|
let withStore = opts;
|
|
104
104
|
if (opts.writeAirtable && !opts.storeDb && process.env.TURSO_DATABASE_URL) {
|
|
105
|
-
const { openDb, readDbConfig } = await import("./client-
|
|
105
|
+
const { openDb, readDbConfig } = await import("./client-G2WGWPCA.js");
|
|
106
106
|
const { storeHeaderImage } = await import("./header-images-SQBCE5OD.js");
|
|
107
107
|
const db = await openDb(readDbConfig());
|
|
108
108
|
withStore = { ...opts, storeDb: (id, img) => storeHeaderImage(db, id, img) };
|
|
@@ -115,4 +115,4 @@ export {
|
|
|
115
115
|
resolveTargets,
|
|
116
116
|
runHeaderImageCommand
|
|
117
117
|
};
|
|
118
|
-
//# sourceMappingURL=header-image-
|
|
118
|
+
//# sourceMappingURL=header-image-PSPT7CUM.js.map
|
|
@@ -12,8 +12,8 @@ import "./chunk-3Z6X3BHU.js";
|
|
|
12
12
|
import {
|
|
13
13
|
openDb,
|
|
14
14
|
readDbConfig
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-VSGMCCGQ.js";
|
|
16
|
+
import "./chunk-C3IQQKXL.js";
|
|
17
17
|
import "./chunk-6VAL7XJT.js";
|
|
18
18
|
|
|
19
19
|
// src/audits/health-mirror.ts
|
|
@@ -43,4 +43,4 @@ export {
|
|
|
43
43
|
makeHealthMirrorBestEffort,
|
|
44
44
|
makeScheduleMirrorBestEffort
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=health-mirror-
|
|
46
|
+
//# sourceMappingURL=health-mirror-XJAKA3EY.js.map
|
package/dist/index.js
CHANGED
|
@@ -24,16 +24,16 @@ import {
|
|
|
24
24
|
} from "./chunk-2LYOAB2E.js";
|
|
25
25
|
import "./chunk-J7SZQUCW.js";
|
|
26
26
|
import "./chunk-WSJ7RO54.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-ZCL7C5LH.js";
|
|
28
28
|
import "./chunk-DFKBTBO3.js";
|
|
29
29
|
import "./chunk-R53VL3RI.js";
|
|
30
30
|
import {
|
|
31
31
|
bumpDeps
|
|
32
32
|
} from "./chunk-CJ2RMTT7.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-KJRVMMM3.js";
|
|
34
34
|
import {
|
|
35
35
|
approveBlockers
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-R5IMFAFR.js";
|
|
37
37
|
import {
|
|
38
38
|
findDueReports
|
|
39
39
|
} from "./chunk-PZR4EBPY.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
parseAddresses,
|
|
42
42
|
sendApprovedReports,
|
|
43
43
|
withGlobalCc
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2ZAZ7ETT.js";
|
|
45
45
|
import {
|
|
46
46
|
isPendingApproval
|
|
47
47
|
} from "./chunk-F3JWOPTG.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
isHealthGateClear
|
|
52
52
|
} from "./chunk-VAD43MOR.js";
|
|
53
53
|
import "./chunk-BRYXFH77.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-XPJQXSC4.js";
|
|
55
55
|
import {
|
|
56
56
|
fromAirtableBase
|
|
57
57
|
} from "./chunk-5GUJ36TL.js";
|
|
@@ -106,9 +106,9 @@ import {
|
|
|
106
106
|
fromJsonFile,
|
|
107
107
|
localPath
|
|
108
108
|
} from "./chunk-Z3JXLULD.js";
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
111
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-BI2VI6EM.js";
|
|
110
|
+
import "./chunk-VSGMCCGQ.js";
|
|
111
|
+
import "./chunk-C3IQQKXL.js";
|
|
112
112
|
import {
|
|
113
113
|
lighthouseAudit
|
|
114
114
|
} from "./chunk-2NQUCS7O.js";
|
|
@@ -454,8 +454,8 @@ async function runLaunchCommand(site, opts) {
|
|
|
454
454
|
if (!target) {
|
|
455
455
|
return { output: `No site resolved for "${site}".`, code: 1 };
|
|
456
456
|
}
|
|
457
|
-
const { makeReportMirror } = await import("./report-mirror-
|
|
458
|
-
const { makeSiteMirror } = await import("./site-mirror-
|
|
457
|
+
const { makeReportMirror } = await import("./report-mirror-HDTOJE64.js");
|
|
458
|
+
const { makeSiteMirror } = await import("./site-mirror-WON4FTJ2.js");
|
|
459
459
|
const result = await launch(target, {
|
|
460
460
|
reportMirror: await makeReportMirror(),
|
|
461
461
|
siteMirror: await makeSiteMirror()
|
|
@@ -466,4 +466,4 @@ export {
|
|
|
466
466
|
formatStep,
|
|
467
467
|
runLaunchCommand
|
|
468
468
|
};
|
|
469
|
-
//# sourceMappingURL=launch-
|
|
469
|
+
//# sourceMappingURL=launch-UD36AHUN.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-Z2K4JPQ3.js";
|
|
12
12
|
import {
|
|
13
13
|
matchHarness
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZCL7C5LH.js";
|
|
15
15
|
import "./chunk-R53VL3RI.js";
|
|
16
16
|
import "./chunk-ZQV7UQNE.js";
|
|
17
17
|
import "./chunk-Z3JXLULD.js";
|
|
@@ -67,4 +67,4 @@ async function runMatchHarnessCommand(site, opts) {
|
|
|
67
67
|
export {
|
|
68
68
|
runMatchHarnessCommand
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=match-harness-
|
|
70
|
+
//# sourceMappingURL=match-harness-QRG6XZAR.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
parseAddresses,
|
|
5
5
|
sendApprovedReports,
|
|
6
6
|
withGlobalCc
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2ZAZ7ETT.js";
|
|
8
8
|
import "./chunk-F3JWOPTG.js";
|
|
9
9
|
import "./chunk-VAD43MOR.js";
|
|
10
10
|
import "./chunk-IY6256GK.js";
|
|
@@ -16,9 +16,9 @@ import "./chunk-BGTYPVLT.js";
|
|
|
16
16
|
import "./chunk-5UINJNAJ.js";
|
|
17
17
|
import "./chunk-3Z6X3BHU.js";
|
|
18
18
|
import "./chunk-WEKL2HYJ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-BI2VI6EM.js";
|
|
20
|
+
import "./chunk-VSGMCCGQ.js";
|
|
21
|
+
import "./chunk-C3IQQKXL.js";
|
|
22
22
|
import "./chunk-RARREDQE.js";
|
|
23
23
|
import "./chunk-6VAL7XJT.js";
|
|
24
24
|
export {
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
sendApprovedReports,
|
|
29
29
|
withGlobalCc
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=orchestrate-
|
|
31
|
+
//# sourceMappingURL=orchestrate-HYVQPRCE.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
preflight
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R5IMFAFR.js";
|
|
4
4
|
import "./chunk-PZR4EBPY.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-2ZAZ7ETT.js";
|
|
6
6
|
import "./chunk-F3JWOPTG.js";
|
|
7
7
|
import "./chunk-VAD43MOR.js";
|
|
8
8
|
import "./chunk-IY6256GK.js";
|
|
@@ -14,9 +14,9 @@ import "./chunk-BGTYPVLT.js";
|
|
|
14
14
|
import "./chunk-5UINJNAJ.js";
|
|
15
15
|
import "./chunk-3Z6X3BHU.js";
|
|
16
16
|
import "./chunk-WEKL2HYJ.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-BI2VI6EM.js";
|
|
18
|
+
import "./chunk-VSGMCCGQ.js";
|
|
19
|
+
import "./chunk-C3IQQKXL.js";
|
|
20
20
|
import "./chunk-RARREDQE.js";
|
|
21
21
|
import "./chunk-6VAL7XJT.js";
|
|
22
22
|
|
|
@@ -67,4 +67,4 @@ async function runPreflightCommand(site, opts) {
|
|
|
67
67
|
export {
|
|
68
68
|
runPreflightCommand
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=preflight-
|
|
70
|
+
//# sourceMappingURL=preflight-RYIP54NY.js.map
|
|
@@ -169,7 +169,7 @@ var defaultDeps = () => ({
|
|
|
169
169
|
const { listWebsites, updatePrismicModels } = await import("./websites-TB4TCAWM.js");
|
|
170
170
|
const base = openBase(readAirtableConfig());
|
|
171
171
|
const websites = await listWebsites(base);
|
|
172
|
-
const { makeSiteMirror } = await import("./site-mirror-
|
|
172
|
+
const { makeSiteMirror } = await import("./site-mirror-WON4FTJ2.js");
|
|
173
173
|
const mirror = await makeSiteMirror();
|
|
174
174
|
return {
|
|
175
175
|
websites: websites.map((w) => ({ id: w.id, name: w.name })),
|
|
@@ -1022,4 +1022,4 @@ export {
|
|
|
1022
1022
|
sweepRowWriteback,
|
|
1023
1023
|
writeSweepToAirtable
|
|
1024
1024
|
};
|
|
1025
|
-
//# sourceMappingURL=prismic-models-
|
|
1025
|
+
//# sourceMappingURL=prismic-models-P6FWWVRS.js.map
|
|
@@ -152,8 +152,8 @@ async function runProspectAuditCommand(url, opts) {
|
|
|
152
152
|
let auditId = null;
|
|
153
153
|
if (canPersist) {
|
|
154
154
|
try {
|
|
155
|
-
const { openDb, readDbConfig } = await import("./client-
|
|
156
|
-
const { createProspectAudit } = await import("./prospect-audits-
|
|
155
|
+
const { openDb, readDbConfig } = await import("./client-G2WGWPCA.js");
|
|
156
|
+
const { createProspectAudit } = await import("./prospect-audits-R3LWF6U7.js");
|
|
157
157
|
const db = await openDb(readDbConfig());
|
|
158
158
|
const created = await createProspectAudit(db, {
|
|
159
159
|
url: result.url,
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
GOALS,
|
|
214
214
|
runProspectAuditCommand
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=prospect-audit-
|
|
216
|
+
//# sourceMappingURL=prospect-audit-PRHU53HS.js.map
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MAX_RECENT_PROSPECT_AUDITS,
|
|
3
|
+
OVERRIDES_MAX_LEN,
|
|
3
4
|
createProspectAudit,
|
|
4
5
|
generateToken,
|
|
5
6
|
getProspectAuditByToken,
|
|
6
7
|
isValidToken,
|
|
7
8
|
listRecentProspectAudits,
|
|
8
9
|
newProspectAuditId,
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
setProspectAuditOverrides,
|
|
11
|
+
siteKey,
|
|
12
|
+
touchProspectAuditOpened
|
|
13
|
+
} from "./chunk-XPJQXSC4.js";
|
|
11
14
|
export {
|
|
12
15
|
MAX_RECENT_PROSPECT_AUDITS,
|
|
16
|
+
OVERRIDES_MAX_LEN,
|
|
13
17
|
createProspectAudit,
|
|
14
18
|
generateToken,
|
|
15
19
|
getProspectAuditByToken,
|
|
16
20
|
isValidToken,
|
|
17
21
|
listRecentProspectAudits,
|
|
18
22
|
newProspectAuditId,
|
|
19
|
-
|
|
23
|
+
setProspectAuditOverrides,
|
|
24
|
+
siteKey,
|
|
25
|
+
touchProspectAuditOpened
|
|
20
26
|
};
|
|
21
|
-
//# sourceMappingURL=prospect-audits-
|
|
27
|
+
//# sourceMappingURL=prospect-audits-R3LWF6U7.js.map
|
|
@@ -78,14 +78,14 @@ function dashboardBaseUrl() {
|
|
|
78
78
|
}
|
|
79
79
|
async function runReportCommand(slug, opts) {
|
|
80
80
|
if (opts.digest) {
|
|
81
|
-
const { runDigest } = await import("./digest-
|
|
81
|
+
const { runDigest } = await import("./digest-7UBGUBRK.js");
|
|
82
82
|
return runDigest({ baseUrl: dashboardBaseUrl() });
|
|
83
83
|
}
|
|
84
84
|
if (opts.sendReady) {
|
|
85
|
-
const { sendApprovedReports } = await import("./orchestrate-
|
|
86
|
-
const { makeSiteMirror } = await import("./site-mirror-
|
|
85
|
+
const { sendApprovedReports } = await import("./orchestrate-HYVQPRCE.js");
|
|
86
|
+
const { makeSiteMirror } = await import("./site-mirror-WON4FTJ2.js");
|
|
87
87
|
const { mirrorWrite } = await import("./freeze-A6MUCZU4.js");
|
|
88
|
-
const { openDb, readDbConfig } = await import("./client-
|
|
88
|
+
const { openDb, readDbConfig } = await import("./client-G2WGWPCA.js");
|
|
89
89
|
const { mirrorReportPatch } = await import("./fleet-state-UEVZ3X3J.js");
|
|
90
90
|
return sendApprovedReports({
|
|
91
91
|
siteMirror: await makeSiteMirror(),
|
|
@@ -105,7 +105,7 @@ async function runReportCommand(slug, opts) {
|
|
|
105
105
|
if (opts.rerender) {
|
|
106
106
|
const { rerenderReport, formatRerenderResult } = await import("./rerender-3FM6DNRH.js");
|
|
107
107
|
const { renderReportFromRow } = await import("./render-from-row-IFSBHWDH.js");
|
|
108
|
-
const { openDb, readDbConfig } = await import("./client-
|
|
108
|
+
const { openDb, readDbConfig } = await import("./client-G2WGWPCA.js");
|
|
109
109
|
const { getReportById, getSiteById, storeRenderedHtml } = await import("./fleet-state-UEVZ3X3J.js");
|
|
110
110
|
const { loadHeaderImage } = await import("./header-images-SQBCE5OD.js");
|
|
111
111
|
const { fetchAttachmentBytes } = await import("./attachments-NLZIJ5NU.js");
|
|
@@ -145,9 +145,9 @@ async function runReportCommand(slug, opts) {
|
|
|
145
145
|
}
|
|
146
146
|
async function runDueDraft() {
|
|
147
147
|
const base = openBase(readAirtableConfig());
|
|
148
|
-
const { makeScheduleMirrorBestEffort } = await import("./health-mirror-
|
|
149
|
-
const { makeReportMirror } = await import("./report-mirror-
|
|
150
|
-
const { makeSiteMirror } = await import("./site-mirror-
|
|
148
|
+
const { makeScheduleMirrorBestEffort } = await import("./health-mirror-XJAKA3EY.js");
|
|
149
|
+
const { makeReportMirror } = await import("./report-mirror-HDTOJE64.js");
|
|
150
|
+
const { makeSiteMirror } = await import("./site-mirror-WON4FTJ2.js");
|
|
151
151
|
const result = await draftDueReports(
|
|
152
152
|
base,
|
|
153
153
|
/* @__PURE__ */ new Date(),
|
|
@@ -337,8 +337,8 @@ async function runSingleSiteDraft(slug, opts) {
|
|
|
337
337
|
if (!site) {
|
|
338
338
|
throw Object.assign(new Error(`No Websites row matched slug "${slug}"`), { exitCode: 2 });
|
|
339
339
|
}
|
|
340
|
-
const reportMirror = opts.previewOnly ? null : await (await import("./report-mirror-
|
|
341
|
-
const siteMirror = opts.previewOnly ? null : await (await import("./site-mirror-
|
|
340
|
+
const reportMirror = opts.previewOnly ? null : await (await import("./report-mirror-HDTOJE64.js")).makeReportMirror();
|
|
341
|
+
const siteMirror = opts.previewOnly ? null : await (await import("./site-mirror-WON4FTJ2.js")).makeSiteMirror();
|
|
342
342
|
const result = await draftReportForSite(opts.previewOnly ? null : base, site, opts.reportType, {
|
|
343
343
|
previewOnly: opts.previewOnly,
|
|
344
344
|
// Only forced on. Left undefined, draftReportForSite keeps its default
|
|
@@ -366,4 +366,4 @@ export {
|
|
|
366
366
|
runReportCommand,
|
|
367
367
|
writeNextDueDates
|
|
368
368
|
};
|
|
369
|
-
//# sourceMappingURL=report-
|
|
369
|
+
//# sourceMappingURL=report-LQS4ECTM.js.map
|
|
@@ -13,8 +13,8 @@ import "./chunk-3Z6X3BHU.js";
|
|
|
13
13
|
import {
|
|
14
14
|
openDb,
|
|
15
15
|
readDbConfig
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-VSGMCCGQ.js";
|
|
17
|
+
import "./chunk-C3IQQKXL.js";
|
|
18
18
|
import "./chunk-6VAL7XJT.js";
|
|
19
19
|
|
|
20
20
|
// src/reports/report-mirror.ts
|
|
@@ -52,4 +52,4 @@ async function makeReportMirror(open = () => openDb(readDbConfig()), strict = TU
|
|
|
52
52
|
export {
|
|
53
53
|
makeReportMirror
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=report-mirror-
|
|
55
|
+
//# sourceMappingURL=report-mirror-HDTOJE64.js.map
|