@lingui/cli 5.0.0-next.5 → 5.0.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/dist/api/stats.js +2 -0
- package/package.json +9 -9
package/dist/api/stats.js
CHANGED
|
@@ -25,6 +25,8 @@ function printStats(config, catalogs) {
|
|
|
25
25
|
},
|
|
26
26
|
});
|
|
27
27
|
Object.keys(catalogs).forEach((locale) => {
|
|
28
|
+
if (locale === config.pseudoLocale)
|
|
29
|
+
return; // skip pseudo locale
|
|
28
30
|
const catalog = catalogs[locale];
|
|
29
31
|
// catalog is null if no catalog exists on disk and the locale
|
|
30
32
|
// was not extracted due to a `--locale` filter
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/cli",
|
|
3
|
-
"version": "5.0.0
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "CLI for working wit message catalogs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"@babel/parser": "^7.22.0",
|
|
58
58
|
"@babel/runtime": "^7.21.0",
|
|
59
59
|
"@babel/types": "^7.21.2",
|
|
60
|
-
"@lingui/babel-plugin-extract-messages": "
|
|
61
|
-
"@lingui/babel-plugin-lingui-macro": "
|
|
62
|
-
"@lingui/conf": "
|
|
63
|
-
"@lingui/core": "
|
|
64
|
-
"@lingui/format-po": "
|
|
65
|
-
"@lingui/message-utils": "
|
|
60
|
+
"@lingui/babel-plugin-extract-messages": "5.0.0",
|
|
61
|
+
"@lingui/babel-plugin-lingui-macro": "5.0.0",
|
|
62
|
+
"@lingui/conf": "5.0.0",
|
|
63
|
+
"@lingui/core": "5.0.0",
|
|
64
|
+
"@lingui/format-po": "5.0.0",
|
|
65
|
+
"@lingui/message-utils": "5.0.0",
|
|
66
66
|
"babel-plugin-macros": "^3.0.1",
|
|
67
67
|
"chalk": "^4.1.0",
|
|
68
68
|
"chokidar": "3.5.1",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"source-map": "^0.8.0-beta.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
|
-
"@lingui/jest-mocks": "
|
|
87
|
+
"@lingui/jest-mocks": "*",
|
|
88
88
|
"@types/convert-source-map": "^2.0.0",
|
|
89
89
|
"@types/micromatch": "^4.0.1",
|
|
90
90
|
"@types/normalize-path": "^3.0.0",
|
|
91
91
|
"mock-fs": "^5.2.0",
|
|
92
92
|
"mockdate": "^3.0.5"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "14fa4d76eb6ff9df8600e23f2ea8fc989a750195"
|
|
95
95
|
}
|