@tamagui/static 1.0.1-beta.123 → 1.0.1-beta.126
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 +9 -7
- package/dist/cjs/require.js.map +2 -2
- package/dist/esm/require.js +9 -7
- package/dist/esm/require.js.map +2 -2
- package/dist/jsx/require.js +9 -7
- package/dist/jsx/require.js.map +2 -2
- package/package.json +9 -9
- package/src/require.ts +17 -9
- package/types/constants.d.ts +7 -0
- package/types/extractor/accessSafe.d.ts +3 -0
- package/types/extractor/babelParse.d.ts +5 -0
- package/types/extractor/ensureImportingConcat.d.ts +4 -0
- package/types/extractor/evaluateAstNode.d.ts +3 -0
- package/types/extractor/findTopmostFunction.d.ts +4 -0
- package/types/extractor/generatedUid.d.ts +5 -0
- package/types/extractor/getPropValueFromAttributes.d.ts +3 -0
- package/types/extractor/getSourceModule.d.ts +16 -0
- package/types/extractor/hoistClassNames.d.ts +6 -0
- package/types/extractor/literalToAst.d.ts +4 -0
- package/types/extractor/loadFile.d.ts +1 -0
- package/types/extractor/logLines.d.ts +2 -0
- package/types/extractor/removeUnusedHooks.d.ts +3 -0
- package/types/extractor/timer.d.ts +5 -0
- package/types/extractor/validHTMLAttributes.d.ts +98 -0
- package/types/extractor/buildClassName.d.ts.map +0 -1
- package/types/extractor/createEvaluator.d.ts.map +0 -1
- package/types/extractor/createExtractor.d.ts.map +0 -1
- package/types/extractor/defaultTamaguiConfig.d.ts.map +0 -1
- package/types/extractor/extractHelpers.d.ts.map +0 -1
- package/types/extractor/extractMediaStyle.d.ts.map +0 -1
- package/types/extractor/extractToClassNames.d.ts.map +0 -1
- package/types/extractor/getPrefixLogs.d.ts.map +0 -1
- package/types/extractor/getStaticBindingsForScope.d.ts.map +0 -1
- package/types/extractor/loadTamagui.d.ts.map +0 -1
- package/types/extractor/normalizeTernaries.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types/require.d.ts.map +0 -1
- package/types/types.d.ts.map +0 -1
package/dist/cjs/require.js
CHANGED
|
@@ -33,7 +33,7 @@ const getNameToPaths = () => nameToPaths;
|
|
|
33
33
|
let tries = 0;
|
|
34
34
|
setInterval(() => {
|
|
35
35
|
tries = 0;
|
|
36
|
-
},
|
|
36
|
+
}, 50);
|
|
37
37
|
function registerRequire() {
|
|
38
38
|
if (Mod.prototype.require !== globalThis["ogRequire"]) {
|
|
39
39
|
console.warn("didnt unregister before re-registering");
|
|
@@ -47,10 +47,10 @@ function registerRequire() {
|
|
|
47
47
|
if (import_constants.SHOULD_DEBUG) {
|
|
48
48
|
console.log("tamagui require", path);
|
|
49
49
|
}
|
|
50
|
-
if (path.endsWith(".css")) {
|
|
50
|
+
if (path.endsWith(".css") || path.endsWith(".json") || path.endsWith(".ttf")) {
|
|
51
51
|
return {};
|
|
52
52
|
}
|
|
53
|
-
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient") {
|
|
53
|
+
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient" || path === "@expo/vector-icons") {
|
|
54
54
|
return proxyWorm;
|
|
55
55
|
}
|
|
56
56
|
if (path.startsWith("react-native") && !path.startsWith("react-native-web/dist/cjs/exports")) {
|
|
@@ -81,14 +81,16 @@ function registerRequire() {
|
|
|
81
81
|
}
|
|
82
82
|
return out;
|
|
83
83
|
} catch (err) {
|
|
84
|
-
console.error(`Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring (set DEBUG=tamagui to see stack)
|
|
85
|
-
`, err.message);
|
|
86
84
|
if (import_constants.SHOULD_DEBUG) {
|
|
87
|
-
console.
|
|
85
|
+
console.error(`Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring
|
|
86
|
+
`, err.message, err.stack);
|
|
88
87
|
}
|
|
89
|
-
|
|
88
|
+
const max = process.env.TAMAGUI_MAX_ERRORS ? +process.env.TAMAGUI_MAX_ERRORS : 200;
|
|
89
|
+
if (++tries > max) {
|
|
90
|
+
console.log(`Too many errors loading design system, exiting (set TAMAGUI_MAX_ERRORS to override)..`);
|
|
90
91
|
process.exit(1);
|
|
91
92
|
}
|
|
93
|
+
return proxyWorm;
|
|
92
94
|
}
|
|
93
95
|
};
|
|
94
96
|
}
|
package/dist/cjs/require.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/require.ts"],
|
|
4
|
-
"sourcesContent": ["import { join } from 'path'\n\nimport type { StaticConfig } from '@tamagui/core-node'\n\nimport { SHOULD_DEBUG } from './constants'\n\nconst nameToPaths = {}\nconst Mod = require('module')\nconst og = Mod.prototype.require\nglobalThis['ogRequire'] = og\n\nexport const getNameToPaths = () => nameToPaths\n\nlet tries = 0\nsetInterval(() => {\n tries = 0\n},
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAqB;AAIrB,uBAA6B;AAE7B,MAAM,cAAc,CAAC;AACrB,MAAM,MAAM,QAAQ,QAAQ;AAC5B,MAAM,KAAK,IAAI,UAAU;AACzB,WAAW,eAAe;AAEnB,MAAM,iBAAiB,MAAM;
|
|
4
|
+
"sourcesContent": ["import { join } from 'path'\n\nimport type { StaticConfig } from '@tamagui/core-node'\n\nimport { SHOULD_DEBUG } from './constants'\n\nconst nameToPaths = {}\nconst Mod = require('module')\nconst og = Mod.prototype.require\nglobalThis['ogRequire'] = og\n\nexport const getNameToPaths = () => nameToPaths\n\n// just for catching egregious amounts of errors in a tight loop\nlet tries = 0\nsetInterval(() => {\n tries = 0\n}, 50)\n\nexport function registerRequire() {\n if (Mod.prototype.require !== globalThis['ogRequire']) {\n console.warn('didnt unregister before re-registering')\n process.exit(1)\n }\n\n const proxyWorm = require('@tamagui/proxy-worm')\n const rnw = require('react-native-web')\n const core = require('@tamagui/core-node')\n\n Mod.prototype.require = function (path: string) {\n if (SHOULD_DEBUG) {\n console.log('tamagui require', path)\n }\n if (path.endsWith('.css') || path.endsWith('.json') || path.endsWith('.ttf')) {\n return {}\n }\n if (\n path === '@gorhom/bottom-sheet' ||\n path.startsWith('react-native-reanimated') ||\n path === 'expo-linear-gradient' ||\n path === '@expo/vector-icons'\n ) {\n return proxyWorm\n }\n if (\n path.startsWith('react-native') &&\n // allow our rnw.tsx imports through\n !path.startsWith('react-native-web/dist/cjs/exports')\n ) {\n return rnw\n // return og('react-native-web')\n }\n if (path === '@tamagui/core') {\n return core\n }\n try {\n const out = og.apply(this, arguments)\n if (!nameToPaths[path]) {\n if (out && typeof out === 'object') {\n for (const key in out) {\n try {\n const conf = out[key]?.staticConfig as StaticConfig\n if (conf) {\n if (conf.componentName) {\n nameToPaths[conf.componentName] ??= new Set()\n const fullName = path.startsWith('.')\n ? join(`${this.path.replace(/dist(\\/cjs)?/, 'src')}`, path)\n : path\n nameToPaths[conf.componentName].add(fullName)\n } else {\n // console.log('no name component', path)\n }\n }\n } catch {\n // ok\n }\n }\n }\n }\n return out\n } catch (err: any) {\n if (SHOULD_DEBUG) {\n console.error(\n `Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring\\n`,\n err.message,\n err.stack\n )\n }\n const max = process.env.TAMAGUI_MAX_ERRORS ? +process.env.TAMAGUI_MAX_ERRORS : 200\n if (++tries > max) {\n console.log(\n `Too many errors loading design system, exiting (set TAMAGUI_MAX_ERRORS to override)..`\n )\n // avoid infinite loops\n process.exit(1)\n }\n // return proxyWorm by default\n return proxyWorm\n }\n }\n}\n\nexport function unregisterRequire() {\n Mod.prototype.require = og\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAqB;AAIrB,uBAA6B;AAE7B,MAAM,cAAc,CAAC;AACrB,MAAM,MAAM,QAAQ,QAAQ;AAC5B,MAAM,KAAK,IAAI,UAAU;AACzB,WAAW,eAAe;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O;AAAA,gBAEP;AAAA,cACF;AAAA,YACF,QAAE;AAAA,YAEF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AACA,aAAO;AAAA,IACT,SAAS,KAAP;AACA,UAAI,+BAAc;AAChB,gBAAQ,MACN,4BAA4B;AAAA,GAC5B,IAAI,SACJ,IAAI,KACN;AAAA,MACF;AACA,YAAM,MAAM,QAAQ,IAAI,qBAAqB,CAAC,QAAQ,IAAI,qBAAqB;AAC/E,UAAI,EAAE,QAAQ,KAAK;AACjB,gBAAQ,IACN,uFACF;AAEA,gBAAQ,KAAK,CAAC;AAAA,MAChB;AAEA,aAAO;AAAA,IACT;AAAA,EACF;AACF;AAEO,6BAA6B;AAClC,MAAI,UAAU,UAAU;AAC1B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/require.js
CHANGED
|
@@ -8,7 +8,7 @@ const getNameToPaths = () => nameToPaths;
|
|
|
8
8
|
let tries = 0;
|
|
9
9
|
setInterval(() => {
|
|
10
10
|
tries = 0;
|
|
11
|
-
},
|
|
11
|
+
}, 50);
|
|
12
12
|
function registerRequire() {
|
|
13
13
|
if (Mod.prototype.require !== globalThis["ogRequire"]) {
|
|
14
14
|
console.warn("didnt unregister before re-registering");
|
|
@@ -22,10 +22,10 @@ function registerRequire() {
|
|
|
22
22
|
if (SHOULD_DEBUG) {
|
|
23
23
|
console.log("tamagui require", path);
|
|
24
24
|
}
|
|
25
|
-
if (path.endsWith(".css")) {
|
|
25
|
+
if (path.endsWith(".css") || path.endsWith(".json") || path.endsWith(".ttf")) {
|
|
26
26
|
return {};
|
|
27
27
|
}
|
|
28
|
-
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient") {
|
|
28
|
+
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient" || path === "@expo/vector-icons") {
|
|
29
29
|
return proxyWorm;
|
|
30
30
|
}
|
|
31
31
|
if (path.startsWith("react-native") && !path.startsWith("react-native-web/dist/cjs/exports")) {
|
|
@@ -56,14 +56,16 @@ function registerRequire() {
|
|
|
56
56
|
}
|
|
57
57
|
return out;
|
|
58
58
|
} catch (err) {
|
|
59
|
-
console.error(`Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring (set DEBUG=tamagui to see stack)
|
|
60
|
-
`, err.message);
|
|
61
59
|
if (SHOULD_DEBUG) {
|
|
62
|
-
console.
|
|
60
|
+
console.error(`Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring
|
|
61
|
+
`, err.message, err.stack);
|
|
63
62
|
}
|
|
64
|
-
|
|
63
|
+
const max = process.env.TAMAGUI_MAX_ERRORS ? +process.env.TAMAGUI_MAX_ERRORS : 200;
|
|
64
|
+
if (++tries > max) {
|
|
65
|
+
console.log(`Too many errors loading design system, exiting (set TAMAGUI_MAX_ERRORS to override)..`);
|
|
65
66
|
process.exit(1);
|
|
66
67
|
}
|
|
68
|
+
return proxyWorm;
|
|
67
69
|
}
|
|
68
70
|
};
|
|
69
71
|
}
|
package/dist/esm/require.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/require.ts"],
|
|
4
|
-
"sourcesContent": ["import { join } from 'path'\n\nimport type { StaticConfig } from '@tamagui/core-node'\n\nimport { SHOULD_DEBUG } from './constants'\n\nconst nameToPaths = {}\nconst Mod = require('module')\nconst og = Mod.prototype.require\nglobalThis['ogRequire'] = og\n\nexport const getNameToPaths = () => nameToPaths\n\nlet tries = 0\nsetInterval(() => {\n tries = 0\n},
|
|
5
|
-
"mappings": "AAAA;AAIA;AAEA,MAAM,cAAc,CAAC;AACrB,MAAM,MAAM,QAAQ,QAAQ;AAC5B,MAAM,KAAK,IAAI,UAAU;AACzB,WAAW,eAAe;AAEnB,MAAM,iBAAiB,MAAM;
|
|
4
|
+
"sourcesContent": ["import { join } from 'path'\n\nimport type { StaticConfig } from '@tamagui/core-node'\n\nimport { SHOULD_DEBUG } from './constants'\n\nconst nameToPaths = {}\nconst Mod = require('module')\nconst og = Mod.prototype.require\nglobalThis['ogRequire'] = og\n\nexport const getNameToPaths = () => nameToPaths\n\n// just for catching egregious amounts of errors in a tight loop\nlet tries = 0\nsetInterval(() => {\n tries = 0\n}, 50)\n\nexport function registerRequire() {\n if (Mod.prototype.require !== globalThis['ogRequire']) {\n console.warn('didnt unregister before re-registering')\n process.exit(1)\n }\n\n const proxyWorm = require('@tamagui/proxy-worm')\n const rnw = require('react-native-web')\n const core = require('@tamagui/core-node')\n\n Mod.prototype.require = function (path: string) {\n if (SHOULD_DEBUG) {\n console.log('tamagui require', path)\n }\n if (path.endsWith('.css') || path.endsWith('.json') || path.endsWith('.ttf')) {\n return {}\n }\n if (\n path === '@gorhom/bottom-sheet' ||\n path.startsWith('react-native-reanimated') ||\n path === 'expo-linear-gradient' ||\n path === '@expo/vector-icons'\n ) {\n return proxyWorm\n }\n if (\n path.startsWith('react-native') &&\n // allow our rnw.tsx imports through\n !path.startsWith('react-native-web/dist/cjs/exports')\n ) {\n return rnw\n // return og('react-native-web')\n }\n if (path === '@tamagui/core') {\n return core\n }\n try {\n const out = og.apply(this, arguments)\n if (!nameToPaths[path]) {\n if (out && typeof out === 'object') {\n for (const key in out) {\n try {\n const conf = out[key]?.staticConfig as StaticConfig\n if (conf) {\n if (conf.componentName) {\n nameToPaths[conf.componentName] ??= new Set()\n const fullName = path.startsWith('.')\n ? join(`${this.path.replace(/dist(\\/cjs)?/, 'src')}`, path)\n : path\n nameToPaths[conf.componentName].add(fullName)\n } else {\n // console.log('no name component', path)\n }\n }\n } catch {\n // ok\n }\n }\n }\n }\n return out\n } catch (err: any) {\n if (SHOULD_DEBUG) {\n console.error(\n `Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring\\n`,\n err.message,\n err.stack\n )\n }\n const max = process.env.TAMAGUI_MAX_ERRORS ? +process.env.TAMAGUI_MAX_ERRORS : 200\n if (++tries > max) {\n console.log(\n `Too many errors loading design system, exiting (set TAMAGUI_MAX_ERRORS to override)..`\n )\n // avoid infinite loops\n process.exit(1)\n }\n // return proxyWorm by default\n return proxyWorm\n }\n }\n}\n\nexport function unregisterRequire() {\n Mod.prototype.require = og\n}\n"],
|
|
5
|
+
"mappings": "AAAA;AAIA;AAEA,MAAM,cAAc,CAAC;AACrB,MAAM,MAAM,QAAQ,QAAQ;AAC5B,MAAM,KAAK,IAAI,UAAU;AACzB,WAAW,eAAe;AAEnB,MAAM,iBAAiB,MAAM;AAGpC,IAAI,QAAQ;AACZ,YAAY,MAAM;AAChB,UAAQ;AACV,GAAG,EAAE;AAEE,2BAA2B;AAChC,MAAI,IAAI,UAAU,YAAY,WAAW,cAAc;AACrD,YAAQ,KAAK,wCAAwC;AACrD,YAAQ,KAAK,CAAC;AAAA,EAChB;AAEA,QAAM,YAAY,QAAQ,qBAAqB;AAC/C,QAAM,MAAM,QAAQ,kBAAkB;AACtC,QAAM,OAAO,QAAQ,oBAAoB;AAEzC,MAAI,UAAU,UAAU,SAAU,MAAc;AA7BlD;AA8BI,QAAI,cAAc;AAChB,cAAQ,IAAI,mBAAmB,IAAI;AAAA,IACrC;AACA,QAAI,KAAK,SAAS,MAAM,KAAK,KAAK,SAAS,OAAO,KAAK,KAAK,SAAS,MAAM,GAAG;AAC5E,aAAO,CAAC;AAAA,IACV;AACA,QACE,SAAS,0BACT,KAAK,WAAW,yBAAyB,KACzC,SAAS,0BACT,SAAS,sBACT;AACA,aAAO;AAAA,IACT;AACA,QACE,KAAK,WAAW,cAAc,KAE9B,CAAC,KAAK,WAAW,mCAAmC,GACpD;AACA,aAAO;AAAA,IAET;AACA,QAAI,SAAS,iBAAiB;AAC5B,aAAO;AAAA,IACT;AACA,QAAI;AACF,YAAM,MAAM,GAAG,MAAM,MAAM,SAAS;AACpC,UAAI,CAAC,YAAY,OAAO;AACtB,YAAI,OAAO,OAAO,QAAQ,UAAU;AAClC,qBAAW,OAAO,KAAK;AACrB,gBAAI;AACF,oBAAM,OAAO,UAAI,SAAJ,mBAAU;AACvB,kBAAI,MAAM;AACR,oBAAI,KAAK,eAAe;AACtB,8BAAY,KAAK,mBAAmB,oBAAI,IAAI;AAC5C,wBAAM,WAAW,KAAK,WAAW,GAAG,IAChC,KAAK,GAAG,KAAK,KAAK,QAAQ,gBAAgB,KAAK,KAAK,IAAI,IACxD;AACJ,8BAAY,KAAK,eAAe,IAAI,QAAQ;AAAA,gBAC9C,OAAO;AAAA,gBAEP;AAAA,cACF;AAAA,YACF,QAAE;AAAA,YAEF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AACA,aAAO;AAAA,IACT,SAAS,KAAP;AACA,UAAI,cAAc;AAChB,gBAAQ,MACN,4BAA4B;AAAA,GAC5B,IAAI,SACJ,IAAI,KACN;AAAA,MACF;AACA,YAAM,MAAM,QAAQ,IAAI,qBAAqB,CAAC,QAAQ,IAAI,qBAAqB;AAC/E,UAAI,EAAE,QAAQ,KAAK;AACjB,gBAAQ,IACN,uFACF;AAEA,gBAAQ,KAAK,CAAC;AAAA,MAChB;AAEA,aAAO;AAAA,IACT;AAAA,EACF;AACF;AAEO,6BAA6B;AAClC,MAAI,UAAU,UAAU;AAC1B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/require.js
CHANGED
|
@@ -8,7 +8,7 @@ const getNameToPaths = () => nameToPaths;
|
|
|
8
8
|
let tries = 0;
|
|
9
9
|
setInterval(() => {
|
|
10
10
|
tries = 0;
|
|
11
|
-
},
|
|
11
|
+
}, 50);
|
|
12
12
|
function registerRequire() {
|
|
13
13
|
if (Mod.prototype.require !== globalThis["ogRequire"]) {
|
|
14
14
|
console.warn("didnt unregister before re-registering");
|
|
@@ -22,10 +22,10 @@ function registerRequire() {
|
|
|
22
22
|
if (SHOULD_DEBUG) {
|
|
23
23
|
console.log("tamagui require", path);
|
|
24
24
|
}
|
|
25
|
-
if (path.endsWith(".css")) {
|
|
25
|
+
if (path.endsWith(".css") || path.endsWith(".json") || path.endsWith(".ttf")) {
|
|
26
26
|
return {};
|
|
27
27
|
}
|
|
28
|
-
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient") {
|
|
28
|
+
if (path === "@gorhom/bottom-sheet" || path.startsWith("react-native-reanimated") || path === "expo-linear-gradient" || path === "@expo/vector-icons") {
|
|
29
29
|
return proxyWorm;
|
|
30
30
|
}
|
|
31
31
|
if (path.startsWith("react-native") && !path.startsWith("react-native-web/dist/cjs/exports")) {
|
|
@@ -56,14 +56,16 @@ function registerRequire() {
|
|
|
56
56
|
}
|
|
57
57
|
return out;
|
|
58
58
|
} catch (err) {
|
|
59
|
-
console.error(`Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring (set DEBUG=tamagui to see stack)
|
|
60
|
-
`, err.message);
|
|
61
59
|
if (SHOULD_DEBUG) {
|
|
62
|
-
console.
|
|
60
|
+
console.error(`Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring
|
|
61
|
+
`, err.message, err.stack);
|
|
63
62
|
}
|
|
64
|
-
|
|
63
|
+
const max = process.env.TAMAGUI_MAX_ERRORS ? +process.env.TAMAGUI_MAX_ERRORS : 200;
|
|
64
|
+
if (++tries > max) {
|
|
65
|
+
console.log(`Too many errors loading design system, exiting (set TAMAGUI_MAX_ERRORS to override)..`);
|
|
65
66
|
process.exit(1);
|
|
66
67
|
}
|
|
68
|
+
return proxyWorm;
|
|
67
69
|
}
|
|
68
70
|
};
|
|
69
71
|
}
|
package/dist/jsx/require.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/require.ts"],
|
|
4
|
-
"sourcesContent": ["import { join } from 'path'\n\nimport type { StaticConfig } from '@tamagui/core-node'\n\nimport { SHOULD_DEBUG } from './constants'\n\nconst nameToPaths = {}\nconst Mod = require('module')\nconst og = Mod.prototype.require\nglobalThis['ogRequire'] = og\n\nexport const getNameToPaths = () => nameToPaths\n\nlet tries = 0\nsetInterval(() => {\n tries = 0\n},
|
|
5
|
-
"mappings": "AAAA;AAIA;AAEA,MAAM,cAAc,CAAC;AACrB,MAAM,MAAM,QAAQ,QAAQ;AAC5B,MAAM,KAAK,IAAI,UAAU;AACzB,WAAW,eAAe;AAEnB,MAAM,iBAAiB,MAAM;
|
|
4
|
+
"sourcesContent": ["import { join } from 'path'\n\nimport type { StaticConfig } from '@tamagui/core-node'\n\nimport { SHOULD_DEBUG } from './constants'\n\nconst nameToPaths = {}\nconst Mod = require('module')\nconst og = Mod.prototype.require\nglobalThis['ogRequire'] = og\n\nexport const getNameToPaths = () => nameToPaths\n\n// just for catching egregious amounts of errors in a tight loop\nlet tries = 0\nsetInterval(() => {\n tries = 0\n}, 50)\n\nexport function registerRequire() {\n if (Mod.prototype.require !== globalThis['ogRequire']) {\n console.warn('didnt unregister before re-registering')\n process.exit(1)\n }\n\n const proxyWorm = require('@tamagui/proxy-worm')\n const rnw = require('react-native-web')\n const core = require('@tamagui/core-node')\n\n Mod.prototype.require = function (path: string) {\n if (SHOULD_DEBUG) {\n console.log('tamagui require', path)\n }\n if (path.endsWith('.css') || path.endsWith('.json') || path.endsWith('.ttf')) {\n return {}\n }\n if (\n path === '@gorhom/bottom-sheet' ||\n path.startsWith('react-native-reanimated') ||\n path === 'expo-linear-gradient' ||\n path === '@expo/vector-icons'\n ) {\n return proxyWorm\n }\n if (\n path.startsWith('react-native') &&\n // allow our rnw.tsx imports through\n !path.startsWith('react-native-web/dist/cjs/exports')\n ) {\n return rnw\n // return og('react-native-web')\n }\n if (path === '@tamagui/core') {\n return core\n }\n try {\n const out = og.apply(this, arguments)\n if (!nameToPaths[path]) {\n if (out && typeof out === 'object') {\n for (const key in out) {\n try {\n const conf = out[key]?.staticConfig as StaticConfig\n if (conf) {\n if (conf.componentName) {\n nameToPaths[conf.componentName] ??= new Set()\n const fullName = path.startsWith('.')\n ? join(`${this.path.replace(/dist(\\/cjs)?/, 'src')}`, path)\n : path\n nameToPaths[conf.componentName].add(fullName)\n } else {\n // console.log('no name component', path)\n }\n }\n } catch {\n // ok\n }\n }\n }\n }\n return out\n } catch (err: any) {\n if (SHOULD_DEBUG) {\n console.error(\n `Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring\\n`,\n err.message,\n err.stack\n )\n }\n const max = process.env.TAMAGUI_MAX_ERRORS ? +process.env.TAMAGUI_MAX_ERRORS : 200\n if (++tries > max) {\n console.log(\n `Too many errors loading design system, exiting (set TAMAGUI_MAX_ERRORS to override)..`\n )\n // avoid infinite loops\n process.exit(1)\n }\n // return proxyWorm by default\n return proxyWorm\n }\n }\n}\n\nexport function unregisterRequire() {\n Mod.prototype.require = og\n}\n"],
|
|
5
|
+
"mappings": "AAAA;AAIA;AAEA,MAAM,cAAc,CAAC;AACrB,MAAM,MAAM,QAAQ,QAAQ;AAC5B,MAAM,KAAK,IAAI,UAAU;AACzB,WAAW,eAAe;AAEnB,MAAM,iBAAiB,MAAM;AAGpC,IAAI,QAAQ;AACZ,YAAY,MAAM;AAChB,UAAQ;AACV,GAAG,EAAE;AAEE,2BAA2B;AAChC,MAAI,IAAI,UAAU,YAAY,WAAW,cAAc;AACrD,YAAQ,KAAK,wCAAwC;AACrD,YAAQ,KAAK,CAAC;AAAA,EAChB;AAEA,QAAM,YAAY,QAAQ,qBAAqB;AAC/C,QAAM,MAAM,QAAQ,kBAAkB;AACtC,QAAM,OAAO,QAAQ,oBAAoB;AAEzC,MAAI,UAAU,UAAU,SAAU,MAAc;AA7BlD;AA8BI,QAAI,cAAc;AAChB,cAAQ,IAAI,mBAAmB,IAAI;AAAA,IACrC;AACA,QAAI,KAAK,SAAS,MAAM,KAAK,KAAK,SAAS,OAAO,KAAK,KAAK,SAAS,MAAM,GAAG;AAC5E,aAAO,CAAC;AAAA,IACV;AACA,QACE,SAAS,0BACT,KAAK,WAAW,yBAAyB,KACzC,SAAS,0BACT,SAAS,sBACT;AACA,aAAO;AAAA,IACT;AACA,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4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/cjs",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"@babel/parser": "^7.15.7",
|
|
39
39
|
"@babel/traverse": "^7.15.4",
|
|
40
40
|
"@expo/match-media": "^0.3.0",
|
|
41
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
42
|
-
"@tamagui/core-node": "^1.0.1-beta.
|
|
43
|
-
"@tamagui/fake-react-native": "^1.0.1-beta.
|
|
44
|
-
"@tamagui/helpers": "^1.0.1-beta.
|
|
45
|
-
"@tamagui/patch-rnw": "^1.0.1-beta.
|
|
46
|
-
"@tamagui/proxy-worm": "^1.0.1-beta.
|
|
47
|
-
"@tamagui/shorthands": "^1.0.1-beta.
|
|
41
|
+
"@tamagui/build": "^1.0.1-beta.126",
|
|
42
|
+
"@tamagui/core-node": "^1.0.1-beta.126",
|
|
43
|
+
"@tamagui/fake-react-native": "^1.0.1-beta.126",
|
|
44
|
+
"@tamagui/helpers": "^1.0.1-beta.126",
|
|
45
|
+
"@tamagui/patch-rnw": "^1.0.1-beta.126",
|
|
46
|
+
"@tamagui/proxy-worm": "^1.0.1-beta.126",
|
|
47
|
+
"@tamagui/shorthands": "^1.0.1-beta.126",
|
|
48
48
|
"babel-literal-to-ast": "^2.1.0",
|
|
49
49
|
"esbuild": "^0.14.49",
|
|
50
50
|
"esbuild-register": "^3.3.3",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"fs-extra": "^10.1.0",
|
|
53
53
|
"invariant": "^2.2.4",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
|
-
"tamagui": "^1.0.1-beta.
|
|
55
|
+
"tamagui": "^1.0.1-beta.126"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@babel/plugin-syntax-typescript": "^7.14.5",
|
package/src/require.ts
CHANGED
|
@@ -11,10 +11,11 @@ globalThis['ogRequire'] = og
|
|
|
11
11
|
|
|
12
12
|
export const getNameToPaths = () => nameToPaths
|
|
13
13
|
|
|
14
|
+
// just for catching egregious amounts of errors in a tight loop
|
|
14
15
|
let tries = 0
|
|
15
16
|
setInterval(() => {
|
|
16
17
|
tries = 0
|
|
17
|
-
},
|
|
18
|
+
}, 50)
|
|
18
19
|
|
|
19
20
|
export function registerRequire() {
|
|
20
21
|
if (Mod.prototype.require !== globalThis['ogRequire']) {
|
|
@@ -30,13 +31,14 @@ export function registerRequire() {
|
|
|
30
31
|
if (SHOULD_DEBUG) {
|
|
31
32
|
console.log('tamagui require', path)
|
|
32
33
|
}
|
|
33
|
-
if (path.endsWith('.css')) {
|
|
34
|
+
if (path.endsWith('.css') || path.endsWith('.json') || path.endsWith('.ttf')) {
|
|
34
35
|
return {}
|
|
35
36
|
}
|
|
36
37
|
if (
|
|
37
38
|
path === '@gorhom/bottom-sheet' ||
|
|
38
39
|
path.startsWith('react-native-reanimated') ||
|
|
39
|
-
path === 'expo-linear-gradient'
|
|
40
|
+
path === 'expo-linear-gradient' ||
|
|
41
|
+
path === '@expo/vector-icons'
|
|
40
42
|
) {
|
|
41
43
|
return proxyWorm
|
|
42
44
|
}
|
|
@@ -77,17 +79,23 @@ export function registerRequire() {
|
|
|
77
79
|
}
|
|
78
80
|
return out
|
|
79
81
|
} catch (err: any) {
|
|
80
|
-
console.error(
|
|
81
|
-
`Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring (set DEBUG=tamagui to see stack)\n`,
|
|
82
|
-
err.message
|
|
83
|
-
)
|
|
84
82
|
if (SHOULD_DEBUG) {
|
|
85
|
-
console.
|
|
83
|
+
console.error(
|
|
84
|
+
`Tamagui failed requiring ${path} from your tamagui.config.ts file, ignoring\n`,
|
|
85
|
+
err.message,
|
|
86
|
+
err.stack
|
|
87
|
+
)
|
|
86
88
|
}
|
|
87
|
-
|
|
89
|
+
const max = process.env.TAMAGUI_MAX_ERRORS ? +process.env.TAMAGUI_MAX_ERRORS : 200
|
|
90
|
+
if (++tries > max) {
|
|
91
|
+
console.log(
|
|
92
|
+
`Too many errors loading design system, exiting (set TAMAGUI_MAX_ERRORS to override)..`
|
|
93
|
+
)
|
|
88
94
|
// avoid infinite loops
|
|
89
95
|
process.exit(1)
|
|
90
96
|
}
|
|
97
|
+
// return proxyWorm by default
|
|
98
|
+
return proxyWorm
|
|
91
99
|
}
|
|
92
100
|
}
|
|
93
101
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const CSS_FILE_NAME = "__snack.css";
|
|
2
|
+
export declare const MEDIA_SEP = "_";
|
|
3
|
+
export declare const cacheDir: any;
|
|
4
|
+
export declare const FAILED_EVAL: unique symbol;
|
|
5
|
+
export declare const CONCAT_CLASSNAME_IMPORT = "concatClassName";
|
|
6
|
+
export declare const SHOULD_DEBUG: boolean | undefined;
|
|
7
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as t from '@babel/types';
|
|
2
|
+
export interface SourceModule {
|
|
3
|
+
sourceModule?: string;
|
|
4
|
+
imported?: string;
|
|
5
|
+
local?: string;
|
|
6
|
+
destructured?: boolean;
|
|
7
|
+
usesImportSyntax: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare function getSourceModule(itemName: string, itemBinding: {
|
|
10
|
+
constant?: boolean;
|
|
11
|
+
path: {
|
|
12
|
+
node: t.Node;
|
|
13
|
+
parent: any;
|
|
14
|
+
};
|
|
15
|
+
}): SourceModule | null;
|
|
16
|
+
//# sourceMappingURL=getSourceModule.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { NodePath } from '@babel/traverse';
|
|
2
|
+
import * as t from '@babel/types';
|
|
3
|
+
export declare function hoistClassNames(path: NodePath<t.JSXElement>, existing: {
|
|
4
|
+
[key: string]: t.Identifier;
|
|
5
|
+
}, expr: t.Expression): any;
|
|
6
|
+
//# sourceMappingURL=hoistClassNames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=loadFile.d.ts.map
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export declare const validHTMLAttributes: {
|
|
2
|
+
autocomplete: boolean;
|
|
3
|
+
border: boolean;
|
|
4
|
+
contenteditable: boolean;
|
|
5
|
+
crossorigin: boolean;
|
|
6
|
+
dir: boolean;
|
|
7
|
+
draggable: boolean;
|
|
8
|
+
enctype: boolean;
|
|
9
|
+
formenctype: boolean;
|
|
10
|
+
formmethod: boolean;
|
|
11
|
+
formtarget: boolean;
|
|
12
|
+
inputmode: boolean;
|
|
13
|
+
kind: boolean;
|
|
14
|
+
link: boolean;
|
|
15
|
+
method: boolean;
|
|
16
|
+
preload: boolean;
|
|
17
|
+
referrerpolicy: boolean;
|
|
18
|
+
rel: boolean;
|
|
19
|
+
rev: boolean;
|
|
20
|
+
role: boolean;
|
|
21
|
+
sandbox: boolean;
|
|
22
|
+
shape: boolean;
|
|
23
|
+
spellcheck: boolean;
|
|
24
|
+
target: boolean;
|
|
25
|
+
translate: boolean;
|
|
26
|
+
type: boolean;
|
|
27
|
+
wrap: boolean;
|
|
28
|
+
'aria-autocomplete': boolean;
|
|
29
|
+
'aria-busy': boolean;
|
|
30
|
+
'aria-checked': boolean;
|
|
31
|
+
'aria-current': boolean;
|
|
32
|
+
'aria-disabled': boolean;
|
|
33
|
+
'aria-expanded': boolean;
|
|
34
|
+
'aria-haspopup': boolean;
|
|
35
|
+
'aria-hidden': boolean;
|
|
36
|
+
'aria-invalid': boolean;
|
|
37
|
+
'aria-polite': boolean;
|
|
38
|
+
'aria-modal': boolean;
|
|
39
|
+
'aria-multiline': boolean;
|
|
40
|
+
'aria-multiselectable': boolean;
|
|
41
|
+
'aria-orientation': boolean;
|
|
42
|
+
'aria-pressed': boolean;
|
|
43
|
+
'aria-readonly': boolean;
|
|
44
|
+
'aria-relevant': boolean;
|
|
45
|
+
'aria-required': boolean;
|
|
46
|
+
'aria-selected': boolean;
|
|
47
|
+
'aria-sort': boolean;
|
|
48
|
+
};
|
|
49
|
+
export declare const validAccessibilityAttributes: {
|
|
50
|
+
accessibilityRole: boolean;
|
|
51
|
+
accessibilityActiveDescendant: boolean;
|
|
52
|
+
accessibilityAtomic: boolean;
|
|
53
|
+
accessibilityAutoComplete: boolean;
|
|
54
|
+
accessibilityBusy: boolean;
|
|
55
|
+
accessibilityChecked: boolean;
|
|
56
|
+
accessibilityColumnCount: boolean;
|
|
57
|
+
accessibilityColumnIndex: boolean;
|
|
58
|
+
accessibilityColumnSpan: boolean;
|
|
59
|
+
accessibilityControls: boolean;
|
|
60
|
+
accessibilityCurrent: boolean;
|
|
61
|
+
accessibilityDescribedBy: boolean;
|
|
62
|
+
accessibilityDetails: boolean;
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
accessibilityErrorMessage: boolean;
|
|
65
|
+
accessibilityExpanded: boolean;
|
|
66
|
+
accessibilityFlowTo: boolean;
|
|
67
|
+
accessibilityHasPopup: boolean;
|
|
68
|
+
accessibilityHidden: boolean;
|
|
69
|
+
accessibilityInvalid: boolean;
|
|
70
|
+
accessibilityKeyShortcuts: boolean;
|
|
71
|
+
accessibilityLabel: boolean;
|
|
72
|
+
accessibilityLabelledBy: boolean;
|
|
73
|
+
accessibilityLevel: boolean;
|
|
74
|
+
accessibilityLiveRegion: boolean;
|
|
75
|
+
accessibilityModal: boolean;
|
|
76
|
+
accessibilityMultiline: boolean;
|
|
77
|
+
accessibilityMultiSelectable: boolean;
|
|
78
|
+
accessibilityOrientation: boolean;
|
|
79
|
+
accessibilityOwns: boolean;
|
|
80
|
+
accessibilityPlaceholder: boolean;
|
|
81
|
+
accessibilityPosInSet: boolean;
|
|
82
|
+
accessibilityPressed: boolean;
|
|
83
|
+
accessibilityReadOnly: boolean;
|
|
84
|
+
accessibilityRequired: boolean;
|
|
85
|
+
accessibilityRoleDescription: boolean;
|
|
86
|
+
accessibilityRowCount: boolean;
|
|
87
|
+
accessibilityRowIndex: boolean;
|
|
88
|
+
accessibilityRowSpan: boolean;
|
|
89
|
+
accessibilitySelected: boolean;
|
|
90
|
+
accessibilitySetSize: boolean;
|
|
91
|
+
accessibilitySort: boolean;
|
|
92
|
+
accessibilityValueMax: boolean;
|
|
93
|
+
accessibilityValueMin: boolean;
|
|
94
|
+
accessibilityValueNow: boolean;
|
|
95
|
+
accessibilityValueText: boolean;
|
|
96
|
+
nativeID: boolean;
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=validHTMLAttributes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildClassName.d.ts","sourceRoot":"","sources":["../../src/extractor/buildClassName.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE1C,wBAAgB,cAAc,CAC5B,gBAAgB,EAAE,eAAe,EAAE,GAClC,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,aAAa,GAAG,IAAI,CAsDvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createEvaluator.d.ts","sourceRoot":"","sources":["../../src/extractor/createEvaluator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AACjC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAQvD,wBAAgB,eAAe,CAAC,EAC9B,aAAa,EACb,eAAe,EACf,UAAU,EACV,YAAY,EACZ,gBAAgB,GACjB,EAAE;IACD,aAAa,EAAE,aAAa,CAAA;IAC5B,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACpC,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAA;IACrC,gBAAgB,EAAE,OAAO,GAAG,SAAS,CAAA;CACtC,OAoCY,MAAM,SAGlB;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,KAAK,GAAG,OACtD,MAAM,SAOlB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createExtractor.d.ts","sourceRoot":"","sources":["../../src/extractor/createExtractor.ts"],"names":[],"mappings":"AAEA,OAAiB,EAAE,QAAQ,EAAW,MAAM,iBAAiB,CAAA;AAC7D,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AACjC,OAAO,EAGL,qBAAqB,EAQtB,MAAM,oBAAoB,CAAA;AAI3B,OAAO,EAIL,mBAAmB,EAEpB,MAAM,UAAU,CAAA;AAuCjB,oBAAY,SAAS,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAI1D,wBAAgB,eAAe;;;;;;;;;;;;;;wBAgCb,SAAS,EAAE,OAAO,CAAC,GAAG,MAAM,iSAoBrC,mBAAmB;;;;;;;EA2tD3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaultTamaguiConfig.d.ts","sourceRoot":"","sources":["../../src/extractor/defaultTamaguiConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAA2C,MAAM,oBAAoB,CAAA;AAInG,wBAAgB,uBAAuB;;;;;;;;;;;;8CAiJtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extractHelpers.d.ts","sourceRoot":"","sources":["../../src/extractor/extractHelpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AAEjC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAGjD,wBAAgB,SAAS,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,CAA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1
|
-
{"version":3,"file":"extractToClassNames.d.ts","sourceRoot":"","sources":["../../src/extractor/extractToClassNames.ts"],"names":[],"mappings":";AAKA,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AAOjC,OAAO,EAAgC,cAAc,EAAW,MAAM,UAAU,CAAA;AAGhF,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAgB7C,oBAAY,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,EAAE,CAAC,CAAC,IAAI,CAAA;IACX,GAAG,EAAE,GAAG,CAAA;CACT,CAAA;AAED,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,MAAM,EACN,UAAU,EACV,OAAO,EACP,gBAAgB,GACjB,EAAE;IACD,SAAS,EAAE,SAAS,CAAA;IACpB,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,cAAc,CAAA;IACvB,gBAAgB,EAAE,OAAO,GAAG,SAAS,CAAA;CACtC,GAAG,iBAAiB,GAAG,IAAI,CAqV3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPrefixLogs.d.ts","sourceRoot":"","sources":["../../src/extractor/getPrefixLogs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,cAAc,UAGrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getStaticBindingsForScope.d.ts","sourceRoot":"","sources":["../../src/extractor/getStaticBindingsForScope.ts"],"names":[],"mappings":"AAGA,OAAO,EAAW,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AA4DjC,wBAAsB,yBAAyB,CAC7C,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,EACtC,SAAS,sBAAe,EACxB,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC,EAC3C,gBAAgB,EAAE,OAAO,GAAG,SAAS,GACpC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAgI9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loadTamagui.d.ts","sourceRoot":"","sources":["../../src/extractor/loadTamagui.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAgB,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAS/F,aAAK,WAAW,GAAG;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,CAAA;CAC3B,CAAA;AAED,oBAAY,kBAAkB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAA;IAC5C,aAAa,EAAE,qBAAqB,CAAA;IACpC,WAAW,EAAE,WAAW,CAAA;CACzB,CAAA;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,kBAAkB,CAwF/F"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"normalizeTernaries.d.ts","sourceRoot":"","sources":["../../src/extractor/normalizeTernaries.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,OAAO,EAAE,aAwDtD"}
|
package/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACvD,cAAc,aAAa,CAAA;AAC3B,cAAc,iCAAiC,CAAA;AAC/C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,WAAW,CAAA"}
|
package/types/require.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"require.d.ts","sourceRoot":"","sources":["../src/require.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,cAAc,UAAoB,CAAA;AAO/C,wBAAgB,eAAe,SA0E9B;AAED,wBAAgB,iBAAiB,SAEhC"}
|
package/types/types.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AACjC,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,YAAY,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,oBAAY,eAAe,GAAG,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC,UAAU,CAAA;AAE5D,MAAM,WAAW,WAAW;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,MAAM,WAAW,cAAc;IAE7B,UAAU,EAAE,MAAM,EAAE,CAAA;IAEpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,gBAAgB,CAAC,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