@tamagui/static 1.138.1 → 1.138.2
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/worker.cjs +1 -1
- package/dist/worker.js +1 -1
- package/dist/worker.js.map +1 -1
- package/package.json +15 -15
- package/src/worker.ts +0 -1
- package/types/worker.d.ts.map +1 -1
package/dist/worker.cjs
CHANGED
|
@@ -65,7 +65,7 @@ async function runTask(task) {
|
|
|
65
65
|
data: (0, import_extractToNative.extractToNative)(task.sourceFileName, task.sourceCode, task.options)
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
|
-
return task.type === "clearCache" ? (configCache.clear(),
|
|
68
|
+
return task.type === "clearCache" ? (configCache.clear(), {
|
|
69
69
|
success: !0,
|
|
70
70
|
data: null
|
|
71
71
|
}) : {
|
package/dist/worker.js
CHANGED
|
@@ -49,7 +49,7 @@ async function runTask(task) {
|
|
|
49
49
|
task.options
|
|
50
50
|
) };
|
|
51
51
|
}
|
|
52
|
-
return task.type === "clearCache" ? (configCache.clear(),
|
|
52
|
+
return task.type === "clearCache" ? (configCache.clear(), { success: !0, data: null }) : {
|
|
53
53
|
success: !1,
|
|
54
54
|
error: `Unknown task type: ${task.type}`
|
|
55
55
|
};
|
package/dist/worker.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/worker.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,6BAAgC,wCAKhC,6BAA+D,4CAC/D,yBAAuD;AAIvD,MAAM,mBAAe,wCAAgB,EAAE,UAAU,MAAM,CAAC,GAClD,sBAAkB,wCAAgB,EAAE,UAAU,SAAS,CAAC,GAGxD,cAAyC,oBAAI,IAAI;AAmCvD,eAAsB,QAAQ,MAAyC;AACrE,MAAI;AACF,QAAI,KAAK,SAAS,uBAAuB;AAEvC,UAAI,C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AQ,MAAM,QAAQ;AAAA,IAChD;AAAA,EACF;AACF;AAMA,IAAO,iBAAQ;",
|
|
5
5
|
"names": ["extractToClassNamesImpl", "extractToNativeImpl"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/static",
|
|
3
|
-
"version": "1.138.
|
|
3
|
+
"version": "1.138.2",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -48,19 +48,19 @@
|
|
|
48
48
|
"@babel/template": "^7.25.0",
|
|
49
49
|
"@babel/traverse": "^7.25.4",
|
|
50
50
|
"@babel/types": "^7.25.4",
|
|
51
|
-
"@tamagui/cli-color": "1.138.
|
|
52
|
-
"@tamagui/config-default": "1.138.
|
|
53
|
-
"@tamagui/core": "1.138.
|
|
54
|
-
"@tamagui/fake-react-native": "1.138.
|
|
55
|
-
"@tamagui/generate-themes": "1.138.
|
|
56
|
-
"@tamagui/helpers": "1.138.
|
|
57
|
-
"@tamagui/helpers-node": "1.138.
|
|
58
|
-
"@tamagui/proxy-worm": "1.138.
|
|
59
|
-
"@tamagui/react-native-web-internals": "1.138.
|
|
60
|
-
"@tamagui/react-native-web-lite": "1.138.
|
|
61
|
-
"@tamagui/shorthands": "1.138.
|
|
62
|
-
"@tamagui/types": "1.138.
|
|
63
|
-
"@tamagui/web": "1.138.
|
|
51
|
+
"@tamagui/cli-color": "1.138.2",
|
|
52
|
+
"@tamagui/config-default": "1.138.2",
|
|
53
|
+
"@tamagui/core": "1.138.2",
|
|
54
|
+
"@tamagui/fake-react-native": "1.138.2",
|
|
55
|
+
"@tamagui/generate-themes": "1.138.2",
|
|
56
|
+
"@tamagui/helpers": "1.138.2",
|
|
57
|
+
"@tamagui/helpers-node": "1.138.2",
|
|
58
|
+
"@tamagui/proxy-worm": "1.138.2",
|
|
59
|
+
"@tamagui/react-native-web-internals": "1.138.2",
|
|
60
|
+
"@tamagui/react-native-web-lite": "1.138.2",
|
|
61
|
+
"@tamagui/shorthands": "1.138.2",
|
|
62
|
+
"@tamagui/types": "1.138.2",
|
|
63
|
+
"@tamagui/web": "1.138.2",
|
|
64
64
|
"babel-literal-to-ast": "^2.1.0",
|
|
65
65
|
"browserslist": "^4.22.2",
|
|
66
66
|
"check-dependency-version-consistency": "^4.1.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@babel/plugin-syntax-typescript": "^7.25.4",
|
|
79
79
|
"@expo/match-media": "^0.4.0",
|
|
80
|
-
"@tamagui/build": "1.138.
|
|
80
|
+
"@tamagui/build": "1.138.2",
|
|
81
81
|
"@types/babel__core": "^7.20.5",
|
|
82
82
|
"@types/find-root": "^1.1.2",
|
|
83
83
|
"@types/node": "^22.1.0",
|
package/src/worker.ts
CHANGED
|
@@ -108,7 +108,6 @@ export async function runTask(task: WorkerTask): Promise<WorkerResult> {
|
|
|
108
108
|
if (task.type === 'clearCache') {
|
|
109
109
|
// Clear config caches when files change
|
|
110
110
|
configCache.clear()
|
|
111
|
-
console.info(`[tamagui] 🔄 Worker cache cleared (config changed)`)
|
|
112
111
|
return { success: true, data: null }
|
|
113
112
|
}
|
|
114
113
|
|
package/types/worker.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../src/worker.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,iCAAiC,CAAA;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAS7C,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,qBAAqB,CAAA;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO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