@lingui/metro-transformer 5.9.0 → 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/expo/index.cjs +1 -1
- package/dist/expo/index.d.cts +1 -1
- package/dist/expo/index.d.mts +1 -1
- package/dist/expo/index.mjs +1 -1
- package/dist/react-native/index.cjs +1 -1
- package/dist/react-native/index.d.cts +1 -1
- package/dist/react-native/index.d.mts +1 -1
- package/dist/react-native/index.mjs +1 -1
- package/dist/shared/{metro-transformer.ab762e48.mjs → metro-transformer.BK9ARr0z.mjs} +1 -1
- package/package.json +15 -15
- package/dist/expo/index.d.ts +0 -8
- package/dist/react-native/index.d.ts +0 -8
- package/dist/shared/metro-transformer.23194d80.d.ts +0 -8
- /package/dist/shared/{metro-transformer.145819d7.cjs → metro-transformer.BEuppBsx.cjs} +0 -0
- /package/dist/shared/{metro-transformer.23194d80.d.cts → metro-transformer.BWVNJFsv.d.cts} +0 -0
- /package/dist/shared/{metro-transformer.23194d80.d.mts → metro-transformer.BWVNJFsv.d.mts} +0 -0
package/dist/expo/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const metroTransformer = require('../shared/metro-transformer.
|
|
3
|
+
const metroTransformer = require('../shared/metro-transformer.BEuppBsx.cjs');
|
|
4
4
|
const expoTransformer = require('@expo/metro-config/babel-transformer');
|
|
5
5
|
require('@lingui/conf');
|
|
6
6
|
require('@lingui/cli/api');
|
package/dist/expo/index.d.cts
CHANGED
package/dist/expo/index.d.mts
CHANGED
package/dist/expo/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createLinguiMetroTransformer } from '../shared/metro-transformer.
|
|
1
|
+
import { c as createLinguiMetroTransformer } from '../shared/metro-transformer.BK9ARr0z.mjs';
|
|
2
2
|
import expoTransformer from '@expo/metro-config/babel-transformer';
|
|
3
3
|
import '@lingui/conf';
|
|
4
4
|
import '@lingui/cli/api';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const metroTransformer = require('../shared/metro-transformer.
|
|
3
|
+
const metroTransformer = require('../shared/metro-transformer.BEuppBsx.cjs');
|
|
4
4
|
const reactNativeTransformer = require('@react-native/metro-babel-transformer');
|
|
5
5
|
require('@lingui/conf');
|
|
6
6
|
require('@lingui/cli/api');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createLinguiMetroTransformer } from '../shared/metro-transformer.
|
|
1
|
+
import { c as createLinguiMetroTransformer } from '../shared/metro-transformer.BK9ARr0z.mjs';
|
|
2
2
|
import reactNativeTransformer from '@react-native/metro-babel-transformer';
|
|
3
3
|
import '@lingui/conf';
|
|
4
4
|
import '@lingui/cli/api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getConfig } from '@lingui/conf';
|
|
2
|
-
import { getCatalogForFile, createCompiledCatalog
|
|
2
|
+
import { getCatalogs, getCatalogForFile, createCompiledCatalog } from '@lingui/cli/api';
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import memoizeOne from 'memoize-one';
|
|
5
5
|
|
package/package.json
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingui/metro-transformer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-next.0",
|
|
4
|
+
"type": "commonjs",
|
|
4
5
|
"description": "Metro bundler transformer for LinguiJS catalogs",
|
|
5
6
|
"exports": {
|
|
6
7
|
"./expo": {
|
|
7
8
|
"require": "./dist/expo/index.cjs",
|
|
8
|
-
"import": "./dist/expo/index.mjs"
|
|
9
|
-
"types": "./dist/expo/index.d.ts"
|
|
9
|
+
"import": "./dist/expo/index.mjs"
|
|
10
10
|
},
|
|
11
11
|
"./react-native": {
|
|
12
12
|
"require": "./dist/react-native/index.cjs",
|
|
13
|
-
"import": "./dist/react-native/index.mjs"
|
|
14
|
-
"types": "./dist/react-native/index.d.ts"
|
|
13
|
+
"import": "./dist/react-native/index.mjs"
|
|
15
14
|
}
|
|
16
15
|
},
|
|
17
16
|
"publishConfig": {
|
|
@@ -36,8 +35,8 @@
|
|
|
36
35
|
"multilingual"
|
|
37
36
|
],
|
|
38
37
|
"scripts": {
|
|
39
|
-
"build": "
|
|
40
|
-
"
|
|
38
|
+
"build": "unbuild",
|
|
39
|
+
"check-types": "tsc --noEmit"
|
|
41
40
|
},
|
|
42
41
|
"homepage": "https://lingui.dev",
|
|
43
42
|
"repository": {
|
|
@@ -49,7 +48,7 @@
|
|
|
49
48
|
"url": "https://github.com/lingui/js-lingui/issues"
|
|
50
49
|
},
|
|
51
50
|
"engines": {
|
|
52
|
-
"node": ">=
|
|
51
|
+
"node": ">=22.19.0"
|
|
53
52
|
},
|
|
54
53
|
"files": [
|
|
55
54
|
"LICENSE",
|
|
@@ -57,15 +56,13 @@
|
|
|
57
56
|
"dist/"
|
|
58
57
|
],
|
|
59
58
|
"dependencies": {
|
|
60
|
-
"@
|
|
61
|
-
"@lingui/
|
|
62
|
-
"@lingui/conf": "5.9.0",
|
|
59
|
+
"@lingui/cli": "6.0.0-next.0",
|
|
60
|
+
"@lingui/conf": "6.0.0-next.0",
|
|
63
61
|
"memoize-one": "^6.0.0"
|
|
64
62
|
},
|
|
65
63
|
"devDependencies": {
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"unbuild": "2.0.0"
|
|
64
|
+
"unbuild": "3.6.1",
|
|
65
|
+
"vitest": "4.0.18"
|
|
69
66
|
},
|
|
70
67
|
"peerDependencies": {
|
|
71
68
|
"@expo/metro-config": "*",
|
|
@@ -84,5 +81,8 @@
|
|
|
84
81
|
"optional": true
|
|
85
82
|
}
|
|
86
83
|
},
|
|
87
|
-
"
|
|
84
|
+
"unbuild": {
|
|
85
|
+
"declaration": "node16"
|
|
86
|
+
},
|
|
87
|
+
"gitHead": "a9576050487a4f7dfbc88db20814d5a1bb861c8c"
|
|
88
88
|
}
|
package/dist/expo/index.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|