@tamagui/static 1.92.1 → 1.93.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/extractor/bundle.js +4 -4
- package/dist/cjs/extractor/bundle.js.map +1 -1
- package/dist/cjs/extractor/bundle.native.js +4 -4
- package/dist/cjs/extractor/bundle.native.js.map +2 -2
- package/dist/cjs/extractor/bundleConfig.js +10 -10
- package/dist/cjs/extractor/bundleConfig.js.map +1 -1
- package/dist/cjs/extractor/bundleConfig.native.js +10 -10
- package/dist/cjs/extractor/bundleConfig.native.js.map +2 -2
- package/dist/cjs/extractor/createExtractor.js +10 -4
- package/dist/cjs/extractor/createExtractor.js.map +1 -1
- package/dist/cjs/extractor/createExtractor.native.js +3 -3
- package/dist/cjs/extractor/createExtractor.native.js.map +2 -2
- package/dist/cjs/extractor/extractHelpers.js +1 -1
- package/dist/cjs/extractor/extractHelpers.js.map +1 -1
- package/dist/cjs/extractor/extractHelpers.native.js +1 -1
- package/dist/cjs/extractor/extractHelpers.native.js.map +1 -1
- package/dist/cjs/extractor/extractMediaStyle.js +8 -2
- package/dist/cjs/extractor/extractMediaStyle.js.map +1 -1
- package/dist/cjs/extractor/extractMediaStyle.native.js +2 -2
- package/dist/cjs/extractor/extractMediaStyle.native.js.map +2 -2
- package/dist/cjs/extractor/extractToClassNames.js +3 -2
- package/dist/cjs/extractor/extractToClassNames.js.map +1 -1
- package/dist/cjs/extractor/extractToClassNames.native.js +3 -2
- package/dist/cjs/extractor/extractToClassNames.native.js.map +2 -2
- package/dist/cjs/extractor/generateTamaguiStudioConfig.js +12 -8
- package/dist/cjs/extractor/generateTamaguiStudioConfig.js.map +2 -2
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +7 -7
- package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +2 -2
- package/dist/cjs/extractor/generatedUid.js.map +1 -1
- package/dist/cjs/extractor/generatedUid.native.js.map +1 -1
- package/dist/cjs/extractor/getStaticBindingsForScope.js +1 -1
- package/dist/cjs/extractor/getStaticBindingsForScope.js.map +1 -1
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js +1 -1
- package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +1 -1
- package/dist/cjs/extractor/loadTamagui.js +13 -45
- package/dist/cjs/extractor/loadTamagui.js.map +1 -1
- package/dist/cjs/extractor/loadTamagui.native.js +16 -78
- package/dist/cjs/extractor/loadTamagui.native.js.map +2 -2
- package/dist/cjs/extractor/watchTamaguiConfig.js +53 -0
- package/dist/cjs/extractor/watchTamaguiConfig.js.map +6 -0
- package/dist/cjs/extractor/watchTamaguiConfig.native.js +203 -0
- package/dist/cjs/extractor/watchTamaguiConfig.native.js.map +6 -0
- package/dist/cjs/index.js +18 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +30 -4
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/registerRequire.js +2 -2
- package/dist/cjs/registerRequire.js.map +1 -1
- package/dist/cjs/registerRequire.native.js +3 -3
- package/dist/cjs/registerRequire.native.js.map +2 -2
- package/dist/esm/extractor/bundle.js +4 -4
- package/dist/esm/extractor/bundle.js.map +1 -1
- package/dist/esm/extractor/bundle.mjs +4 -4
- package/dist/esm/extractor/bundle.native.js +4 -4
- package/dist/esm/extractor/bundle.native.js.map +2 -2
- package/dist/esm/extractor/bundleConfig.js +10 -10
- package/dist/esm/extractor/bundleConfig.js.map +1 -1
- package/dist/esm/extractor/bundleConfig.mjs +10 -10
- package/dist/esm/extractor/bundleConfig.native.js +10 -10
- package/dist/esm/extractor/bundleConfig.native.js.map +2 -2
- package/dist/esm/extractor/createExtractor.js +10 -4
- package/dist/esm/extractor/createExtractor.js.map +1 -1
- package/dist/esm/extractor/createExtractor.mjs +4 -4
- package/dist/esm/extractor/createExtractor.native.js +3 -3
- package/dist/esm/extractor/createExtractor.native.js.map +2 -2
- package/dist/esm/extractor/extractHelpers.js +1 -1
- package/dist/esm/extractor/extractHelpers.js.map +1 -1
- package/dist/esm/extractor/extractHelpers.mjs +1 -1
- package/dist/esm/extractor/extractHelpers.native.js +1 -1
- package/dist/esm/extractor/extractHelpers.native.js.map +1 -1
- package/dist/esm/extractor/extractMediaStyle.js +8 -2
- package/dist/esm/extractor/extractMediaStyle.js.map +1 -1
- package/dist/esm/extractor/extractMediaStyle.mjs +2 -2
- package/dist/esm/extractor/extractMediaStyle.native.js +2 -2
- package/dist/esm/extractor/extractMediaStyle.native.js.map +2 -2
- package/dist/esm/extractor/extractToClassNames.js +3 -2
- package/dist/esm/extractor/extractToClassNames.js.map +1 -1
- package/dist/esm/extractor/extractToClassNames.mjs +3 -2
- package/dist/esm/extractor/extractToClassNames.native.js +3 -2
- package/dist/esm/extractor/extractToClassNames.native.js.map +2 -2
- package/dist/esm/extractor/generateTamaguiStudioConfig.js +12 -8
- package/dist/esm/extractor/generateTamaguiStudioConfig.js.map +1 -1
- package/dist/esm/extractor/generateTamaguiStudioConfig.mjs +6 -6
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +7 -7
- package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +2 -2
- package/dist/esm/extractor/generatedUid.js.map +1 -1
- package/dist/esm/extractor/generatedUid.native.js.map +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.js +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.js.map +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.mjs +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.native.js +1 -1
- package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
- package/dist/esm/extractor/loadTamagui.js +14 -47
- package/dist/esm/extractor/loadTamagui.js.map +1 -1
- package/dist/esm/extractor/loadTamagui.mjs +13 -41
- package/dist/esm/extractor/loadTamagui.native.js +15 -77
- package/dist/esm/extractor/loadTamagui.native.js.map +2 -2
- package/dist/esm/extractor/watchTamaguiConfig.js +38 -0
- package/dist/esm/extractor/watchTamaguiConfig.js.map +6 -0
- package/dist/esm/extractor/watchTamaguiConfig.mjs +31 -0
- package/dist/esm/extractor/watchTamaguiConfig.native.js +183 -0
- package/dist/esm/extractor/watchTamaguiConfig.native.js.map +6 -0
- package/dist/esm/index.js +15 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +13 -2
- package/dist/esm/index.native.js +15 -1
- package/dist/esm/index.native.js.map +2 -2
- package/dist/esm/registerRequire.js +2 -2
- package/dist/esm/registerRequire.js.map +1 -1
- package/dist/esm/registerRequire.mjs +3 -3
- package/dist/esm/registerRequire.native.js +3 -3
- package/dist/esm/registerRequire.native.js.map +2 -2
- package/package.json +25 -19
- package/src/extractor/bundle.ts +4 -4
- package/src/extractor/bundleConfig.ts +10 -10
- package/src/extractor/createExtractor.ts +10 -4
- package/src/extractor/extractHelpers.ts +1 -1
- package/src/extractor/extractMediaStyle.ts +8 -2
- package/src/extractor/extractToClassNames.ts +3 -2
- package/src/extractor/generateTamaguiStudioConfig.ts +14 -10
- package/src/extractor/generatedUid.ts +0 -1
- package/src/extractor/getStaticBindingsForScope.ts +5 -1
- package/src/extractor/loadTamagui.ts +14 -57
- package/src/extractor/watchTamaguiConfig.ts +46 -0
- package/src/index.ts +11 -1
- package/src/registerRequire.ts +2 -3
- package/types/extractor/createExtractor.d.ts.map +1 -1
- package/types/extractor/extractMediaStyle.d.ts +3 -2
- package/types/extractor/extractMediaStyle.d.ts.map +1 -1
- package/types/extractor/extractToClassNames.d.ts.map +1 -1
- package/types/extractor/generateTamaguiStudioConfig.d.ts.map +1 -1
- package/types/extractor/generatedUid.d.ts.map +1 -1
- package/types/extractor/getStaticBindingsForScope.d.ts.map +1 -1
- package/types/extractor/loadTamagui.d.ts +3 -4
- package/types/extractor/loadTamagui.d.ts.map +1 -1
- package/types/extractor/watchTamaguiConfig.d.ts +5 -0
- package/types/extractor/watchTamaguiConfig.d.ts.map +1 -0
- package/types/index.d.ts +11 -1
- package/types/index.d.ts.map +1 -1
- package/types/registerRequire.d.ts.map +1 -1
- package/src/static.ts +0 -10
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/extractToClassNames.ts"],
|
4
|
-
"mappings": "AAAA,YAAYA,UAAU;AACtB,YAAYC,UAAU;AAEtB,OAAOC,cAAc;AACrB,YAAYC,OAAO;AACnB,
|
5
|
-
"names": ["path", "util", "generate", "t", "
|
4
|
+
"mappings": "AAAA,YAAYA,UAAU;AACtB,YAAYC,UAAU;AAEtB,OAAOC,cAAc;AACrB,YAAYC,OAAO;AACnB,YAAYC,aAAa;AAGzB,SAASC,0BAA0B;AAEnC,SAASC,kBAAkB;AAC3B,SAASC,sBAAsB;AAE/B,SAASC,6BAA6B;AACtC,SAASC,sBAAsB;AAC/B,SAASC,yBAAyB;AAClC,SAASC,uBAAuB;AAChC,SAASC,gBAAgB;AACzB,SAASC,uCAAuC;AAChD,SAASC,aAAa;AACtB,SAASC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7B,IAAMC,mBAAmB;EACvBC,eAAe;EACfC,cAAc;EACdC,aAAa;EACbC,cAAc;AAChB;AAkBA,SAAsBC,oBAAoB,GAMf;SANLA,qBAAAA,MAAAA,MAAAA,SAAAA;;SAAAA,uBAAAA;AAAAA,gCAAf,oBAAA,SAAmC,OAMf;QALzBC,WACAC,QAAAA,mBACAC,YACAC,SACAC,kBAEMC,IACEC,iBA4BFC,UAGFC,KAWEC,QACAC,gBAEFC,cAEEC,KA4TAC,QAMAC;;;;AA/WN,cATAd,YADwC,MACxCA,WACAC,SAFwC,MAExCA,QAAAA,oBAFwC,MAGxCC,YAAAA,aAAAA,sBAAAA,SAAa,KAAA,mBACbC,UAJwC,MAIxC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;YAEV0I,aAAa;YACbC,gBAAgB3I;YAChB4I,YAAY;UACd,GACA7I,MAAAA,GAGEG,qBACFY,QAAQoB,KACN;;;GACAtB,OAAOiI,KACJC,MAAM;CAAA,EACNtB,OAAO,SAAC9D,GAAAA;mBAAM,CAACA,EAAEqF,WAAW,IAAA;aAC5B9G,KAAK;CAAA,CAAA,GAEVnB,QAAQoB,KAAK;;;GAA0CvB,MAAAA,IAGzDN,SAASK,GAAAA,GAET;;YAAO;cACLJ;cACAK;cACAqI,IAAIpI,OAAOiI;cACXpF,KAAK7C,OAAO6C;YACd;;;;EACF,CAAA,GAzZsB5D,qBAAAA,MAAAA,MAAAA,SAAAA;;",
|
5
|
+
"names": ["path", "util", "generate", "t", "helpers", "requireTamaguiCore", "babelParse", "buildClassName", "ensureImportingConcat", "isSimpleSpread", "extractMediaStyle", "hoistClassNames", "logLines", "getFontFamilyClassNameFromProps", "timer", "createLogger", "mergeStyleGroups", "shadowOpacity", "shadowRadius", "shadowColor", "shadowOffset", "extractToClassNames", "extractor", "source", "sourcePath", "options", "shouldPrintDebug", "tm", "getStylesAtomic", "printLog", "ast", "cssMap", "existingHoists", "hasFlattened", "res", "styles", "result", "includes", "console", "warn", "Error", "isAbsolute", "test", "slice", "disableExtraction", "loadTamagui", "err", "error", "mark", "Map", "parse", "platform", "extractStyledDefinitions", "onStyleRule", "identifier", "rules", "css", "join", "info", "set", "commentTexts", "getFlattenedNode", "param", "tag", "onExtractTag", "parserProps", "attrs", "node", "attemptEval", "jsxPath", "originalNodeName", "filePath", "lineNumbers", "programPath", "isFlattened", "staticConfig", "addTernaryStyle", "ternary", "a", "b", "cCN", "map", "x", "aCN", "length", "finalClassNames", "push", "conditionalExpression", "stringLiteral", "acceptsClassName", "didFlattenThisTag", "finalAttrs", "finalStyles", "viewStyles", "attr", "type", "value", "ensureNeededPrevStyle", "style", "keys", "Object", "some", "key", "k", "addStyles", "styleWithPrev", "lastMediaImportance", "newFontFamily", "newClassNames", "concatClassName", "existing", "find", "previous", "replace", "prop", "pseudo", "property", "jsxAttribute", "jsxIdentifier", "val", "isJSXSpreadAttribute", "logicalExpression", "argument", "memberExpression", "name", "evaluatedValue", "mediaExtraction", "getTamagui", "ternaryWithoutMedia", "inlineMediaQuery", "mediaStyles", "consequent", "alternate", "attributes", "extraClassNames", "process", "env", "TAMAGUI_DEBUG_OPTIMIZATIONS", "componentName", "names", "nameExpr", "expr", "isIdentifier", "simpleSpreads", "filter", "callExpression", "jsxExpressionContainer", "comment", "format", "className", "has", "get", "modified", "optimized", "flattened", "styled", "Array", "from", "values", "trim", "concise", "filename", "retainLines", "sourceFileName", "sourceMaps", "code", "split", "startsWith", "js"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { dirname, join } from "path";
|
2
2
|
import { generateThemes, writeGeneratedThemes } from "@tamagui/generate-themes";
|
3
|
-
import
|
3
|
+
import * as FS from "fs-extra";
|
4
4
|
import { requireTamaguiCore } from "../helpers/requireTamaguiCore";
|
5
5
|
import { getBundledConfig } from "./bundleConfig";
|
6
6
|
const tamaguiDir = join(process.cwd(), ".tamagui"), confFile = join(tamaguiDir, "tamagui.config.json");
|
@@ -9,8 +9,8 @@ async function generateTamaguiStudioConfig(tamaguiOptions, configIn, rebuild = !
|
|
9
9
|
const config = configIn ?? await getBundledConfig(tamaguiOptions, rebuild);
|
10
10
|
if (!config)
|
11
11
|
return;
|
12
|
-
const out = transformConfig(config, tamaguiOptions.platform);
|
13
|
-
await
|
12
|
+
const out = transformConfig(config, tamaguiOptions.platform || "web");
|
13
|
+
await FS.ensureDir(dirname(confFile)), await FS.writeJSON(confFile, out, {
|
14
14
|
spaces: 2
|
15
15
|
});
|
16
16
|
} catch (err) {
|
@@ -19,9 +19,13 @@ async function generateTamaguiStudioConfig(tamaguiOptions, configIn, rebuild = !
|
|
19
19
|
}
|
20
20
|
function generateTamaguiStudioConfigSync(_tamaguiOptions, config) {
|
21
21
|
try {
|
22
|
-
|
23
|
-
|
24
|
-
|
22
|
+
FS.ensureDirSync(dirname(confFile)), FS.writeJSONSync(
|
23
|
+
confFile,
|
24
|
+
transformConfig(config, _tamaguiOptions.platform || "web"),
|
25
|
+
{
|
26
|
+
spaces: 2
|
27
|
+
}
|
28
|
+
);
|
25
29
|
} catch (err) {
|
26
30
|
(process.env.DEBUG?.includes("tamagui") || process.env.IS_TAMAGUI_DEV) && console.warn("generateTamaguiStudioConfig error", err);
|
27
31
|
}
|
@@ -31,13 +35,13 @@ async function generateTamaguiThemes(tamaguiOptions, force = !1) {
|
|
31
35
|
return;
|
32
36
|
const { input, output } = tamaguiOptions.themeBuilder, inPath = resolveRelativePath(input), outPath = resolveRelativePath(output), generatedOutput = await generateThemes(inPath), hasChanged = force || await (async () => {
|
33
37
|
try {
|
34
|
-
if (!await
|
38
|
+
if (!await FS.pathExists(
|
35
39
|
join(tamaguiDir, "theme-builder.json")
|
36
40
|
))
|
37
41
|
return !0;
|
38
42
|
if (!generatedOutput)
|
39
43
|
return !1;
|
40
|
-
const next = generatedOutput.generated, current = await readFile(outPath, "utf-8");
|
44
|
+
const next = generatedOutput.generated, current = await FS.readFile(outPath, "utf-8");
|
41
45
|
return next !== current;
|
42
46
|
} catch {
|
43
47
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/generateTamaguiStudioConfig.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,SAAS,YAAY;AAE9B,SAAS,gBAAgB,4BAA4B;AAErD,
|
4
|
+
"mappings": "AAAA,SAAS,SAAS,YAAY;AAE9B,SAAS,gBAAgB,4BAA4B;AAErD,YAAY,QAAQ;AAEpB,SAAS,0BAA0B;AAGnC,SAAS,wBAAwB;AAEjC,MAAM,aAAa,KAAK,QAAQ,IAAI,GAAG,UAAU,GAC3C,WAAW,KAAK,YAAY,qBAAqB;AAMvD,eAAsB,4BACpB,gBACA,UACA,UAAU,IACV;AACA,MAAI;AACF,UAAM,SAAS,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1B,YAAM,EAAE,oBAAoB,GAAG,KAAK,IAAI,eAAe;AACvD,qBAAe,eAAe;AAAA,IAChC;AAIF,OAAK,cAAc,CAAC;AACpB,aAAW,OAAO;AAChB,SAAK,YAAY,GAAG,IAAI,CAAC,GAAG,YAAY,GAAG,CAAC;AAI9C,QAAM,EAAE,aAAa,QAAQ,cAAc,aAAa,GAAG,cAAc,IACvE,KAAK;AAEP,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,eAAe;AAAA,EACjB;AACF;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { dirname, join } from "path";
|
2
2
|
import { generateThemes, writeGeneratedThemes } from "@tamagui/generate-themes";
|
3
|
-
import
|
3
|
+
import * as FS from "fs-extra";
|
4
4
|
import { requireTamaguiCore } from "../helpers/requireTamaguiCore.mjs";
|
5
5
|
import { getBundledConfig } from "./bundleConfig.mjs";
|
6
6
|
const tamaguiDir = join(process.cwd(), ".tamagui"),
|
@@ -9,8 +9,8 @@ async function generateTamaguiStudioConfig(tamaguiOptions, configIn, rebuild = !
|
|
9
9
|
try {
|
10
10
|
const config = configIn ?? (await getBundledConfig(tamaguiOptions, rebuild));
|
11
11
|
if (!config) return;
|
12
|
-
const out = transformConfig(config, tamaguiOptions.platform);
|
13
|
-
await
|
12
|
+
const out = transformConfig(config, tamaguiOptions.platform || "web");
|
13
|
+
await FS.ensureDir(dirname(confFile)), await FS.writeJSON(confFile, out, {
|
14
14
|
spaces: 2
|
15
15
|
});
|
16
16
|
} catch (err) {
|
@@ -19,7 +19,7 @@ async function generateTamaguiStudioConfig(tamaguiOptions, configIn, rebuild = !
|
|
19
19
|
}
|
20
20
|
function generateTamaguiStudioConfigSync(_tamaguiOptions, config) {
|
21
21
|
try {
|
22
|
-
|
22
|
+
FS.ensureDirSync(dirname(confFile)), FS.writeJSONSync(confFile, transformConfig(config, _tamaguiOptions.platform || "web"), {
|
23
23
|
spaces: 2
|
24
24
|
});
|
25
25
|
} catch (err) {
|
@@ -37,10 +37,10 @@ async function generateTamaguiThemes(tamaguiOptions, force = !1) {
|
|
37
37
|
generatedOutput = await generateThemes(inPath),
|
38
38
|
hasChanged = force || (await (async () => {
|
39
39
|
try {
|
40
|
-
if (!(await
|
40
|
+
if (!(await FS.pathExists(join(tamaguiDir, "theme-builder.json")))) return !0;
|
41
41
|
if (!generatedOutput) return !1;
|
42
42
|
const next = generatedOutput.generated,
|
43
|
-
current = await readFile(outPath, "utf-8");
|
43
|
+
current = await FS.readFile(outPath, "utf-8");
|
44
44
|
return next !== current;
|
45
45
|
} catch {}
|
46
46
|
return !0;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { dirname, join } from "path";
|
2
2
|
import { generateThemes, writeGeneratedThemes } from "@tamagui/generate-themes";
|
3
|
-
import
|
3
|
+
import * as FS from "fs-extra";
|
4
4
|
import { requireTamaguiCore } from "../helpers/requireTamaguiCore";
|
5
5
|
import { getBundledConfig } from "./bundleConfig";
|
6
6
|
function _array_like_to_array(arr, len) {
|
@@ -249,16 +249,16 @@ function _generateTamaguiStudioConfig() {
|
|
249
249
|
case 3:
|
250
250
|
_tmp = _state.sent(), _state.label = 4;
|
251
251
|
case 4:
|
252
|
-
return config = _tmp, config ? (out = transformConfig(config, tamaguiOptions.platform), [
|
252
|
+
return config = _tmp, config ? (out = transformConfig(config, tamaguiOptions.platform || "web"), [
|
253
253
|
4,
|
254
|
-
|
254
|
+
FS.ensureDir(dirname(confFile))
|
255
255
|
]) : [
|
256
256
|
2
|
257
257
|
];
|
258
258
|
case 5:
|
259
259
|
return _state.sent(), [
|
260
260
|
4,
|
261
|
-
|
261
|
+
FS.writeJSON(confFile, out, {
|
262
262
|
spaces: 2
|
263
263
|
})
|
264
264
|
];
|
@@ -282,7 +282,7 @@ function _generateTamaguiStudioConfig() {
|
|
282
282
|
}
|
283
283
|
function generateTamaguiStudioConfigSync(_tamaguiOptions, config) {
|
284
284
|
try {
|
285
|
-
|
285
|
+
FS.ensureDirSync(dirname(confFile)), FS.writeJSONSync(confFile, transformConfig(config, _tamaguiOptions.platform || "web"), {
|
286
286
|
spaces: 2
|
287
287
|
});
|
288
288
|
} catch (err) {
|
@@ -323,12 +323,12 @@ function _generateTamaguiThemes() {
|
|
323
323
|
4
|
324
324
|
]), [
|
325
325
|
4,
|
326
|
-
|
326
|
+
FS.pathExists(join(tamaguiDir, "theme-builder.json"))
|
327
327
|
];
|
328
328
|
case 1:
|
329
329
|
return themeBuilderJsonExists = _state2.sent(), themeBuilderJsonExists ? generatedOutput ? (next = generatedOutput.generated, [
|
330
330
|
4,
|
331
|
-
readFile(outPath, "utf-8")
|
331
|
+
FS.readFile(outPath, "utf-8")
|
332
332
|
]) : [
|
333
333
|
2,
|
334
334
|
!1
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/generateTamaguiStudioConfig.ts"],
|
4
|
-
"mappings": "AAAA,SAASA,SAASC,YAAY;AAE9B,SAASC,gBAAgBC,4BAA4B;AAErD,
|
5
|
-
"names": ["dirname", "join", "generateThemes", "writeGeneratedThemes", "
|
4
|
+
"mappings": "AAAA,SAASA,SAASC,YAAY;AAE9B,SAASC,gBAAgBC,4BAA4B;AAErD,YAAYC,QAAQ;AAEpB,SAASC,0BAA0B;AAGnC,SAASC,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAMC,aAAaN,KAAKO,QAAQC,IAAG,GAAI,UAAA,GACjCC,WAAWT,KAAKM,YAAY,qBAAA;AAMlC,SAAsB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,4BAAA,IAAA,oBAAA,IAAA,iBAAA;;AAAL,aAAK,YAAmBR,WAAAA,OAAAA,QAAAA,EAAAA,GAAnB,OAAA,EAAA,6BAAA,QAAA,UAAA,KAAA,GAAA,OAAA,4BAAA,IAA+B;AAA/B,UAAA,OAAA,MAAA,OAAMU,YAAAA;AACT,eAAK,SAAWA,UAAUC,YAAY;YAA3BpB,IAAAA,OAEHqB,iBAAiB,eAAA,CAAA,GAAKF,UAAUC,WAAWpB,CAAAA,CAAE;AACnDmB,kBAAUC,WAAWpB,CAAAA,IAAKqB;AAE1B,YAAwCA,+BAAAA,eAAeC,cAA/CC,qBAAgCF,6BAAhCE,oBAAuBC,OAAAA,2BAASH,8BAAAA;UAAhCE;;AACRF,uBAAeC,eAAeE;MAChC;IACF;;AATK,wBAAA,IAAA,iBAAA;;;OAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;UAAA;cAAA;;;AAYLxC,OAAK0B,cAAc,CAAC;AACpB,WAAWI,QAAOJ;AAChB1B,SAAK0B,YAAYI,IAAAA,IAAQ,qBAAGJ,YAAYI,IAAAA,CAAI;AAI9C,MACE9B,sBAAAA,KAAK2B,eADCc,cACNzC,oBADMyC,aAAaC,SACnB1C,oBADmB0C,QAAQC,eAC3B3C,oBAD2B2C,cAAcC,cACzC5C,oBADyC4C,aAAgBC,gBAAAA,2BACzD7C,qBAAAA;IADMyC;IAAaC;IAAQC;IAAcC;;AAG3C,SAAO;IACLnB;IACAC;IACAC,eAAekB;EACjB;AACF;",
|
5
|
+
"names": ["dirname", "join", "generateThemes", "writeGeneratedThemes", "FS", "requireTamaguiCore", "getBundledConfig", "tamaguiDir", "process", "cwd", "confFile", "generateTamaguiStudioConfig", "tamaguiOptions", "configIn", "rebuild", "config", "out", "err", "transformConfig", "platform", "ensureDir", "writeJSON", "spaces", "env", "DEBUG", "includes", "IS_TAMAGUI_DEV", "console", "warn", "generateTamaguiStudioConfigSync", "_tamaguiOptions", "ensureDirSync", "writeJSONSync", "generateTamaguiThemes", "force", "input", "output", "inPath", "outPath", "generatedOutput", "hasChanged", "themeBuilder", "resolveRelativePath", "themeBuilderJsonExists", "next", "current", "pathExists", "_state", "generated", "readFile", "inputPath", "startsWith", "require", "resolve", "cloneDeepSafe", "x", "excludeKeys", "Array", "isArray", "map", "_", "Object", "fromEntries", "entries", "flatMap", "k", "v", "getVariableValue", "validStyles", "components", "nameToPaths", "tamaguiConfig", "themes", "tokens", "key", "theme", "id", "tkey", "token", "component", "nameToInfo", "compDefinition", "staticConfig", "parentStaticConfig", "rest", "fontsParsed", "getCSS", "tokensParsed", "themeConfig", "cleanedConfig"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/generatedUid.ts"],
|
4
|
-
"mappings": "AAAA,YAAY,OAAO;
|
4
|
+
"mappings": "AAAA,YAAY,OAAO;AAQZ,SAAS,YAAY,OAAY,MAAsB;AAC5D,MAAM,OAAO,SAAU;AACrB,UAAM;AACR,MAAI,EAAE,OAAO,QAAS,YAAY,SAAS;AACzC,UAAM;AAER,SAAO,EACJ,aAAa,IAAI,EACjB,QAAQ,OAAO,EAAE,EACjB,QAAQ,YAAY,EAAE;AAEzB,MAAI,KACA,IAAI;AACR;AACE,IAAI,IAAI,IACN,MAAM,OAAO,IAEb,MAAM,MAER;AAAA,SAEA,MAAM,SAAS,GAAG,KAClB,MAAM,WAAW,GAAG,KACpB,MAAM,UAAU,GAAG,KACnB,MAAM,aAAa,GAAG;AAGxB,QAAM,UAAU,MAAM,iBAAiB;AACvC,iBAAQ,WAAW,GAAG,IAAI,IAC1B,QAAQ,KAAK,GAAG,IAAI,IAEb;AACT;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/generatedUid.ts"],
|
4
|
-
"mappings": "AAAA,YAAYA,OAAO;
|
4
|
+
"mappings": "AAAA,YAAYA,OAAO;AAQZ,SAASC,YAAYC,OAAYC,MAAY;AAClD,MAAM,OAAOD,SAAU;AACrB,UAAM;AACR,MAAI,EAAE,OAAOC,QAAS,YAAYA,SAAS;AACzC,UAAM;AAERA,SAAOH,EACJI,aAAaD,IAAAA,EACbE,QAAQ,OAAO,EAAA,EACfA,QAAQ,YAAY,EAAA;AAEvB,MAAIC,KACAC,IAAI;AACR;AACE,IAAIA,IAAI,IACND,MAAMH,OAAOI,IAEbD,MAAMH,MAERI;SAEAL,MAAMM,SAASF,GAAAA,KACfJ,MAAMO,WAAWH,GAAAA,KACjBJ,MAAMQ,UAAUJ,GAAAA,KAChBJ,MAAMS,aAAaL,GAAAA;AAGrB,MAAMM,UAAUV,MAAMW,iBAAgB;AACtCD,iBAAQE,WAAWR,GAAAA,IAAO,IAC1BM,QAAQG,KAAKT,GAAAA,IAAO,IAEbA;AACT;",
|
5
5
|
"names": ["t", "generateUid", "scope", "name", "toIdentifier", "replace", "uid", "i", "hasLabel", "hasBinding", "hasGlobal", "hasReference", "program", "getProgramParent", "references", "uids"]
|
6
6
|
}
|
@@ -6,7 +6,7 @@ import { getSourceModule } from "./getSourceModule";
|
|
6
6
|
const isLocalImport = (path) => path.startsWith(".") || path.startsWith("/");
|
7
7
|
function resolveImportPath(sourcePath, path) {
|
8
8
|
const sourceDir = dirname(sourcePath);
|
9
|
-
return isLocalImport(path) ? (extname(path) === "" && (path += "
|
9
|
+
return isLocalImport(path) ? (extname(path) === "" && (path += ""), resolve(sourceDir, path)) : path;
|
10
10
|
}
|
11
11
|
const cache = /* @__PURE__ */ new Map(), pending = /* @__PURE__ */ new Map(), loadCmd = `${join(__dirname, "loadFile.js")}`;
|
12
12
|
let exited = !1, child = null;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/getStaticBindingsForScope.ts"],
|
4
|
-
"m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ACF;AAEA,UAAM,WAAW,GAAG,IAAI,GAAG,IAAI,IAAI,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,GAAG;AAG7D,QAAI,OAAO,eAAe,KAAK,cAAc,QAAQ,GAAG;AACtD,UAAI,CAAC,IAAI,aAAa,QAAQ;AAC9B;AAAA,IACF;AAEA,QAAI,OAAO,eAAe,KAAK,cAAc,QAAQ,GAAG;AACtD,UAAI,CAAC,IAAI,aAAa,QAAQ;AAC9B;AAAA,IACF;AAGA,QAAI;AACF,UAAI,CAAC,IAAI,gBAAgB,IAAI,MAAM,QAAW,gBAAgB,GAC9D,aAAa,QAAQ,IAAI,IAAI,CAAC;AAC9B;AAAA,IACF,QAAQ;AAAA,IAER;AAAA,EACF;AAEA,SAAO;AACT;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -6,7 +6,7 @@ import { getSourceModule } from "./getSourceModule.mjs";
|
|
6
6
|
const isLocalImport = path => path.startsWith(".") || path.startsWith("/");
|
7
7
|
function resolveImportPath(sourcePath, path) {
|
8
8
|
const sourceDir = dirname(sourcePath);
|
9
|
-
return isLocalImport(path) ? (extname(path) === "" && (path += "
|
9
|
+
return isLocalImport(path) ? (extname(path) === "" && (path += ""), resolve(sourceDir, path)) : path;
|
10
10
|
}
|
11
11
|
const cache = /* @__PURE__ */new Map(),
|
12
12
|
pending = /* @__PURE__ */new Map(),
|
@@ -142,7 +142,7 @@ var isLocalImport = function(path) {
|
|
142
142
|
};
|
143
143
|
function resolveImportPath(sourcePath, path) {
|
144
144
|
var sourceDir = dirname(sourcePath);
|
145
|
-
return isLocalImport(path) ? (extname(path) === "" && (path += "
|
145
|
+
return isLocalImport(path) ? (extname(path) === "" && (path += ""), resolve(sourceDir, path)) : path;
|
146
146
|
}
|
147
147
|
var cache = /* @__PURE__ */ new Map(), pending = /* @__PURE__ */ new Map(), loadCmd = "".concat(join(__dirname, "loadFile.js")), exited = !1, child = null;
|
148
148
|
function forkChild() {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/getStaticBindingsForScope.ts"],
|
4
|
-
"mappings": "AACA,SAASA,YAAY;AACrB,SAASC,SAASC,SAASC,MAAMC,eAAe;AAGhD,YAAYC,OAAO;AAEnB,SAASC,uBAAuB;AAChC,SAASC,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
4
|
+
"mappings": "AACA,SAASA,YAAY;AACrB,SAASC,SAASC,SAASC,MAAMC,eAAe;AAGhD,YAAYC,OAAO;AAEnB,SAASC,uBAAuB;AAChC,SAASC,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMhC,IAAMC,gBAAgB,SAACC,MAAAA;SAAiBA,KAAKC,WAAW,GAAA,KAAQD,KAAKC,WAAW,GAAA;;AAEhF,SAASC,kBAAkBC,YAAoBH,MAAY;AACzD,MAAMI,YAAYZ,QAAQW,UAAAA;AAC1B,SAAIJ,cAAcC,IAAAA,KACZP,QAAQO,IAAAA,MAAU,OACpBA,QAAQ,KAEHL,QAAQS,WAAWJ,IAAAA,KAErBA;AACT;AAEA,IAAMK,QAAQ,oBAAIC,IAAAA,GACZC,UAAU,oBAAID,IAAAA,GAEdE,UAAW,GAAiC,OAA/Bd,KAAKe,WAAW,aAAA,CAAA,GAE/BC,SAAS,IAETC,QAA6B;AAEjC,SAASC,YAAAA;AACPD,UAAQpB,KAAKiB,SAAS,CAAA,GAAI;IACxBK,UAAU;MAAC;MAAM;;IACjBC,UAAU;IACVC,OAAO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;;;;AAiCL,cAAI,CAAC7D;AACH,kBAAM,IAAIZ,MAAM,kCAAA;AAGlB,mBAAWiB,MAAKH;;;;;;AAmFhB,iBAAA;;YAAOC;;;;EACT,CAAA,GA5IsBN,2BAAAA,MAAAA,MAAAA,SAAAA;;",
|
5
5
|
"names": ["fork", "dirname", "extname", "join", "resolve", "t", "evaluateAstNode", "getSourceModule", "isLocalImport", "path", "startsWith", "resolveImportPath", "sourcePath", "sourceDir", "cache", "Map", "pending", "loadCmd", "__dirname", "exited", "child", "forkChild", "execArgv", "detached", "stdio", "cleanupBeforeExit", "removeAllListeners", "unref", "disconnect", "kill", "process", "once", "importModule", "has", "get", "promise", "Promise", "res", "rej", "size", "clear", "listener", "msg", "Error", "slice", "removeListener", "val", "JSON", "parse", "set", "send", "replace", "getStaticBindingsForScope", "scope", "whitelist", "bindingCache", "shouldPrintDebug", "bindings", "ret", "program", "k", "binding", "sourceModule", "moduleName", "isOnWhitelist", "some", "test", "endsWith", "src", "console", "info", "destructured", "imported", "parent", "isVariableDeclaration", "kind", "dec", "declarations", "find", "d", "isIdentifier", "id", "name", "init", "start", "end", "error", "cacheKey", "Object", "hasOwnProperty", "call", "undefined", "getAllBindings", "getProgramParent", "block", "node", "importPath", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "specifier", "err", "isImportDeclaration", "source", "value", "specifiers", "length", "_state", "isImportSpecifier", "local", "warn", "env", "DEBUG", "message", "stack", "body"]
|
6
6
|
}
|
@@ -2,13 +2,13 @@ import { readFileSync, writeFileSync } from "fs";
|
|
2
2
|
import { basename, dirname, extname, join, relative, resolve } from "path";
|
3
3
|
import { Color, colorLog } from "@tamagui/cli-color";
|
4
4
|
import esbuild from "esbuild";
|
5
|
-
import
|
5
|
+
import * as fsExtra from "fs-extra";
|
6
|
+
import { readFile } from "fs/promises";
|
6
7
|
import { SHOULD_DEBUG } from "../constants";
|
7
8
|
import { requireTamaguiCore } from "../helpers/requireTamaguiCore";
|
8
9
|
import { minifyCSS } from "../minifyCSS";
|
9
10
|
import { getNameToPaths, registerRequire } from "../registerRequire";
|
10
11
|
import {
|
11
|
-
TamaguiProjectInfo,
|
12
12
|
getBundledConfig,
|
13
13
|
hasBundledConfigChanged,
|
14
14
|
loadComponents
|
@@ -19,7 +19,6 @@ import {
|
|
19
19
|
generateTamaguiThemes
|
20
20
|
} from "./generateTamaguiStudioConfig";
|
21
21
|
import { getTamaguiConfigPathFromOptionsConfig } from "./getTamaguiConfigPathFromOptionsConfig";
|
22
|
-
import { readFile } from "fs/promises";
|
23
22
|
const getFilledOptions = (propsIn) => ({
|
24
23
|
// defaults
|
25
24
|
platform: "web",
|
@@ -36,11 +35,11 @@ async function loadTamagui(propsIn) {
|
|
36
35
|
if (await generateThemesAndLog(props, !0), !hasBundledConfigChanged())
|
37
36
|
return bundleInfo;
|
38
37
|
if (bundleInfo) {
|
39
|
-
const { createTamagui } = requireTamaguiCore(props.platform), config = createTamagui(bundleInfo.tamaguiConfig), { outputCSS } = props;
|
38
|
+
const { createTamagui } = requireTamaguiCore(props.platform || "web"), config = createTamagui(bundleInfo.tamaguiConfig), { outputCSS } = props;
|
40
39
|
if (outputCSS && props.platform === "web") {
|
41
40
|
const flush = async () => {
|
42
41
|
colorLog(Color.FgYellow, ` \u27A1 [tamagui] output css: ${outputCSS}
|
43
|
-
`), await writeFile(outputCSS, css);
|
42
|
+
`), await fsExtra.writeFile(outputCSS, css);
|
44
43
|
}, cssOut = config.getCSS(), css = props.disableMinifyCSS === !1 ? minifyCSS(cssOut).code : cssOut;
|
45
44
|
try {
|
46
45
|
await readFile(outputCSS, "utf8") === css || await flush();
|
@@ -71,7 +70,7 @@ const generateThemesAndLog = async (options, force = !1) => {
|
|
71
70
|
}, last = {}, lastVersion = {};
|
72
71
|
function loadTamaguiBuildConfigSync(tamaguiOptions) {
|
73
72
|
const buildFilePath = tamaguiOptions?.buildFile ?? "tamagui.build.ts";
|
74
|
-
if (existsSync(buildFilePath)) {
|
73
|
+
if (fsExtra.existsSync(buildFilePath)) {
|
75
74
|
const registered = registerRequire("web");
|
76
75
|
try {
|
77
76
|
const out = require(buildFilePath).default;
|
@@ -106,7 +105,7 @@ function loadTamaguiSync({
|
|
106
105
|
lastVersion[key] = cacheKey || "";
|
107
106
|
const props = getFilledOptions(propsIn);
|
108
107
|
process.env.IS_STATIC = "is_static", process.env.TAMAGUI_IS_SERVER = "true";
|
109
|
-
const { unregister } = registerRequire(props.platform, {
|
108
|
+
const { unregister } = registerRequire(props.platform || "web", {
|
110
109
|
proxyWormImports: !!forceExports
|
111
110
|
});
|
112
111
|
try {
|
@@ -123,7 +122,7 @@ function loadTamaguiSync({
|
|
123
122
|
Be sure you "export default" or "export const config" the config.`);
|
124
123
|
}
|
125
124
|
if (tamaguiConfig) {
|
126
|
-
const { createTamagui } = requireTamaguiCore(props.platform);
|
125
|
+
const { createTamagui } = requireTamaguiCore(props.platform || "web");
|
127
126
|
createTamagui(tamaguiConfig);
|
128
127
|
}
|
129
128
|
}
|
@@ -163,7 +162,7 @@ function loadTamaguiSync({
|
|
163
162
|
${err.message}
|
164
163
|
|
165
164
|
`)) : SHOULD_DEBUG && console.error(err) : console.error("Error loading tamagui.config.ts", err);
|
166
|
-
const { createTamagui } = requireTamaguiCore(props.platform), { getDefaultTamaguiConfig } = require("@tamagui/config-default");
|
165
|
+
const { createTamagui } = requireTamaguiCore(props.platform || "web"), { getDefaultTamaguiConfig } = require("@tamagui/config-default");
|
167
166
|
return {
|
168
167
|
components: [],
|
169
168
|
tamaguiConfig: createTamagui(getDefaultTamaguiConfig()),
|
@@ -184,7 +183,7 @@ async function getOptions({
|
|
184
183
|
const dotDir = join(root, ".tamagui");
|
185
184
|
let pkgJson = {};
|
186
185
|
try {
|
187
|
-
pkgJson = await readJSON(join(root, "package.json"));
|
186
|
+
pkgJson = await fsExtra.readJSON(join(root, "package.json"));
|
188
187
|
} catch {
|
189
188
|
}
|
190
189
|
return {
|
@@ -210,7 +209,7 @@ async function getOptions({
|
|
210
209
|
}
|
211
210
|
function resolveWebOrNativeSpecificEntry(entry) {
|
212
211
|
const workspaceRoot = resolve(), resolved = require.resolve(entry, { paths: [workspaceRoot] }), ext = extname(resolved), fileName = basename(resolved).replace(ext, ""), specificFile = join(dirname(resolved), fileName + "." + "web" + ext);
|
213
|
-
return existsSync(specificFile) ? specificFile : entry;
|
212
|
+
return fsExtra.existsSync(specificFile) ? specificFile : entry;
|
214
213
|
}
|
215
214
|
const defaultPaths = ["tamagui.config.ts", join("src", "tamagui.config.ts")];
|
216
215
|
let hasWarnedOnce = !1;
|
@@ -221,45 +220,13 @@ async function getDefaultTamaguiConfigPath(root, configPath) {
|
|
221
220
|
)
|
222
221
|
];
|
223
222
|
for (const path of searchPaths)
|
224
|
-
if (await pathExists(path))
|
223
|
+
if (await fsExtra.pathExists(path))
|
225
224
|
return path;
|
226
225
|
hasWarnedOnce || (hasWarnedOnce = !0, console.warn(`Warning: couldn't find tamagui.config.ts in the following paths given configuration "${configPath}":
|
227
226
|
${searchPaths.join(`
|
228
227
|
`)}
|
229
228
|
`));
|
230
229
|
}
|
231
|
-
async function watchTamaguiConfig(tamaguiOptions) {
|
232
|
-
const options = await getOptions({ tamaguiOptions });
|
233
|
-
if (!options.tamaguiOptions.config)
|
234
|
-
throw new Error("No config");
|
235
|
-
if (process.env.NODE_ENV === "production")
|
236
|
-
return {
|
237
|
-
dispose() {
|
238
|
-
}
|
239
|
-
};
|
240
|
-
const disposeConfigWatcher = await esbuildWatchFiles(
|
241
|
-
options.tamaguiOptions.config,
|
242
|
-
() => {
|
243
|
-
generateTamaguiStudioConfig(options.tamaguiOptions, null, !0);
|
244
|
-
}
|
245
|
-
), themeBuilderInput = options.tamaguiOptions.themeBuilder?.input;
|
246
|
-
let disposeThemesWatcher;
|
247
|
-
if (themeBuilderInput) {
|
248
|
-
let inputPath = themeBuilderInput;
|
249
|
-
try {
|
250
|
-
inputPath = require.resolve(themeBuilderInput);
|
251
|
-
} catch {
|
252
|
-
}
|
253
|
-
disposeThemesWatcher = await esbuildWatchFiles(inputPath, () => {
|
254
|
-
generateThemesAndLog(options.tamaguiOptions);
|
255
|
-
});
|
256
|
-
}
|
257
|
-
return {
|
258
|
-
dispose() {
|
259
|
-
disposeConfigWatcher(), disposeThemesWatcher?.();
|
260
|
-
}
|
261
|
-
};
|
262
|
-
}
|
263
230
|
async function esbuildWatchFiles(entry, onChanged) {
|
264
231
|
let hasRunOnce = !1;
|
265
232
|
const context = await esbuild.context({
|
@@ -284,12 +251,12 @@ async function esbuildWatchFiles(entry, onChanged) {
|
|
284
251
|
};
|
285
252
|
}
|
286
253
|
export {
|
287
|
-
|
254
|
+
esbuildWatchFiles,
|
255
|
+
generateThemesAndLog,
|
288
256
|
getOptions,
|
289
257
|
loadTamagui,
|
290
258
|
loadTamaguiBuildConfigSync,
|
291
259
|
loadTamaguiSync,
|
292
|
-
resolveWebOrNativeSpecificEntry
|
293
|
-
watchTamaguiConfig
|
260
|
+
resolveWebOrNativeSpecificEntry
|
294
261
|
};
|
295
262
|
//# sourceMappingURL=loadTamagui.js.map
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/extractor/loadTamagui.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,cAAc,qBAAqB;AAC5C,SAAS,UAAU,SAAS,SAAS,MAAM,UAAU,eAAe;AAEpE,SAAS,OAAO,gBAAgB;AAGhC,OAAO,aAAa;AACpB,
|
4
|
+
"mappings": "AAAA,SAAS,cAAc,qBAAqB;AAC5C,SAAS,UAAU,SAAS,SAAS,MAAM,UAAU,eAAe;AAEpE,SAAS,OAAO,gBAAgB;AAGhC,OAAO,aAAa;AACpB,YAAY,aAAa;AAEzB,SAAS,gBAAgB;AACzB,SAAS,oBAAoB;AAC7B,SAAS,0BAA0B;AACnC,SAAS,iBAAiB;AAC1B,SAAS,gBAAgB,uBAAuB;AAChD;AAAA,EAEE;AAAA,EACA;AAAA,EACA;AAAA,OACK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