@getvitops/generator 2.0.0 → 2.1.0
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/CHANGELOG.md +72 -0
- package/dist/index.d.mts +69 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +46 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/site.schema.json +64 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getvitops/generator",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Generate design-system outputs (Bricks, standalone CSS, Tailwind v4) from a design-system.json.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"@iconify/utils": "^2.3.0",
|
|
29
29
|
"lightningcss": "^1.32.0",
|
|
30
30
|
"zod": "^4.1.13",
|
|
31
|
-
"@getvitops/utils": "2.
|
|
31
|
+
"@getvitops/utils": "2.1.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@iconify/types": "^2.0.0",
|
|
35
35
|
"vitest": "^4.1.9",
|
|
36
|
-
"@getvitops/core": "2.
|
|
36
|
+
"@getvitops/core": "2.1.0"
|
|
37
37
|
}
|
|
38
38
|
}
|
package/site.schema.json
CHANGED
|
@@ -2040,7 +2040,7 @@
|
|
|
2040
2040
|
"additionalProperties": false
|
|
2041
2041
|
},
|
|
2042
2042
|
"seo": {
|
|
2043
|
-
"description": "SEO defaults: title/description templates, robots policy, verification tokens, Open Graph + Twitter cards.",
|
|
2043
|
+
"description": "SEO defaults: title/description templates, robots policy, verification tokens, Open Graph + Twitter cards, and post-deploy indexing notification.",
|
|
2044
2044
|
"type": "object",
|
|
2045
2045
|
"properties": {
|
|
2046
2046
|
"titleTemplate": {
|
|
@@ -2221,6 +2221,69 @@
|
|
|
2221
2221
|
}
|
|
2222
2222
|
},
|
|
2223
2223
|
"additionalProperties": false
|
|
2224
|
+
},
|
|
2225
|
+
"indexing": {
|
|
2226
|
+
"description": "How `vitops notify` tells search engines about a deploy: which sitemap, IndexNow key, Search Console property, and which pages to verify afterwards.",
|
|
2227
|
+
"type": "object",
|
|
2228
|
+
"properties": {
|
|
2229
|
+
"sitemapUrl": {
|
|
2230
|
+
"description": "The sitemap to submit and to diff for changed URLs. Defaults to `<canonical>/sitemap-index.xml`.",
|
|
2231
|
+
"type": "string",
|
|
2232
|
+
"format": "uri"
|
|
2233
|
+
},
|
|
2234
|
+
"indexNow": {
|
|
2235
|
+
"description": "IndexNow submission (Bing, Yandex, Naver, Seznam, Yep — not Google). Omit to skip the channel.",
|
|
2236
|
+
"type": "object",
|
|
2237
|
+
"properties": {
|
|
2238
|
+
"key": {
|
|
2239
|
+
"type": "string",
|
|
2240
|
+
"pattern": "^[a-zA-Z0-9-]{8,128}$",
|
|
2241
|
+
"description": "IndexNow key (8–128 chars, hex is conventional). NOT a secret — it is served publicly at `keyLocation` so the engine can verify you own the host. Generate one with `vitops notify --new-key`."
|
|
2242
|
+
},
|
|
2243
|
+
"keyLocation": {
|
|
2244
|
+
"description": "Absolute URL of the key file. Defaults to `<canonical>/<key>.txt`; set it only when the file lives elsewhere.",
|
|
2245
|
+
"type": "string",
|
|
2246
|
+
"format": "uri"
|
|
2247
|
+
},
|
|
2248
|
+
"endpoint": {
|
|
2249
|
+
"description": "IndexNow endpoint (default `https://api.indexnow.org/indexnow`). Any participating engine shares submissions with the rest, so one is normally enough.",
|
|
2250
|
+
"type": "string",
|
|
2251
|
+
"format": "uri"
|
|
2252
|
+
}
|
|
2253
|
+
},
|
|
2254
|
+
"required": [
|
|
2255
|
+
"key"
|
|
2256
|
+
],
|
|
2257
|
+
"additionalProperties": false
|
|
2258
|
+
},
|
|
2259
|
+
"searchConsole": {
|
|
2260
|
+
"description": "Google Search Console property. Needs a service-account credential in `VITOPS_GSC_SERVICE_ACCOUNT` or `GOOGLE_APPLICATION_CREDENTIALS` at run time — never put the key in this file.",
|
|
2261
|
+
"type": "object",
|
|
2262
|
+
"properties": {
|
|
2263
|
+
"siteUrl": {
|
|
2264
|
+
"type": "string",
|
|
2265
|
+
"description": "The property exactly as Search Console identifies it — `sc-domain:acme.ca` for a domain property, or the URL-prefix form `https://acme.ca/`. A mismatch here is a 403, not a \"not found\"."
|
|
2266
|
+
},
|
|
2267
|
+
"resubmitSitemap": {
|
|
2268
|
+
"description": "Re-submit the sitemap through the Search Console API on each notify (default true when `searchConsole` is set). This is the automated equivalent of the manual resubmit in the UI.",
|
|
2269
|
+
"type": "boolean"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
"required": [
|
|
2273
|
+
"siteUrl"
|
|
2274
|
+
],
|
|
2275
|
+
"additionalProperties": false
|
|
2276
|
+
},
|
|
2277
|
+
"priorityUrls": {
|
|
2278
|
+
"description": "The pages whose indexing actually matters. `vitops notify --check` inspects these and exits non-zero if Google has not indexed one. Kept explicit because URL Inspection is quota-bound (2000/day), so checking every page is neither affordable nor informative.",
|
|
2279
|
+
"type": "array",
|
|
2280
|
+
"items": {
|
|
2281
|
+
"type": "string",
|
|
2282
|
+
"format": "uri"
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
"additionalProperties": false
|
|
2224
2287
|
}
|
|
2225
2288
|
},
|
|
2226
2289
|
"additionalProperties": false
|