@tamagui/cli 1.135.2 → 1.135.4-1761748186554

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,58 +1,67 @@
1
1
  "use strict";
2
+
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __getProtoOf = Object.getPrototypeOf,
8
+ __hasOwnProp = Object.prototype.hasOwnProperty;
7
9
  var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: !0 });
10
- }, __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from == "object" || typeof from == "function")
12
- for (let key of __getOwnPropNames(from))
13
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- return to;
15
- };
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: !0
13
+ });
14
+ },
15
+ __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ return to;
21
+ };
16
22
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
23
  // If the importer is in node compatibility mode or this is not an ESM
18
24
  // file that has been converted to a CommonJS file using a Babel-
19
25
  // compatible transform (i.e. "__esModule" has not been set), then set
20
26
  // "default" to the CommonJS "module.exports" for node compatibility.
21
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
- mod
23
- )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
28
+ value: mod,
29
+ enumerable: !0
30
+ }) : target, mod)),
31
+ __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
32
+ value: !0
33
+ }), mod);
24
34
  var update_template_exports = {};
25
35
  __export(update_template_exports, {
26
36
  updateTemplate: () => updateTemplate
27
37
  });
28
38
  module.exports = __toCommonJS(update_template_exports);
29
- var import_chalk = __toESM(require("chalk")), import_node_child_process = require("node:child_process");
39
+ var import_chalk = __toESM(require("chalk")),
40
+ import_child_process = require("child_process");
41
+ function _instanceof(left, right) {
42
+ return right != null && typeof Symbol < "u" && right[Symbol.hasInstance] ? !!right[Symbol.hasInstance](left) : left instanceof right;
43
+ }
30
44
  function updateTemplate(templateUrl) {
31
- var ignoredPatterns = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], _templateUrl_split_pop, templateName = ((_templateUrl_split_pop = templateUrl.split("/").pop()) === null || _templateUrl_split_pop === void 0 ? void 0 : _templateUrl_split_pop.split(".")[0]) || "template", remoteName = `${templateName}-template`, addRemoteCommand = `git remote add ${remoteName} ${templateUrl}`, rmRemoteCommand = `git remote remove ${remoteName}`;
45
+ var ignoredPatterns = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [],
46
+ _templateUrl_split_pop,
47
+ templateName = ((_templateUrl_split_pop = templateUrl.split("/").pop()) === null || _templateUrl_split_pop === void 0 ? void 0 : _templateUrl_split_pop.split(".")[0]) || "template",
48
+ remoteName = `${templateName}-template`,
49
+ addRemoteCommand = `git remote add ${remoteName} ${templateUrl}`,
50
+ rmRemoteCommand = `git remote remove ${remoteName}`;
32
51
  try {
33
- (0, import_node_child_process.execSync)(addRemoteCommand);
52
+ (0, import_child_process.execSync)(addRemoteCommand);
34
53
  } catch (error) {
35
- if (error instanceof Error && error.toString().includes("already exists"))
36
- (0, import_node_child_process.execSync)(rmRemoteCommand), (0, import_node_child_process.execSync)(addRemoteCommand);
37
- else
38
- throw error;
54
+ if (_instanceof(error, Error) && error.toString().includes("already exists")) (0, import_child_process.execSync)(rmRemoteCommand), (0, import_child_process.execSync)(addRemoteCommand);else throw error;
39
55
  }
40
- (0, import_node_child_process.execSync)("git fetch --all");
56
+ (0, import_child_process.execSync)("git fetch --all");
41
57
  try {
42
- (0, import_node_child_process.execSync)("git merge takeout-template/main --allow-unrelated-histories");
58
+ (0, import_child_process.execSync)("git merge takeout-template/main --allow-unrelated-histories");
43
59
  } catch (error) {
44
- if (error instanceof Error && error.message.includes("unresolved conflict"))
45
- console.info(tamaguiLog("We've merged the latest changes. Please resolve the conflicts and commit the merge."));
46
- else
47
- throw error;
60
+ if (_instanceof(error, Error) && error.message.includes("unresolved conflict")) console.info(tamaguiLog("We've merged the latest changes. Please resolve the conflicts and commit the merge."));else throw error;
48
61
  }
49
- (0, import_node_child_process.execSync)(`git reset HEAD ${ignoredPatterns.join(" ")}`);
62
+ (0, import_child_process.execSync)(`git reset HEAD ${ignoredPatterns.join(" ")}`);
50
63
  }
51
64
  function tamaguiLog(message) {
52
65
  return `${import_chalk.default.green("[Tamagui]")} ${message}`;
53
66
  }
54
- // Annotate the CommonJS export names for ESM import in node:
55
- 0 && (module.exports = {
56
- updateTemplate
57
- });
58
- //# sourceMappingURL=update-template.js.map
67
+ //# sourceMappingURL=update-template.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/update-template.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB,2BAClB,4BAAyB;AAClB,SAAS,eAAe,aAAa;AACxC,MAAI,kBAAkB,UAAU,SAAS,KAAK,UAAU,CAAC,MAAM,SAAS,UAAU,CAAC,IAAI,CAAC,GACpF,wBACA,iBAAiB,yBAAyB,YAAY,MAAM,GAAG,EAAE,IAAI,OAAO,QAAQ,2BAA2B,SAAS,SAAS,uBAAuB,MAAM,GAAG,EAAE,CAAC,MAAM,YAC1K,aAAa,GAAG,YAAY,aAC5B,mBAAmB,kBAAkB,UAAU,IAAI,WAAW,IAC9D,kBAAkB,qBAAqB,UAAU;AACrD,MAAI;AACA,4CAAS,gBAAgB;AAAA,EAC7B,SAAS,OAAO;AACZ,QAAI,iBAAiB,SAAS,MAAM,SAAS,EAAE,SAAS,gBAAgB;AACpE,8CAAS,eAAe,OACxB,oCAAS,gBAAgB;AAAA;AAEzB,YAAM;AAAA,EAEd;AACA,0CAAS,iBAAiB;AAC1B,MAAI;AACA,4CAAS,6DAA6D;AAAA,EAC1E,SAAS,OAAO;AACZ,QAAI,iBAAiB,SAAS,MAAM,QAAQ,SAAS,qBAAqB;AACtE,cAAQ,KAAK,WAAW,qFAAqF,CAAC;AAAA;AAE9G,YAAM;AAAA,EAEd;AACA,0CAAS,kBAAkB,gBAAgB,KAAK,GAAG,CAAC,EAAE;AAC1D;AACA,SAAS,WAAW,SAAS;AACzB,SAAO,GAAG,aAAAA,QAAM,MAAM,WAAW,CAAC,IAAI,OAAO;AACjD;",
5
- "names": ["chalk"]
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","update_template_exports","__export","updateTemplate","module","exports","import_chalk","__toESM","require","import_child_process","_instanceof","left","right","Symbol","hasInstance","templateUrl","ignoredPatterns","arguments","length","_templateUrl_split_pop","templateName","split","pop","remoteName","addRemoteCommand","rmRemoteCommand","execSync","error","Error","toString","includes","message","console","info","tamaguiLog","join","default","green"],"sources":["../src/update-template.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAA;EAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;IAAAC,KAAA;EAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,cAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,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,eAAkB,CAAAmB,IAAA,CAAgB,MAAK;AAClD;AAEA,SAASD,WAAWH,OAAA,EAAS;EAC3B,OAAO,GAAGzB,YAAA,CAAA8B,OAAA,CAAMC,KAAA,CAAM,WAAW,CAAC,IAAIN,OAAO;AAC/C","ignoreList":[]}
@@ -1,27 +1,29 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var update_exports = {};
17
24
  __export(update_exports, {
18
25
  update: () => update
19
26
  });
20
27
  module.exports = __toCommonJS(update_exports);
21
- var update = async function() {
22
- };
23
- // Annotate the CommonJS export names for ESM import in node:
24
- 0 && (module.exports = {
25
- update
26
- });
27
- //# sourceMappingURL=update.js.map
28
+ var update = async function () {};
29
+ //# sourceMappingURL=update.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/update.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAI,SAAS,iBAAiB;AAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","update_exports","__export","update","module","exports"],"sources":["../src/update.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,cAAA;AAAAC,QAAA,CAAAD,cAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAA;AAAA;AAAOC,MAAM,CAAAC,OAAA,GAAST,YAAY,CAAAK,cAAA;AAElC,IAAAE,MAAA,kBAAAA,CAAA,G","ignoreList":[]}
@@ -1,26 +1,36 @@
1
1
  "use strict";
2
+
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __getProtoOf = Object.getPrototypeOf,
8
+ __hasOwnProp = Object.prototype.hasOwnProperty;
7
9
  var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: !0 });
10
- }, __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from == "object" || typeof from == "function")
12
- for (let key of __getOwnPropNames(from))
13
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- return to;
15
- };
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: !0
13
+ });
14
+ },
15
+ __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ return to;
21
+ };
16
22
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
23
  // If the importer is in node compatibility mode or this is not an ESM
18
24
  // file that has been converted to a CommonJS file using a Babel-
19
25
  // compatible transform (i.e. "__esModule" has not been set), then set
20
26
  // "default" to the CommonJS "module.exports" for node compatibility.
21
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
- mod
23
- )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
27
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
28
+ value: mod,
29
+ enumerable: !0
30
+ }) : target, mod)),
31
+ __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
32
+ value: !0
33
+ }), mod);
24
34
  var utils_exports = {};
25
35
  __export(utils_exports, {
26
36
  disposeAll: () => disposeAll,
@@ -30,21 +40,32 @@ __export(utils_exports, {
30
40
  registerDispose: () => registerDispose
31
41
  });
32
42
  module.exports = __toCommonJS(utils_exports);
33
- var import_static = require("@tamagui/static"), import_chalk = __toESM(require("chalk")), import_fs_extra = require("fs-extra"), import_node_path = require("node:path");
43
+ var import_static = require("@tamagui/static"),
44
+ import_chalk = __toESM(require("chalk")),
45
+ import_fs_extra = require("fs-extra"),
46
+ import_path = require("path");
34
47
  async function getOptions() {
35
- var { root = process.cwd(), tsconfigPath = "tsconfig.json", tamaguiOptions, host, debug, loadTamaguiOptions } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, dotDir = (0, import_node_path.join)(root, ".tamagui"), pkgJson = {}, config = "";
48
+ var {
49
+ root = process.cwd(),
50
+ tsconfigPath = "tsconfig.json",
51
+ tamaguiOptions,
52
+ host,
53
+ debug,
54
+ loadTamaguiOptions
55
+ } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
56
+ dotDir = (0, import_path.join)(root, ".tamagui"),
57
+ pkgJson = {},
58
+ config = "";
36
59
  try {
37
- config = await getDefaultTamaguiConfigPath(), pkgJson = await (0, import_fs_extra.readJSON)((0, import_node_path.join)(root, "package.json"));
38
- } catch {
39
- }
60
+ config = await getDefaultTamaguiConfigPath(), pkgJson = await (0, import_fs_extra.readJSON)((0, import_path.join)(root, "package.json"));
61
+ } catch {}
40
62
  var filledOptions = {
41
- platform: "native",
42
- components: [
43
- "tamagui"
44
- ],
45
- config,
46
- ...tamaguiOptions
47
- }, finalOptions = loadTamaguiOptions ? (0, import_static.loadTamaguiBuildConfigSync)(filledOptions) : filledOptions;
63
+ platform: "native",
64
+ components: ["tamagui"],
65
+ config,
66
+ ...tamaguiOptions
67
+ },
68
+ finalOptions = loadTamaguiOptions ? (0, import_static.loadTamaguiBuildConfigSync)(filledOptions) : filledOptions;
48
69
  return {
49
70
  mode: process.env.NODE_ENV === "production" ? "production" : "development",
50
71
  root,
@@ -56,53 +77,44 @@ async function getOptions() {
56
77
  paths: {
57
78
  root,
58
79
  dotDir,
59
- conf: (0, import_node_path.join)(dotDir, "tamagui.config.json"),
60
- types: (0, import_node_path.join)(dotDir, "types.json")
80
+ conf: (0, import_path.join)(dotDir, "tamagui.config.json"),
81
+ types: (0, import_path.join)(dotDir, "types.json")
61
82
  }
62
83
  };
63
84
  }
64
85
  function ensure(condition, message) {
65
86
  condition || (console.error(import_chalk.default.red.bold("Error:"), import_chalk.default.yellow(`${message}`)), process.exit(1));
66
87
  }
67
- var defaultPaths = [
68
- "tamagui.config.ts",
69
- (0, import_node_path.join)("src", "tamagui.config.ts")
70
- ], cachedPath = "";
88
+ var defaultPaths = ["tamagui.config.ts", (0, import_path.join)("src", "tamagui.config.ts")],
89
+ cachedPath = "";
71
90
  async function getDefaultTamaguiConfigPath() {
72
91
  if (cachedPath) return cachedPath;
73
- var existingPaths = await Promise.all(defaultPaths.map(function(path) {
74
- return (0, import_fs_extra.pathExists)(path);
75
- })), existing = existingPaths.findIndex(function(x) {
76
- return !!x;
77
- }), found = defaultPaths[existing];
78
- if (!found)
79
- throw new Error("No found tamagui.config.ts");
92
+ var existingPaths = await Promise.all(defaultPaths.map(function (path) {
93
+ return (0, import_fs_extra.pathExists)(path);
94
+ })),
95
+ existing = existingPaths.findIndex(function (x) {
96
+ return !!x;
97
+ }),
98
+ found = defaultPaths[existing];
99
+ if (!found) throw new Error("No found tamagui.config.ts");
80
100
  return cachedPath = found, found;
81
101
  }
82
- var loadTamagui = async function(opts) {
83
- var _opts_config, loaded = await (0, import_static.loadTamagui)({
84
- components: [
85
- "tamagui"
86
- ],
87
- ...opts,
88
- config: (_opts_config = opts.config) !== null && _opts_config !== void 0 ? _opts_config : await getDefaultTamaguiConfigPath()
89
- });
90
- return loaded;
91
- }, disposers = /* @__PURE__ */ new Set();
102
+ var loadTamagui = async function (opts) {
103
+ var _opts_config,
104
+ loaded = await (0, import_static.loadTamagui)({
105
+ components: ["tamagui"],
106
+ ...opts,
107
+ config: (_opts_config = opts.config) !== null && _opts_config !== void 0 ? _opts_config : await getDefaultTamaguiConfigPath()
108
+ });
109
+ return loaded;
110
+ },
111
+ disposers = /* @__PURE__ */new Set();
92
112
  function registerDispose(cb) {
93
113
  disposers.add(cb);
94
114
  }
95
115
  function disposeAll() {
96
- disposers.forEach(function(cb) {
116
+ disposers.forEach(function (cb) {
97
117
  return cb();
98
118
  });
99
119
  }
100
- // Annotate the CommonJS export names for ESM import in node:
101
- 0 && (module.exports = {
102
- disposeAll,
103
- ensure,
104
- getOptions,
105
- loadTamagui,
106
- registerDispose
107
- });
108
- //# sourceMappingURL=utils.js.map
120
+ //# sourceMappingURL=utils.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/utils.ts"],
4
- "mappings": ";;;;;;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WAAY,QAAO;AACvB,MAAI,gBAAgB,MAAM,QAAQ,IAAI,aAAa,IAAI,SAAS,MAAM;AAClE,eAAO,4BAAW,IAAI;AAAA,EAC1B,CAAC,CAAC,GACE,WAAW,cAAc,UAAU,SAAS,GAAG;AAC/C,WAAO,CAAC,CAAC;AAAA,EACb,CAAC,GACG,QAAQ,aAAa,QAAQ;AACjC,MAAI,CAAC;AACD,UAAM,IAAI,MAAM,4BAA4B;AAEhD,sBAAa,OACN;AACX;AACO,IAAI,cAAc,eAAe,MAAM;AAC1C,MAAI,cACA,SAAS,UAAM,cAAAC,aAAkB;AAAA,IACjC,YAAY;AAAA,MACR;AAAA,IACJ;AAAA,IACA,GAAG;AAAA,IACH,SAAS,eAAe,KAAK,YAAY,QAAQ,iBAAiB,SAAS,eAAe,MAAM,4BAA4B;AAAA,EAChI,CAAC;AACD,SAAO;AACX,GACI,YAAY,oBAAI,IAAI;AACjB,SAAS,gBAAgB,IAAI;AAChC,YAAU,IAAI,EAAE;AACpB;AACO,SAAS,aAAa;AACzB,YAAU,QAAQ,SAAS,IAAI;AAC3B,WAAO,GAAG;AAAA,EACd,CAAC;AACL;",
5
- "names": ["chalk", "loadTamaguiStatic"]
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","utils_exports","__export","disposeAll","ensure","getOptions","loadTamagui","registerDispose","module","exports","import_static","require","import_chalk","__toESM","import_fs_extra","import_path","root","process","cwd","tsconfigPath","tamaguiOptions","host","debug","loadTamaguiOptions","arguments","length","dotDir","join","pkgJson","config","getDefaultTamaguiConfigPath","readJSON","filledOptions","platform","components","finalOptions","loadTamaguiBuildConfigSync","mode","env","NODE_ENV","paths","conf","types","condition","message","console","error","default","red","bold","yellow","exit","defaultPaths","cachedPath","existingPaths","Promise","all","map","path","pathExists","existing","findIndex","x","found","Error","opts","_opts_config","loaded","disposers","Set"],"sources":["../src/utils.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAU;EACZ;EAAAC,SAAA,sBAAAC,GAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/cli",
3
- "version": "1.135.2",
3
+ "version": "1.135.4-1761748186554",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/index.cjs",
@@ -23,16 +23,16 @@
23
23
  "clean:build": "tamagui-build clean:build"
24
24
  },
25
25
  "dependencies": {
26
- "@tamagui/create-theme": "1.135.2",
27
- "@tamagui/generate-themes": "1.135.2",
28
- "@tamagui/static": "1.135.2",
29
- "@tamagui/types": "1.135.2",
30
- "@tamagui/vite-plugin": "1.135.2",
26
+ "@tamagui/create-theme": "1.135.4-1761748186554",
27
+ "@tamagui/generate-themes": "1.135.4-1761748186554",
28
+ "@tamagui/static": "1.135.4-1761748186554",
29
+ "@tamagui/types": "1.135.4-1761748186554",
30
+ "@tamagui/vite-plugin": "1.135.4-1761748186554",
31
31
  "arg": "^5.0.2",
32
32
  "chalk": "^4.1.2",
33
33
  "change-case": "^4.1.2",
34
34
  "chokidar": "^3.5.2",
35
- "esbuild": "^0.25.0",
35
+ "esbuild": "^0.25.11",
36
36
  "express": "^4.18.2",
37
37
  "fs-extra": "^11.2.0",
38
38
  "get-port": "^7.0.0",
@@ -47,7 +47,7 @@
47
47
  "url": "^0.11.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@tamagui/build": "1.135.2",
50
+ "@tamagui/build": "1.135.4-1761748186554",
51
51
  "@types/chokidar": "^2.1.3",
52
52
  "@types/marked": "^5.0.0"
53
53
  }