@tamagui/helpers-node 2.7.7 → 3.0.0-beta.643.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.
@@ -1,39 +1,32 @@
1
+
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
7
+ for (var name in all) __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
10
11
  };
11
12
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ }
19
+ return to;
19
20
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
21
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
22
  var getDefaultTamaguiOptions_exports = {};
24
- __export(getDefaultTamaguiOptions_exports, {
25
- getDefaultTamaguiOptions: () => getDefaultTamaguiOptions
26
- });
23
+ __export(getDefaultTamaguiOptions_exports, { getDefaultTamaguiOptions: () => getDefaultTamaguiOptions });
27
24
  module.exports = __toCommonJS(getDefaultTamaguiOptions_exports);
28
25
  var import_getTamaguiDefaultPath = require("./getTamaguiDefaultPath.cjs");
29
- async function getDefaultTamaguiOptions({
30
- cwd = "."
31
- }) {
32
- return {
33
- platform: "native",
34
- components: ["tamagui"],
35
- config: await (0, import_getTamaguiDefaultPath.getDefaultTamaguiConfigPath)({
36
- cwd
37
- })
38
- };
39
- }
26
+ async function getDefaultTamaguiOptions({ cwd = "." }) {
27
+ return {
28
+ platform: "native",
29
+ components: ["tamagui"],
30
+ config: await (0, import_getTamaguiDefaultPath.getDefaultTamaguiConfigPath)({ cwd })
31
+ };
32
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
22
+ };
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
+ var getDefaultTamaguiOptions_exports = {};
25
+ __export(getDefaultTamaguiOptions_exports, { getDefaultTamaguiOptions: () => getDefaultTamaguiOptions });
26
+ module.exports = __toCommonJS(getDefaultTamaguiOptions_exports);
27
+ var import_getTamaguiDefaultPath = require("./getTamaguiDefaultPath.native.js");
28
+ async function getDefaultTamaguiOptions(param) {
29
+ var { cwd = "." } = param;
30
+ return {
31
+ platform: "native",
32
+ components: ["tamagui"],
33
+ config: await (0, import_getTamaguiDefaultPath.getDefaultTamaguiConfigPath)({ cwd })
34
+ };
35
+ }
@@ -1,43 +1,37 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
8
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
12
13
  };
13
14
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
21
22
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
24
  var getDefaultTamaguiOptions_exports = {};
26
- __export(getDefaultTamaguiOptions_exports, {
27
- getDefaultTamaguiOptions: () => getDefaultTamaguiOptions
28
- });
25
+ __export(getDefaultTamaguiOptions_exports, { getDefaultTamaguiOptions: () => getDefaultTamaguiOptions });
29
26
  module.exports = __toCommonJS(getDefaultTamaguiOptions_exports);
30
27
  var import_getTamaguiDefaultPath = require("./getTamaguiDefaultPath.native.js");
31
28
  async function getDefaultTamaguiOptions(param) {
32
- var {
33
- cwd = "."
34
- } = param;
35
- return {
36
- platform: "native",
37
- components: ["tamagui"],
38
- config: await (0, import_getTamaguiDefaultPath.getDefaultTamaguiConfigPath)({
39
- cwd
40
- })
41
- };
29
+ var { cwd = "." } = param;
30
+ return {
31
+ platform: "native",
32
+ components: ["tamagui"],
33
+ config: await (0, import_getTamaguiDefaultPath.getDefaultTamaguiConfigPath)({ cwd })
34
+ };
42
35
  }
36
+
43
37
  //# sourceMappingURL=getDefaultTamaguiOptions.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","getDefaultTamaguiOptions_exports","__export","getDefaultTamaguiOptions","module","exports","import_getTamaguiDefaultPath","require","param","cwd","platform","components","config","getDefaultTamaguiConfigPath"],"sources":["../src/getDefaultTamaguiOptions.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,gCAAA;AAAAC,QAAA,CAAAD,gCAAA;EAAAE,wBAAA,EAAAA,CAAA,KAAAA;AAAA;AAEAC,MAAA,CAAAC,OAAA,GAAAT,YAAA,CAAAK,gCAA4C;AAE5C,IAAAK,4BAAsB,GAAAC,OAAyB;AAAA,eACvCJ,yBAAAK,KAAA;EACR,IAE4B;IAAAC,GAAA;EAAA,IAAAD,KAAA;EAC1B,OAAO;IACLE,QAAA,EAAU;IACVC,UAAA,EAAY,CACZ,SAAQ,CACV;IACFC,MAAA,YAAAN,4BAAA,CAAAO,2BAAA","ignoreList":[]}
1
+ {"version":3,"file":"getDefaultTamaguiOptions.native.js","names":[],"sources":["getDefaultTamaguiOptions.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar getDefaultTamaguiOptions_exports = {};\n__export(getDefaultTamaguiOptions_exports, {\n getDefaultTamaguiOptions: () => getDefaultTamaguiOptions\n});\nmodule.exports = __toCommonJS(getDefaultTamaguiOptions_exports);\nvar import_getTamaguiDefaultPath = require(\"./getTamaguiDefaultPath\");\nasync function getDefaultTamaguiOptions(param) {\n var { cwd = \".\" } = param;\n return {\n platform: \"native\",\n components: [\n \"tamagui\"\n ],\n config: await (0, import_getTamaguiDefaultPath.getDefaultTamaguiConfigPath)({\n cwd\n })\n };\n}\n//# sourceMappingURL=getDefaultTamaguiOptions.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,mCAAmC,CAAC;AACxC,SAAS,kCAAkC,EACzC,gCAAgC,yBAClC,CAAC;AACD,OAAO,UAAU,aAAa,gCAAgC;AAC9D,IAAI,+BAA+B,QAAQ,mCAAyB;AACpE,eAAe,yBAAyB,OAAO;CAC7C,IAAI,EAAE,MAAM,QAAQ;CACpB,OAAO;EACL,UAAU;EACV,YAAY,CACV,SACF;EACA,QAAQ,OAAO,GAAG,6BAA6B,6BAA6B,EAC1E,IACF,CAAC;CACH;AACF"}
@@ -1,46 +1,40 @@
1
+
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
7
+ for (var name in all) __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
10
11
  };
11
12
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ }
19
+ return to;
19
20
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
21
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
22
  var getTamaguiDefaultPath_exports = {};
24
- __export(getTamaguiDefaultPath_exports, {
25
- getDefaultTamaguiConfigPath: () => getDefaultTamaguiConfigPath
26
- });
23
+ __export(getTamaguiDefaultPath_exports, { getDefaultTamaguiConfigPath: () => getDefaultTamaguiConfigPath });
27
24
  module.exports = __toCommonJS(getTamaguiDefaultPath_exports);
28
25
  var import_node_path = require("node:path");
29
26
  var import_fs_extra = require("fs-extra");
30
27
  let cachedPath = "";
31
- async function getDefaultTamaguiConfigPath({
32
- cwd = ".",
33
- cache = true
34
- }) {
35
- if (cache && cachedPath) {
36
- return cachedPath;
37
- }
38
- const defaultPaths = ["tamagui.config.ts", (0, import_node_path.join)("src", "tamagui.config.ts")].map(p => (0, import_node_path.join)(cwd, p));
39
- const existing = (await Promise.all(defaultPaths.map(path => (0, import_fs_extra.pathExists)(path)))).findIndex(x => !!x);
40
- const found = defaultPaths[existing];
41
- if (!found) {
42
- throw new Error(`No found tamagui.config.ts`);
43
- }
44
- cachedPath = found;
45
- return found;
46
- }
28
+ async function getDefaultTamaguiConfigPath({ cwd = ".", cache = true }) {
29
+ if (cache && cachedPath) {
30
+ return cachedPath;
31
+ }
32
+ const defaultPaths = ["tamagui.config.ts", (0, import_node_path.join)("src", "tamagui.config.ts")].map((p) => (0, import_node_path.join)(cwd, p));
33
+ const existing = (await Promise.all(defaultPaths.map((path) => (0, import_fs_extra.pathExists)(path)))).findIndex((x) => !!x);
34
+ const found = defaultPaths[existing];
35
+ if (!found) {
36
+ throw new Error(`No found tamagui.config.ts`);
37
+ }
38
+ cachedPath = found;
39
+ return found;
40
+ }
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
22
+ };
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
+ var getTamaguiDefaultPath_exports = {};
25
+ __export(getTamaguiDefaultPath_exports, { getDefaultTamaguiConfigPath: () => getDefaultTamaguiConfigPath });
26
+ module.exports = __toCommonJS(getTamaguiDefaultPath_exports);
27
+ var import_path = require("path");
28
+ var import_fs_extra = require("fs-extra");
29
+ var cachedPath = "";
30
+ async function getDefaultTamaguiConfigPath(param) {
31
+ var { cwd = ".", cache = true } = param;
32
+ if (cache && cachedPath) {
33
+ return cachedPath;
34
+ }
35
+ var defaultPaths = ["tamagui.config.ts", (0, import_path.join)("src", "tamagui.config.ts")].map(function(p) {
36
+ return (0, import_path.join)(cwd, p);
37
+ });
38
+ var existing = (await Promise.all(defaultPaths.map(function(path) {
39
+ return (0, import_fs_extra.pathExists)(path);
40
+ }))).findIndex(function(x) {
41
+ return !!x;
42
+ });
43
+ var found = defaultPaths[existing];
44
+ if (!found) {
45
+ throw new Error(`No found tamagui.config.ts`);
46
+ }
47
+ cachedPath = found;
48
+ return found;
49
+ }
@@ -1,56 +1,51 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
8
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
12
13
  };
13
14
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
21
22
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
24
  var getTamaguiDefaultPath_exports = {};
26
- __export(getTamaguiDefaultPath_exports, {
27
- getDefaultTamaguiConfigPath: () => getDefaultTamaguiConfigPath
28
- });
25
+ __export(getTamaguiDefaultPath_exports, { getDefaultTamaguiConfigPath: () => getDefaultTamaguiConfigPath });
29
26
  module.exports = __toCommonJS(getTamaguiDefaultPath_exports);
30
27
  var import_path = require("path");
31
28
  var import_fs_extra = require("fs-extra");
32
29
  var cachedPath = "";
33
30
  async function getDefaultTamaguiConfigPath(param) {
34
- var {
35
- cwd = ".",
36
- cache = true
37
- } = param;
38
- if (cache && cachedPath) {
39
- return cachedPath;
40
- }
41
- var defaultPaths = ["tamagui.config.ts", (0, import_path.join)("src", "tamagui.config.ts")].map(function (p) {
42
- return (0, import_path.join)(cwd, p);
43
- });
44
- var existing = (await Promise.all(defaultPaths.map(function (path) {
45
- return (0, import_fs_extra.pathExists)(path);
46
- }))).findIndex(function (x) {
47
- return !!x;
48
- });
49
- var found = defaultPaths[existing];
50
- if (!found) {
51
- throw new Error(`No found tamagui.config.ts`);
52
- }
53
- cachedPath = found;
54
- return found;
31
+ var { cwd = ".", cache = true } = param;
32
+ if (cache && cachedPath) {
33
+ return cachedPath;
34
+ }
35
+ var defaultPaths = ["tamagui.config.ts", (0, import_path.join)("src", "tamagui.config.ts")].map(function(p) {
36
+ return (0, import_path.join)(cwd, p);
37
+ });
38
+ var existing = (await Promise.all(defaultPaths.map(function(path) {
39
+ return (0, import_fs_extra.pathExists)(path);
40
+ }))).findIndex(function(x) {
41
+ return !!x;
42
+ });
43
+ var found = defaultPaths[existing];
44
+ if (!found) {
45
+ throw new Error(`No found tamagui.config.ts`);
46
+ }
47
+ cachedPath = found;
48
+ return found;
55
49
  }
50
+
56
51
  //# sourceMappingURL=getTamaguiDefaultPath.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","getTamaguiDefaultPath_exports","__export","getDefaultTamaguiConfigPath","module","exports","import_path","require","import_fs_extra","cachedPath","param","cwd","cache","defaultPaths","join","map","p","existing","Promise","all","path","pathExists","findIndex","x","found"],"sources":["../src/getTamaguiDefaultPath.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,6BAAA;AAAAC,QAAA,CAAAD,6BAAA;EAAAE,2BAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAqB,CAAAK,6BAAA;AAErB,IAAAK,WAAA,GAAAC,OAA2B;AAE3B,IAAIC,eAAa,GAAAD,OAAA;AAEjB,IAAAE,UAAA,GAAsB;AAA4B,eAC1CN,4BAAAO,KAAA;EACN;IAAAC,GAAQ;IAAAC,KAAA;EAAA,IAAAF,KAAA;EACV,IAIoBE,KAAA,IAAAH,UAAA;IAClB,OAAIA,UAAS;EACX;EACF,IAAAI,YAAA,IAEA,mBAAqB,EAA4D,CAAC,GAAAP,WAChF,CAAAQ,IAAA,4BAAW,EACb,CAAAC,GAAA,WAAAC,CAAA;IACA,OAAM,IAAAV,WACE,CAAAQ,IAAA,EAAAH,GAAQ,EAAIK,CAAA;EAEpB;EACA,IAAIC,QAAQ,UAAAC,OAAA,CAAAC,GAAA,CAAAN,YAAA,CAAAE,GAAA,WAAAK,IAAA;IACV,OAAM,IAAIZ,eAAM,CAAAa,UAAA,EAAAD,IAAA,CAA4B;EAC9C,KAAAE,SAAA,WAAAC,CAAA;IAEA,SAAAA,CAAA;EACA;EACF,IAAAC,KAAA,GAAAX,YAAA,CAAAI,QAAA","ignoreList":[]}
1
+ {"version":3,"file":"getTamaguiDefaultPath.native.js","names":[],"sources":["getTamaguiDefaultPath.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar getTamaguiDefaultPath_exports = {};\n__export(getTamaguiDefaultPath_exports, {\n getDefaultTamaguiConfigPath: () => getDefaultTamaguiConfigPath\n});\nmodule.exports = __toCommonJS(getTamaguiDefaultPath_exports);\nvar import_path = require(\"path\");\nvar import_fs_extra = require(\"fs-extra\");\nvar cachedPath = \"\";\nasync function getDefaultTamaguiConfigPath(param) {\n var { cwd = \".\", cache = true } = param;\n if (cache && cachedPath) {\n return cachedPath;\n }\n var defaultPaths = [\n \"tamagui.config.ts\",\n (0, import_path.join)(\"src\", \"tamagui.config.ts\")\n ].map(function(p) {\n return (0, import_path.join)(cwd, p);\n });\n var existing = (await Promise.all(defaultPaths.map(function(path) {\n return (0, import_fs_extra.pathExists)(path);\n }))).findIndex(function(x) {\n return !!x;\n });\n var found = defaultPaths[existing];\n if (!found) {\n throw new Error(`No found tamagui.config.ts`);\n }\n cachedPath = found;\n return found;\n}\n//# sourceMappingURL=getTamaguiDefaultPath.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gCAAgC,CAAC;AACrC,SAAS,+BAA+B,EACtC,mCAAmC,4BACrC,CAAC;AACD,OAAO,UAAU,aAAa,6BAA6B;AAC3D,IAAI,cAAc,QAAQ,MAAM;AAChC,IAAI,kBAAkB,QAAQ,UAAU;AACxC,IAAI,aAAa;AACjB,eAAe,4BAA4B,OAAO;CAChD,IAAI,EAAE,MAAM,KAAK,QAAQ,SAAS;CAClC,IAAI,SAAS,YAAY;EACvB,OAAO;CACT;CACA,IAAI,eAAe,CACjB,sBACC,GAAG,YAAY,MAAM,OAAO,mBAAmB,CAClD,EAAE,IAAI,SAAS,GAAG;EAChB,QAAQ,GAAG,YAAY,MAAM,KAAK,CAAC;CACrC,CAAC;CACD,IAAI,YAAY,MAAM,QAAQ,IAAI,aAAa,IAAI,SAAS,MAAM;EAChE,QAAQ,GAAG,gBAAgB,YAAY,IAAI;CAC7C,CAAC,CAAC,GAAG,UAAU,SAAS,GAAG;EACzB,OAAO,CAAC,CAAC;CACX,CAAC;CACD,IAAI,QAAQ,aAAa;CACzB,IAAI,CAAC,OAAO;EACV,MAAM,IAAI,MAAM,4BAA4B;CAC9C;CACA,aAAa;CACb,OAAO;AACT"}
@@ -1,35 +1,28 @@
1
+
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
7
+ for (var name in all) __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
10
11
  };
11
12
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ }
19
+ return to;
19
20
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
21
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
22
  var getTamaguiOptions_exports = {};
24
- __export(getTamaguiOptions_exports, {
25
- getTamaguiOptions: () => getTamaguiOptions
26
- });
23
+ __export(getTamaguiOptions_exports, { getTamaguiOptions: () => getTamaguiOptions });
27
24
  module.exports = __toCommonJS(getTamaguiOptions_exports);
28
25
  var import_readTamaguiOptions = require("./readTamaguiOptions.cjs");
29
- async function getTamaguiOptions({
30
- cwd = "."
31
- }) {
32
- return (await (0, import_readTamaguiOptions.readTamaguiOptions)({
33
- cwd
34
- })).options;
35
- }
26
+ async function getTamaguiOptions({ cwd = "." }) {
27
+ return (await (0, import_readTamaguiOptions.readTamaguiOptions)({ cwd })).options;
28
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
22
+ };
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
+ var getTamaguiOptions_exports = {};
25
+ __export(getTamaguiOptions_exports, { getTamaguiOptions: () => getTamaguiOptions });
26
+ module.exports = __toCommonJS(getTamaguiOptions_exports);
27
+ var import_readTamaguiOptions = require("./readTamaguiOptions.native.js");
28
+ async function getTamaguiOptions(param) {
29
+ var { cwd = "." } = param;
30
+ return (await (0, import_readTamaguiOptions.readTamaguiOptions)({ cwd })).options;
31
+ }
@@ -1,39 +1,33 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
8
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
12
13
  };
13
14
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
21
22
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
24
  var getTamaguiOptions_exports = {};
26
- __export(getTamaguiOptions_exports, {
27
- getTamaguiOptions: () => getTamaguiOptions
28
- });
25
+ __export(getTamaguiOptions_exports, { getTamaguiOptions: () => getTamaguiOptions });
29
26
  module.exports = __toCommonJS(getTamaguiOptions_exports);
30
27
  var import_readTamaguiOptions = require("./readTamaguiOptions.native.js");
31
28
  async function getTamaguiOptions(param) {
32
- var {
33
- cwd = "."
34
- } = param;
35
- return (await (0, import_readTamaguiOptions.readTamaguiOptions)({
36
- cwd
37
- })).options;
29
+ var { cwd = "." } = param;
30
+ return (await (0, import_readTamaguiOptions.readTamaguiOptions)({ cwd })).options;
38
31
  }
32
+
39
33
  //# sourceMappingURL=getTamaguiOptions.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","getTamaguiOptions_exports","__export","getTamaguiOptions","module","exports","import_readTamaguiOptions","require","param","cwd","readTamaguiOptions"],"sources":["../src/getTamaguiOptions.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,yBAAA;AAAAC,QAAA,CAAAD,yBAAA;EAAAE,iBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAA,CAAAK,yBAAmC;AAEnC,IAAAK,yBAAsB,GAAAC,OAAkB;AAAA,eAChCJ,kBAAAK,KAAA;EACR,IAE2D;IAAAC,GAAA;EAAA,IAAAD,KAAA;EACzD,QAAQ,UAAMF,yBAAA,CAAAI,kBAAA,EAAmB;IACnCD","ignoreList":[]}
1
+ {"version":3,"file":"getTamaguiOptions.native.js","names":[],"sources":["getTamaguiOptions.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar getTamaguiOptions_exports = {};\n__export(getTamaguiOptions_exports, {\n getTamaguiOptions: () => getTamaguiOptions\n});\nmodule.exports = __toCommonJS(getTamaguiOptions_exports);\nvar import_readTamaguiOptions = require(\"./readTamaguiOptions\");\nasync function getTamaguiOptions(param) {\n var { cwd = \".\" } = param;\n return (await (0, import_readTamaguiOptions.readTamaguiOptions)({\n cwd\n })).options;\n}\n//# sourceMappingURL=getTamaguiOptions.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,4BAA4B,CAAC;AACjC,SAAS,2BAA2B,EAClC,yBAAyB,kBAC3B,CAAC;AACD,OAAO,UAAU,aAAa,yBAAyB;AACvD,IAAI,4BAA4B,QAAQ,gCAAsB;AAC9D,eAAe,kBAAkB,OAAO;CACtC,IAAI,EAAE,MAAM,QAAQ;CACpB,QAAQ,OAAO,GAAG,0BAA0B,oBAAoB,EAC9D,IACF,CAAC,GAAG;AACN"}
package/dist/index.cjs CHANGED
@@ -1,22 +1,21 @@
1
+
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __copyProps = (to, from, except, desc) => {
6
- if (from && typeof from === "object" || typeof from === "function") {
7
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
8
- get: () => from[key],
9
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
10
- });
11
- }
12
- return to;
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
12
+ }
13
+ return to;
13
14
  };
14
15
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
- value: true
17
- }), mod);
16
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
17
  var index_exports = {};
19
18
  module.exports = __toCommonJS(index_exports);
20
19
  __reExport(index_exports, require("./readTamaguiOptions.cjs"), module.exports);
21
20
  __reExport(index_exports, require("./getTamaguiDefaultPath.cjs"), module.exports);
22
- __reExport(index_exports, require("./getTamaguiOptions.cjs"), module.exports);
21
+ __reExport(index_exports, require("./getTamaguiOptions.cjs"), module.exports);
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
14
+ }
15
+ return to;
16
+ };
17
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var index_exports = {};
20
+ module.exports = __toCommonJS(index_exports);
21
+ __reExport(index_exports, require("./readTamaguiOptions.native.js"), module.exports);
22
+ __reExport(index_exports, require("./getTamaguiDefaultPath.native.js"), module.exports);
23
+ __reExport(index_exports, require("./getTamaguiOptions.native.js"), module.exports);
@@ -1,25 +1,25 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
8
  var __copyProps = (to, from, except, desc) => {
8
- if (from && typeof from === "object" || typeof from === "function") {
9
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
10
- get: () => from[key],
11
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
12
- });
13
- }
14
- return to;
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
11
+ get: () => from[key],
12
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
13
+ });
14
+ }
15
+ return to;
15
16
  };
16
17
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
17
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
18
- value: true
19
- }), mod);
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
19
  var index_exports = {};
21
20
  module.exports = __toCommonJS(index_exports);
22
21
  __reExport(index_exports, require("./readTamaguiOptions.native.js"), module.exports);
23
22
  __reExport(index_exports, require("./getTamaguiDefaultPath.native.js"), module.exports);
24
23
  __reExport(index_exports, require("./getTamaguiOptions.native.js"), module.exports);
24
+
25
25
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports","__reExport","require"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA;AACdG,UAAA,CAAAH,aAAA,EAAcI,OAAA,oCAAAH,MADd,CAAAC,OAAA;AAEAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,oCAFd,GAAAH,MAAA,CAAAC,OAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./readTamaguiOptions\"), module.exports);\n__reExport(index_exports, require(\"./getTamaguiDefaultPath\"), module.exports);\n__reExport(index_exports, require(\"./getTamaguiOptions\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,gCAAsB,GAAG,OAAO,OAAO;AACzE,WAAW,eAAe,QAAQ,mCAAyB,GAAG,OAAO,OAAO;AAC5E,WAAW,eAAe,QAAQ,+BAAqB,GAAG,OAAO,OAAO"}
@@ -1,66 +1,55 @@
1
+
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
7
+ for (var name in all) __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
10
11
  };
11
12
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ }
19
+ return to;
19
20
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
21
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
22
  var readTamaguiOptions_exports = {};
24
- __export(readTamaguiOptions_exports, {
25
- readTamaguiOptions: () => readTamaguiOptions
26
- });
23
+ __export(readTamaguiOptions_exports, { readTamaguiOptions: () => readTamaguiOptions });
27
24
  module.exports = __toCommonJS(readTamaguiOptions_exports);
28
25
  var import_node_path = require("node:path");
29
26
  var import_fs_extra = require("fs-extra");
30
27
  var import_getDefaultTamaguiOptions = require("./getDefaultTamaguiOptions.cjs");
31
- async function readTamaguiOptions({
32
- cwd = "."
33
- }) {
34
- const filePath = (0, import_node_path.join)(cwd, "tamagui.json");
35
- if (!(await (0, import_fs_extra.pathExists)(filePath))) {
36
- return {
37
- exists: false,
38
- options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({
39
- cwd
40
- })
41
- };
42
- }
43
- try {
44
- const options = await (0, import_fs_extra.readJSON)(filePath);
45
- if (!Array.isArray(options.components)) {
46
- throw new Error(`Invalid components: not string[]`);
47
- }
48
- return {
49
- exists: true,
50
- options: {
51
- ...(!options.config && (await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({
52
- cwd
53
- }))),
54
- ...options
55
- }
56
- };
57
- } catch (err) {
58
- console.error(`Error reading tamagui.json: ${err.message} ${err.stack}`);
59
- return {
60
- exists: false,
61
- options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({
62
- cwd
63
- })
64
- };
65
- }
66
- }
28
+ async function readTamaguiOptions({ cwd = "." }) {
29
+ const filePath = (0, import_node_path.join)(cwd, "tamagui.json");
30
+ if (!await (0, import_fs_extra.pathExists)(filePath)) {
31
+ return {
32
+ exists: false,
33
+ options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd })
34
+ };
35
+ }
36
+ try {
37
+ const options = await (0, import_fs_extra.readJSON)(filePath);
38
+ if (!Array.isArray(options.components)) {
39
+ throw new Error(`Invalid components: not string[]`);
40
+ }
41
+ return {
42
+ exists: true,
43
+ options: {
44
+ ...!options.config && await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd }),
45
+ ...options
46
+ }
47
+ };
48
+ } catch (err) {
49
+ console.error(`Error reading tamagui.json: ${err.message} ${err.stack}`);
50
+ return {
51
+ exists: false,
52
+ options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd })
53
+ };
54
+ }
55
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
22
+ };
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
+ var readTamaguiOptions_exports = {};
25
+ __export(readTamaguiOptions_exports, { readTamaguiOptions: () => readTamaguiOptions });
26
+ module.exports = __toCommonJS(readTamaguiOptions_exports);
27
+ var import_path = require("path");
28
+ var import_fs_extra = require("fs-extra");
29
+ var import_getDefaultTamaguiOptions = require("./getDefaultTamaguiOptions.native.js");
30
+ async function readTamaguiOptions(param) {
31
+ var { cwd = "." } = param;
32
+ var filePath = (0, import_path.join)(cwd, "tamagui.json");
33
+ if (!await (0, import_fs_extra.pathExists)(filePath)) {
34
+ return {
35
+ exists: false,
36
+ options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd })
37
+ };
38
+ }
39
+ try {
40
+ var options = await (0, import_fs_extra.readJSON)(filePath);
41
+ if (!Array.isArray(options.components)) {
42
+ throw new Error(`Invalid components: not string[]`);
43
+ }
44
+ return {
45
+ exists: true,
46
+ options: {
47
+ ...!options.config && await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd }),
48
+ ...options
49
+ }
50
+ };
51
+ } catch (err) {
52
+ console.error(`Error reading tamagui.json: ${err.message} ${err.stack}`);
53
+ return {
54
+ exists: false,
55
+ options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd })
56
+ };
57
+ }
58
+ }
@@ -1,70 +1,60 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
8
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
12
13
  };
13
14
  var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
21
22
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
24
  var readTamaguiOptions_exports = {};
26
- __export(readTamaguiOptions_exports, {
27
- readTamaguiOptions: () => readTamaguiOptions
28
- });
25
+ __export(readTamaguiOptions_exports, { readTamaguiOptions: () => readTamaguiOptions });
29
26
  module.exports = __toCommonJS(readTamaguiOptions_exports);
30
27
  var import_path = require("path");
31
28
  var import_fs_extra = require("fs-extra");
32
29
  var import_getDefaultTamaguiOptions = require("./getDefaultTamaguiOptions.native.js");
33
30
  async function readTamaguiOptions(param) {
34
- var {
35
- cwd = "."
36
- } = param;
37
- var filePath = (0, import_path.join)(cwd, "tamagui.json");
38
- if (!(await (0, import_fs_extra.pathExists)(filePath))) {
39
- return {
40
- exists: false,
41
- options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({
42
- cwd
43
- })
44
- };
45
- }
46
- try {
47
- var options = await (0, import_fs_extra.readJSON)(filePath);
48
- if (!Array.isArray(options.components)) {
49
- throw new Error(`Invalid components: not string[]`);
50
- }
51
- return {
52
- exists: true,
53
- options: {
54
- ...(!options.config && (await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({
55
- cwd
56
- }))),
57
- ...options
58
- }
59
- };
60
- } catch (err) {
61
- console.error(`Error reading tamagui.json: ${err.message} ${err.stack}`);
62
- return {
63
- exists: false,
64
- options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({
65
- cwd
66
- })
67
- };
68
- }
31
+ var { cwd = "." } = param;
32
+ var filePath = (0, import_path.join)(cwd, "tamagui.json");
33
+ if (!await (0, import_fs_extra.pathExists)(filePath)) {
34
+ return {
35
+ exists: false,
36
+ options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd })
37
+ };
38
+ }
39
+ try {
40
+ var options = await (0, import_fs_extra.readJSON)(filePath);
41
+ if (!Array.isArray(options.components)) {
42
+ throw new Error(`Invalid components: not string[]`);
43
+ }
44
+ return {
45
+ exists: true,
46
+ options: {
47
+ ...!options.config && await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd }),
48
+ ...options
49
+ }
50
+ };
51
+ } catch (err) {
52
+ console.error(`Error reading tamagui.json: ${err.message} ${err.stack}`);
53
+ return {
54
+ exists: false,
55
+ options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({ cwd })
56
+ };
57
+ }
69
58
  }
59
+
70
60
  //# sourceMappingURL=readTamaguiOptions.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","readTamaguiOptions_exports","__export","readTamaguiOptions","module","exports","import_path","require","import_fs_extra","import_getDefaultTamaguiOptions","param","cwd","filePath","join","pathExists","exists","options","getDefaultTamaguiOptions","readJSON","Array","isArray","components","Error","config","err","console","error","message","stack"],"sources":["../src/readTamaguiOptions.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,0BAAA;AAAAC,QAAA,CAAAD,0BAAA;EAAAE,kBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAqB,CAAAK,0BAAA;AAGrB,IAAAK,WAAA,GAAAC,OAAqC;AAErC,IAAAC,eAAA,GAAAD,OAAA,WAAyC;AAEzC,IAAAE,+BAAyC,GAAEF,OAAM,CAAI,sCAGlD;AACD,eAAMJ,kBAAWA,CAAAO,KAAA;EAEjB,IAAI;IAAEC,GAAA;EAAM,IAAAD,KAAA;EACV,IAAAE,QAAO,OAAAN,WAAA,CAAAO,IAAA,EAAAF,GAAA;EAAA,IACL,SAAQ,GAAAH,eAAA,CAAAM,UAAA,EAAAF,QAAA;IAAA,OACR;MACFG,MAAA;MACFC,OAAA,YAAAP,+BAAA,CAAAQ,wBAAA;QAEIN;MACF;IAEA;EACE;EAAkD,IACpD;IAEA,IAAAK,OAAO,aAAAR,eAAA,CAAAU,QAAA,EAAAN,QAAA;IAAA,IACL,CAAAO,KAAQ,CAAAC,OAAA,CAAAJ,OAAA,CAAAK,UAAA;MACR,UAASC,KAAA;IAAA;IACuD,OAC3D;MACLP,MAAA;MACFC,OAAA;QACF,IAAS,CAAAA,OAAU,CAAAO,MAAA,eAAAd,+BAAA,CAAAQ,wBAAA;UACjBN;QAEA;QACE,GAAAK;MACA;IACF;EACF,SAAAQ,GAAA;IACFC,OAAA,CAAAC,KAAA,gCAAAF,GAAA,CAAAG,OAAA,IAAAH,GAAA,CAAAI,KAAA","ignoreList":[]}
1
+ {"version":3,"file":"readTamaguiOptions.native.js","names":[],"sources":["readTamaguiOptions.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar readTamaguiOptions_exports = {};\n__export(readTamaguiOptions_exports, {\n readTamaguiOptions: () => readTamaguiOptions\n});\nmodule.exports = __toCommonJS(readTamaguiOptions_exports);\nvar import_path = require(\"path\");\nvar import_fs_extra = require(\"fs-extra\");\nvar import_getDefaultTamaguiOptions = require(\"./getDefaultTamaguiOptions\");\nasync function readTamaguiOptions(param) {\n var { cwd = \".\" } = param;\n var filePath = (0, import_path.join)(cwd, \"tamagui.json\");\n if (!await (0, import_fs_extra.pathExists)(filePath)) {\n return {\n exists: false,\n options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({\n cwd\n })\n };\n }\n try {\n var options = await (0, import_fs_extra.readJSON)(filePath);\n if (!Array.isArray(options.components)) {\n throw new Error(`Invalid components: not string[]`);\n }\n return {\n exists: true,\n options: {\n ...!options.config && await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({\n cwd\n }),\n ...options\n }\n };\n } catch (err) {\n console.error(`Error reading tamagui.json: ${err.message} ${err.stack}`);\n return {\n exists: false,\n options: await (0, import_getDefaultTamaguiOptions.getDefaultTamaguiOptions)({\n cwd\n })\n };\n }\n}\n//# sourceMappingURL=readTamaguiOptions.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,6BAA6B,CAAC;AAClC,SAAS,4BAA4B,EACnC,0BAA0B,mBAC5B,CAAC;AACD,OAAO,UAAU,aAAa,0BAA0B;AACxD,IAAI,cAAc,QAAQ,MAAM;AAChC,IAAI,kBAAkB,QAAQ,UAAU;AACxC,IAAI,kCAAkC,QAAQ,sCAA4B;AAC1E,eAAe,mBAAmB,OAAO;CACvC,IAAI,EAAE,MAAM,QAAQ;CACpB,IAAI,YAAY,GAAG,YAAY,MAAM,KAAK,cAAc;CACxD,IAAI,CAAC,OAAO,GAAG,gBAAgB,YAAY,QAAQ,GAAG;EACpD,OAAO;GACL,QAAQ;GACR,SAAS,OAAO,GAAG,gCAAgC,0BAA0B,EAC3E,IACF,CAAC;EACH;CACF;CACA,IAAI;EACF,IAAI,UAAU,OAAO,GAAG,gBAAgB,UAAU,QAAQ;EAC1D,IAAI,CAAC,MAAM,QAAQ,QAAQ,UAAU,GAAG;GACtC,MAAM,IAAI,MAAM,kCAAkC;EACpD;EACA,OAAO;GACL,QAAQ;GACR,SAAS;IACP,GAAG,CAAC,QAAQ,UAAU,OAAO,GAAG,gCAAgC,0BAA0B,EACxF,IACF,CAAC;IACD,GAAG;GACL;EACF;CACF,SAAS,KAAK;EACZ,QAAQ,MAAM,+BAA+B,IAAI,QAAQ,GAAG,IAAI,OAAO;EACvE,OAAO;GACL,QAAQ;GACR,SAAS,OAAO,GAAG,gCAAgC,0BAA0B,EAC3E,IACF,CAAC;EACH;CACF;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/helpers-node",
3
- "version": "2.7.7",
3
+ "version": "3.0.0-beta.643.1",
4
4
  "source": "src/index.ts",
5
5
  "files": [
6
6
  "src",
@@ -8,7 +8,7 @@
8
8
  "dist"
9
9
  ],
10
10
  "sideEffects": false,
11
- "main": "./dist",
11
+ "main": "./dist/index.cjs",
12
12
  "types": "./types/index.d.ts",
13
13
  "publishConfig": {
14
14
  "access": "public"
@@ -20,10 +20,10 @@
20
20
  "clean:build": "tamagui-build clean:build"
21
21
  },
22
22
  "dependencies": {
23
- "@tamagui/types": "2.7.7"
23
+ "@tamagui/types": "3.0.0-beta.643.1"
24
24
  },
25
25
  "devDependencies": {
26
- "@tamagui/build": "2.7.7",
26
+ "@tamagui/build": "3.0.0-beta.643.1",
27
27
  "fs-extra": "^11.2.0"
28
28
  },
29
29
  "repository": {
@@ -4,6 +4,6 @@ export async function getTamaguiOptions({
4
4
  cwd = '.',
5
5
  }: {
6
6
  cwd?: string
7
- }): Promise<import('@tamagui/types/types').TamaguiOptions> {
7
+ }): Promise<import('@tamagui/types').TamaguiOptions> {
8
8
  return (await readTamaguiOptions({ cwd })).options
9
9
  }
@@ -1,5 +1,5 @@
1
1
  export declare function getTamaguiOptions({ cwd }: {
2
2
  cwd?: string;
3
- }): Promise<import("@tamagui/types/types").TamaguiOptions>;
3
+ }): Promise<import("@tamagui/types").TamaguiOptions>;
4
4
 
5
5
  //# sourceMappingURL=getTamaguiOptions.d.ts.map
@@ -6,6 +6,6 @@
6
6
  ],
7
7
  "version": 3,
8
8
  "sourcesContent": [
9
- "import { readTamaguiOptions } from './readTamaguiOptions'\n\nexport async function getTamaguiOptions({\n cwd = '.',\n}: {\n cwd?: string\n}): Promise<import('@tamagui/types/types').TamaguiOptions> {\n return (await readTamaguiOptions({ cwd })).options\n}\n"
9
+ "import { readTamaguiOptions } from './readTamaguiOptions'\n\nexport async function getTamaguiOptions({\n cwd = '.',\n}: {\n cwd?: string\n}): Promise<import('@tamagui/types').TamaguiOptions> {\n return (await readTamaguiOptions({ cwd })).options\n}\n"
10
10
  ]
11
11
  }