gt 2.26.5 → 2.26.7-samsara.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 +19 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/generated/version.js.map +1 -1
- package/dist/setup/buildTools/reactRouter/source.d.ts +1 -1
- package/dist/setup/buildTools/reactRouter/source.js +1 -1
- package/dist/setup/buildTools/reactRouter/source.js.map +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# gtx-cli
|
|
2
2
|
|
|
3
|
+
## 2.26.7-samsara.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0604209]
|
|
8
|
+
- @generaltranslation/icu@0.1.3-samsara.0
|
|
9
|
+
- gt-remark@1.0.13-samsara.0
|
|
10
|
+
- generaltranslation@9.5.8-samsara.0
|
|
11
|
+
- @generaltranslation/format@0.1.10-samsara.0
|
|
12
|
+
- @generaltranslation/python-extractor@0.2.63-samsara.0
|
|
13
|
+
- @generaltranslation/supported-locales@2.1.44-samsara.0
|
|
14
|
+
- @generaltranslation/vue-extractor@0.1.22-samsara.0
|
|
15
|
+
|
|
16
|
+
## 2.26.6
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#2461](https://github.com/generaltranslation/gt/pull/2461) [`81cc726`](https://github.com/generaltranslation/gt/commit/81cc7269baa6a5acf476eeeaccf40bbecf0eeb61) Thanks [@kevinwu98](https://github.com/kevinwu98)! - `gt init` now links React Router and Shopify Hydrogen apps to the React Router quickstart instead of the generic React quickstart.
|
|
21
|
+
|
|
3
22
|
## 2.26.5
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "2.26.
|
|
1
|
+
export declare const PACKAGE_VERSION = "2.26.7-samsara.0";
|
|
@@ -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.7-samsara.0';\n"],"mappings":";AACA,MAAa,kBAAkB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type SourceFile } from '../shared/source.js';
|
|
2
|
-
export declare const DOCS_URL = "https://generaltranslation.com/docs/react/react-quickstart";
|
|
2
|
+
export declare const DOCS_URL = "https://generaltranslation.com/docs/react/react-router-quickstart";
|
|
3
3
|
/** React Router's app directory, where the root module and loader live. */
|
|
4
4
|
export declare const SOURCE_DIRECTORY = "app";
|
|
5
5
|
export declare const ROOT_MODULE = "app/root";
|
|
@@ -6,7 +6,7 @@ import { createDiagnosticMessage } from "generaltranslation/internal";
|
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import * as t from "@babel/types";
|
|
8
8
|
//#region src/setup/buildTools/reactRouter/source.ts
|
|
9
|
-
const DOCS_URL = "https://generaltranslation.com/docs/react/react-quickstart";
|
|
9
|
+
const DOCS_URL = "https://generaltranslation.com/docs/react/react-router-quickstart";
|
|
10
10
|
/** React Router's app directory, where the root module and loader live. */
|
|
11
11
|
const SOURCE_DIRECTORY = "app";
|
|
12
12
|
const ROOT_MODULE = `app/root`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.js","names":[],"sources":["../../../../src/setup/buildTools/reactRouter/source.ts"],"sourcesContent":["// Reads the React Router config and root module, and stops setup before any\n// change for an app it cannot configure.\nimport path from 'node:path';\nimport * as t from '@babel/types';\nimport { createDiagnosticMessage } from 'generaltranslation/internal';\nimport { Libraries } from '../../../types/libraries.js';\nimport {\n getPackageJson,\n getPackageVersion,\n isPackageInstalled,\n} from '../../../utils/packageJson.js';\nimport { permitsVersionBelow } from '../../../utils/reactPackageCompatibility.js';\nimport {\n getPropertyName,\n readSourceFile,\n type SourceFile,\n} from '../shared/source.js';\n\nexport const DOCS_URL =\n 'https://generaltranslation.com/docs/react/react-quickstart';\n\n/** React Router's app directory, where the root module and loader live. */\nexport const SOURCE_DIRECTORY = 'app';\n\nexport const ROOT_MODULE = `${SOURCE_DIRECTORY}/root`;\n\nexport const LOADER_FILE = `${SOURCE_DIRECTORY}/loadTranslations.ts`;\n\n/**\n * The configured root imports parseLocale, new in gt-react 11.0.4, and\n * Oxygen's worker build resolves gt-react's server entry from 11.1.3.\n */\nconst MINIMUM_GT_REACT = '11.1.3';\n\n/** The extensions React Router resolves react-router.config with. */\nconst CONFIG_EXTENSIONS = ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.mts'];\n\nfunction getRefusal(\n why: string,\n fix = 'With gt-react installed, rerun `npx gt@latest init --no-react-setup` to set up everything except the React code, and set that up manually'\n): string {\n return createDiagnosticMessage({\n source: 'gt',\n severity: 'Error',\n whatHappened: 'GT cannot configure this React Router app automatically',\n why,\n reassurance: 'Nothing was changed',\n fix,\n docsUrl: DOCS_URL,\n });\n}\n\nconst notFrameworkRefusal = getRefusal(\n 'it has neither @react-router/dev nor a react-router.config',\n 'If the app uses React Router as a library in a Vite app, rerun `npx gt@latest init --framework vite`'\n);\nconst missingRootRefusal = getRefusal(\n 'app/root.tsx was not found',\n 'Run `npx gt@latest init` from the app directory'\n);\nconst unreadableConfigRefusal = getRefusal(\n 'setup cannot read the options react-router.config exports'\n);\nconst spaModeRefusal = getRefusal(\n \"react-router.config sets ssr: false, so the root loader cannot read each visitor's locale\"\n);\nconst prerenderRefusal = getRefusal(\n \"react-router.config pre-renders pages, which cannot read each visitor's locale\"\n);\nconst appDirectoryRefusal = getRefusal(\n 'react-router.config sets an appDirectory other than app'\n);\nconst outdatedGtReactRefusal = getRefusal(\n `package.json allows gt-react versions older than ${MINIMUM_GT_REACT}, which the configured root needs`,\n `Upgrade gt-react to ${MINIMUM_GT_REACT} or later, then rerun \\`npx gt@latest init\\``\n);\nconst rscRefusal = getRefusal(\n \"it installs @vitejs/plugin-rsc, which React Router's experimental RSC Framework Mode uses\"\n);\n\n/** Unwraps `satisfies Config` and `as const`. */\nfunction unwrap(node: t.Node | null | undefined) {\n while (\n node?.type === 'TSSatisfiesExpression' ||\n node?.type === 'TSAsExpression'\n ) {\n node = node.expression;\n }\n return node;\n}\n\n/**\n * The object the config exports by default, directly or through a const that\n * nothing else refers to, so nothing can change it after its declaration.\n */\nfunction getOptions(statements: t.Statement[]) {\n const options = unwrap(\n statements.find(\n (statement) => statement.type === 'ExportDefaultDeclaration'\n )?.declaration\n );\n if (options?.type !== 'Identifier') return options;\n const { name } = options;\n let references = 0;\n for (const statement of statements) {\n t.traverseFast(statement, (node) => {\n if (t.isIdentifier(node, { name })) references++;\n });\n }\n if (references !== 2) return undefined;\n const declarator = statements\n .flatMap((statement) =>\n statement.type === 'VariableDeclaration' && statement.kind === 'const'\n ? statement.declarations\n : []\n )\n .find((candidate) => t.isIdentifier(candidate.id, { name }));\n return unwrap(declarator?.init);\n}\n\n/**\n * Throws unless the config renders on each request from app/: each option it\n * sets must be one React Router treats like its default. Presets, such as\n * Hydrogen's, are trusted.\n */\nfunction checkConfig({ statements }: SourceFile, appDirectory: string) {\n const options = statements && getOptions(statements);\n if (options?.type !== 'ObjectExpression') {\n throw new Error(unreadableConfigRefusal);\n }\n for (const property of options.properties) {\n const name = getPropertyName(property);\n if (name === undefined) throw new Error(unreadableConfigRefusal);\n const value =\n property.type === 'ObjectProperty' ? unwrap(property.value) : undefined;\n if (name === 'ssr') {\n if (!t.isBooleanLiteral(value)) throw new Error(unreadableConfigRefusal);\n if (!value.value) throw new Error(spaModeRefusal);\n }\n if (\n name === 'prerender' &&\n !t.isBooleanLiteral(value, { value: false }) &&\n !(t.isArrayExpression(value) && value.elements.length === 0)\n ) {\n throw new Error(prerenderRefusal);\n }\n // React Router resolves it from the project directory.\n if (\n name === 'appDirectory' &&\n !(\n t.isStringLiteral(value) &&\n path.resolve(appDirectory, value.value) ===\n path.resolve(appDirectory, SOURCE_DIRECTORY)\n )\n ) {\n throw new Error(appDirectoryRefusal);\n }\n }\n}\n\n/** Reads the root module, refusing an app setup cannot configure. */\nexport async function inspectReactRouter(appDirectory: string) {\n const config = await readSourceFile(appDirectory, 'react-router.config', {\n extensions: CONFIG_EXTENSIONS,\n });\n // Framework mode installs @react-router/dev, which a monorepo may install\n // at its root, so a config also counts.\n const packageJson = await getPackageJson(appDirectory);\n if (packageJson) {\n const installed = (name: string) =>\n isPackageInstalled(name, packageJson, false, true);\n if (!config && !installed('@react-router/dev')) {\n throw new Error(notFrameworkRefusal);\n }\n if (installed('@vitejs/plugin-rsc')) throw new Error(rscRefusal);\n // An undeclared gt-react is installed at its latest version.\n const gtReact = getPackageVersion(Libraries.GT_REACT, packageJson);\n if (gtReact && permitsVersionBelow(gtReact, MINIMUM_GT_REACT)) {\n throw new Error(outdatedGtReactRefusal);\n }\n }\n if (config) checkConfig(config, appDirectory);\n const root = await readSourceFile(appDirectory, ROOT_MODULE);\n if (!root) throw new Error(missingRootRefusal);\n return root;\n}\n"],"mappings":";;;;;;;;AAkBA,MAAa,WACX;;AAGF,MAAa,mBAAmB;AAEhC,MAAa,cAAc;AAE3B,MAAa,cAAc;;;;;AAM3B,MAAM,mBAAmB;;AAGzB,MAAM,oBAAoB;CAAC;CAAO;CAAQ;CAAO;CAAQ;CAAQ;CAAO;AAExE,SAAS,WACP,KACA,MAAM,6IACE;AACR,QAAO,wBAAwB;EAC7B,QAAQ;EACR,UAAU;EACV,cAAc;EACd;EACA,aAAa;EACb;EACA,SAAS;EACV,CAAC;;AAGJ,MAAM,sBAAsB,WAC1B,8DACA,uGACD;AACD,MAAM,qBAAqB,WACzB,8BACA,kDACD;AACD,MAAM,0BAA0B,WAC9B,4DACD;AACD,MAAM,iBAAiB,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CAAC,MAAM,MAAO,OAAM,IAAI,MAAM,eAAe;;AAEnD,MACE,SAAS,eACT,CAAC,EAAE,iBAAiB,OAAO,EAAE,OAAO,OAAO,CAAC,IAC5C,EAAE,EAAE,kBAAkB,MAAM,IAAI,MAAM,SAAS,WAAW,GAE1D,OAAM,IAAI,MAAM,iBAAiB;AAGnC,MACE,SAAS,kBACT,EACE,EAAE,gBAAgB,MAAM,IACxB,KAAK,QAAQ,cAAc,MAAM,MAAM,KACrC,KAAK,QAAQ,cAAA,MAA+B,EAGhD,OAAM,IAAI,MAAM,oBAAoB;;;;AAM1C,eAAsB,mBAAmB,cAAsB;CAC7D,MAAM,SAAS,MAAM,eAAe,cAAc,uBAAuB,EACvE,YAAY,mBACb,CAAC;CAGF,MAAM,cAAc,MAAM,eAAe,aAAa;AACtD,KAAI,aAAa;EACf,MAAM,aAAa,SACjB,mBAAmB,MAAM,aAAa,OAAO,KAAK;AACpD,MAAI,CAAC,UAAU,CAAC,UAAU,oBAAoB,CAC5C,OAAM,IAAI,MAAM,oBAAoB;AAEtC,MAAI,UAAU,qBAAqB,CAAE,OAAM,IAAI,MAAM,WAAW;EAEhE,MAAM,UAAU,kBAAA,YAAsC,YAAY;AAClE,MAAI,WAAW,oBAAoB,SAAS,iBAAiB,CAC3D,OAAM,IAAI,MAAM,uBAAuB;;AAG3C,KAAI,OAAQ,aAAY,QAAQ,aAAa;CAC7C,MAAM,OAAO,MAAM,eAAe,cAAc,YAAY;AAC5D,KAAI,CAAC,KAAM,OAAM,IAAI,MAAM,mBAAmB;AAC9C,QAAO"}
|
|
1
|
+
{"version":3,"file":"source.js","names":[],"sources":["../../../../src/setup/buildTools/reactRouter/source.ts"],"sourcesContent":["// Reads the React Router config and root module, and stops setup before any\n// change for an app it cannot configure.\nimport path from 'node:path';\nimport * as t from '@babel/types';\nimport { createDiagnosticMessage } from 'generaltranslation/internal';\nimport { Libraries } from '../../../types/libraries.js';\nimport {\n getPackageJson,\n getPackageVersion,\n isPackageInstalled,\n} from '../../../utils/packageJson.js';\nimport { permitsVersionBelow } from '../../../utils/reactPackageCompatibility.js';\nimport {\n getPropertyName,\n readSourceFile,\n type SourceFile,\n} from '../shared/source.js';\n\nexport const DOCS_URL =\n 'https://generaltranslation.com/docs/react/react-router-quickstart';\n\n/** React Router's app directory, where the root module and loader live. */\nexport const SOURCE_DIRECTORY = 'app';\n\nexport const ROOT_MODULE = `${SOURCE_DIRECTORY}/root`;\n\nexport const LOADER_FILE = `${SOURCE_DIRECTORY}/loadTranslations.ts`;\n\n/**\n * The configured root imports parseLocale, new in gt-react 11.0.4, and\n * Oxygen's worker build resolves gt-react's server entry from 11.1.3.\n */\nconst MINIMUM_GT_REACT = '11.1.3';\n\n/** The extensions React Router resolves react-router.config with. */\nconst CONFIG_EXTENSIONS = ['.js', '.jsx', '.ts', '.tsx', '.mjs', '.mts'];\n\nfunction getRefusal(\n why: string,\n fix = 'With gt-react installed, rerun `npx gt@latest init --no-react-setup` to set up everything except the React code, and set that up manually'\n): string {\n return createDiagnosticMessage({\n source: 'gt',\n severity: 'Error',\n whatHappened: 'GT cannot configure this React Router app automatically',\n why,\n reassurance: 'Nothing was changed',\n fix,\n docsUrl: DOCS_URL,\n });\n}\n\nconst notFrameworkRefusal = getRefusal(\n 'it has neither @react-router/dev nor a react-router.config',\n 'If the app uses React Router as a library in a Vite app, rerun `npx gt@latest init --framework vite`'\n);\nconst missingRootRefusal = getRefusal(\n 'app/root.tsx was not found',\n 'Run `npx gt@latest init` from the app directory'\n);\nconst unreadableConfigRefusal = getRefusal(\n 'setup cannot read the options react-router.config exports'\n);\nconst spaModeRefusal = getRefusal(\n \"react-router.config sets ssr: false, so the root loader cannot read each visitor's locale\"\n);\nconst prerenderRefusal = getRefusal(\n \"react-router.config pre-renders pages, which cannot read each visitor's locale\"\n);\nconst appDirectoryRefusal = getRefusal(\n 'react-router.config sets an appDirectory other than app'\n);\nconst outdatedGtReactRefusal = getRefusal(\n `package.json allows gt-react versions older than ${MINIMUM_GT_REACT}, which the configured root needs`,\n `Upgrade gt-react to ${MINIMUM_GT_REACT} or later, then rerun \\`npx gt@latest init\\``\n);\nconst rscRefusal = getRefusal(\n \"it installs @vitejs/plugin-rsc, which React Router's experimental RSC Framework Mode uses\"\n);\n\n/** Unwraps `satisfies Config` and `as const`. */\nfunction unwrap(node: t.Node | null | undefined) {\n while (\n node?.type === 'TSSatisfiesExpression' ||\n node?.type === 'TSAsExpression'\n ) {\n node = node.expression;\n }\n return node;\n}\n\n/**\n * The object the config exports by default, directly or through a const that\n * nothing else refers to, so nothing can change it after its declaration.\n */\nfunction getOptions(statements: t.Statement[]) {\n const options = unwrap(\n statements.find(\n (statement) => statement.type === 'ExportDefaultDeclaration'\n )?.declaration\n );\n if (options?.type !== 'Identifier') return options;\n const { name } = options;\n let references = 0;\n for (const statement of statements) {\n t.traverseFast(statement, (node) => {\n if (t.isIdentifier(node, { name })) references++;\n });\n }\n if (references !== 2) return undefined;\n const declarator = statements\n .flatMap((statement) =>\n statement.type === 'VariableDeclaration' && statement.kind === 'const'\n ? statement.declarations\n : []\n )\n .find((candidate) => t.isIdentifier(candidate.id, { name }));\n return unwrap(declarator?.init);\n}\n\n/**\n * Throws unless the config renders on each request from app/: each option it\n * sets must be one React Router treats like its default. Presets, such as\n * Hydrogen's, are trusted.\n */\nfunction checkConfig({ statements }: SourceFile, appDirectory: string) {\n const options = statements && getOptions(statements);\n if (options?.type !== 'ObjectExpression') {\n throw new Error(unreadableConfigRefusal);\n }\n for (const property of options.properties) {\n const name = getPropertyName(property);\n if (name === undefined) throw new Error(unreadableConfigRefusal);\n const value =\n property.type === 'ObjectProperty' ? unwrap(property.value) : undefined;\n if (name === 'ssr') {\n if (!t.isBooleanLiteral(value)) throw new Error(unreadableConfigRefusal);\n if (!value.value) throw new Error(spaModeRefusal);\n }\n if (\n name === 'prerender' &&\n !t.isBooleanLiteral(value, { value: false }) &&\n !(t.isArrayExpression(value) && value.elements.length === 0)\n ) {\n throw new Error(prerenderRefusal);\n }\n // React Router resolves it from the project directory.\n if (\n name === 'appDirectory' &&\n !(\n t.isStringLiteral(value) &&\n path.resolve(appDirectory, value.value) ===\n path.resolve(appDirectory, SOURCE_DIRECTORY)\n )\n ) {\n throw new Error(appDirectoryRefusal);\n }\n }\n}\n\n/** Reads the root module, refusing an app setup cannot configure. */\nexport async function inspectReactRouter(appDirectory: string) {\n const config = await readSourceFile(appDirectory, 'react-router.config', {\n extensions: CONFIG_EXTENSIONS,\n });\n // Framework mode installs @react-router/dev, which a monorepo may install\n // at its root, so a config also counts.\n const packageJson = await getPackageJson(appDirectory);\n if (packageJson) {\n const installed = (name: string) =>\n isPackageInstalled(name, packageJson, false, true);\n if (!config && !installed('@react-router/dev')) {\n throw new Error(notFrameworkRefusal);\n }\n if (installed('@vitejs/plugin-rsc')) throw new Error(rscRefusal);\n // An undeclared gt-react is installed at its latest version.\n const gtReact = getPackageVersion(Libraries.GT_REACT, packageJson);\n if (gtReact && permitsVersionBelow(gtReact, MINIMUM_GT_REACT)) {\n throw new Error(outdatedGtReactRefusal);\n }\n }\n if (config) checkConfig(config, appDirectory);\n const root = await readSourceFile(appDirectory, ROOT_MODULE);\n if (!root) throw new Error(missingRootRefusal);\n return root;\n}\n"],"mappings":";;;;;;;;AAkBA,MAAa,WACX;;AAGF,MAAa,mBAAmB;AAEhC,MAAa,cAAc;AAE3B,MAAa,cAAc;;;;;AAM3B,MAAM,mBAAmB;;AAGzB,MAAM,oBAAoB;CAAC;CAAO;CAAQ;CAAO;CAAQ;CAAQ;CAAO;AAExE,SAAS,WACP,KACA,MAAM,6IACE;AACR,QAAO,wBAAwB;EAC7B,QAAQ;EACR,UAAU;EACV,cAAc;EACd;EACA,aAAa;EACb;EACA,SAAS;EACV,CAAC;;AAGJ,MAAM,sBAAsB,WAC1B,8DACA,uGACD;AACD,MAAM,qBAAqB,WACzB,8BACA,kDACD;AACD,MAAM,0BAA0B,WAC9B,4DACD;AACD,MAAM,iBAAiB,WACrB,4FACD;AAC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AO,OAAM,IAAI,MAAM,eAAe;;AAEnD,MACE,SAAS,eACT,CAAC,EAAE,iBAAiB,OAAO,EAAE,OAAO,OAAO,CAAC,IAC5C,EAAE,EAAE,kBAAkB,MAAM,IAAI,MAAM,SAAS,WAAW,GAE1D,OAAM,IAAI,MAAM,iBAAiB;AAGnC,MACE,SAAS,kBACT,EACE,EAAE,gBAAgB,MAAM,IACxB,KAAK,QAAQ,cAAc,MAAM,MAAM,KACrC,KAAK,QAAQ,cAAA,MAA+B,EAGhD,OAAM,IAAI,MAAM,oBAAoB;;;;AAM1C,eAAsB,mBAAmB,cAAsB;CAC7D,MAAM,SAAS,MAAM,eAAe,cAAc,uBAAuB,EACvE,YAAY,mBACb,CAAC;CAGF,MAAM,cAAc,MAAM,eAAe,aAAa;AACtD,KAAI,aAAa;EACf,MAAM,aAAa,SACjB,mBAAmB,MAAM,aAAa,OAAO,KAAK;AACpD,MAAI,CAAC,UAAU,CAAC,UAAU,oBAAoB,CAC5C,OAAM,IAAI,MAAM,oBAAoB;AAEtC,MAAI,UAAU,qBAAqB,CAAE,OAAM,IAAI,MAAM,WAAW;EAEhE,MAAM,UAAU,kBAAA,YAAsC,YAAY;AAClE,MAAI,WAAW,oBAAoB,SAAS,iBAAiB,CAC3D,OAAM,IAAI,MAAM,uBAAuB;;AAG3C,KAAI,OAAQ,aAAY,QAAQ,aAAa;CAC7C,MAAM,OAAO,MAAM,eAAe,cAAc,YAAY;AAC5D,KAAI,CAAC,KAAM,OAAM,IAAI,MAAM,mBAAmB;AAC9C,QAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gt",
|
|
3
|
-
"version": "2.26.
|
|
3
|
+
"version": "2.26.7-samsara.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"bin": "bin/main.js",
|
|
6
6
|
"files": [
|
|
@@ -115,13 +115,13 @@
|
|
|
115
115
|
"unified": "^11.0.5",
|
|
116
116
|
"unist-util-visit": "^5.0.0",
|
|
117
117
|
"yaml": "^2.8.0",
|
|
118
|
-
"@generaltranslation/format": "0.1.
|
|
119
|
-
"@generaltranslation/icu": "0.1.
|
|
120
|
-
"@generaltranslation/python-extractor": "0.2.
|
|
121
|
-
"@generaltranslation/supported-locales": "2.1.
|
|
122
|
-
"@generaltranslation/vue-extractor": "0.1.
|
|
123
|
-
"generaltranslation": "9.5.
|
|
124
|
-
"gt-remark": "1.0.
|
|
118
|
+
"@generaltranslation/format": "0.1.10-samsara.0",
|
|
119
|
+
"@generaltranslation/icu": "0.1.3-samsara.0",
|
|
120
|
+
"@generaltranslation/python-extractor": "0.2.63-samsara.0",
|
|
121
|
+
"@generaltranslation/supported-locales": "2.1.44-samsara.0",
|
|
122
|
+
"@generaltranslation/vue-extractor": "0.1.22-samsara.0",
|
|
123
|
+
"generaltranslation": "9.5.8-samsara.0",
|
|
124
|
+
"gt-remark": "1.0.13-samsara.0"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
127
|
"@types/babel__generator": "^7.27.0",
|