@tamagui/metro-plugin 1.88.19 → 1.88.20
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/cjs/index.js +1 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +1 -5
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/index.js +0 -5
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +0 -6
- package/dist/esm/index.native.js +1 -5
- package/dist/esm/index.native.js.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +0 -8
- package/types/index.d.ts.map +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -25,12 +25,8 @@ __export(src_exports, {
|
|
|
25
25
|
withTamagui: () => withTamagui
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(src_exports);
|
|
28
|
-
var import_static = require("@tamagui/static")
|
|
28
|
+
var import_static = require("@tamagui/static");
|
|
29
29
|
function withTamagui(metroConfig, options) {
|
|
30
|
-
options.disableCSSInterop || (metroConfig = (0, import_metro.withCssInterop)(metroConfig, {
|
|
31
|
-
ignorePropertyWarningRegex: ["^--"]
|
|
32
|
-
// grouping: ['^group(/.*)?'],
|
|
33
|
-
}));
|
|
34
30
|
const extractor = (0, import_static.createExtractor)();
|
|
35
31
|
return options.disable || extractor.loadTamagui(options), metroConfig.transformerPath = require.resolve("./transformer"), metroConfig.transformer = {
|
|
36
32
|
...metroConfig.transformer,
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAqD
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAqD;AAG9C,SAAS,YACd,aACA,SAGA;AAEA,QAAM,gBAAY,+BAAgB;AAGlC,SAAK,QAAQ,WACN,UAAU,YAAY,OAAO,GAGpC,YAAY,kBAAkB,gBAAgB,eAAe,GAC7D,YAAY,cAAc;AAAA,IACxB,GAAG,YAAY;AAAA,IACf,SAAS;AAAA,MACP,GAAG;AAAA,MACH,qBAAqB;AAAA,IACvB;AAAA,EACF,GACO;AACT;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -26,12 +26,8 @@ __export(src_exports, {
|
|
|
26
26
|
withTamagui: () => withTamagui
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(src_exports);
|
|
29
|
-
var import_static = require("@tamagui/static")
|
|
29
|
+
var import_static = require("@tamagui/static");
|
|
30
30
|
function withTamagui(metroConfig, options) {
|
|
31
|
-
options.disableCSSInterop || (metroConfig = (0, import_metro.withCssInterop)(metroConfig, {
|
|
32
|
-
ignorePropertyWarningRegex: ["^--"]
|
|
33
|
-
// grouping: ['^group(/.*)?'],
|
|
34
|
-
}));
|
|
35
31
|
const extractor = (0, import_static.createExtractor)();
|
|
36
32
|
return options.disable || extractor.loadTamagui(options), metroConfig.transformerPath = require.resolve("./transformer"), metroConfig.transformer = {
|
|
37
33
|
...metroConfig.transformer,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAqD
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAqD;AAG9C,SAAS,YACd,aACA,SAGA;AAEA,QAAM,gBAAY,+BAAgB;AAGlC,SAAK,QAAQ,WACN,UAAU,YAAY,OAAO,GAGpC,YAAY,kBAAkB,gBAAgB,eAAe,GAC7D,YAAY,cAAc;AAAA,IACxB,GAAG,YAAY;AAAA,IACf,SAAS;AAAA,MACP,GAAG;AAAA,MACH,qBAAqB;AAAA,IACvB;AAAA,EACF,GACO;AACT;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { createExtractor } from "@tamagui/static";
|
|
2
|
-
import { withCssInterop } from "react-native-css-interop/metro";
|
|
3
2
|
function withTamagui(metroConfig, options) {
|
|
4
|
-
options.disableCSSInterop || (metroConfig = withCssInterop(metroConfig, {
|
|
5
|
-
ignorePropertyWarningRegex: ["^--"]
|
|
6
|
-
// grouping: ['^group(/.*)?'],
|
|
7
|
-
}));
|
|
8
3
|
const extractor = createExtractor();
|
|
9
4
|
return options.disable || extractor.loadTamagui(options), metroConfig.transformerPath = require.resolve("./transformer"), metroConfig.transformer = {
|
|
10
5
|
...metroConfig.transformer,
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": "AAAA,SAAS,uBAA4C;
|
|
4
|
+
"mappings": "AAAA,SAAS,uBAA4C;AAG9C,SAAS,YACd,aACA,SAGA;AAEA,QAAM,YAAY,gBAAgB;AAGlC,SAAK,QAAQ,WACN,UAAU,YAAY,OAAO,GAGpC,YAAY,kBAAkB,gBAAgB,eAAe,GAC7D,YAAY,cAAc;AAAA,IACxB,GAAG,YAAY;AAAA,IACf,SAAS;AAAA,MACP,GAAG;AAAA,MACH,qBAAqB;AAAA,IACvB;AAAA,EACF,GACO;AACT;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { createExtractor } from "@tamagui/static";
|
|
2
|
-
import { withCssInterop } from "react-native-css-interop/metro";
|
|
3
2
|
function withTamagui(metroConfig, options) {
|
|
4
|
-
options.disableCSSInterop || (metroConfig = withCssInterop(metroConfig, {
|
|
5
|
-
ignorePropertyWarningRegex: ["^--"]
|
|
6
|
-
// grouping: ['^group(/.*)?'],
|
|
7
|
-
}));
|
|
8
|
-
|
|
9
3
|
const extractor = createExtractor();
|
|
10
4
|
return options.disable || extractor.loadTamagui(options), metroConfig.transformerPath = require.resolve("./transformer"), metroConfig.transformer = {
|
|
11
5
|
...metroConfig.transformer,
|
package/dist/esm/index.native.js
CHANGED
|
@@ -26,12 +26,8 @@ __export(src_exports, {
|
|
|
26
26
|
withTamagui: () => withTamagui
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(src_exports);
|
|
29
|
-
var import_static = require("@tamagui/static")
|
|
29
|
+
var import_static = require("@tamagui/static");
|
|
30
30
|
function withTamagui(metroConfig, options) {
|
|
31
|
-
options.disableCSSInterop || (metroConfig = (0, import_metro.withCssInterop)(metroConfig, {
|
|
32
|
-
ignorePropertyWarningRegex: ["^--"]
|
|
33
|
-
// grouping: ['^group(/.*)?'],
|
|
34
|
-
}));
|
|
35
31
|
const extractor = (0, import_static.createExtractor)();
|
|
36
32
|
return options.disable || extractor.loadTamagui(options), metroConfig.transformerPath = require.resolve("./transformer"), metroConfig.transformer = {
|
|
37
33
|
...metroConfig.transformer,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAqD
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAqD;AAG9C,SAAS,YACd,aACA,SAGA;AAEA,QAAM,gBAAY,+BAAgB;AAGlC,SAAK,QAAQ,WACN,UAAU,YAAY,OAAO,GAGpC,YAAY,kBAAkB,gBAAgB,eAAe,GAC7D,YAAY,cAAc;AAAA,IACxB,GAAG,YAAY;AAAA,IACf,SAAS;AAAA,MACP,GAAG;AAAA,MACH,qBAAqB;AAAA,IACvB;AAAA,EACF,GACO;AACT;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/metro-plugin",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.20",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/cjs",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"clean:build": "tamagui-build clean:build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tamagui/static": "1.88.
|
|
26
|
+
"@tamagui/static": "1.88.20",
|
|
27
27
|
"metro-config": "^0.80.4",
|
|
28
28
|
"metro-transform-worker": "^0.80.4",
|
|
29
29
|
"react-native-css-interop": "~0.0.21"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@tamagui/build": "1.88.
|
|
32
|
+
"@tamagui/build": "1.88.20"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { createExtractor, type TamaguiOptions } from '@tamagui/static'
|
|
2
2
|
import type { ComposableIntermediateConfigT } from 'react-native-css-interop/metro'
|
|
3
|
-
import { withCssInterop } from 'react-native-css-interop/metro'
|
|
4
3
|
|
|
5
4
|
export function withTamagui(
|
|
6
5
|
metroConfig: ComposableIntermediateConfigT,
|
|
@@ -8,13 +7,6 @@ export function withTamagui(
|
|
|
8
7
|
disableCSSInterop?: boolean
|
|
9
8
|
}
|
|
10
9
|
) {
|
|
11
|
-
if (!options.disableCSSInterop) {
|
|
12
|
-
metroConfig = withCssInterop(metroConfig, {
|
|
13
|
-
ignorePropertyWarningRegex: ['^--'],
|
|
14
|
-
// grouping: ['^group(/.*)?'],
|
|
15
|
-
})
|
|
16
|
-
}
|
|
17
|
-
|
|
18
10
|
// run one build up front
|
|
19
11
|
const extractor = createExtractor()
|
|
20
12
|
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,gCAAgC,CAAA;AAEnF,wBAAgB,WAAW,CACzB,WAAW,EAAE,6BAA6B,EAC1C,OAAO,EAAE,cAAc,GAAG;IACxB,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,iCAmBF"}
|