@lingui/cli 4.0.0-next.6 → 4.0.0-next.7
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/lingui.js +5 -1
- package/package.json +8 -8
package/dist/lingui.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
3
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
7
|
const commander_1 = require("commander");
|
|
5
8
|
const node_fs_1 = require("node:fs");
|
|
6
|
-
const
|
|
9
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
10
|
+
const packageJson = JSON.parse((0, node_fs_1.readFileSync)(node_path_1.default.resolve(__dirname, "../package.json"), "utf8"));
|
|
7
11
|
commander_1.program
|
|
8
12
|
.version(packageJson.version)
|
|
9
13
|
.command("extract [files...]", "Extracts messages from source files")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/cli",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.7",
|
|
4
4
|
"description": "CLI for working wit message catalogs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"@babel/parser": "^7.21.2",
|
|
63
63
|
"@babel/runtime": "^7.21.0",
|
|
64
64
|
"@babel/types": "^7.21.2",
|
|
65
|
-
"@lingui/babel-plugin-extract-messages": "^4.0.0-next.
|
|
66
|
-
"@lingui/conf": "^4.0.0-next.
|
|
67
|
-
"@lingui/core": "^4.0.0-next.
|
|
68
|
-
"@lingui/format-po": "^4.0.0-next.
|
|
69
|
-
"@lingui/message-utils": "^4.0.0-next.
|
|
65
|
+
"@lingui/babel-plugin-extract-messages": "^4.0.0-next.7",
|
|
66
|
+
"@lingui/conf": "^4.0.0-next.7",
|
|
67
|
+
"@lingui/core": "^4.0.0-next.7",
|
|
68
|
+
"@lingui/format-po": "^4.0.0-next.7",
|
|
69
|
+
"@lingui/message-utils": "^4.0.0-next.7",
|
|
70
70
|
"babel-plugin-macros": "^3.0.1",
|
|
71
71
|
"chalk": "^4.1.0",
|
|
72
72
|
"chokidar": "3.5.1",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@lingui/jest-mocks": "^3.0.3",
|
|
91
|
-
"@lingui/macro": "^4.0.0-next.
|
|
91
|
+
"@lingui/macro": "^4.0.0-next.7",
|
|
92
92
|
"@types/convert-source-map": "^2.0.0",
|
|
93
93
|
"@types/glob": "^8.1.0",
|
|
94
94
|
"@types/micromatch": "^4.0.1",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"mock-fs": "^5.2.0",
|
|
97
97
|
"mockdate": "^3.0.5"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "b2765fdd43e707b33e0375942071e15b616bd842"
|
|
100
100
|
}
|