create-tamagui 1.5.24 → 1.6.0
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/index.js +38 -134
- package/dist/index.js.map +4 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -159,9 +159,9 @@ var require_isexe = __commonJS({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
|
|
162
|
-
// ../../node_modules
|
|
162
|
+
// ../../node_modules/which/which.js
|
|
163
163
|
var require_which = __commonJS({
|
|
164
|
-
"../../node_modules
|
|
164
|
+
"../../node_modules/which/which.js"(exports, module2) {
|
|
165
165
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
166
166
|
var path3 = require("path");
|
|
167
167
|
var COLON = isWindows ? ";" : ":";
|
|
@@ -255,9 +255,9 @@ var require_which = __commonJS({
|
|
|
255
255
|
}
|
|
256
256
|
});
|
|
257
257
|
|
|
258
|
-
// ../../node_modules/path-key/index.js
|
|
258
|
+
// ../../node_modules/@expo/spawn-async/node_modules/path-key/index.js
|
|
259
259
|
var require_path_key = __commonJS({
|
|
260
|
-
"../../node_modules/path-key/index.js"(exports, module2) {
|
|
260
|
+
"../../node_modules/@expo/spawn-async/node_modules/path-key/index.js"(exports, module2) {
|
|
261
261
|
"use strict";
|
|
262
262
|
var pathKey = (options = {}) => {
|
|
263
263
|
const environment = options.env || process.env;
|
|
@@ -339,9 +339,9 @@ var require_escape = __commonJS({
|
|
|
339
339
|
}
|
|
340
340
|
});
|
|
341
341
|
|
|
342
|
-
// ../../node_modules/shebang-regex/index.js
|
|
342
|
+
// ../../node_modules/@expo/spawn-async/node_modules/shebang-regex/index.js
|
|
343
343
|
var require_shebang_regex = __commonJS({
|
|
344
|
-
"../../node_modules/shebang-regex/index.js"(exports, module2) {
|
|
344
|
+
"../../node_modules/@expo/spawn-async/node_modules/shebang-regex/index.js"(exports, module2) {
|
|
345
345
|
"use strict";
|
|
346
346
|
module2.exports = /^#!(.*)/;
|
|
347
347
|
}
|
|
@@ -1500,9 +1500,9 @@ var require_escape_string_regexp = __commonJS({
|
|
|
1500
1500
|
}
|
|
1501
1501
|
});
|
|
1502
1502
|
|
|
1503
|
-
// ../../node_modules
|
|
1503
|
+
// ../../node_modules/color-convert/node_modules/color-name/index.js
|
|
1504
1504
|
var require_color_name = __commonJS({
|
|
1505
|
-
"../../node_modules
|
|
1505
|
+
"../../node_modules/color-convert/node_modules/color-name/index.js"(exports, module2) {
|
|
1506
1506
|
"use strict";
|
|
1507
1507
|
module2.exports = {
|
|
1508
1508
|
"aliceblue": [240, 248, 255],
|
|
@@ -1657,9 +1657,9 @@ var require_color_name = __commonJS({
|
|
|
1657
1657
|
}
|
|
1658
1658
|
});
|
|
1659
1659
|
|
|
1660
|
-
// ../../node_modules
|
|
1660
|
+
// ../../node_modules/color-convert/conversions.js
|
|
1661
1661
|
var require_conversions = __commonJS({
|
|
1662
|
-
"../../node_modules
|
|
1662
|
+
"../../node_modules/color-convert/conversions.js"(exports, module2) {
|
|
1663
1663
|
var cssKeywords = require_color_name();
|
|
1664
1664
|
var reverseKeywords = {};
|
|
1665
1665
|
for (key in cssKeywords) {
|
|
@@ -2370,9 +2370,9 @@ var require_conversions = __commonJS({
|
|
|
2370
2370
|
}
|
|
2371
2371
|
});
|
|
2372
2372
|
|
|
2373
|
-
// ../../node_modules
|
|
2373
|
+
// ../../node_modules/color-convert/route.js
|
|
2374
2374
|
var require_route = __commonJS({
|
|
2375
|
-
"../../node_modules
|
|
2375
|
+
"../../node_modules/color-convert/route.js"(exports, module2) {
|
|
2376
2376
|
var conversions = require_conversions();
|
|
2377
2377
|
function buildGraph() {
|
|
2378
2378
|
var graph = {};
|
|
@@ -2440,9 +2440,9 @@ var require_route = __commonJS({
|
|
|
2440
2440
|
}
|
|
2441
2441
|
});
|
|
2442
2442
|
|
|
2443
|
-
// ../../node_modules
|
|
2443
|
+
// ../../node_modules/color-convert/index.js
|
|
2444
2444
|
var require_color_convert = __commonJS({
|
|
2445
|
-
"../../node_modules
|
|
2445
|
+
"../../node_modules/color-convert/index.js"(exports, module2) {
|
|
2446
2446
|
var conversions = require_conversions();
|
|
2447
2447
|
var route = require_route();
|
|
2448
2448
|
var convert = {};
|
|
@@ -8968,9 +8968,9 @@ var require_find_yarn_workspace_root = __commonJS({
|
|
|
8968
8968
|
}
|
|
8969
8969
|
});
|
|
8970
8970
|
|
|
8971
|
-
// ../../node_modules/
|
|
8971
|
+
// ../../node_modules/builtins/builtins.json
|
|
8972
8972
|
var require_builtins = __commonJS({
|
|
8973
|
-
"../../node_modules/
|
|
8973
|
+
"../../node_modules/builtins/builtins.json"(exports, module2) {
|
|
8974
8974
|
module2.exports = [
|
|
8975
8975
|
"assert",
|
|
8976
8976
|
"buffer",
|
|
@@ -9095,9 +9095,9 @@ var require_validate_npm_package_name = __commonJS({
|
|
|
9095
9095
|
}
|
|
9096
9096
|
});
|
|
9097
9097
|
|
|
9098
|
-
// ../../node_modules
|
|
9098
|
+
// ../../node_modules/npm-package-arg/node_modules/hosted-git-info/git-host-info.js
|
|
9099
9099
|
var require_git_host_info = __commonJS({
|
|
9100
|
-
"../../node_modules
|
|
9100
|
+
"../../node_modules/npm-package-arg/node_modules/hosted-git-info/git-host-info.js"(exports, module2) {
|
|
9101
9101
|
"use strict";
|
|
9102
9102
|
var gitHosts = module2.exports = {
|
|
9103
9103
|
github: {
|
|
@@ -9176,9 +9176,9 @@ var require_git_host_info = __commonJS({
|
|
|
9176
9176
|
}
|
|
9177
9177
|
});
|
|
9178
9178
|
|
|
9179
|
-
// ../../node_modules
|
|
9179
|
+
// ../../node_modules/npm-package-arg/node_modules/hosted-git-info/git-host.js
|
|
9180
9180
|
var require_git_host = __commonJS({
|
|
9181
|
-
"../../node_modules
|
|
9181
|
+
"../../node_modules/npm-package-arg/node_modules/hosted-git-info/git-host.js"(exports, module2) {
|
|
9182
9182
|
"use strict";
|
|
9183
9183
|
var gitHosts = require_git_host_info();
|
|
9184
9184
|
var extend = Object.assign || function _extend(target, source) {
|
|
@@ -9700,9 +9700,9 @@ var require_yallist = __commonJS({
|
|
|
9700
9700
|
}
|
|
9701
9701
|
});
|
|
9702
9702
|
|
|
9703
|
-
// ../../node_modules
|
|
9703
|
+
// ../../node_modules/lru-cache/index.js
|
|
9704
9704
|
var require_lru_cache = __commonJS({
|
|
9705
|
-
"../../node_modules
|
|
9705
|
+
"../../node_modules/lru-cache/index.js"(exports, module2) {
|
|
9706
9706
|
"use strict";
|
|
9707
9707
|
var Yallist = require_yallist();
|
|
9708
9708
|
var MAX = Symbol("max");
|
|
@@ -9970,9 +9970,9 @@ var require_lru_cache = __commonJS({
|
|
|
9970
9970
|
}
|
|
9971
9971
|
});
|
|
9972
9972
|
|
|
9973
|
-
// ../../node_modules
|
|
9973
|
+
// ../../node_modules/npm-package-arg/node_modules/hosted-git-info/index.js
|
|
9974
9974
|
var require_hosted_git_info = __commonJS({
|
|
9975
|
-
"../../node_modules
|
|
9975
|
+
"../../node_modules/npm-package-arg/node_modules/hosted-git-info/index.js"(exports, module2) {
|
|
9976
9976
|
"use strict";
|
|
9977
9977
|
var url = require("url");
|
|
9978
9978
|
var gitHosts = require_git_host_info();
|
|
@@ -10206,9 +10206,9 @@ var require_osenv = __commonJS({
|
|
|
10206
10206
|
}
|
|
10207
10207
|
});
|
|
10208
10208
|
|
|
10209
|
-
// ../../node_modules
|
|
10209
|
+
// ../../node_modules/npm-package-arg/node_modules/semver/semver.js
|
|
10210
10210
|
var require_semver = __commonJS({
|
|
10211
|
-
"../../node_modules
|
|
10211
|
+
"../../node_modules/npm-package-arg/node_modules/semver/semver.js"(exports, module2) {
|
|
10212
10212
|
exports = module2.exports = SemVer;
|
|
10213
10213
|
var debug;
|
|
10214
10214
|
if (typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG)) {
|
|
@@ -11256,9 +11256,9 @@ var require_semver = __commonJS({
|
|
|
11256
11256
|
}
|
|
11257
11257
|
});
|
|
11258
11258
|
|
|
11259
|
-
// ../../node_modules
|
|
11259
|
+
// ../../node_modules/npm-package-arg/npa.js
|
|
11260
11260
|
var require_npa = __commonJS({
|
|
11261
|
-
"../../node_modules
|
|
11261
|
+
"../../node_modules/npm-package-arg/npa.js"(exports, module2) {
|
|
11262
11262
|
"use strict";
|
|
11263
11263
|
module2.exports = npa;
|
|
11264
11264
|
module2.exports.resolve = resolve;
|
|
@@ -14831,9 +14831,9 @@ var require_color_name2 = __commonJS({
|
|
|
14831
14831
|
}
|
|
14832
14832
|
});
|
|
14833
14833
|
|
|
14834
|
-
// ../../node_modules/color-convert/conversions.js
|
|
14834
|
+
// ../../node_modules/ansi-styles/node_modules/color-convert/conversions.js
|
|
14835
14835
|
var require_conversions2 = __commonJS({
|
|
14836
|
-
"../../node_modules/color-convert/conversions.js"(exports, module2) {
|
|
14836
|
+
"../../node_modules/ansi-styles/node_modules/color-convert/conversions.js"(exports, module2) {
|
|
14837
14837
|
var cssKeywords = require_color_name2();
|
|
14838
14838
|
var reverseKeywords = {};
|
|
14839
14839
|
for (const key of Object.keys(cssKeywords)) {
|
|
@@ -15502,9 +15502,9 @@ var require_conversions2 = __commonJS({
|
|
|
15502
15502
|
}
|
|
15503
15503
|
});
|
|
15504
15504
|
|
|
15505
|
-
// ../../node_modules/color-convert/route.js
|
|
15505
|
+
// ../../node_modules/ansi-styles/node_modules/color-convert/route.js
|
|
15506
15506
|
var require_route2 = __commonJS({
|
|
15507
|
-
"../../node_modules/color-convert/route.js"(exports, module2) {
|
|
15507
|
+
"../../node_modules/ansi-styles/node_modules/color-convert/route.js"(exports, module2) {
|
|
15508
15508
|
var conversions = require_conversions2();
|
|
15509
15509
|
function buildGraph() {
|
|
15510
15510
|
const graph = {};
|
|
@@ -15572,9 +15572,9 @@ var require_route2 = __commonJS({
|
|
|
15572
15572
|
}
|
|
15573
15573
|
});
|
|
15574
15574
|
|
|
15575
|
-
// ../../node_modules/color-convert/index.js
|
|
15575
|
+
// ../../node_modules/ansi-styles/node_modules/color-convert/index.js
|
|
15576
15576
|
var require_color_convert2 = __commonJS({
|
|
15577
|
-
"../../node_modules/color-convert/index.js"(exports, module2) {
|
|
15577
|
+
"../../node_modules/ansi-styles/node_modules/color-convert/index.js"(exports, module2) {
|
|
15578
15578
|
var conversions = require_conversions2();
|
|
15579
15579
|
var route = require_route2();
|
|
15580
15580
|
var convert = {};
|
|
@@ -32644,102 +32644,6 @@ var require_tar = __commonJS({
|
|
|
32644
32644
|
}
|
|
32645
32645
|
});
|
|
32646
32646
|
|
|
32647
|
-
// ../../node_modules/zx/node_modules/which/which.js
|
|
32648
|
-
var require_which2 = __commonJS({
|
|
32649
|
-
"../../node_modules/zx/node_modules/which/which.js"(exports, module2) {
|
|
32650
|
-
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
32651
|
-
var path3 = require("path");
|
|
32652
|
-
var COLON = isWindows ? ";" : ":";
|
|
32653
|
-
var isexe = require_isexe();
|
|
32654
|
-
var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
|
|
32655
|
-
var getPathInfo = (cmd, opt) => {
|
|
32656
|
-
const colon = opt.colon || COLON;
|
|
32657
|
-
const pathEnv = cmd.match(/\//) || isWindows && cmd.match(/\\/) ? [""] : [
|
|
32658
|
-
// windows always checks the cwd first
|
|
32659
|
-
...isWindows ? [process.cwd()] : [],
|
|
32660
|
-
...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */
|
|
32661
|
-
"").split(colon)
|
|
32662
|
-
];
|
|
32663
|
-
const pathExtExe = isWindows ? opt.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
|
|
32664
|
-
const pathExt = isWindows ? pathExtExe.split(colon) : [""];
|
|
32665
|
-
if (isWindows) {
|
|
32666
|
-
if (cmd.indexOf(".") !== -1 && pathExt[0] !== "")
|
|
32667
|
-
pathExt.unshift("");
|
|
32668
|
-
}
|
|
32669
|
-
return {
|
|
32670
|
-
pathEnv,
|
|
32671
|
-
pathExt,
|
|
32672
|
-
pathExtExe
|
|
32673
|
-
};
|
|
32674
|
-
};
|
|
32675
|
-
var which2 = (cmd, opt, cb) => {
|
|
32676
|
-
if (typeof opt === "function") {
|
|
32677
|
-
cb = opt;
|
|
32678
|
-
opt = {};
|
|
32679
|
-
}
|
|
32680
|
-
if (!opt)
|
|
32681
|
-
opt = {};
|
|
32682
|
-
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
|
32683
|
-
const found = [];
|
|
32684
|
-
const step = (i) => new Promise((resolve, reject) => {
|
|
32685
|
-
if (i === pathEnv.length)
|
|
32686
|
-
return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
|
|
32687
|
-
const ppRaw = pathEnv[i];
|
|
32688
|
-
const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
|
|
32689
|
-
const pCmd = path3.join(pathPart, cmd);
|
|
32690
|
-
const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
32691
|
-
resolve(subStep(p, i, 0));
|
|
32692
|
-
});
|
|
32693
|
-
const subStep = (p, i, ii) => new Promise((resolve, reject) => {
|
|
32694
|
-
if (ii === pathExt.length)
|
|
32695
|
-
return resolve(step(i + 1));
|
|
32696
|
-
const ext = pathExt[ii];
|
|
32697
|
-
isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {
|
|
32698
|
-
if (!er && is) {
|
|
32699
|
-
if (opt.all)
|
|
32700
|
-
found.push(p + ext);
|
|
32701
|
-
else
|
|
32702
|
-
return resolve(p + ext);
|
|
32703
|
-
}
|
|
32704
|
-
return resolve(subStep(p, i, ii + 1));
|
|
32705
|
-
});
|
|
32706
|
-
});
|
|
32707
|
-
return cb ? step(0).then((res) => cb(null, res), cb) : step(0);
|
|
32708
|
-
};
|
|
32709
|
-
var whichSync = (cmd, opt) => {
|
|
32710
|
-
opt = opt || {};
|
|
32711
|
-
const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
|
|
32712
|
-
const found = [];
|
|
32713
|
-
for (let i = 0; i < pathEnv.length; i++) {
|
|
32714
|
-
const ppRaw = pathEnv[i];
|
|
32715
|
-
const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
|
|
32716
|
-
const pCmd = path3.join(pathPart, cmd);
|
|
32717
|
-
const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
|
|
32718
|
-
for (let j = 0; j < pathExt.length; j++) {
|
|
32719
|
-
const cur = p + pathExt[j];
|
|
32720
|
-
try {
|
|
32721
|
-
const is = isexe.sync(cur, { pathExt: pathExtExe });
|
|
32722
|
-
if (is) {
|
|
32723
|
-
if (opt.all)
|
|
32724
|
-
found.push(cur);
|
|
32725
|
-
else
|
|
32726
|
-
return cur;
|
|
32727
|
-
}
|
|
32728
|
-
} catch (ex) {
|
|
32729
|
-
}
|
|
32730
|
-
}
|
|
32731
|
-
}
|
|
32732
|
-
if (opt.all && found.length)
|
|
32733
|
-
return found;
|
|
32734
|
-
if (opt.nothrow)
|
|
32735
|
-
return null;
|
|
32736
|
-
throw getNotFoundError(cmd);
|
|
32737
|
-
};
|
|
32738
|
-
module2.exports = which2;
|
|
32739
|
-
which2.sync = whichSync;
|
|
32740
|
-
}
|
|
32741
|
-
});
|
|
32742
|
-
|
|
32743
32647
|
// ../../node_modules/from/index.js
|
|
32744
32648
|
var require_from = __commonJS({
|
|
32745
32649
|
"../../node_modules/from/index.js"(exports, module2) {
|
|
@@ -44251,7 +44155,7 @@ var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
|
44251
44155
|
var source_default = chalk;
|
|
44252
44156
|
|
|
44253
44157
|
// ../../node_modules/zx/build/core.js
|
|
44254
|
-
var import_which = __toESM(
|
|
44158
|
+
var import_which = __toESM(require_which(), 1);
|
|
44255
44159
|
|
|
44256
44160
|
// ../../node_modules/zx/build/util.js
|
|
44257
44161
|
var import_node_util = require("util");
|
|
@@ -45190,7 +45094,7 @@ var generateGlobTasksSync = normalizeArgumentsSync(generateTasksSync);
|
|
|
45190
45094
|
|
|
45191
45095
|
// ../../node_modules/zx/build/goods.js
|
|
45192
45096
|
var import_minimist = __toESM(require_minimist(), 1);
|
|
45193
|
-
var import_which2 = __toESM(
|
|
45097
|
+
var import_which2 = __toESM(require_which(), 1);
|
|
45194
45098
|
var import_yaml = __toESM(require_dist3(), 1);
|
|
45195
45099
|
var argv = (0, import_minimist.default)(process.argv.slice(2));
|
|
45196
45100
|
var globby2 = Object.assign(function globby3(patterns, options) {
|
|
@@ -45200,7 +45104,7 @@ var globby2 = Object.assign(function globby3(patterns, options) {
|
|
|
45200
45104
|
// package.json
|
|
45201
45105
|
var package_default = {
|
|
45202
45106
|
name: "create-tamagui",
|
|
45203
|
-
version: "1.5.
|
|
45107
|
+
version: "1.5.24",
|
|
45204
45108
|
bin: "./run.js",
|
|
45205
45109
|
main: "dist",
|
|
45206
45110
|
files: [
|
|
@@ -45234,7 +45138,7 @@ var package_default = {
|
|
|
45234
45138
|
},
|
|
45235
45139
|
devDependencies: {
|
|
45236
45140
|
"@playwright/test": "^1.29.0",
|
|
45237
|
-
"@tamagui/build": "
|
|
45141
|
+
"@tamagui/build": "1.5.24",
|
|
45238
45142
|
"@types/async-retry": "1.4.2",
|
|
45239
45143
|
"@types/cross-spawn": "^6.0.2",
|
|
45240
45144
|
"@types/node": "^16.11.9",
|