@tamagui/helpers-node 1.12.2 → 1.13.1
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/types.js +17 -0
- package/dist/types.js.map +7 -0
- package/package.json +3 -3
package/dist/types.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
17
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/types.ts"],
|
|
4
|
+
"sourcesContent": ["export interface TamaguiOptions {\n /**\n * module paths you want to compile with tamagui (for example ['tamagui'])\n * */\n components: string[]\n /**\n * your tamagui.config.ts\n */\n config?: string\n /**\n * Tamagui can follow imports and evaluate them when parsing styles, leading to\n * higher percent of flattened / optimized views. We normalize this to be the\n * full path of the file, always ending in \".js\".\n *\n * So to have Tamagui partially evaluate \"app/src/constants.tsx\" you can put\n * [\"app/src/constants.js\"].\n */\n importsWhitelist?: string[]\n /**\n * Whitelist file extensions to evaluate\n *\n * @default ['.tsx', '.jsx']\n */\n includeExtensions?: string[]\n /**\n * Web-only. Allows you to trim the bundle size of react-native-web.\n * Pass in values like ['Switch', 'Modal'].\n */\n excludeReactNativeWebExports?: string[]\n /**\n * Enable logging the time it takes to extract.\n *\n * @default true\n */\n logTimings?: boolean\n /**\n * Custom prefix for the timing logs\n */\n prefixLogs?: string\n /**\n * Completely disable tamagui for these files\n */\n disable?: boolean | string[]\n /**\n * Disable just optimization for these files, but enable helpful debug attributes.\n */\n disableExtraction?: boolean | string[]\n /**\n * Disable just the addition of data- attributes that are added in dev mode to help\n * tie DOM to your filename/component-name.\n */\n disableDebugAttr?: boolean\n /**\n * (Advanced) Disable evaluation of useMedia() hook\n */\n disableExtractInlineMedia?: boolean\n /**\n * (Advanced) Disable just view flattening.\n */\n disableFlattening?: boolean\n /**\n * (Advanced) Disable extracting to theme variables.\n */\n disableExtractVariables?: boolean | 'theme'\n\n // probably non user options\n disableExtractFoundComponents?: boolean | string[]\n evaluateVars?: boolean\n cssPath?: string\n cssData?: any\n deoptProps?: Set<string>\n excludeProps?: Set<string>\n inlineProps?: Set<string>\n forceExtractStyleDefinitions?: boolean\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/helpers-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "./dist",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"clean:build": "tamagui-build clean:build"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@tamagui/types": "1.
|
|
19
|
+
"@tamagui/types": "1.13.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@tamagui/build": "1.
|
|
22
|
+
"@tamagui/build": "1.13.1",
|
|
23
23
|
"fs-extra": "^11.1.0"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|