@lingui/cli 5.0.0-next.4 → 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 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
@@ -0,0 +1 @@
1
+ export { defineConfig } from "@lingui/conf";
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defineConfig = void 0;
4
+ var conf_1 = require("@lingui/conf");
5
+ Object.defineProperty(exports, "defineConfig", { enumerable: true, get: function () { return conf_1.defineConfig; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingui/cli",
3
- "version": "5.0.0-next.4",
3
+ "version": "5.0.0",
4
4
  "description": "CLI for working wit message catalogs",
5
5
  "keywords": [
6
6
  "cli",
@@ -23,6 +23,10 @@
23
23
  "lingui": "./dist/lingui.js"
24
24
  },
25
25
  "exports": {
26
+ ".": {
27
+ "types": "./dist/index.d.ts",
28
+ "default": "./dist/index.js"
29
+ },
26
30
  "./api": {
27
31
  "types": "./dist/api/index.d.ts",
28
32
  "default": "./dist/api/index.js"
@@ -53,12 +57,12 @@
53
57
  "@babel/parser": "^7.22.0",
54
58
  "@babel/runtime": "^7.21.0",
55
59
  "@babel/types": "^7.21.2",
56
- "@lingui/babel-plugin-extract-messages": "^5.0.0-next.4",
57
- "@lingui/babel-plugin-lingui-macro": "^5.0.0-next.4",
58
- "@lingui/conf": "^5.0.0-next.4",
59
- "@lingui/core": "^5.0.0-next.4",
60
- "@lingui/format-po": "^5.0.0-next.4",
61
- "@lingui/message-utils": "^5.0.0-next.4",
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",
62
66
  "babel-plugin-macros": "^3.0.1",
63
67
  "chalk": "^4.1.0",
64
68
  "chokidar": "3.5.1",
@@ -80,12 +84,12 @@
80
84
  "source-map": "^0.8.0-beta.0"
81
85
  },
82
86
  "devDependencies": {
83
- "@lingui/jest-mocks": "^3.0.3",
87
+ "@lingui/jest-mocks": "*",
84
88
  "@types/convert-source-map": "^2.0.0",
85
89
  "@types/micromatch": "^4.0.1",
86
90
  "@types/normalize-path": "^3.0.0",
87
91
  "mock-fs": "^5.2.0",
88
92
  "mockdate": "^3.0.5"
89
93
  },
90
- "gitHead": "7b9ca5b479be4acd58ed95bff841e89efba06279"
94
+ "gitHead": "14fa4d76eb6ff9df8600e23f2ea8fc989a750195"
91
95
  }