@tamagui/static 1.99.0 → 1.100.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/checkDeps.native.js +53 -58
- package/dist/cjs/checkDeps.native.js.map +1 -1
- package/dist/cjs/extractor/bundle.native.js +65 -79
- package/dist/cjs/extractor/bundle.native.js.map +1 -1
- package/dist/cjs/extractor/bundleConfig.js +2 -4
- package/dist/cjs/extractor/bundleConfig.js.map +1 -1
- package/dist/cjs/extractor/bundleConfig.native.js +67 -83
- package/dist/cjs/extractor/bundleConfig.native.js.map +1 -1
- package/dist/cjs/extractor/createExtractor.js +8 -16
- package/dist/cjs/extractor/createExtractor.js.map +1 -1
- package/dist/cjs/extractor/createExtractor.native.js +70 -92
- package/dist/cjs/extractor/createExtractor.native.js.map +1 -1
- package/dist/cjs/extractor/extractHelpers.js +4 -8
- package/dist/cjs/extractor/extractHelpers.js.map +1 -1
- package/dist/cjs/extractor/extractHelpers.native.js +11 -22
- package/dist/cjs/extractor/extractHelpers.native.js.map +1 -1
- package/dist/cjs/extractor/extractMediaStyle.js +3 -6
- package/dist/cjs/extractor/extractMediaStyle.js.map +1 -1
- package/dist/cjs/extractor/extractMediaStyle.native.js +10 -20
- package/dist/cjs/extractor/extractMediaStyle.native.js.map +1 -1
- package/dist/cjs/extractor/extractToClassNames.js +5 -7
- package/dist/cjs/extractor/extractToClassNames.js.map +1 -1
- package/dist/cjs/extractor/extractToClassNames.native.js +66 -79
- package/dist/cjs/extractor/extractToClassNames.native.js.map +1 -1
- package/dist/cjs/extractor/generateTamaguiStudioConfig.js +3 -6
- package/dist/cjs/extractor/generateTamaguiStudioConfig.js.map +1 -1
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +63 -78
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
- package/dist/cjs/extractor/generatedUid.native.js +2 -4
- package/dist/cjs/extractor/generatedUid.native.js.map +1 -1
- package/dist/cjs/extractor/getStaticBindingsForScope.js +4 -8
- package/dist/cjs/extractor/getStaticBindingsForScope.js.map +1 -1
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js +82 -94
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +1 -1
- package/dist/cjs/extractor/hoistClassNames.js +1 -2
- package/dist/cjs/extractor/hoistClassNames.js.map +1 -1
- package/dist/cjs/extractor/hoistClassNames.native.js +1 -2
- package/dist/cjs/extractor/hoistClassNames.native.js.map +1 -1
- package/dist/cjs/extractor/literalToAst.native.js +6 -12
- package/dist/cjs/extractor/literalToAst.native.js.map +1 -1
- package/dist/cjs/extractor/loadTamagui.native.js +75 -92
- package/dist/cjs/extractor/loadTamagui.native.js.map +1 -1
- package/dist/cjs/extractor/normalizeTernaries.native.js +2 -4
- package/dist/cjs/extractor/normalizeTernaries.native.js.map +1 -1
- package/dist/cjs/extractor/removeUnusedHooks.js +2 -4
- package/dist/cjs/extractor/removeUnusedHooks.js.map +1 -1
- package/dist/cjs/extractor/removeUnusedHooks.native.js +4 -8
- package/dist/cjs/extractor/removeUnusedHooks.native.js.map +1 -1
- package/dist/cjs/extractor/watchTamaguiConfig.native.js +57 -63
- package/dist/cjs/extractor/watchTamaguiConfig.native.js.map +1 -1
- package/dist/cjs/server.native.js +53 -58
- package/dist/cjs/server.native.js.map +1 -1
- package/dist/esm/checkDeps.native.js +53 -58
- package/dist/esm/checkDeps.native.js.map +1 -1
- package/dist/esm/extractor/bundle.native.js +65 -79
- package/dist/esm/extractor/bundle.native.js.map +1 -1
- package/dist/esm/extractor/bundleConfig.js +2 -4
- package/dist/esm/extractor/bundleConfig.js.map +1 -1
- package/dist/esm/extractor/bundleConfig.native.js +67 -83
- package/dist/esm/extractor/bundleConfig.native.js.map +1 -1
- package/dist/esm/extractor/createExtractor.js +8 -16
- package/dist/esm/extractor/createExtractor.js.map +1 -1
- package/dist/esm/extractor/createExtractor.native.js +70 -92
- package/dist/esm/extractor/createExtractor.native.js.map +1 -1
- package/dist/esm/extractor/extractHelpers.js +4 -8
- package/dist/esm/extractor/extractHelpers.js.map +1 -1
- package/dist/esm/extractor/extractHelpers.native.js +11 -22
- package/dist/esm/extractor/extractHelpers.native.js.map +1 -1
- package/dist/esm/extractor/extractMediaStyle.js +3 -6
- package/dist/esm/extractor/extractMediaStyle.js.map +1 -1
- package/dist/esm/extractor/extractMediaStyle.native.js +10 -20
- package/dist/esm/extractor/extractMediaStyle.native.js.map +1 -1
- package/dist/esm/extractor/extractToClassNames.js +5 -7
- package/dist/esm/extractor/extractToClassNames.js.map +1 -1
- package/dist/esm/extractor/extractToClassNames.native.js +66 -79
- package/dist/esm/extractor/extractToClassNames.native.js.map +1 -1
- package/dist/esm/extractor/generateTamaguiStudioConfig.js +3 -6
- package/dist/esm/extractor/generateTamaguiStudioConfig.js.map +1 -1
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +63 -78
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
- package/dist/esm/extractor/generatedUid.native.js +2 -4
- package/dist/esm/extractor/generatedUid.native.js.map +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.js +4 -8
- package/dist/esm/extractor/getStaticBindingsForScope.js.map +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.native.js +82 -94
- package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
- package/dist/esm/extractor/hoistClassNames.js +1 -2
- package/dist/esm/extractor/hoistClassNames.js.map +1 -1
- package/dist/esm/extractor/hoistClassNames.native.js +1 -2
- package/dist/esm/extractor/hoistClassNames.native.js.map +1 -1
- package/dist/esm/extractor/literalToAst.native.js +6 -12
- package/dist/esm/extractor/literalToAst.native.js.map +1 -1
- package/dist/esm/extractor/loadTamagui.native.js +75 -92
- package/dist/esm/extractor/loadTamagui.native.js.map +1 -1
- package/dist/esm/extractor/normalizeTernaries.native.js +2 -4
- package/dist/esm/extractor/normalizeTernaries.native.js.map +1 -1
- package/dist/esm/extractor/removeUnusedHooks.js +2 -4
- package/dist/esm/extractor/removeUnusedHooks.js.map +1 -1
- package/dist/esm/extractor/removeUnusedHooks.native.js +4 -8
- package/dist/esm/extractor/removeUnusedHooks.native.js.map +1 -1
- package/dist/esm/extractor/watchTamaguiConfig.native.js +57 -63
- package/dist/esm/extractor/watchTamaguiConfig.native.js.map +1 -1
- package/dist/esm/server.native.js +53 -58
- package/dist/esm/server.native.js.map +1 -1
- package/package.json +16 -15
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/loadTamagui.ts"],
|
4
|
-
"mappings": "AAAA,SAASA,cAAcC,qBAAqB;AAC5C,SAASC,UAAUC,SAASC,SAASC,MAAMC,UAAUC,eAAe;AAEpE,SAASC,OAAOC,gBAAgB;AAGhC,OAAOC,aAAa;AACpB,YAAYC,aAAa;AAEzB,SAASC,gBAAgB;AACzB,SAASC,oBAAoB;AAC7B,SAASC,0BAA0B;AACnC,SAASC,iBAAiB;AAC1B,SAASC,gBAAgBC,uBAAuB;AAChD,SAEEC,kBACAC,yBACAC,sBACK;AACP,SACEC,6BACAC,iCACAC,6BACK;AACP,SAASC,6CAA6C
|
4
|
+
"mappings": "AAAA,SAASA,cAAcC,qBAAqB;AAC5C,SAASC,UAAUC,SAASC,SAASC,MAAMC,UAAUC,eAAe;AAEpE,SAASC,OAAOC,gBAAgB;AAGhC,OAAOC,aAAa;AACpB,YAAYC,aAAa;AAEzB,SAASC,gBAAgB;AACzB,SAASC,oBAAoB;AAC7B,SAASC,0BAA0B;AACnC,SAASC,iBAAiB;AAC1B,SAASC,gBAAgBC,uBAAuB;AAChD,SAEEC,kBACAC,yBACAC,sBACK;AACP,SACEC,6BACAC,iCACAC,6BACK;AACP,SAASC,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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A;AACF,mBAAA;;cAAOA;;;;AAFN,6CAAA;;;;;;;;;;sCAAA,oBAAA,IAAA,iBAAA;;;;;;aAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;gBAAA;oBAAA;;;;;;AAML,iBAAKF,kBACHA,gBAAgB,IAChBnF,QAAQC,KAAM,wFACZmF,OADmGrC,YAAW;KAAA,EACrF,OAAzBqC,YAAYvH,KAAM;GAAA,GAAO;GAAA,CAAA;;;;;EAG/B,CAAA,GAnBewG,6BAAAA,MAAAA,MAAAA,SAAAA;;AAuBf,SAAsBuB,kBAAkBlB,OAAemB,WAAqB;SAAtDD,mBAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,qBAAAA;AAAAA,8BAAf,oBAAA,SAAiClB,OAAemB,WAAqB;QACtEC,YAOEC;;;;AAPFD,8BAAa,IAOD;;YAAM5H,QAAQ6H,QAAQ;cACpCC,QAAQ;cACRC,aAAW;gBAAGvB;;cACdwB,mBAAiB;gBAAG;gBAAO;gBAAQ;gBAAO;gBAAQ;;cAClDC,UAAU;cACVC,OAAO;cACPC,SAAO;gBACL;kBACEC,MAAO;kBACPC,OAAAA,SAAM,OAAS;wBAAPC,QAAF,MAAEA;AACNA,0BAAM,WAAA;AACJ,sBAAKV,aAGHD,UAAAA,IAFAC,aAAa;oBAIjB,CAAA;kBACF;gBACF;;YAEJ,CAAA;;;AApBMC,2BAAU,OAAA,KAAA,GAuBXA,QAAQU,MAAK,GAElB;;YAAO,WAAA;AACLV,sBAAQW,QAAO;YACjB;;;;EACF,CAAA,GApCsBd,mBAAAA,MAAAA,MAAAA,SAAAA;;",
|
5
5
|
"names": ["readFileSync", "writeFileSync", "basename", "dirname", "extname", "join", "relative", "resolve", "Color", "colorLog", "esbuild", "fsExtra", "readFile", "SHOULD_DEBUG", "requireTamaguiCore", "minifyCSS", "getNameToPaths", "registerRequire", "getBundledConfig", "hasBundledConfigChanged", "loadComponents", "generateTamaguiStudioConfig", "generateTamaguiStudioConfigSync", "generateTamaguiThemes", "getTamaguiConfigPathFromOptionsConfig", "getFilledOptions", "propsIn", "platform", "process", "config", "components", "loadTamagui", "props", "bundleInfo", "createTamagui", "outputCSS", "flush", "cssOut", "css", "generateThemesAndLog", "console", "warn", "tamaguiConfig", "FgYellow", "writeFile", "_state", "getCSS", "disableMinifyCSS", "code", "env", "NODE_ENV", "waiting", "hasLoggedOnce", "options", "force", "didGenerate", "whitespaceBefore", "themeBuilder", "Promise", "res", "setTimeout", "cwd", "output", "last", "lastVersion", "loadTamaguiBuildConfigSync", "tamaguiOptions", "buildFilePath", "buildFile", "existsSync", "registered", "out", "require", "default", "Error", "unregister", "loadTamaguiSync", "forceExports", "cacheKey", "key", "JSON", "stringify", "IS_STATIC", "TAMAGUI_IS_SERVER", "proxyWormImports", "devValueOG", "globalThis", "configPath", "exp", "parsed", "confPath", "DEBUG", "info", "undefined", "nameToPaths", "cached", "err", "message", "error", "getDefaultTamaguiConfig", "getOptions", "root", "tsconfigPath", "host", "debug", "dotDir", "pkgJson", "readJSON", "mode", "getDefaultTamaguiConfigPath", "paths", "conf", "types", "resolveWebOrNativeSpecificEntry", "entry", "workspaceRoot", "resolved", "ext", "fileName", "replace", "specificExt", "specificFile", "defaultPaths", "hasWarnedOnce", "searchPaths", "path", "Set", "filter", "Boolean", "map", "p", "pathExists", "esbuildWatchFiles", "onChanged", "hasRunOnce", "context", "bundle", "entryPoints", "resolveExtensions", "logLevel", "write", "plugins", "name", "setup", "onEnd", "watch", "dispose"]
|
6
6
|
}
|
@@ -36,8 +36,7 @@ function _object_spread_props(target, source) {
|
|
36
36
|
}), target;
|
37
37
|
}
|
38
38
|
function _object_without_properties(source, excluded) {
|
39
|
-
if (source == null)
|
40
|
-
return {};
|
39
|
+
if (source == null) return {};
|
41
40
|
var target = _object_without_properties_loose(source, excluded), key, i;
|
42
41
|
if (Object.getOwnPropertySymbols) {
|
43
42
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
@@ -47,8 +46,7 @@ function _object_without_properties(source, excluded) {
|
|
47
46
|
return target;
|
48
47
|
}
|
49
48
|
function _object_without_properties_loose(source, excluded) {
|
50
|
-
if (source == null)
|
51
|
-
return {};
|
49
|
+
if (source == null) return {};
|
52
50
|
var target = {}, sourceKeys = Object.keys(source), key, i;
|
53
51
|
for (i = 0; i < sourceKeys.length; i++)
|
54
52
|
key = sourceKeys[i], !(excluded.indexOf(key) >= 0) && (target[key] = source[key]);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/normalizeTernaries.ts"],
|
4
|
-
"mappings": "AAAA,OAAOA,cAAc;AACrB,YAAYC,OAAO;AACnB,OAAOC,eAAe
|
4
|
+
"mappings": "AAAA,OAAOA,cAAc;AACrB,YAAYC,OAAO;AACnB,OAAOC,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIf,SAASC,mBAAmBC,WAAoB;AAMrD,MALAF,UACEG,MAAMC,QAAQF,SAAAA,GACd,oEAAA,GAGEA,UAAUG,WAAW;AACvB,WAAO,CAAA;AAKT,WAFMC,iBAA6C,CAAC,GAE3CC,MAAM,IAAIC,MAAMN,UAAUG,QAAQ,EAAEE,MAAMC,OAAO;AACxD,QAAyDN,iBAAAA,UAAUK,GAAAA,GAA3DE,OAAiDP,eAAjDO,MAAMC,aAA2CR,eAA3CQ,YAAYC,YAA+BT,eAA/BS,WAAWC,SAAoBV,eAApBU,QAAWC,OAAAA,2BAASX,gBAAAA;MAAjDO;MAAMC;MAAYC;MAAWC;QAEjCE,cAAcL;AAGlB,IAAIV,EAAEgB,sBAAsBN,IAAAA,MAC1BK,cAAeL,KAAaO;AAI9B,QAAIC,aAAa;AACjB,IAAIlB,EAAEmB,kBAAkBT,IAAAA,KAASA,KAAKU,aAAa,OACjDL,cAAcL,KAAKW,UACnBH,aAAa,MACJlB,EAAEsB,mBAAmBZ,IAAAA,MAC1BA,KAAKU,aAAa,SAASV,KAAKU,aAAa,UAC/CL,cAAcf,EAAEuB,iBACdb,KAAKU,SAASI,QAAQ,KAAK,GAAA,GAC3Bd,KAAKe,MACLf,KAAKgB,KAAK,GAEZR,aAAa;AAKjB,QAAMS,MAAM5B,SAASgB,WAAAA,EAAoBa;AAEzC,IAAKrB,eAAeoB,GAAAA,MAClBpB,eAAeoB,GAAAA,IAAO,qBAAA,eAAA,CAAA,GACjBb,IAAAA,GAAAA;MACHF,WAAW,CAAC;MACZD,YAAY,CAAC;MACbD,MAAMK;MACNF;;QAGcK,MAAZW,YAAYX,OAAAA,aAAaP,aAAaC,eAAAA,QAA1BM,SAAAA,SAAAA,OAAwC,CAAC,GACxCA,OAAbY,aAAaZ,QAAAA,aAAaN,YAAYD,gBAAAA,QAAzBO,UAAAA,SAAAA,QAAwC,CAAC;AAC5Da,WAAOC,OAAOzB,eAAeoB,GAAAA,EAAKf,WAAYiB,QAAAA,GAC9CE,OAAOC,OAAOzB,eAAeoB,GAAAA,EAAKhB,YAAamB,SAAAA;EACjD;AAEA,MAAMG,oBAAoBF,OAAOG,KAAK3B,cAAAA,EAAgB4B,IAAI,SAACR,MAAAA;AACzD,WAAOpB,eAAeoB,IAAAA;EACxB,CAAA;AAEA,SAAOM;AACT;",
|
5
5
|
"names": ["generate", "t", "invariant", "normalizeTernaries", "ternaries", "Array", "isArray", "length", "ternariesByKey", "idx", "len", "test", "consequent", "alternate", "remove", "rest", "ternaryTest", "isExpressionStatement", "expression", "shouldSwap", "isUnaryExpression", "operator", "argument", "isBinaryExpression", "binaryExpression", "replace", "left", "right", "key", "code", "altStyle", "consStyle", "Object", "assign", "ternaryExpression", "keys", "map"]
|
6
6
|
}
|
@@ -32,11 +32,9 @@ function removeUnusedHooks(compFn, shouldPrintDebug) {
|
|
32
32
|
return !isBindingReferenced(name);
|
33
33
|
}
|
34
34
|
return t.isObjectPattern(id.node) ? id.get("properties").every((prop) => {
|
35
|
-
if (!prop.isObjectProperty())
|
36
|
-
return !1;
|
35
|
+
if (!prop.isObjectProperty()) return !1;
|
37
36
|
const value = prop.get("value");
|
38
|
-
if (Array.isArray(value) || !value.isIdentifier())
|
39
|
-
return !1;
|
37
|
+
if (Array.isArray(value) || !value.isIdentifier()) return !1;
|
40
38
|
const name = value.node.name;
|
41
39
|
return !isBindingReferenced(name);
|
42
40
|
}) : !1;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/removeUnusedHooks.ts"],
|
4
|
-
"mappings": "AACA,YAAY,OAAO;AAEnB,MAAM,QAAQ;AAAA,EACZ,UAAU;AAAA,EACV,UAAU;AACZ;AAEO,SAAS,kBACd,QACA,kBACA;AACA,SAAO,MAAM,MAAM;AAEnB,MAAI,iBAAiB,QAAQ,IAAI,MAAM;AACvC,MAAI,CAAC,gBAAgB;AACnB,YAAQ,KAAK,sBAAsB,MAAM;AACzC;AAAA,EACF;AAQA,MAPK,MAAM,QAAQ,cAAc,MAC3B,eAAe,qBAAqB,IACtC,iBAAiB,eAAe,MAAM,KAAK,IAAI,MAAM,IAErD,iBAAiB,eAAe,IAAI,MAAM,IAG1C,CAAC,kBAAkB,CAAC,MAAM,QAAQ,cAAc;AAClD;AAEF,QAAM,aAAa;AACnB,aAAW,aAAa,YAAY;AAClC,QAAI,CAAC,UAAU,sBAAsB;AACnC;AAEF,UAAM,eAAe,UAAU,IAAI,cAAc;AACjD,QAAI,CAAC,MAAM,QAAQ,YAAY;AAC7B;AAEF,UAAM,sBAAsB,CAAC,SACpB,CAAC,CAAC,UAAU,MAAM,WAAW,IAAI,GAAG;AAE7C,eAAW,cAAc,cAAc;AACrC,YAAM,KAAK,WAAW,IAAI,IAAI,GACxB,OAAO,WAAW,KAAK;AAC7B,UAAI,MAAM,QAAQ,EAAE,KAAK,MAAM,QAAQ,IAAI;AACzC;AA6BF,OA3BsB,MAAM;AAM1B,YAAI,EAJF,QACA,EAAE,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EAAE,aAAa,KAAK,MAAM,KAC1B,MAAM,KAAK,OAAO,IAAI;AAEtB,iBAAO;AAET,YAAI,EAAE,aAAa,GAAG,IAAI,GAAG;AAE3B,gBAAM,OAAO,GAAG,KAAK;AACrB,iBAAO,CAAC,oBAAoB,IAAI;AAAA,QAClC;AACA,eAAI,EAAE,gBAAgB,GAAG,IAAI,IAET,GAAG,IAAI,YAAY,EACpB,MAAM,CAAC,SAAS;AAC/B,cAAI,CAAC,KAAK,iBAAiB,EAAG,QAAO;AACrC,gBAAM,QAAQ,KAAK,IAAI,OAAO;AAC9B,cAAI,MAAM,QAAQ,KAAK,KAAK,CAAC,MAAM,aAAa,EAAG,QAAO;AAC1D,gBAAM,OAAO,MAAM,KAAK;AACxB,iBAAO,CAAC,oBAAoB,IAAI;AAAA,QAClC,CAAC,IAEI;AAAA,MACT,GAAG,MAED,WAAW,OAAO,GACd,oBACF,QAAQ,KAAK,yBAAkB,GAAG,KAAK,QAAW,EAAE,EAAE;AAAA,IAG5D;AAAA,EACF;AACF;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -40,11 +40,9 @@ function removeUnusedHooks(compFn, shouldPrintDebug) {
|
|
40
40
|
if (t.isObjectPattern(id.node)) {
|
41
41
|
var propPaths = id.get("properties");
|
42
42
|
return propPaths.every(function(prop) {
|
43
|
-
if (!prop.isObjectProperty())
|
44
|
-
return !1;
|
43
|
+
if (!prop.isObjectProperty()) return !1;
|
45
44
|
var value = prop.get("value");
|
46
|
-
if (Array.isArray(value) || !value.isIdentifier())
|
47
|
-
return !1;
|
45
|
+
if (Array.isArray(value) || !value.isIdentifier()) return !1;
|
48
46
|
var name2 = value.node.name;
|
49
47
|
return !isBindingReferenced(name2);
|
50
48
|
});
|
@@ -55,8 +53,7 @@ function removeUnusedHooks(compFn, shouldPrintDebug) {
|
|
55
53
|
var _id_node_name;
|
56
54
|
console.info(" [\u{1FA9D}] removed ".concat((_id_node_name = id.node.name) !== null && _id_node_name !== void 0 ? _id_node_name : ""));
|
57
55
|
}
|
58
|
-
}, _iterator2 = declarations[Symbol.iterator](), _step1; !(_iteratorNormalCompletion2 = (_step1 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0)
|
59
|
-
_loop2();
|
56
|
+
}, _iterator2 = declarations[Symbol.iterator](), _step1; !(_iteratorNormalCompletion2 = (_step1 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0) _loop2();
|
60
57
|
} catch (err) {
|
61
58
|
_didIteratorError2 = !0, _iteratorError2 = err;
|
62
59
|
} finally {
|
@@ -67,8 +64,7 @@ function removeUnusedHooks(compFn, shouldPrintDebug) {
|
|
67
64
|
throw _iteratorError2;
|
68
65
|
}
|
69
66
|
}
|
70
|
-
}, _iterator = statements[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)
|
71
|
-
_loop();
|
67
|
+
}, _iterator = statements[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
|
72
68
|
} catch (err) {
|
73
69
|
_didIteratorError = !0, _iteratorError = err;
|
74
70
|
} finally {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/removeUnusedHooks.ts"],
|
4
|
-
"mappings": "AACA,YAAYA,OAAO;AAEnB,IAAMC,QAAQ;EACZC,UAAU;EACVC,UAAU;AACZ;AAEO,SAASC,kBACdC,QACAC,kBAAqC;AAErCD,SAAOE,MAAMC,MAAK;AAElB,MAAIC,iBAAiBJ,UAAAA,OAAAA,SAAAA,OAAQK,IAAI,MAAA;AACjC,MAAI,CAACD,gBAAgB;AACnBE,YAAQC,KAAK,sBAAsBP,MAAAA;AACnC;EACF;AAQA,MAPKQ,MAAMC,QAAQL,cAAAA,MACbA,eAAeM,qBAAoB,IACrCN,iBAAiBA,eAAeF,MAAMS,KAAKN,IAAI,MAAA,IA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ks", "useMedia", "useTheme", "removeUnusedHooks", "compFn", "shouldPrintDebug", "scope", "crawl", "bodyStatements", "get", "console", "info", "Array", "isArray", "isFunctionExpression", "path", "statements", "statement", "isVariableDeclaration", "declarations", "isBindingReferenced", "name", "getBinding", "referenced", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "declarator", "id", "init", "node", "shouldRemove", "isHook", "isCallExpression", "isIdentifier", "callee", "isObjectPattern", "propPaths", "every", "prop", "isObjectProperty", "value", "remove", "_iterator", "_loop"]
|
6
6
|
}
|
@@ -28,8 +28,7 @@ function _ts_generator(thisArg, body) {
|
|
28
28
|
var f, y, t, g, _ = {
|
29
29
|
label: 0,
|
30
30
|
sent: function() {
|
31
|
-
if (t[0] & 1)
|
32
|
-
throw t[1];
|
31
|
+
if (t[0] & 1) throw t[1];
|
33
32
|
return t[1];
|
34
33
|
},
|
35
34
|
trys: [],
|
@@ -51,64 +50,60 @@ function _ts_generator(thisArg, body) {
|
|
51
50
|
};
|
52
51
|
}
|
53
52
|
function step(op) {
|
54
|
-
if (f)
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
default:
|
82
|
-
if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
83
|
-
_ = 0;
|
84
|
-
continue;
|
85
|
-
}
|
86
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
87
|
-
_.label = op[1];
|
88
|
-
break;
|
89
|
-
}
|
90
|
-
if (op[0] === 6 && _.label < t[1]) {
|
91
|
-
_.label = t[1], t = op;
|
92
|
-
break;
|
93
|
-
}
|
94
|
-
if (t && _.label < t[2]) {
|
95
|
-
_.label = t[2], _.ops.push(op);
|
96
|
-
break;
|
97
|
-
}
|
98
|
-
t[2] && _.ops.pop(), _.trys.pop();
|
53
|
+
if (f) throw new TypeError("Generator is already executing.");
|
54
|
+
for (; _; ) try {
|
55
|
+
if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
56
|
+
switch (y = 0, t && (op = [
|
57
|
+
op[0] & 2,
|
58
|
+
t.value
|
59
|
+
]), op[0]) {
|
60
|
+
case 0:
|
61
|
+
case 1:
|
62
|
+
t = op;
|
63
|
+
break;
|
64
|
+
case 4:
|
65
|
+
return _.label++, {
|
66
|
+
value: op[1],
|
67
|
+
done: !1
|
68
|
+
};
|
69
|
+
case 5:
|
70
|
+
_.label++, y = op[1], op = [
|
71
|
+
0
|
72
|
+
];
|
73
|
+
continue;
|
74
|
+
case 7:
|
75
|
+
op = _.ops.pop(), _.trys.pop();
|
76
|
+
continue;
|
77
|
+
default:
|
78
|
+
if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
79
|
+
_ = 0;
|
99
80
|
continue;
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
81
|
+
}
|
82
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
83
|
+
_.label = op[1];
|
84
|
+
break;
|
85
|
+
}
|
86
|
+
if (op[0] === 6 && _.label < t[1]) {
|
87
|
+
_.label = t[1], t = op;
|
88
|
+
break;
|
89
|
+
}
|
90
|
+
if (t && _.label < t[2]) {
|
91
|
+
_.label = t[2], _.ops.push(op);
|
92
|
+
break;
|
93
|
+
}
|
94
|
+
t[2] && _.ops.pop(), _.trys.pop();
|
95
|
+
continue;
|
109
96
|
}
|
110
|
-
|
111
|
-
|
97
|
+
op = body.call(thisArg, _);
|
98
|
+
} catch (e) {
|
99
|
+
op = [
|
100
|
+
6,
|
101
|
+
e
|
102
|
+
], y = 0;
|
103
|
+
} finally {
|
104
|
+
f = t = 0;
|
105
|
+
}
|
106
|
+
if (op[0] & 5) throw op[1];
|
112
107
|
return {
|
113
108
|
value: op[0] ? op[1] : void 0,
|
114
109
|
done: !0
|
@@ -146,11 +141,10 @@ function _watchTamaguiConfig() {
|
|
146
141
|
})
|
147
142
|
];
|
148
143
|
case 2:
|
149
|
-
if (disposeConfigWatcher = _state.sent(), themeBuilderInput = (_options_tamaguiOptions_themeBuilder = options.tamaguiOptions.themeBuilder) === null || _options_tamaguiOptions_themeBuilder === void 0 ? void 0 : _options_tamaguiOptions_themeBuilder.input, !themeBuilderInput)
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
];
|
144
|
+
if (disposeConfigWatcher = _state.sent(), themeBuilderInput = (_options_tamaguiOptions_themeBuilder = options.tamaguiOptions.themeBuilder) === null || _options_tamaguiOptions_themeBuilder === void 0 ? void 0 : _options_tamaguiOptions_themeBuilder.input, !themeBuilderInput) return [
|
145
|
+
3,
|
146
|
+
4
|
147
|
+
];
|
154
148
|
inputPath = themeBuilderInput;
|
155
149
|
try {
|
156
150
|
inputPath = require.resolve(themeBuilderInput);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/watchTamaguiConfig.ts"],
|
4
|
-
"mappings": "AACA,SAASA,mCAAmC;AAC5C,SAASC,YAAYC,mBAAmBC,4BAA4B
|
4
|
+
"mappings": "AACA,SAASA,mCAAmC;AAC5C,SAASC,YAAYC,mBAAmBC,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEpE,SAAsBC,mBAAmBC,gBAA8B;SAAjDD,oBAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,sBAAAA;AAAAA,+BAAf,oBAAA,SAAkCC,gBAA8B;QAoB3CC,sCAnBpBA,SAYAC,sBAOAC,mBACFC,sBAGEC;;;;AAvBU,iBAAA;;YAAMT,WAAW;cAAEI;YAAe,CAAA;;;AAElD,cAFMC,UAAU,OAAA,KAAA,GAEZ,CAACA,QAAQD,eAAeM;AAC1B,kBAAM,IAAIC,MAAO,WAAA;AAGnB,iBAAIC,QAAQC,IAAIC,aAAa,eAC3B;;YAAO;cACLC,SAAAA,WAAAA;cAAW;YACb;cAG2B;;YAAMd,kBACjCI,QAAQD,eAAeM,QACvB,WAAA;AACE,cAAKX,4BAA4BM,QAAQD,gBAAgB,MAAM,EAAA;YACjE,CAAA;;;cAJIE,uBAAuB,OAAA,KAAA,GAOvBC,qBAAoBF,uCAAAA,QAAQD,eAAeY,kBAAY,QAAnCX,yCAAAA,SAAAA,SAAAA,qCAAqCY,QAG3DV,kBAAAA,QAAAA;;;;AACEE,sBAAYF;AAChB,cAAI;AACFE,wBAAYS,QAAQC,QAAQZ,iBAAAA;UAC9B,QAAQ;UAER;AACuB,iBAAA;;YAAMN,kBAAkBQ,WAAW,WAAA;AACxD,cAAKP,qBAAqBG,QAAQD,cAAc;YAClD,CAAA;;;AAFAI,iCAAuB,OAAA,KAAA;;AAKzB,iBAAA;;YAAO;cACLO,SAAAA,WAAAA;AACET,qCAAAA,GACAE,wBAAAA,QAAAA,qBAAAA;cACF;YACF;;;;EACF,CAAA,GAzCsBL,oBAAAA,MAAAA,MAAAA,SAAAA;;",
|
5
5
|
"names": ["generateTamaguiStudioConfig", "getOptions", "esbuildWatchFiles", "generateThemesAndLog", "watchTamaguiConfig", "tamaguiOptions", "options", "disposeConfigWatcher", "themeBuilderInput", "disposeThemesWatcher", "inputPath", "config", "Error", "process", "env", "NODE_ENV", "dispose", "themeBuilder", "input", "require", "resolve"]
|
6
6
|
}
|
@@ -27,8 +27,7 @@ function _ts_generator(thisArg, body) {
|
|
27
27
|
var f, y, t, g, _ = {
|
28
28
|
label: 0,
|
29
29
|
sent: function() {
|
30
|
-
if (t[0] & 1)
|
31
|
-
throw t[1];
|
30
|
+
if (t[0] & 1) throw t[1];
|
32
31
|
return t[1];
|
33
32
|
},
|
34
33
|
trys: [],
|
@@ -50,64 +49,60 @@ function _ts_generator(thisArg, body) {
|
|
50
49
|
};
|
51
50
|
}
|
52
51
|
function step(op) {
|
53
|
-
if (f)
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
default:
|
81
|
-
if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
82
|
-
_ = 0;
|
83
|
-
continue;
|
84
|
-
}
|
85
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
86
|
-
_.label = op[1];
|
87
|
-
break;
|
88
|
-
}
|
89
|
-
if (op[0] === 6 && _.label < t[1]) {
|
90
|
-
_.label = t[1], t = op;
|
91
|
-
break;
|
92
|
-
}
|
93
|
-
if (t && _.label < t[2]) {
|
94
|
-
_.label = t[2], _.ops.push(op);
|
95
|
-
break;
|
96
|
-
}
|
97
|
-
t[2] && _.ops.pop(), _.trys.pop();
|
52
|
+
if (f) throw new TypeError("Generator is already executing.");
|
53
|
+
for (; _; ) try {
|
54
|
+
if (f = 1, y && (t = op[0] & 2 ? y.return : op[0] ? y.throw || ((t = y.return) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
55
|
+
switch (y = 0, t && (op = [
|
56
|
+
op[0] & 2,
|
57
|
+
t.value
|
58
|
+
]), op[0]) {
|
59
|
+
case 0:
|
60
|
+
case 1:
|
61
|
+
t = op;
|
62
|
+
break;
|
63
|
+
case 4:
|
64
|
+
return _.label++, {
|
65
|
+
value: op[1],
|
66
|
+
done: !1
|
67
|
+
};
|
68
|
+
case 5:
|
69
|
+
_.label++, y = op[1], op = [
|
70
|
+
0
|
71
|
+
];
|
72
|
+
continue;
|
73
|
+
case 7:
|
74
|
+
op = _.ops.pop(), _.trys.pop();
|
75
|
+
continue;
|
76
|
+
default:
|
77
|
+
if (t = _.trys, !(t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
78
|
+
_ = 0;
|
98
79
|
continue;
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
80
|
+
}
|
81
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
82
|
+
_.label = op[1];
|
83
|
+
break;
|
84
|
+
}
|
85
|
+
if (op[0] === 6 && _.label < t[1]) {
|
86
|
+
_.label = t[1], t = op;
|
87
|
+
break;
|
88
|
+
}
|
89
|
+
if (t && _.label < t[2]) {
|
90
|
+
_.label = t[2], _.ops.push(op);
|
91
|
+
break;
|
92
|
+
}
|
93
|
+
t[2] && _.ops.pop(), _.trys.pop();
|
94
|
+
continue;
|
108
95
|
}
|
109
|
-
|
110
|
-
|
96
|
+
op = body.call(thisArg, _);
|
97
|
+
} catch (e) {
|
98
|
+
op = [
|
99
|
+
6,
|
100
|
+
e
|
101
|
+
], y = 0;
|
102
|
+
} finally {
|
103
|
+
f = t = 0;
|
104
|
+
}
|
105
|
+
if (op[0] & 5) throw op[1];
|
111
106
|
return {
|
112
107
|
value: op[0] ? op[1] : void 0,
|
113
108
|
done: !0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/static/src/server.ts"],
|
4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E,kBAAAA,MAAAA,MAAAA,SAAAA;;AAIf,SAASe,mBAAmBjB,MAAY;AACtC,SAAO,IAAIK,QAAgB,SAACC,SAASC,QAAAA;AACnC,QAAMN,SAASJ,IAAIM,aAAY;AAC/BF,WAAOG,MAAK,GACZH,OAAOO,GAAG,SAASD,MAAAA,GAEnBN,OAAOa,OAAO;MAAEd;IAAK,GAAG,WAAA;AACtB,UAAQA,SAASC,OAAOc,QAAO,EAAvBf;AACRC,aAAOe,MAAM,WAAA;AACXV,gBAAQN,MAAAA;MACV,CAAA;IACF,CAAA;EACF,CAAA;AACF;",
|
5
5
|
"names": ["net", "startServer", "options", "port", "server", "getAvailablePort", "createServer", "unref", "Promise", "resolve", "reject", "on", "conn", "data", "console", "info", "toString", "listen", "address", "close", "checkAvailablePort", "catch"]
|
6
6
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tamagui/static",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.100.0",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"types": "./types/index.d.ts",
|
6
6
|
"main": "dist/cjs/index.js",
|
@@ -43,30 +43,31 @@
|
|
43
43
|
"@babel/runtime": "^7.23.2",
|
44
44
|
"@babel/traverse": "^7.23.3",
|
45
45
|
"@babel/types": "^7.23.3",
|
46
|
-
"@tamagui/build": "1.
|
47
|
-
"@tamagui/cli-color": "1.
|
48
|
-
"@tamagui/config-default": "1.
|
49
|
-
"@tamagui/core": "1.
|
50
|
-
"@tamagui/fake-react-native": "1.
|
51
|
-
"@tamagui/generate-themes": "1.
|
52
|
-
"@tamagui/helpers": "1.
|
53
|
-
"@tamagui/helpers-node": "1.
|
54
|
-
"@tamagui/proxy-worm": "1.
|
55
|
-
"@tamagui/shorthands": "1.
|
56
|
-
"@tamagui/types": "1.
|
46
|
+
"@tamagui/build": "1.100.0",
|
47
|
+
"@tamagui/cli-color": "1.100.0",
|
48
|
+
"@tamagui/config-default": "1.100.0",
|
49
|
+
"@tamagui/core": "1.100.0",
|
50
|
+
"@tamagui/fake-react-native": "1.100.0",
|
51
|
+
"@tamagui/generate-themes": "1.100.0",
|
52
|
+
"@tamagui/helpers": "1.100.0",
|
53
|
+
"@tamagui/helpers-node": "1.100.0",
|
54
|
+
"@tamagui/proxy-worm": "1.100.0",
|
55
|
+
"@tamagui/shorthands": "1.100.0",
|
56
|
+
"@tamagui/types": "1.100.0",
|
57
57
|
"babel-literal-to-ast": "^2.1.0",
|
58
58
|
"browserslist": "^4.22.2",
|
59
59
|
"check-dependency-version-consistency": "^4.1.0",
|
60
|
-
"esbuild": "^0.
|
60
|
+
"esbuild": "^0.21.4",
|
61
61
|
"esbuild-register": "^3.5.0",
|
62
62
|
"find-cache-dir": "^3.3.2",
|
63
63
|
"find-root": "^1.1.0",
|
64
64
|
"fs-extra": "^11.2.0",
|
65
65
|
"invariant": "^2.2.4",
|
66
66
|
"lodash": "^4.17.21",
|
67
|
+
"react-dom": "^18.2.0",
|
67
68
|
"react-native-web": "^0.19.12",
|
68
|
-
"react-native-web-internals": "1.
|
69
|
-
"react-native-web-lite": "1.
|
69
|
+
"react-native-web-internals": "1.100.0",
|
70
|
+
"react-native-web-lite": "1.100.0"
|
70
71
|
},
|
71
72
|
"devDependencies": {
|
72
73
|
"@babel/plugin-syntax-typescript": "^7.23.3",
|