@gscdump/cli 1.4.3 → 1.4.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/commands/entities.mjs +6 -3
- package/dist/package.mjs +1 -1
- package/package.json +5 -5
|
@@ -4,7 +4,7 @@ import process from "node:process";
|
|
|
4
4
|
import { defineCommand } from "citty";
|
|
5
5
|
import { readFile } from "node:fs/promises";
|
|
6
6
|
import { Buffer } from "node:buffer";
|
|
7
|
-
import { createIndexingMetadataStore, createInspectionStore, createSitemapStore } from "@gscdump/engine/entities";
|
|
7
|
+
import { createIndexingMetadataStore, createInspectionStore, createSitemapReadStore, createSitemapStore } from "@gscdump/engine/entities";
|
|
8
8
|
const INSPECTION_QPD_PER_PROPERTY = 2e3;
|
|
9
9
|
const INDEXING_NOT_FOUND_RE = /\b404\b|NOT_FOUND/i;
|
|
10
10
|
const INSPECTION_HISTORY_LOOKBACK_MONTHS = 24;
|
|
@@ -222,7 +222,10 @@ const sitemapsSnapshotSubCommand = defineCommand({
|
|
|
222
222
|
})),
|
|
223
223
|
raw: s
|
|
224
224
|
}));
|
|
225
|
-
await createSitemapStore({
|
|
225
|
+
await createSitemapStore({
|
|
226
|
+
dataSource: store.dataSource,
|
|
227
|
+
withMutation: store.withSitemapMutation
|
|
228
|
+
}).writeSnapshot({
|
|
226
229
|
userId: store.userId,
|
|
227
230
|
siteId: store.siteIdFor(siteUrl)
|
|
228
231
|
}, records);
|
|
@@ -271,7 +274,7 @@ const sitemapsShowSubCommand = defineCommand({
|
|
|
271
274
|
});
|
|
272
275
|
const store = ctx.store;
|
|
273
276
|
const siteUrl = await ctx.resolveSite(args.site ? String(args.site) : void 0);
|
|
274
|
-
const record = await
|
|
277
|
+
const record = await createSitemapReadStore({ dataSource: store.dataSource }).getLatest({
|
|
275
278
|
userId: store.userId,
|
|
276
279
|
siteId: store.siteIdFor(siteUrl)
|
|
277
280
|
}, String(args.path));
|
package/dist/package.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var version = "1.4.
|
|
1
|
+
var version = "1.4.5";
|
|
2
2
|
export { version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gscdump/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.5",
|
|
5
5
|
"description": "CLI for Google Search Console - dump, query, and run MCP server",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Harlan Wilton",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"ofetch": "^1.5.1",
|
|
57
57
|
"open": "^11.0.0",
|
|
58
58
|
"zod": "^4.4.3",
|
|
59
|
-
"@gscdump/engine": "^1.4.
|
|
60
|
-
"@gscdump/
|
|
61
|
-
"
|
|
62
|
-
"gscdump": "^1.4.
|
|
59
|
+
"@gscdump/engine": "^1.4.5",
|
|
60
|
+
"@gscdump/engine-gsc-api": "^1.4.5",
|
|
61
|
+
"gscdump": "^1.4.5",
|
|
62
|
+
"@gscdump/analysis": "^1.4.5"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"vitest": "^4.1.10"
|