@tamagui/static 1.26.0 → 1.27.0-1684163004699
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/require.js +43 -41
- package/dist/cjs/require.js.map +1 -1
- package/dist/esm/require.js +43 -41
- package/dist/esm/require.js.map +1 -1
- package/package.json +14 -14
- package/src/extractor/bundleConfig.ts +1 -1
- package/src/require.ts +88 -87
- package/types/require.d.ts.map +1 -1
- package/dist/esm/constants.mjs +0 -15
- package/dist/esm/constants.mjs.map +0 -6
- package/dist/esm/extractor/accessSafe.mjs +0 -19
- package/dist/esm/extractor/accessSafe.mjs.map +0 -6
- package/dist/esm/extractor/babelParse.mjs +0 -32
- package/dist/esm/extractor/babelParse.mjs.map +0 -6
- package/dist/esm/extractor/buildClassName.mjs +0 -65
- package/dist/esm/extractor/buildClassName.mjs.map +0 -6
- package/dist/esm/extractor/bundle.mjs +0 -92
- package/dist/esm/extractor/bundle.mjs.map +0 -6
- package/dist/esm/extractor/bundleConfig.mjs +0 -369
- package/dist/esm/extractor/bundleConfig.mjs.map +0 -6
- package/dist/esm/extractor/createEvaluator.mjs +0 -52
- package/dist/esm/extractor/createEvaluator.mjs.map +0 -6
- package/dist/esm/extractor/createExtractor.mjs +0 -1628
- package/dist/esm/extractor/createExtractor.mjs.map +0 -6
- package/dist/esm/extractor/ensureImportingConcat.mjs +0 -31
- package/dist/esm/extractor/ensureImportingConcat.mjs.map +0 -6
- package/dist/esm/extractor/evaluateAstNode.mjs +0 -97
- package/dist/esm/extractor/evaluateAstNode.mjs.map +0 -6
- package/dist/esm/extractor/extractHelpers.mjs +0 -162
- package/dist/esm/extractor/extractHelpers.mjs.map +0 -6
- package/dist/esm/extractor/extractMediaStyle.mjs +0 -162
- package/dist/esm/extractor/extractMediaStyle.mjs.map +0 -6
- package/dist/esm/extractor/extractToClassNames.mjs +0 -381
- package/dist/esm/extractor/extractToClassNames.mjs.map +0 -6
- package/dist/esm/extractor/findTopmostFunction.mjs +0 -20
- package/dist/esm/extractor/findTopmostFunction.mjs.map +0 -6
- package/dist/esm/extractor/generateTamaguiStudioConfig.mjs +0 -82
- package/dist/esm/extractor/generateTamaguiStudioConfig.mjs.map +0 -6
- package/dist/esm/extractor/generatedUid.mjs +0 -26
- package/dist/esm/extractor/generatedUid.mjs.map +0 -6
- package/dist/esm/extractor/getPrefixLogs.mjs +0 -8
- package/dist/esm/extractor/getPrefixLogs.mjs.map +0 -6
- package/dist/esm/extractor/getPropValueFromAttributes.mjs +0 -56
- package/dist/esm/extractor/getPropValueFromAttributes.mjs.map +0 -6
- package/dist/esm/extractor/getSourceModule.mjs +0 -70
- package/dist/esm/extractor/getSourceModule.mjs.map +0 -6
- package/dist/esm/extractor/getStaticBindingsForScope.mjs +0 -191
- package/dist/esm/extractor/getStaticBindingsForScope.mjs.map +0 -6
- package/dist/esm/extractor/hoistClassNames.mjs +0 -41
- package/dist/esm/extractor/hoistClassNames.mjs.map +0 -6
- package/dist/esm/extractor/literalToAst.mjs +0 -81
- package/dist/esm/extractor/literalToAst.mjs.map +0 -6
- package/dist/esm/extractor/loadFile.mjs +0 -20
- package/dist/esm/extractor/loadFile.mjs.map +0 -6
- package/dist/esm/extractor/loadTamagui.mjs +0 -219
- package/dist/esm/extractor/loadTamagui.mjs.map +0 -6
- package/dist/esm/extractor/logLines.mjs +0 -20
- package/dist/esm/extractor/logLines.mjs.map +0 -6
- package/dist/esm/extractor/normalizeTernaries.mjs +0 -52
- package/dist/esm/extractor/normalizeTernaries.mjs.map +0 -6
- package/dist/esm/extractor/removeUnusedHooks.mjs +0 -76
- package/dist/esm/extractor/removeUnusedHooks.mjs.map +0 -6
- package/dist/esm/extractor/timer.mjs +0 -29
- package/dist/esm/extractor/timer.mjs.map +0 -6
- package/dist/esm/extractor/validHTMLAttributes.mjs +0 -102
- package/dist/esm/extractor/validHTMLAttributes.mjs.map +0 -6
- package/dist/esm/getPragmaOptions.mjs +0 -44
- package/dist/esm/getPragmaOptions.mjs.map +0 -6
- package/dist/esm/helpers/memoize.mjs +0 -22
- package/dist/esm/helpers/memoize.mjs.map +0 -6
- package/dist/esm/index.mjs +0 -16
- package/dist/esm/index.mjs.map +0 -6
- package/dist/esm/require.mjs +0 -61
- package/dist/esm/require.mjs.map +0 -6
- package/dist/esm/types.mjs +0 -1
- package/dist/esm/types.mjs.map +0 -6
- package/dist/esm/webpackPlugin.mjs +0 -11
- package/dist/esm/webpackPlugin.mjs.map +0 -6
- package/types/extractor/generateTamaguiConfig.d.ts +0 -4
package/dist/cjs/require.js
CHANGED
|
@@ -28,56 +28,58 @@ const Module = require("module");
|
|
|
28
28
|
const og = Module.prototype.require;
|
|
29
29
|
globalThis["ogRequire"] = og;
|
|
30
30
|
const getNameToPaths = () => nameToPaths;
|
|
31
|
+
const proxyWorm = require("@tamagui/proxy-worm");
|
|
32
|
+
const rnw = require("react-native-web");
|
|
33
|
+
const core = require("@tamagui/core-node");
|
|
34
|
+
let isRegistered = false;
|
|
31
35
|
function registerRequire() {
|
|
32
|
-
if (
|
|
36
|
+
if (isRegistered) {
|
|
33
37
|
return () => {
|
|
34
38
|
};
|
|
35
39
|
}
|
|
36
|
-
|
|
37
|
-
const rnw = require("react-native-web");
|
|
38
|
-
const core = require("@tamagui/core-node");
|
|
39
|
-
function tamaguiRequire(path) {
|
|
40
|
-
var _a;
|
|
41
|
-
if (/\.(gif|jpe?g|png|svg|ttf|otf|woff2?|bmp|webp)$/.test(path)) {
|
|
42
|
-
return {};
|
|
43
|
-
}
|
|
44
|
-
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient" || path === "@expo/vector-icons") {
|
|
45
|
-
return proxyWorm;
|
|
46
|
-
}
|
|
47
|
-
if (path === "react-native-web-lite" || path.startsWith("react-native") && // allow our rnw.tsx imports through
|
|
48
|
-
!path.startsWith("react-native-web/dist/cjs/exports".replace(/\//g, import_path.sep))) {
|
|
49
|
-
return rnw;
|
|
50
|
-
}
|
|
51
|
-
if (path === "@tamagui/core" || path === "@tamagui/core-node" || path === "@tamagui/web") {
|
|
52
|
-
return core;
|
|
53
|
-
}
|
|
54
|
-
try {
|
|
55
|
-
const out = og.apply(this, arguments);
|
|
56
|
-
return out;
|
|
57
|
-
} catch (err) {
|
|
58
|
-
if ((_a = process.env.DEBUG) == null ? void 0 : _a.startsWith("tamagui")) {
|
|
59
|
-
console.error(
|
|
60
|
-
`Tamagui failed loading the pre-built tamagui.config.ts
|
|
61
|
-
|
|
62
|
-
${err.message}
|
|
63
|
-
${err.stack}
|
|
64
|
-
|
|
65
|
-
You can see if it loads in the node repl:
|
|
66
|
-
|
|
67
|
-
require("./${(0, import_path.relative)(process.cwd(), path)}").default
|
|
68
|
-
|
|
69
|
-
`
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
return proxyWorm;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
tamaguiRequire["isTamaguiRequire"] = true;
|
|
40
|
+
isRegistered = true;
|
|
76
41
|
Module.prototype.require = tamaguiRequire;
|
|
77
42
|
return () => {
|
|
43
|
+
isRegistered = false;
|
|
78
44
|
Module.prototype.require = og;
|
|
79
45
|
};
|
|
80
46
|
}
|
|
47
|
+
function tamaguiRequire(path) {
|
|
48
|
+
var _a;
|
|
49
|
+
if (/\.(gif|jpe?g|png|svg|ttf|otf|woff2?|bmp|webp)$/.test(path)) {
|
|
50
|
+
return {};
|
|
51
|
+
}
|
|
52
|
+
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient" || path === "@expo/vector-icons") {
|
|
53
|
+
return proxyWorm;
|
|
54
|
+
}
|
|
55
|
+
if (path === "react-native-web-lite" || path.startsWith("react-native") && // allow our rnw.tsx imports through
|
|
56
|
+
!path.startsWith("react-native-web/dist/cjs/exports".replace(/\//g, import_path.sep))) {
|
|
57
|
+
return rnw;
|
|
58
|
+
}
|
|
59
|
+
if (path === "@tamagui/core" || path === "@tamagui/core-node" || path === "@tamagui/web") {
|
|
60
|
+
return core;
|
|
61
|
+
}
|
|
62
|
+
try {
|
|
63
|
+
const out = og.apply(this, arguments);
|
|
64
|
+
return out;
|
|
65
|
+
} catch (err) {
|
|
66
|
+
if ((_a = process.env.DEBUG) == null ? void 0 : _a.startsWith("tamagui")) {
|
|
67
|
+
console.error(
|
|
68
|
+
`Tamagui failed loading the pre-built tamagui.config.ts
|
|
69
|
+
|
|
70
|
+
${err.message}
|
|
71
|
+
${err.stack}
|
|
72
|
+
|
|
73
|
+
You can see if it loads in the node repl:
|
|
74
|
+
|
|
75
|
+
require("./${(0, import_path.relative)(process.cwd(), path)}").default
|
|
76
|
+
|
|
77
|
+
`
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
return proxyWorm;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
81
83
|
// Annotate the CommonJS export names for ESM import in node:
|
|
82
84
|
0 && (module.exports = {
|
|
83
85
|
getNameToPaths,
|
package/dist/cjs/require.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/require.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA8B;
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA8B;AAE9B,MAAM,cAAc,CAAC;AACrB,MAAM,SAAS,QAAQ,QAAQ;AAC/B,MAAM,KAAK,OAAO,UAAU;AAC5B,WAAW,WAAW,IAAI;AAEnB,MAAM,iBAAiB,MAAM;AAEpC,MAAM,YAAY,QAAQ,qBAAqB;AAE/C,MAAM,MAAM,QAAQ,kBAAkB;AACtC,MAAM,OAAO,QAAQ,oBAAoB;AAEzC,IAAI,eAAe;AAEZ,SAAS,kBAAkB;AAEhC,MAAI,cAAc;AAChB,WAAO,MAAM;AAAA,IAAC;AAAA,EAChB;AAEA,iBAAe;AAEf,SAAO,UAAU,UAAU;AAE3B,SAAO,MAAM;AAEX,mBAAe;AACf,WAAO,UAAU,UAAU;AAAA,EAC7B;AACF;AAEA,SAAS,eAA0B,MAAc;AAjCjD;AAkCE,MAAI,iDAAiD,KAAK,IAAI,GAAG;AAC/D,WAAO,CAAC;AAAA,EACV;AACA,MACE,SAAS,0BACT,KAAK,WAAW,yBAAyB,KACzC,SAAS,0BACT,SAAS,sBACT;AACA,WAAO;AAAA,EACT;AACA,MACE,SAAS,2BACR,KAAK,WAAW,cAAc;AAAA,EAE7B,CAAC,KAAK,WAAW,oCAAoC,QAAQ,OAAO,eAAG,CAAC,GAC1E;AACA,WAAO;AAAA,EACT;AACA,MACE,SAAS,mBACT,SAAS,wBACT,SAAS,gBACT;AACA,WAAO;AAAA,EACT;AACA,MAAI;AACF,UAAM,MAAM,GAAG,MAAM,MAAM,SAAS;AAwBpC,WAAO;AAAA,EACT,SAAS,KAAP;AAMA,SAAI,aAAQ,IAAI,UAAZ,mBAAmB,WAAW,YAAY;AAC5C,cAAQ;AAAA,QACN;AAAA;AAAA,EAEN,IAAI;AAAA,EACJ,IAAI;AAAA;AAAA;AAAA;AAAA,mBAIS,sBAAS,QAAQ,IAAI,GAAG,IAAI;AAAA;AAAA;AAAA,MAGrC;AAAA,IACF;AAEA,WAAO;AAAA,EACT;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/require.js
CHANGED
|
@@ -4,56 +4,58 @@ const Module = require("module");
|
|
|
4
4
|
const og = Module.prototype.require;
|
|
5
5
|
globalThis["ogRequire"] = og;
|
|
6
6
|
const getNameToPaths = () => nameToPaths;
|
|
7
|
+
const proxyWorm = require("@tamagui/proxy-worm");
|
|
8
|
+
const rnw = require("react-native-web");
|
|
9
|
+
const core = require("@tamagui/core-node");
|
|
10
|
+
let isRegistered = false;
|
|
7
11
|
function registerRequire() {
|
|
8
|
-
if (
|
|
12
|
+
if (isRegistered) {
|
|
9
13
|
return () => {
|
|
10
14
|
};
|
|
11
15
|
}
|
|
12
|
-
|
|
13
|
-
const rnw = require("react-native-web");
|
|
14
|
-
const core = require("@tamagui/core-node");
|
|
15
|
-
function tamaguiRequire(path) {
|
|
16
|
-
var _a;
|
|
17
|
-
if (/\.(gif|jpe?g|png|svg|ttf|otf|woff2?|bmp|webp)$/.test(path)) {
|
|
18
|
-
return {};
|
|
19
|
-
}
|
|
20
|
-
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient" || path === "@expo/vector-icons") {
|
|
21
|
-
return proxyWorm;
|
|
22
|
-
}
|
|
23
|
-
if (path === "react-native-web-lite" || path.startsWith("react-native") && // allow our rnw.tsx imports through
|
|
24
|
-
!path.startsWith("react-native-web/dist/cjs/exports".replace(/\//g, sep))) {
|
|
25
|
-
return rnw;
|
|
26
|
-
}
|
|
27
|
-
if (path === "@tamagui/core" || path === "@tamagui/core-node" || path === "@tamagui/web") {
|
|
28
|
-
return core;
|
|
29
|
-
}
|
|
30
|
-
try {
|
|
31
|
-
const out = og.apply(this, arguments);
|
|
32
|
-
return out;
|
|
33
|
-
} catch (err) {
|
|
34
|
-
if ((_a = process.env.DEBUG) == null ? void 0 : _a.startsWith("tamagui")) {
|
|
35
|
-
console.error(
|
|
36
|
-
`Tamagui failed loading the pre-built tamagui.config.ts
|
|
37
|
-
|
|
38
|
-
${err.message}
|
|
39
|
-
${err.stack}
|
|
40
|
-
|
|
41
|
-
You can see if it loads in the node repl:
|
|
42
|
-
|
|
43
|
-
require("./${relative(process.cwd(), path)}").default
|
|
44
|
-
|
|
45
|
-
`
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
return proxyWorm;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
tamaguiRequire["isTamaguiRequire"] = true;
|
|
16
|
+
isRegistered = true;
|
|
52
17
|
Module.prototype.require = tamaguiRequire;
|
|
53
18
|
return () => {
|
|
19
|
+
isRegistered = false;
|
|
54
20
|
Module.prototype.require = og;
|
|
55
21
|
};
|
|
56
22
|
}
|
|
23
|
+
function tamaguiRequire(path) {
|
|
24
|
+
var _a;
|
|
25
|
+
if (/\.(gif|jpe?g|png|svg|ttf|otf|woff2?|bmp|webp)$/.test(path)) {
|
|
26
|
+
return {};
|
|
27
|
+
}
|
|
28
|
+
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient" || path === "@expo/vector-icons") {
|
|
29
|
+
return proxyWorm;
|
|
30
|
+
}
|
|
31
|
+
if (path === "react-native-web-lite" || path.startsWith("react-native") && // allow our rnw.tsx imports through
|
|
32
|
+
!path.startsWith("react-native-web/dist/cjs/exports".replace(/\//g, sep))) {
|
|
33
|
+
return rnw;
|
|
34
|
+
}
|
|
35
|
+
if (path === "@tamagui/core" || path === "@tamagui/core-node" || path === "@tamagui/web") {
|
|
36
|
+
return core;
|
|
37
|
+
}
|
|
38
|
+
try {
|
|
39
|
+
const out = og.apply(this, arguments);
|
|
40
|
+
return out;
|
|
41
|
+
} catch (err) {
|
|
42
|
+
if ((_a = process.env.DEBUG) == null ? void 0 : _a.startsWith("tamagui")) {
|
|
43
|
+
console.error(
|
|
44
|
+
`Tamagui failed loading the pre-built tamagui.config.ts
|
|
45
|
+
|
|
46
|
+
${err.message}
|
|
47
|
+
${err.stack}
|
|
48
|
+
|
|
49
|
+
You can see if it loads in the node repl:
|
|
50
|
+
|
|
51
|
+
require("./${relative(process.cwd(), path)}").default
|
|
52
|
+
|
|
53
|
+
`
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
return proxyWorm;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
57
59
|
export {
|
|
58
60
|
getNameToPaths,
|
|
59
61
|
registerRequire
|
package/dist/esm/require.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/require.ts"],
|
|
4
|
-
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A,IACF;AAEA,WAAO;AAAA,EACT;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/static",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.0-1684163004699",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"@babel/plugin-transform-react-jsx": "^7.19.0",
|
|
35
35
|
"@babel/runtime": "^7.19.4",
|
|
36
36
|
"@babel/traverse": "^7.19.6",
|
|
37
|
-
"@tamagui/build": "1.
|
|
38
|
-
"@tamagui/cli-color": "1.
|
|
39
|
-
"@tamagui/config-default-node": "1.
|
|
40
|
-
"@tamagui/core-node": "1.
|
|
41
|
-
"@tamagui/fake-react-native": "1.
|
|
42
|
-
"@tamagui/helpers": "1.
|
|
43
|
-
"@tamagui/helpers-node": "1.
|
|
44
|
-
"@tamagui/proxy-worm": "1.
|
|
45
|
-
"@tamagui/shorthands": "1.
|
|
46
|
-
"@tamagui/types": "1.
|
|
37
|
+
"@tamagui/build": "1.27.0-1684163004699",
|
|
38
|
+
"@tamagui/cli-color": "1.27.0-1684163004699",
|
|
39
|
+
"@tamagui/config-default-node": "1.27.0-1684163004699",
|
|
40
|
+
"@tamagui/core-node": "1.27.0-1684163004699",
|
|
41
|
+
"@tamagui/fake-react-native": "1.27.0-1684163004699",
|
|
42
|
+
"@tamagui/helpers": "1.27.0-1684163004699",
|
|
43
|
+
"@tamagui/helpers-node": "1.27.0-1684163004699",
|
|
44
|
+
"@tamagui/proxy-worm": "1.27.0-1684163004699",
|
|
45
|
+
"@tamagui/shorthands": "1.27.0-1684163004699",
|
|
46
|
+
"@tamagui/types": "1.27.0-1684163004699",
|
|
47
47
|
"babel-literal-to-ast": "^2.1.0",
|
|
48
48
|
"esbuild": "^0.17.17",
|
|
49
49
|
"esbuild-register": "^3.4.2",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"invariant": "^2.2.4",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
55
|
"react-native-web": "^0.18.10",
|
|
56
|
-
"react-native-web-internals": "1.
|
|
57
|
-
"react-native-web-lite": "1.
|
|
56
|
+
"react-native-web-internals": "1.27.0-1684163004699",
|
|
57
|
+
"react-native-web-lite": "1.27.0-1684163004699"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@babel/plugin-syntax-typescript": "^7.18.6",
|
|
61
61
|
"@babel/types": "^7.19.4",
|
|
62
62
|
"@dish/babel-preset": "^0.0.6",
|
|
63
63
|
"@expo/match-media": "^0.4.0",
|
|
64
|
-
"@tamagui/test-design-system": "1.
|
|
64
|
+
"@tamagui/test-design-system": "1.27.0-1684163004699",
|
|
65
65
|
"@testing-library/react": "^13.4.0",
|
|
66
66
|
"@types/babel__generator": "^7.6.4",
|
|
67
67
|
"@types/babel__traverse": "^7.18.2",
|
|
@@ -161,7 +161,7 @@ export async function bundleConfig(props: TamaguiOptions) {
|
|
|
161
161
|
try {
|
|
162
162
|
out = require(configOutPath)
|
|
163
163
|
} catch (err) {
|
|
164
|
-
// rome-ignore lint/
|
|
164
|
+
// rome-ignore lint/complexity/noUselessCatch: <explanation>
|
|
165
165
|
throw err
|
|
166
166
|
} finally {
|
|
167
167
|
unregister()
|
package/src/require.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { relative, sep } from 'path'
|
|
2
2
|
|
|
3
|
-
import { SHOULD_DEBUG } from './constants'
|
|
4
|
-
|
|
5
3
|
const nameToPaths = {}
|
|
6
4
|
const Module = require('module')
|
|
7
5
|
const og = Module.prototype.require
|
|
@@ -9,101 +7,104 @@ globalThis['ogRequire'] = og
|
|
|
9
7
|
|
|
10
8
|
export const getNameToPaths = () => nameToPaths
|
|
11
9
|
|
|
10
|
+
const proxyWorm = require('@tamagui/proxy-worm')
|
|
11
|
+
// TODO can swap with react-native-web-lite
|
|
12
|
+
const rnw = require('react-native-web')
|
|
13
|
+
const core = require('@tamagui/core-node')
|
|
14
|
+
|
|
15
|
+
let isRegistered = false
|
|
16
|
+
|
|
12
17
|
export function registerRequire() {
|
|
13
|
-
|
|
14
|
-
|
|
18
|
+
// already registered
|
|
19
|
+
if (isRegistered) {
|
|
15
20
|
return () => {}
|
|
16
21
|
}
|
|
17
22
|
|
|
18
|
-
|
|
19
|
-
// TODO can swap with react-native-web-lite
|
|
20
|
-
const rnw = require('react-native-web')
|
|
21
|
-
const core = require('@tamagui/core-node')
|
|
23
|
+
isRegistered = true
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
if (/\.(gif|jpe?g|png|svg|ttf|otf|woff2?|bmp|webp)$/.test(path)) {
|
|
25
|
-
return {}
|
|
26
|
-
}
|
|
27
|
-
if (
|
|
28
|
-
path === '@gorhom/bottom-sheet' ||
|
|
29
|
-
path.startsWith('react-native-reanimated') ||
|
|
30
|
-
path === 'expo-linear-gradient' ||
|
|
31
|
-
path === '@expo/vector-icons'
|
|
32
|
-
) {
|
|
33
|
-
return proxyWorm
|
|
34
|
-
}
|
|
35
|
-
if (
|
|
36
|
-
path === 'react-native-web-lite' ||
|
|
37
|
-
(path.startsWith('react-native') &&
|
|
38
|
-
// allow our rnw.tsx imports through
|
|
39
|
-
!path.startsWith('react-native-web/dist/cjs/exports'.replace(/\//g, sep)))
|
|
40
|
-
) {
|
|
41
|
-
return rnw
|
|
42
|
-
}
|
|
43
|
-
if (
|
|
44
|
-
path === '@tamagui/core' ||
|
|
45
|
-
path === '@tamagui/core-node' ||
|
|
46
|
-
path === '@tamagui/web'
|
|
47
|
-
) {
|
|
48
|
-
return core
|
|
49
|
-
}
|
|
50
|
-
try {
|
|
51
|
-
const out = og.apply(this, arguments)
|
|
52
|
-
// only for studio disable for now
|
|
53
|
-
// if (!nameToPaths[path]) {
|
|
54
|
-
// if (out && typeof out === 'object') {
|
|
55
|
-
// for (const key in out) {
|
|
56
|
-
// try {
|
|
57
|
-
// const conf = out[key]?.staticConfig as StaticConfig
|
|
58
|
-
// if (conf) {
|
|
59
|
-
// if (conf.componentName) {
|
|
60
|
-
// nameToPaths[conf.componentName] ??= new Set()
|
|
61
|
-
// const fullName = path.startsWith('.')
|
|
62
|
-
// ? join(`${this.path.replace(/dist(\/cjs)?/, 'src')}`, path)
|
|
63
|
-
// : path
|
|
64
|
-
// nameToPaths[conf.componentName].add(fullName)
|
|
65
|
-
// } else {
|
|
66
|
-
// // console.log('no name component', path)
|
|
67
|
-
// }
|
|
68
|
-
// }
|
|
69
|
-
// } catch {
|
|
70
|
-
// // ok
|
|
71
|
-
// }
|
|
72
|
-
// }
|
|
73
|
-
// }
|
|
74
|
-
// }
|
|
75
|
-
return out
|
|
76
|
-
} catch (err: any) {
|
|
77
|
-
/**
|
|
78
|
-
* Allow errors to happen, we're just reading config and components but sometimes external modules cause problems
|
|
79
|
-
* We can't fix every problem, so just swap them out with proxyWorm which is a sort of generic object that can be read.
|
|
80
|
-
*/
|
|
25
|
+
Module.prototype.require = tamaguiRequire
|
|
81
26
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
You can see if it loads in the node repl:
|
|
90
|
-
|
|
91
|
-
require("./${relative(process.cwd(), path)}").default
|
|
92
|
-
|
|
93
|
-
`
|
|
94
|
-
)
|
|
95
|
-
}
|
|
27
|
+
return () => {
|
|
28
|
+
// unregister
|
|
29
|
+
isRegistered = false
|
|
30
|
+
Module.prototype.require = og
|
|
31
|
+
}
|
|
32
|
+
}
|
|
96
33
|
|
|
97
|
-
|
|
98
|
-
|
|
34
|
+
function tamaguiRequire(this: any, path: string) {
|
|
35
|
+
if (/\.(gif|jpe?g|png|svg|ttf|otf|woff2?|bmp|webp)$/.test(path)) {
|
|
36
|
+
return {}
|
|
37
|
+
}
|
|
38
|
+
if (
|
|
39
|
+
path === '@gorhom/bottom-sheet' ||
|
|
40
|
+
path.startsWith('react-native-reanimated') ||
|
|
41
|
+
path === 'expo-linear-gradient' ||
|
|
42
|
+
path === '@expo/vector-icons'
|
|
43
|
+
) {
|
|
44
|
+
return proxyWorm
|
|
45
|
+
}
|
|
46
|
+
if (
|
|
47
|
+
path === 'react-native-web-lite' ||
|
|
48
|
+
(path.startsWith('react-native') &&
|
|
49
|
+
// allow our rnw.tsx imports through
|
|
50
|
+
!path.startsWith('react-native-web/dist/cjs/exports'.replace(/\//g, sep)))
|
|
51
|
+
) {
|
|
52
|
+
return rnw
|
|
99
53
|
}
|
|
54
|
+
if (
|
|
55
|
+
path === '@tamagui/core' ||
|
|
56
|
+
path === '@tamagui/core-node' ||
|
|
57
|
+
path === '@tamagui/web'
|
|
58
|
+
) {
|
|
59
|
+
return core
|
|
60
|
+
}
|
|
61
|
+
try {
|
|
62
|
+
const out = og.apply(this, arguments)
|
|
63
|
+
// only for studio disable for now
|
|
64
|
+
// if (!nameToPaths[path]) {
|
|
65
|
+
// if (out && typeof out === 'object') {
|
|
66
|
+
// for (const key in out) {
|
|
67
|
+
// try {
|
|
68
|
+
// const conf = out[key]?.staticConfig as StaticConfig
|
|
69
|
+
// if (conf) {
|
|
70
|
+
// if (conf.componentName) {
|
|
71
|
+
// nameToPaths[conf.componentName] ??= new Set()
|
|
72
|
+
// const fullName = path.startsWith('.')
|
|
73
|
+
// ? join(`${this.path.replace(/dist(\/cjs)?/, 'src')}`, path)
|
|
74
|
+
// : path
|
|
75
|
+
// nameToPaths[conf.componentName].add(fullName)
|
|
76
|
+
// } else {
|
|
77
|
+
// // console.log('no name component', path)
|
|
78
|
+
// }
|
|
79
|
+
// }
|
|
80
|
+
// } catch {
|
|
81
|
+
// // ok
|
|
82
|
+
// }
|
|
83
|
+
// }
|
|
84
|
+
// }
|
|
85
|
+
// }
|
|
86
|
+
return out
|
|
87
|
+
} catch (err: any) {
|
|
88
|
+
/**
|
|
89
|
+
* Allow errors to happen, we're just reading config and components but sometimes external modules cause problems
|
|
90
|
+
* We can't fix every problem, so just swap them out with proxyWorm which is a sort of generic object that can be read.
|
|
91
|
+
*/
|
|
100
92
|
|
|
101
|
-
|
|
93
|
+
if (process.env.DEBUG?.startsWith('tamagui')) {
|
|
94
|
+
console.error(
|
|
95
|
+
`Tamagui failed loading the pre-built tamagui.config.ts
|
|
102
96
|
|
|
103
|
-
|
|
97
|
+
${err.message}
|
|
98
|
+
${err.stack}
|
|
104
99
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
You can see if it loads in the node repl:
|
|
101
|
+
|
|
102
|
+
require("./${relative(process.cwd(), path)}").default
|
|
103
|
+
|
|
104
|
+
`
|
|
105
|
+
)
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
return proxyWorm
|
|
108
109
|
}
|
|
109
110
|
}
|
package/types/require.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require.d.ts","sourceRoot":"","sources":["../src/require.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require.d.ts","sourceRoot":"","sources":["../src/require.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc,UAAoB,CAAA;AAS/C,wBAAgB,eAAe,eAe9B"}
|
package/dist/esm/constants.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
import findCacheDir from "find-cache-dir";
|
|
3
|
-
const CSS_FILE_NAME = "__snack.css";
|
|
4
|
-
const MEDIA_SEP = "_";
|
|
5
|
-
const cacheDir = findCacheDir({ name: "tamagui", create: true });
|
|
6
|
-
const FAILED_EVAL = Symbol("failed_style_eval");
|
|
7
|
-
const SHOULD_DEBUG = process.env.DEBUG === "*" || ((_a = process.env.DEBUG) == null ? void 0 : _a.startsWith("tamagui"));
|
|
8
|
-
export {
|
|
9
|
-
CSS_FILE_NAME,
|
|
10
|
-
FAILED_EVAL,
|
|
11
|
-
MEDIA_SEP,
|
|
12
|
-
SHOULD_DEBUG,
|
|
13
|
-
cacheDir
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=constants.mjs.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/constants.ts"],
|
|
4
|
-
"mappings": "AAAA;AAAA,OAAO,kBAAkB;AAElB,MAAM,gBAAgB;AAGtB,MAAM,YAAY;AAGlB,MAAM,WAAW,aAAa,EAAE,MAAM,WAAW,QAAQ,KAAK,CAAC;AAE/D,MAAM,cAAc,OAAO,mBAAmB;AAE9C,MAAM,eAAe,QAAQ,IAAI,UAAU,SAAO,aAAQ,IAAI,UAAZ,mBAAmB,WAAW;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as t from "@babel/types";
|
|
2
|
-
function accessSafe(obj, member) {
|
|
3
|
-
return t.logicalExpression(
|
|
4
|
-
"&&",
|
|
5
|
-
t.logicalExpression(
|
|
6
|
-
"&&",
|
|
7
|
-
// typeof obj === 'object
|
|
8
|
-
t.binaryExpression("===", t.unaryExpression("typeof", obj), t.stringLiteral("object")),
|
|
9
|
-
// obj !== null
|
|
10
|
-
t.binaryExpression("!==", obj, t.nullLiteral())
|
|
11
|
-
),
|
|
12
|
-
// obj.member
|
|
13
|
-
t.memberExpression(obj, t.identifier(member), false)
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
export {
|
|
17
|
-
accessSafe
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=accessSafe.mjs.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/extractor/accessSafe.ts"],
|
|
4
|
-
"mappings": "AAAA,YAAY,OAAO;AAIZ,SAAS,WAAW,KAAmB,QAAqC;AACjF,SAAO,EAAE;AAAA,IACP;AAAA,IACA,EAAE;AAAA,MACA;AAAA;AAAA,MAEA,EAAE,iBAAiB,OAAO,EAAE,gBAAgB,UAAU,GAAG,GAAG,EAAE,cAAc,QAAQ,CAAC;AAAA;AAAA,MAErF,EAAE,iBAAiB,OAAO,KAAK,EAAE,YAAY,CAAC;AAAA,IAChD;AAAA;AAAA,IAEA,EAAE,iBAAiB,KAAK,EAAE,WAAW,MAAM,GAAG,KAAK;AAAA,EACrD;AACF;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as babelParser from "@babel/parser";
|
|
2
|
-
const plugins = [
|
|
3
|
-
"asyncGenerators",
|
|
4
|
-
"classProperties",
|
|
5
|
-
"dynamicImport",
|
|
6
|
-
"functionBind",
|
|
7
|
-
"jsx",
|
|
8
|
-
"numericSeparator",
|
|
9
|
-
"objectRestSpread",
|
|
10
|
-
"optionalCatchBinding",
|
|
11
|
-
"decorators-legacy",
|
|
12
|
-
"typescript",
|
|
13
|
-
"optionalChaining",
|
|
14
|
-
"nullishCoalescingOperator"
|
|
15
|
-
];
|
|
16
|
-
const parserOptions = Object.freeze({
|
|
17
|
-
plugins,
|
|
18
|
-
sourceType: "module"
|
|
19
|
-
});
|
|
20
|
-
const parser = babelParser.parse.bind(babelParser);
|
|
21
|
-
function babelParse(code) {
|
|
22
|
-
try {
|
|
23
|
-
return parser(code.toString(), parserOptions);
|
|
24
|
-
} catch (err) {
|
|
25
|
-
throw new Error(`Error parsing babel: ${err} in code`);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
export {
|
|
29
|
-
babelParse,
|
|
30
|
-
parserOptions
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=babelParse.mjs.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/extractor/babelParse.ts"],
|
|
4
|
-
"mappings": "AAAA,YAAY,iBAAiB;AAG7B,MAAM,UAAsC;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAEO,MAAM,gBAA2C,OAAO,OAAO;AAAA,EACpE;AAAA,EACA,YAAY;AACd,CAAC;AAED,MAAM,SAAS,YAAY,MAAM,KAAK,WAAW;AAE1C,SAAS,WAAW,MAA+B;AACxD,MAAI;AACF,WAAO,OAAO,KAAK,SAAS,GAAG,aAAa;AAAA,EAC9C,SAAS,KAAP;AACA,UAAM,IAAI,MAAM,wBAAwB,aAAa;AAAA,EACvD;AACF;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import * as t from "@babel/types";
|
|
2
|
-
const buildClassName = (objectsIn, extras = "") => {
|
|
3
|
-
let objects = buildClassNameLogic(objectsIn);
|
|
4
|
-
if (!objects)
|
|
5
|
-
return null;
|
|
6
|
-
if (t.isStringLiteral(objects)) {
|
|
7
|
-
objects.value = `${extras} ${objects.value}`;
|
|
8
|
-
} else {
|
|
9
|
-
objects = t.binaryExpression("+", t.stringLiteral(extras), objects);
|
|
10
|
-
}
|
|
11
|
-
return objects;
|
|
12
|
-
};
|
|
13
|
-
const buildClassNameLogic = (objects) => {
|
|
14
|
-
return objects.reduce((acc, val) => {
|
|
15
|
-
if (acc == null) {
|
|
16
|
-
if (
|
|
17
|
-
// pass conditional expressions through
|
|
18
|
-
t.isConditionalExpression(val) || // pass non-null literals through
|
|
19
|
-
t.isStringLiteral(val) || t.isNumericLiteral(val)
|
|
20
|
-
) {
|
|
21
|
-
return val;
|
|
22
|
-
}
|
|
23
|
-
return t.logicalExpression("||", val, t.stringLiteral(""));
|
|
24
|
-
}
|
|
25
|
-
let inner;
|
|
26
|
-
if (t.isStringLiteral(val)) {
|
|
27
|
-
if (t.isStringLiteral(acc)) {
|
|
28
|
-
return t.stringLiteral(`${acc.value} ${val.value}`);
|
|
29
|
-
}
|
|
30
|
-
inner = t.stringLiteral(` ${val.value}`);
|
|
31
|
-
} else if (t.isLiteral(val)) {
|
|
32
|
-
inner = t.binaryExpression("+", t.stringLiteral(" "), val);
|
|
33
|
-
} else if (t.isConditionalExpression(val) || t.isBinaryExpression(val)) {
|
|
34
|
-
if (t.isStringLiteral(acc)) {
|
|
35
|
-
return t.binaryExpression("+", t.stringLiteral(`${acc.value} `), val);
|
|
36
|
-
}
|
|
37
|
-
inner = t.binaryExpression("+", t.stringLiteral(" "), val);
|
|
38
|
-
} else if (t.isIdentifier(val) || t.isMemberExpression(val)) {
|
|
39
|
-
inner = t.conditionalExpression(
|
|
40
|
-
val,
|
|
41
|
-
t.binaryExpression("+", t.stringLiteral(" "), val),
|
|
42
|
-
t.stringLiteral("")
|
|
43
|
-
);
|
|
44
|
-
} else {
|
|
45
|
-
if (t.isStringLiteral(acc)) {
|
|
46
|
-
return t.binaryExpression(
|
|
47
|
-
"+",
|
|
48
|
-
t.stringLiteral(`${acc.value} `),
|
|
49
|
-
t.logicalExpression("||", val, t.stringLiteral(""))
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
inner = t.binaryExpression(
|
|
53
|
-
"+",
|
|
54
|
-
t.stringLiteral(" "),
|
|
55
|
-
t.logicalExpression("||", val, t.stringLiteral(""))
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
return t.binaryExpression("+", acc, inner);
|
|
59
|
-
}, null);
|
|
60
|
-
};
|
|
61
|
-
export {
|
|
62
|
-
buildClassName,
|
|
63
|
-
buildClassNameLogic
|
|
64
|
-
};
|
|
65
|
-
//# sourceMappingURL=buildClassName.mjs.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/extractor/buildClassName.ts"],
|
|
4
|
-
"mappings": "AAAA,YAAY,OAAO;AASZ,MAAM,iBAA0B,CAAC,WAAW,SAAS,OAAO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