@lingui/loader 5.9.1 → 6.0.0-next.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/index.cjs +1 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.mjs +1 -2
- package/package.json +18 -13
- package/dist/index.d.ts +0 -16
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/loader",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-next.0",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "webpack loader for lingui message catalogs",
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist/index.cjs"
|
|
8
|
+
},
|
|
8
9
|
"sideEffects": false,
|
|
9
10
|
"author": {
|
|
10
11
|
"name": "Tomáš Ehrlich",
|
|
@@ -23,8 +24,8 @@
|
|
|
23
24
|
"multilingual"
|
|
24
25
|
],
|
|
25
26
|
"scripts": {
|
|
26
|
-
"build": "
|
|
27
|
-
"
|
|
27
|
+
"build": "unbuild",
|
|
28
|
+
"check-types": "tsc --noEmit"
|
|
28
29
|
},
|
|
29
30
|
"homepage": "https://lingui.dev",
|
|
30
31
|
"repository": {
|
|
@@ -36,7 +37,7 @@
|
|
|
36
37
|
"url": "https://github.com/lingui/js-lingui/issues"
|
|
37
38
|
},
|
|
38
39
|
"engines": {
|
|
39
|
-
"node": ">=
|
|
40
|
+
"node": ">=22.19.0"
|
|
40
41
|
},
|
|
41
42
|
"files": [
|
|
42
43
|
"LICENSE",
|
|
@@ -44,17 +45,21 @@
|
|
|
44
45
|
"dist/"
|
|
45
46
|
],
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"@
|
|
48
|
-
"@lingui/
|
|
49
|
-
"@lingui/conf": "5.9.1"
|
|
48
|
+
"@lingui/cli": "6.0.0-next.0",
|
|
49
|
+
"@lingui/conf": "6.0.0-next.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@lingui/format-json": "
|
|
53
|
-
"
|
|
52
|
+
"@lingui/format-json": "6.0.0-next.0",
|
|
53
|
+
"jiti": "^2.6.1",
|
|
54
|
+
"unbuild": "3.6.1",
|
|
55
|
+
"vitest": "4.0.18",
|
|
54
56
|
"webpack": "^5.76.1"
|
|
55
57
|
},
|
|
56
58
|
"peerDependencies": {
|
|
57
59
|
"webpack": "^5.0.0"
|
|
58
60
|
},
|
|
59
|
-
"
|
|
61
|
+
"unbuild": {
|
|
62
|
+
"declaration": "node16"
|
|
63
|
+
},
|
|
64
|
+
"gitHead": "a9576050487a4f7dfbc88db20814d5a1bb861c8c"
|
|
60
65
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { LoaderDefinitionFunction } from 'webpack';
|
|
2
|
-
|
|
3
|
-
type LinguiLoaderOptions = {
|
|
4
|
-
config?: string;
|
|
5
|
-
/**
|
|
6
|
-
* If true would fail compilation on missing translations
|
|
7
|
-
**/
|
|
8
|
-
failOnMissing?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* If true would fail compilation on message compilation errors
|
|
11
|
-
**/
|
|
12
|
-
failOnCompileError?: boolean;
|
|
13
|
-
};
|
|
14
|
-
declare const loader: LoaderDefinitionFunction<LinguiLoaderOptions>;
|
|
15
|
-
|
|
16
|
-
export { loader as default };
|