@lingui/cli 3.16.0 → 3.17.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 +24 -0
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/build/LICENSE +1 -1
- package/build/lingui-add-locale.js +1 -1
- package/build/lingui-compile.js +1 -1
- package/build/lingui-extract.js +2 -2
- package/package.json +13 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.17.0](https://github.com/lingui/js-lingui/compare/v3.16.1...v3.17.0) (2023-02-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* implement @lingui/vite-plugin ([#1306](https://github.com/lingui/js-lingui/issues/1306)) ([db5d3c3](https://github.com/lingui/js-lingui/commit/db5d3c309041202014d98b71894b473c587f643d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.16.1](https://github.com/lingui/js-lingui/compare/v3.16.0...v3.16.1) (2023-01-24)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **build:** explicitly expose api/extractors ([#1349](https://github.com/lingui/js-lingui/issues/1349)) ([59b6c97](https://github.com/lingui/js-lingui/commit/59b6c9755280eaf511b2e3393aebeff253dd088d))
|
|
23
|
+
* **build:** Revert typescript update ([#1362](https://github.com/lingui/js-lingui/issues/1362)) ([3f0e61e](https://github.com/lingui/js-lingui/commit/3f0e61eae2417ea78431322b8f1fb5acf4d59170))
|
|
24
|
+
* **cli:** incorrect main entry in package.json ([#1351](https://github.com/lingui/js-lingui/issues/1351)) ([cd430f3](https://github.com/lingui/js-lingui/commit/cd430f31812b5e184007eaa2d22683bd0b82cf84))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.16.0](https://github.com/lingui/js-lingui/compare/v3.15.0...v3.16.0) (2023-01-18)
|
|
7
31
|
|
|
8
32
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2017 Tomáš Ehrlich
|
|
3
|
+
Copyright (c) 2017-2022 Tomáš Ehrlich, (c) 2022-2023 Crowdin.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -68,9 +68,9 @@ This package is licensed under [MIT][license] license.
|
|
|
68
68
|
|
|
69
69
|
[license]: https://github.com/lingui/js-lingui/blob/main/LICENSE
|
|
70
70
|
[linguijs]: https://github.com/lingui/js-lingui
|
|
71
|
-
[documentation]: https://lingui.
|
|
72
|
-
[tutorial]: https://lingui.
|
|
73
|
-
[reference]: https://lingui.
|
|
71
|
+
[documentation]: https://lingui.dev
|
|
72
|
+
[tutorial]: https://lingui.dev/tutorials/cli
|
|
73
|
+
[reference]: https://lingui.dev/ref/cli
|
|
74
74
|
[package]: https://www.npmjs.com/package/@lingui/cli
|
|
75
75
|
[badge-downloads]: https://img.shields.io/npm/dw/@lingui/cli.svg
|
|
76
76
|
[badge-version]: https://img.shields.io/npm/v/@lingui/cli.svg
|
package/build/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2017 Tomáš Ehrlich
|
|
3
|
+
Copyright (c) 2017-2022 Tomáš Ehrlich, (c) 2022-2023 Crowdin.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -5,7 +5,7 @@ var _chalk = _interopRequireDefault(require("chalk"));
|
|
|
5
5
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
6
6
|
|
|
7
7
|
if (require.main === module) {
|
|
8
|
-
const msg = "lingui add-locale command is deprecated. " + `Please set ${_chalk.default.yellow("'locales'")} in configuration. ` + _chalk.default.underline("https://lingui.
|
|
8
|
+
const msg = "lingui add-locale command is deprecated. " + `Please set ${_chalk.default.yellow("'locales'")} in configuration. ` + _chalk.default.underline("https://lingui.dev/ref/conf#locales");
|
|
9
9
|
|
|
10
10
|
console.error(msg);
|
|
11
11
|
}
|
package/build/lingui-compile.js
CHANGED
|
@@ -135,7 +135,7 @@ if (require.main === module) {
|
|
|
135
135
|
});
|
|
136
136
|
|
|
137
137
|
if (_commander.default.format) {
|
|
138
|
-
const msg = "--format option is deprecated and will be removed in @lingui/cli@3.0.0." + " Please set format in configuration https://lingui.
|
|
138
|
+
const msg = "--format option is deprecated and will be removed in @lingui/cli@3.0.0." + " Please set format in configuration https://lingui.dev/ref/conf#format";
|
|
139
139
|
console.warn(msg);
|
|
140
140
|
config.format = _commander.default.format;
|
|
141
141
|
}
|
package/build/lingui-extract.js
CHANGED
|
@@ -84,14 +84,14 @@ if (require.main === module) {
|
|
|
84
84
|
|
|
85
85
|
if (_commander.default.format) {
|
|
86
86
|
hasErrors = true;
|
|
87
|
-
const msg = "--format option is deprecated." + " Please set format in configuration https://lingui.
|
|
87
|
+
const msg = "--format option is deprecated." + " Please set format in configuration https://lingui.dev/ref/conf#format";
|
|
88
88
|
console.error(msg);
|
|
89
89
|
console.error();
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
if (_commander.default.babelOptions) {
|
|
93
93
|
hasErrors = true;
|
|
94
|
-
const msg = "--babelOptions option is deprecated." + " Please set extractBabelOptions in configuration https://lingui.
|
|
94
|
+
const msg = "--babelOptions option is deprecated." + " Please set extractBabelOptions in configuration https://lingui.dev/ref/conf#extractbabeloptions";
|
|
95
95
|
console.error(msg);
|
|
96
96
|
console.error();
|
|
97
97
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.0",
|
|
4
4
|
"description": "CLI for working wit message catalogs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -18,16 +18,22 @@
|
|
|
18
18
|
"name": "Tomáš Ehrlich",
|
|
19
19
|
"email": "tomas.ehrlich@gmail.com"
|
|
20
20
|
},
|
|
21
|
-
"main": "./build/
|
|
21
|
+
"main": "./build/lingui.js",
|
|
22
22
|
"bin": {
|
|
23
23
|
"lingui": "./build/lingui.js"
|
|
24
24
|
},
|
|
25
25
|
"exports": {
|
|
26
26
|
".": {
|
|
27
|
-
"require": "./build/
|
|
27
|
+
"require": "./build/lingui.js"
|
|
28
28
|
},
|
|
29
29
|
"./api": {
|
|
30
30
|
"require": "./build/api/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./api/extractors/babel": {
|
|
33
|
+
"require": "./build/api/extractors/babel.js"
|
|
34
|
+
},
|
|
35
|
+
"./api/extractors/typescript": {
|
|
36
|
+
"require": "./build/api/extractors/typescript.js"
|
|
31
37
|
}
|
|
32
38
|
},
|
|
33
39
|
"engines": {
|
|
@@ -44,9 +50,9 @@
|
|
|
44
50
|
"@babel/plugin-syntax-jsx": "^7.10.4",
|
|
45
51
|
"@babel/runtime": "^7.11.2",
|
|
46
52
|
"@babel/types": "^7.11.5",
|
|
47
|
-
"@lingui/babel-plugin-extract-messages": "3.
|
|
48
|
-
"@lingui/conf": "3.
|
|
49
|
-
"@lingui/core": "3.
|
|
53
|
+
"@lingui/babel-plugin-extract-messages": "3.17.0",
|
|
54
|
+
"@lingui/conf": "3.17.0",
|
|
55
|
+
"@lingui/core": "3.17.0",
|
|
50
56
|
"babel-plugin-macros": "^3.0.1",
|
|
51
57
|
"bcp-47": "^1.0.7",
|
|
52
58
|
"chalk": "^4.1.0",
|
|
@@ -84,5 +90,5 @@
|
|
|
84
90
|
"babel-plugin-macros": "2 || 3",
|
|
85
91
|
"typescript": "2 || 3 || 4"
|
|
86
92
|
},
|
|
87
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "1c8bc46213b35b25da8fe7a80ddcf6f6a5d9d539"
|
|
88
94
|
}
|