@tamagui/static 1.124.2 → 1.124.4
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/extractor/getPrefixLogs.js +2 -1
- package/dist/extractor/getPrefixLogs.js.map +1 -1
- package/dist/extractor/getPrefixLogs.native.js +2 -1
- package/dist/extractor/getPrefixLogs.native.js.map +2 -2
- package/package.json +14 -14
- package/src/extractor/getPrefixLogs.ts +5 -1
- package/types/extractor/getPrefixLogs.d.ts.map +1 -1
@@ -17,7 +17,8 @@ __export(getPrefixLogs_exports, {
|
|
17
17
|
getPrefixLogs: () => getPrefixLogs
|
18
18
|
});
|
19
19
|
module.exports = __toCommonJS(getPrefixLogs_exports);
|
20
|
+
var import_cli_color = require("@tamagui/cli-color");
|
20
21
|
function getPrefixLogs(options) {
|
21
|
-
return options?.prefixLogs ?? ` ${options?.platform || "web"}
|
22
|
+
return options?.prefixLogs ?? ` \u{1F425} [tamagui] ${(0, import_cli_color.colorString)(import_cli_color.Color.FgYellow, options?.platform || "web")} optimized:`;
|
22
23
|
}
|
23
24
|
//# sourceMappingURL=getPrefixLogs.js.map
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/extractor/getPrefixLogs.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAmC;AAG5B,SAAS,cAAc,SAA0B;AACtD,SACE,SAAS,cACT,6BAAkB,8BAAY,uBAAM,UAAU,SAAS,YAAY,KAAK,CAAC;AAE7E;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -18,9 +18,10 @@ __export(getPrefixLogs_exports, {
|
|
18
18
|
getPrefixLogs: () => getPrefixLogs
|
19
19
|
});
|
20
20
|
module.exports = __toCommonJS(getPrefixLogs_exports);
|
21
|
+
var import_cli_color = require("@tamagui/cli-color");
|
21
22
|
function getPrefixLogs(options) {
|
22
23
|
var _options_prefixLogs;
|
23
|
-
return (_options_prefixLogs = options == null ? void 0 : options.prefixLogs) !== null && _options_prefixLogs !== void 0 ? _options_prefixLogs : ` ${(options == null ? void 0 : options.platform) || "web"}
|
24
|
+
return (_options_prefixLogs = options == null ? void 0 : options.prefixLogs) !== null && _options_prefixLogs !== void 0 ? _options_prefixLogs : ` \u{1F425} [tamagui] ${(0, import_cli_color.colorString)(import_cli_color.Color.FgYellow, (options == null ? void 0 : options.platform) || "web")} optimized:`;
|
24
25
|
}
|
25
26
|
// Annotate the CommonJS export names for ESM import in node:
|
26
27
|
0 && (module.exports = {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/extractor/Users/n8/tamagui/code/compiler/static/src/extractor/getPrefixLogs.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;
|
5
|
-
"names": ["getPrefixLogs", "options", "prefixLogs", "platform"]
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;uBAAmC;AAG5B,SAASA,cAAcC,SAAwB;MAElDA;AADF,UACEA,sBAAAA,WAAAA,OAAAA,SAAAA,QAASC,gBAAU,QAAnBD,wBAAAA,SAAAA,sBACA,6BAAkBE,8BAAYC,uBAAMC,WAAUJ,WAAAA,OAAAA,SAAAA,QAASK,aAAY,KAAA,CAAA;AAEvE;",
|
5
|
+
"names": ["getPrefixLogs", "options", "prefixLogs", "colorString", "Color", "FgYellow", "platform"]
|
6
6
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tamagui/static",
|
3
|
-
"version": "1.124.
|
3
|
+
"version": "1.124.4",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"types": "./types/index.d.ts",
|
6
6
|
"type": "commonjs",
|
@@ -44,19 +44,19 @@
|
|
44
44
|
"@babel/runtime": "^7.25.4",
|
45
45
|
"@babel/traverse": "^7.25.4",
|
46
46
|
"@babel/types": "^7.25.4",
|
47
|
-
"@tamagui/build": "1.124.
|
48
|
-
"@tamagui/cli-color": "1.124.
|
49
|
-
"@tamagui/config-default": "1.124.
|
50
|
-
"@tamagui/core": "1.124.
|
51
|
-
"@tamagui/fake-react-native": "1.124.
|
52
|
-
"@tamagui/generate-themes": "1.124.
|
53
|
-
"@tamagui/helpers": "1.124.
|
54
|
-
"@tamagui/helpers-node": "1.124.
|
55
|
-
"@tamagui/proxy-worm": "1.124.
|
56
|
-
"@tamagui/react-native-web-internals": "1.124.
|
57
|
-
"@tamagui/react-native-web-lite": "1.124.
|
58
|
-
"@tamagui/shorthands": "1.124.
|
59
|
-
"@tamagui/types": "1.124.
|
47
|
+
"@tamagui/build": "1.124.4",
|
48
|
+
"@tamagui/cli-color": "1.124.4",
|
49
|
+
"@tamagui/config-default": "1.124.4",
|
50
|
+
"@tamagui/core": "1.124.4",
|
51
|
+
"@tamagui/fake-react-native": "1.124.4",
|
52
|
+
"@tamagui/generate-themes": "1.124.4",
|
53
|
+
"@tamagui/helpers": "1.124.4",
|
54
|
+
"@tamagui/helpers-node": "1.124.4",
|
55
|
+
"@tamagui/proxy-worm": "1.124.4",
|
56
|
+
"@tamagui/react-native-web-internals": "1.124.4",
|
57
|
+
"@tamagui/react-native-web-lite": "1.124.4",
|
58
|
+
"@tamagui/shorthands": "1.124.4",
|
59
|
+
"@tamagui/types": "1.124.4",
|
60
60
|
"babel-literal-to-ast": "^2.1.0",
|
61
61
|
"browserslist": "^4.22.2",
|
62
62
|
"check-dependency-version-consistency": "^4.1.0",
|
@@ -1,5 +1,9 @@
|
|
1
|
+
import { Color, colorString } from '@tamagui/cli-color'
|
1
2
|
import type { TamaguiOptions } from '../types'
|
2
3
|
|
3
4
|
export function getPrefixLogs(options?: TamaguiOptions) {
|
4
|
-
return
|
5
|
+
return (
|
6
|
+
options?.prefixLogs ??
|
7
|
+
` 🐥 [tamagui] ${colorString(Color.FgYellow, options?.platform || 'web')} optimized:`
|
8
|
+
)
|
5
9
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getPrefixLogs.d.ts","sourceRoot":"","sources":["../../src/extractor/getPrefixLogs.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"getPrefixLogs.d.ts","sourceRoot":"","sources":["../../src/extractor/getPrefixLogs.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAE9C,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,cAAc,UAKrD"}
|