@lingui/cli 6.0.0-next.3 → 6.0.0-next.4
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.
|
@@ -78,7 +78,7 @@ export function getCatalogForFile(file, catalogs) {
|
|
|
78
78
|
for (const catalog of catalogs) {
|
|
79
79
|
const catalogFile = `${catalog.path}${catalog.format.getCatalogExtension()}`;
|
|
80
80
|
const catalogGlob = replacePlaceholders(catalogFile, { locale: "*" });
|
|
81
|
-
const matchPattern = normalizeRelativePath(path.relative(catalog.config.rootDir, catalogGlob)).replace(/(\(|\)|\[|\])/g, "\\$1");
|
|
81
|
+
const matchPattern = normalizeRelativePath(path.relative(catalog.config.rootDir, catalogGlob)).replace(/(\(|\)|\[|\]|\{|\})/g, "\\$1");
|
|
82
82
|
const match = micromatch.capture(matchPattern, normalizeRelativePath(file));
|
|
83
83
|
if (match) {
|
|
84
84
|
return {
|
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/cli",
|
|
3
|
-
"version": "6.0.0-next.
|
|
4
|
-
"description": "CLI
|
|
3
|
+
"version": "6.0.0-next.4",
|
|
4
|
+
"description": "Lingui CLI to extract messages, compile catalogs, and manage translation workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
|
+
"lingui",
|
|
8
|
+
"linguijs",
|
|
7
9
|
"cli",
|
|
8
10
|
"i18n",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
11
|
+
"extract",
|
|
12
|
+
"compile",
|
|
13
|
+
"catalog",
|
|
14
|
+
"gettext",
|
|
13
15
|
"translation",
|
|
14
|
-
"
|
|
16
|
+
"localization"
|
|
15
17
|
],
|
|
16
18
|
"homepage": "https://lingui.dev",
|
|
17
19
|
"repository": {
|
|
@@ -50,12 +52,12 @@
|
|
|
50
52
|
"@babel/generator": "^7.28.5",
|
|
51
53
|
"@babel/parser": "^7.22.0",
|
|
52
54
|
"@babel/types": "^7.21.2",
|
|
53
|
-
"@lingui/babel-plugin-extract-messages": "6.0.0-next.
|
|
54
|
-
"@lingui/babel-plugin-lingui-macro": "6.0.0-next.
|
|
55
|
-
"@lingui/conf": "6.0.0-next.
|
|
56
|
-
"@lingui/core": "6.0.0-next.
|
|
57
|
-
"@lingui/format-po": "6.0.0-next.
|
|
58
|
-
"@lingui/message-utils": "6.0.0-next.
|
|
55
|
+
"@lingui/babel-plugin-extract-messages": "6.0.0-next.4",
|
|
56
|
+
"@lingui/babel-plugin-lingui-macro": "6.0.0-next.4",
|
|
57
|
+
"@lingui/conf": "6.0.0-next.4",
|
|
58
|
+
"@lingui/core": "6.0.0-next.4",
|
|
59
|
+
"@lingui/format-po": "6.0.0-next.4",
|
|
60
|
+
"@lingui/message-utils": "6.0.0-next.4",
|
|
59
61
|
"chokidar": "5.0.0",
|
|
60
62
|
"cli-table3": "^0.6.5",
|
|
61
63
|
"commander": "^14.0.2",
|
|
@@ -79,5 +81,5 @@
|
|
|
79
81
|
"msw": "^2.12.7",
|
|
80
82
|
"vitest": "4.0.18"
|
|
81
83
|
},
|
|
82
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "e8ab674fdc9d6373c8a20bb6061ac836661ea22e"
|
|
83
85
|
}
|