gt 2.26.1 → 2.26.2
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 +6 -0
- package/dist/formats/files/postprocess/localizeMintlifyRedirects.js +3 -1
- package/dist/formats/files/postprocess/localizeMintlifyRedirects.js.map +1 -1
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/generated/version.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# gtx-cli
|
|
2
2
|
|
|
3
|
+
## 2.26.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2437](https://github.com/generaltranslation/gt/pull/2437) [`d7943fe`](https://github.com/generaltranslation/gt/commit/d7943fee01740975387a6e1ff43a71c8ed78b886) Thanks [@fernando-aviles](https://github.com/fernando-aviles)! - Stop `options.mintlify.localizeRedirects` from adding nested-locale redirects (such as `/docs/ja-jp/fr-ca/...`) when translated pages are orphaned.
|
|
8
|
+
|
|
3
9
|
## 2.26.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -40,6 +40,8 @@ function localizeMintlifyRedirects(settings, orphanedFileNames) {
|
|
|
40
40
|
const localized = transformUrlPath(url, urlPatternHead, locale, settings.defaultLocale, settings.options?.experimentalHideDefaultLocale ?? false);
|
|
41
41
|
return localized === null ? null : normalizeUrl(localized);
|
|
42
42
|
};
|
|
43
|
+
const localeSegmentIndex = urlPatternHead.split("/").filter(Boolean).length;
|
|
44
|
+
const isLocalized = (url) => targetLocales.includes(url.split("/").filter(Boolean)[localeSegmentIndex]);
|
|
43
45
|
const takenSources = new Set(location.redirects.filter(isRedirect).map((r) => normalizeUrl(r.source)));
|
|
44
46
|
const added = [];
|
|
45
47
|
const updated = location.redirects.flatMap((entry) => {
|
|
@@ -47,7 +49,7 @@ function localizeMintlifyRedirects(settings, orphanedFileNames) {
|
|
|
47
49
|
const [destinationPath, anchor] = splitAnchor(entry.destination);
|
|
48
50
|
const sourceUrl = normalizeUrl(entry.source);
|
|
49
51
|
const destinationUrl = normalizeUrl(destinationPath);
|
|
50
|
-
if (!oldPageUrls.has(sourceUrl)) return [entry];
|
|
52
|
+
if (!oldPageUrls.has(sourceUrl) || isLocalized(sourceUrl) || isLocalized(destinationUrl)) return [entry];
|
|
51
53
|
const localized = [];
|
|
52
54
|
for (const locale of targetLocales) {
|
|
53
55
|
const localizedSource = localizeUrl(sourceUrl, locale);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localizeMintlifyRedirects.js","names":[],"sources":["../../../../src/formats/files/postprocess/localizeMintlifyRedirects.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\nimport { createDiagnosticMessage } from 'generaltranslation/diagnostics';\nimport { logger } from '../../../console/logger.js';\nimport { getRelative } from '../../../fs/findFilepath.js';\nimport loadJSON from '../../../fs/loadJSON.js';\nimport type { Settings } from '../../../types/index.js';\nimport {\n INDEX_PAGE,\n PAGE_EXTENSIONS,\n transformUrlPath,\n translationMissing,\n} from '../../../utils/localizeStaticUrls.js';\nimport { createFileMapping } from '../fileMapping.js';\n\ntype Redirect = { source: string; destination: string; permanent?: unknown };\n\nconst missingDocsUrlPatternWarning = createDiagnosticMessage({\n source: 'gt',\n severity: 'Warning',\n whatHappened: 'Localized redirects were not added',\n why: 'options.mintlify.localizeRedirects uses options.docsUrlPattern to place the locale in redirect URLs',\n fix: 'Set options.docsUrlPattern in gt.config.json, such as \"/docs/[locale]\"',\n});\n\n/**\n * Adds localized copies of the English redirects whose source is a renamed or\n * removed page, and returns the redirects it added. Orphaned file names come\n * from the upload step, so redirects for pages GT never translated are never\n * localized. URLs are localized like links inside\n * pages: with docsUrlPattern, and not for locales missing the destination's\n * translation.\n */\nexport function localizeMintlifyRedirects(\n settings: Settings,\n orphanedFileNames: string[]\n): Redirect[] {\n if (\n settings.options?.mintlify?.localizeRedirects !== true ||\n !settings.files\n ) {\n return [];\n }\n const urlPattern = settings.options.docsUrlPattern;\n if (!urlPattern) {\n logger.warn(missingDocsUrlPatternWarning);\n return [];\n }\n const location = readRedirects(path.resolve('docs.json'));\n if (!location) return [];\n\n const oldPageUrls = new Set(\n orphanedFileNames\n .filter((fileName) => PAGE_EXTENSIONS.includes(path.extname(fileName)))\n .map(pageUrl)\n );\n\n const targetLocales = settings.locales.filter(\n (locale) => locale !== settings.defaultLocale\n );\n const { files } = settings;\n const fileMapping = createFileMapping(\n files.resolvedPaths,\n files.placeholderPaths,\n files.transformPaths,\n files.transformFormats,\n targetLocales,\n settings.defaultLocale\n );\n // Localize URLs the way links inside pages are localized\n const urlPatternHead = urlPattern.split('[locale]')[0];\n const localizeUrl = (url: string, locale: string) => {\n const localized = transformUrlPath(\n url,\n urlPatternHead,\n locale,\n settings.defaultLocale,\n settings.options?.experimentalHideDefaultLocale ?? false\n );\n return localized === null ? null : normalizeUrl(localized);\n };\n const takenSources = new Set(\n location.redirects.filter(isRedirect).map((r) => normalizeUrl(r.source))\n );\n\n const added: Redirect[] = [];\n const updated = location.redirects.flatMap((entry) => {\n if (!isRedirect(entry)) return [entry];\n const [destinationPath, anchor] = splitAnchor(entry.destination);\n const sourceUrl = normalizeUrl(entry.source);\n const destinationUrl = normalizeUrl(destinationPath);\n if (!oldPageUrls.has(sourceUrl)) return [entry];\n\n const localized: Redirect[] = [];\n for (const locale of targetLocales) {\n const localizedSource = localizeUrl(sourceUrl, locale);\n const localizedDestination = localizeUrl(destinationUrl, locale);\n if (\n !localizedSource ||\n !localizedDestination ||\n localizedSource === localizedDestination ||\n takenSources.has(localizedSource) ||\n translationMissing(\n destinationUrl,\n localizedDestination,\n fileMapping[locale] ?? {}\n )\n ) {\n continue;\n }\n takenSources.add(localizedSource);\n localized.push({\n source: localizedSource,\n destination: `${localizedDestination}${anchor}`,\n ...('permanent' in entry && { permanent: entry.permanent }),\n });\n }\n added.push(...localized);\n return [entry, ...localized];\n });\n\n if (added.length > 0) location.write(updated);\n return added;\n}\n\nfunction isRedirect(entry: unknown): entry is Redirect {\n return (\n typeof (entry as Redirect)?.source === 'string' &&\n typeof (entry as Redirect)?.destination === 'string'\n );\n}\n\n/** Splits `/docs/page#section` into `/docs/page` and `#section`. */\nfunction splitAnchor(url: string): [string, string] {\n const anchorStart = url.indexOf('#');\n return anchorStart === -1\n ? [url, '']\n : [url.slice(0, anchorStart), url.slice(anchorStart)];\n}\n\n/**\n * The URL of a page file: its path without the extension. Like static URL\n * localization, URLs are relative to the working directory.\n */\nfunction pageUrl(fileName: string): string {\n const relative = getRelative(fileName);\n return normalizeUrl(\n relative\n .slice(0, relative.length - path.extname(relative).length)\n .split(path.sep)\n .join('/')\n );\n}\n\n/**\n * Leading slash, no trailing slash, and index pages named by their folder, so\n * equivalent spellings compare equal.\n */\nfunction normalizeUrl(url: string): string {\n const segments = url.split('/').filter(Boolean);\n if (segments.at(-1) === INDEX_PAGE) segments.pop();\n return `/${segments.join('/')}`;\n}\n\n/**\n * Finds the redirects array in docs.json, either inline or at the end of its\n * `$ref` chain, and returns a writer for the file that holds it.\n */\nfunction readRedirects(\n docsJsonPath: string\n): { redirects: unknown[]; write: (redirects: unknown[]) => void } | null {\n const docsJson = loadJSON(docsJsonPath);\n let holder = docsJsonPath;\n let value: unknown = docsJson?.redirects;\n const visited = new Set([holder]);\n while (typeof (value as { $ref?: unknown })?.$ref === 'string') {\n holder = path.resolve(\n path.dirname(holder),\n (value as { $ref: string }).$ref\n );\n if (visited.has(holder)) return null;\n visited.add(holder);\n value = loadJSON(holder);\n }\n if (!Array.isArray(value)) return null;\n\n const redirectsFile = holder;\n return {\n redirects: value,\n write: (updated) =>\n fs.writeFileSync(\n redirectsFile,\n JSON.stringify(\n redirectsFile === docsJsonPath\n ? { ...docsJson, redirects: updated }\n : updated,\n null,\n 2\n )\n ),\n };\n}\n"],"mappings":";;;;;;;;;AAiBA,MAAM,+BAA+B,wBAAwB;CAC3D,QAAQ;CACR,UAAU;CACV,cAAc;CACd,KAAK;CACL,KAAK;CACN,CAAC;;;;;;;;;AAUF,SAAgB,0BACd,UACA,mBACY;AACZ,KACE,SAAS,SAAS,UAAU,sBAAsB,QAClD,CAAC,SAAS,MAEV,QAAO,EAAE;CAEX,MAAM,aAAa,SAAS,QAAQ;AACpC,KAAI,CAAC,YAAY;AACf,SAAO,KAAK,6BAA6B;AACzC,SAAO,EAAE;;CAEX,MAAM,WAAW,cAAc,KAAK,QAAQ,YAAY,CAAC;AACzD,KAAI,CAAC,SAAU,QAAO,EAAE;CAExB,MAAM,cAAc,IAAI,IACtB,kBACG,QAAQ,aAAa,gBAAgB,SAAS,KAAK,QAAQ,SAAS,CAAC,CAAC,CACtE,IAAI,QAAQ,CAChB;CAED,MAAM,gBAAgB,SAAS,QAAQ,QACpC,WAAW,WAAW,SAAS,cACjC;CACD,MAAM,EAAE,UAAU;CAClB,MAAM,cAAc,kBAClB,MAAM,eACN,MAAM,kBACN,MAAM,gBACN,MAAM,kBACN,eACA,SAAS,cACV;CAED,MAAM,iBAAiB,WAAW,MAAM,WAAW,CAAC;CACpD,MAAM,eAAe,KAAa,WAAmB;EACnD,MAAM,YAAY,iBAChB,KACA,gBACA,QACA,SAAS,eACT,SAAS,SAAS,iCAAiC,MACpD;AACD,SAAO,cAAc,OAAO,OAAO,aAAa,UAAU;;
|
|
1
|
+
{"version":3,"file":"localizeMintlifyRedirects.js","names":[],"sources":["../../../../src/formats/files/postprocess/localizeMintlifyRedirects.ts"],"sourcesContent":["import fs from 'node:fs';\nimport path from 'node:path';\nimport { createDiagnosticMessage } from 'generaltranslation/diagnostics';\nimport { logger } from '../../../console/logger.js';\nimport { getRelative } from '../../../fs/findFilepath.js';\nimport loadJSON from '../../../fs/loadJSON.js';\nimport type { Settings } from '../../../types/index.js';\nimport {\n INDEX_PAGE,\n PAGE_EXTENSIONS,\n transformUrlPath,\n translationMissing,\n} from '../../../utils/localizeStaticUrls.js';\nimport { createFileMapping } from '../fileMapping.js';\n\ntype Redirect = { source: string; destination: string; permanent?: unknown };\n\nconst missingDocsUrlPatternWarning = createDiagnosticMessage({\n source: 'gt',\n severity: 'Warning',\n whatHappened: 'Localized redirects were not added',\n why: 'options.mintlify.localizeRedirects uses options.docsUrlPattern to place the locale in redirect URLs',\n fix: 'Set options.docsUrlPattern in gt.config.json, such as \"/docs/[locale]\"',\n});\n\n/**\n * Adds localized copies of the English redirects whose source is a renamed or\n * removed page, and returns the redirects it added. Orphaned file names come\n * from the upload step, so redirects for pages GT never translated are never\n * localized. URLs are localized like links inside\n * pages: with docsUrlPattern, and not for locales missing the destination's\n * translation.\n */\nexport function localizeMintlifyRedirects(\n settings: Settings,\n orphanedFileNames: string[]\n): Redirect[] {\n if (\n settings.options?.mintlify?.localizeRedirects !== true ||\n !settings.files\n ) {\n return [];\n }\n const urlPattern = settings.options.docsUrlPattern;\n if (!urlPattern) {\n logger.warn(missingDocsUrlPatternWarning);\n return [];\n }\n const location = readRedirects(path.resolve('docs.json'));\n if (!location) return [];\n\n const oldPageUrls = new Set(\n orphanedFileNames\n .filter((fileName) => PAGE_EXTENSIONS.includes(path.extname(fileName)))\n .map(pageUrl)\n );\n\n const targetLocales = settings.locales.filter(\n (locale) => locale !== settings.defaultLocale\n );\n const { files } = settings;\n const fileMapping = createFileMapping(\n files.resolvedPaths,\n files.placeholderPaths,\n files.transformPaths,\n files.transformFormats,\n targetLocales,\n settings.defaultLocale\n );\n // Localize URLs the way links inside pages are localized\n const urlPatternHead = urlPattern.split('[locale]')[0];\n const localizeUrl = (url: string, locale: string) => {\n const localized = transformUrlPath(\n url,\n urlPatternHead,\n locale,\n settings.defaultLocale,\n settings.options?.experimentalHideDefaultLocale ?? false\n );\n return localized === null ? null : normalizeUrl(localized);\n };\n // Translated pages can be orphaned too, so their redirects are already\n // localized. Localizing them again would nest locales (/docs/ja-jp/fr-ca/...)\n const localeSegmentIndex = urlPatternHead.split('/').filter(Boolean).length;\n const isLocalized = (url: string) =>\n targetLocales.includes(url.split('/').filter(Boolean)[localeSegmentIndex]);\n const takenSources = new Set(\n location.redirects.filter(isRedirect).map((r) => normalizeUrl(r.source))\n );\n\n const added: Redirect[] = [];\n const updated = location.redirects.flatMap((entry) => {\n if (!isRedirect(entry)) return [entry];\n const [destinationPath, anchor] = splitAnchor(entry.destination);\n const sourceUrl = normalizeUrl(entry.source);\n const destinationUrl = normalizeUrl(destinationPath);\n if (\n !oldPageUrls.has(sourceUrl) ||\n isLocalized(sourceUrl) ||\n isLocalized(destinationUrl)\n ) {\n return [entry];\n }\n\n const localized: Redirect[] = [];\n for (const locale of targetLocales) {\n const localizedSource = localizeUrl(sourceUrl, locale);\n const localizedDestination = localizeUrl(destinationUrl, locale);\n if (\n !localizedSource ||\n !localizedDestination ||\n localizedSource === localizedDestination ||\n takenSources.has(localizedSource) ||\n translationMissing(\n destinationUrl,\n localizedDestination,\n fileMapping[locale] ?? {}\n )\n ) {\n continue;\n }\n takenSources.add(localizedSource);\n localized.push({\n source: localizedSource,\n destination: `${localizedDestination}${anchor}`,\n ...('permanent' in entry && { permanent: entry.permanent }),\n });\n }\n added.push(...localized);\n return [entry, ...localized];\n });\n\n if (added.length > 0) location.write(updated);\n return added;\n}\n\nfunction isRedirect(entry: unknown): entry is Redirect {\n return (\n typeof (entry as Redirect)?.source === 'string' &&\n typeof (entry as Redirect)?.destination === 'string'\n );\n}\n\n/** Splits `/docs/page#section` into `/docs/page` and `#section`. */\nfunction splitAnchor(url: string): [string, string] {\n const anchorStart = url.indexOf('#');\n return anchorStart === -1\n ? [url, '']\n : [url.slice(0, anchorStart), url.slice(anchorStart)];\n}\n\n/**\n * The URL of a page file: its path without the extension. Like static URL\n * localization, URLs are relative to the working directory.\n */\nfunction pageUrl(fileName: string): string {\n const relative = getRelative(fileName);\n return normalizeUrl(\n relative\n .slice(0, relative.length - path.extname(relative).length)\n .split(path.sep)\n .join('/')\n );\n}\n\n/**\n * Leading slash, no trailing slash, and index pages named by their folder, so\n * equivalent spellings compare equal.\n */\nfunction normalizeUrl(url: string): string {\n const segments = url.split('/').filter(Boolean);\n if (segments.at(-1) === INDEX_PAGE) segments.pop();\n return `/${segments.join('/')}`;\n}\n\n/**\n * Finds the redirects array in docs.json, either inline or at the end of its\n * `$ref` chain, and returns a writer for the file that holds it.\n */\nfunction readRedirects(\n docsJsonPath: string\n): { redirects: unknown[]; write: (redirects: unknown[]) => void } | null {\n const docsJson = loadJSON(docsJsonPath);\n let holder = docsJsonPath;\n let value: unknown = docsJson?.redirects;\n const visited = new Set([holder]);\n while (typeof (value as { $ref?: unknown })?.$ref === 'string') {\n holder = path.resolve(\n path.dirname(holder),\n (value as { $ref: string }).$ref\n );\n if (visited.has(holder)) return null;\n visited.add(holder);\n value = loadJSON(holder);\n }\n if (!Array.isArray(value)) return null;\n\n const redirectsFile = holder;\n return {\n redirects: value,\n write: (updated) =>\n fs.writeFileSync(\n redirectsFile,\n JSON.stringify(\n redirectsFile === docsJsonPath\n ? { ...docsJson, redirects: updated }\n : updated,\n null,\n 2\n )\n ),\n };\n}\n"],"mappings":";;;;;;;;;AAiBA,MAAM,+BAA+B,wBAAwB;CAC3D,QAAQ;CACR,UAAU;CACV,cAAc;CACd,KAAK;CACL,KAAK;CACN,CAAC;;;;;;;;;AAUF,SAAgB,0BACd,UACA,mBACY;AACZ,KACE,SAAS,SAAS,UAAU,sBAAsB,QAClD,CAAC,SAAS,MAEV,QAAO,EAAE;CAEX,MAAM,aAAa,SAAS,QAAQ;AACpC,KAAI,CAAC,YAAY;AACf,SAAO,KAAK,6BAA6B;AACzC,SAAO,EAAE;;CAEX,MAAM,WAAW,cAAc,KAAK,QAAQ,YAAY,CAAC;AACzD,KAAI,CAAC,SAAU,QAAO,EAAE;CAExB,MAAM,cAAc,IAAI,IACtB,kBACG,QAAQ,aAAa,gBAAgB,SAAS,KAAK,QAAQ,SAAS,CAAC,CAAC,CACtE,IAAI,QAAQ,CAChB;CAED,MAAM,gBAAgB,SAAS,QAAQ,Q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I,CAAC,MAAM,QAAQ,MAAM,CAAE,QAAO;CAElC,MAAM,gBAAgB;AACtB,QAAO;EACL,WAAW;EACX,QAAQ,YACN,GAAG,cACD,eACA,KAAK,UACH,kBAAkB,eACd;GAAE,GAAG;GAAU,WAAW;GAAS,GACnC,SACJ,MACA,EACD,CACF;EACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "2.26.
|
|
1
|
+
export declare const PACKAGE_VERSION = "2.26.2";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","names":[],"sources":["../../src/generated/version.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\nexport const PACKAGE_VERSION = '2.26.
|
|
1
|
+
{"version":3,"file":"version.js","names":[],"sources":["../../src/generated/version.ts"],"sourcesContent":["// This file is auto-generated. Do not edit manually.\nexport const PACKAGE_VERSION = '2.26.2';\n"],"mappings":";AACA,MAAa,kBAAkB"}
|