create-tamagui 1.68.0 → 1.68.2
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 +12 -4
- package/dist/index.js.map +1 -1
- package/dist/index.native.js +12 -4
- package/dist/index.native.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -25972,7 +25972,7 @@ var globby2 = Object.assign(function(patterns, options) {
|
|
|
25972
25972
|
// package.json
|
|
25973
25973
|
var package_default = {
|
|
25974
25974
|
name: "create-tamagui",
|
|
25975
|
-
version: "1.
|
|
25975
|
+
version: "1.68.1",
|
|
25976
25976
|
bin: "./run.js",
|
|
25977
25977
|
main: "dist",
|
|
25978
25978
|
files: [
|
|
@@ -25993,7 +25993,7 @@ var package_default = {
|
|
|
25993
25993
|
devDependencies: {
|
|
25994
25994
|
"@expo/package-manager": "^0.0.50",
|
|
25995
25995
|
"@playwright/test": "^1.29.0",
|
|
25996
|
-
"@tamagui/build": "1.
|
|
25996
|
+
"@tamagui/build": "1.68.1",
|
|
25997
25997
|
"@types/async-retry": "1.4.2",
|
|
25998
25998
|
"@types/cross-spawn": "^6.0.2",
|
|
25999
25999
|
"@types/node": "^16.11.9",
|
|
@@ -31397,9 +31397,17 @@ async function setupTamaguiDotDir(template, isRetry = !1) {
|
|
|
31397
31397
|
else {
|
|
31398
31398
|
console.log("Cloning tamagui base directory"), console.log();
|
|
31399
31399
|
let sourceGitRepo = template.repo.url, cmd = `git clone --branch ${branch} ${isInSubDir ? "--depth 1 --sparse --filter=blob:none " : ""}${sourceGitRepo} "${targetGitDir}"`;
|
|
31400
|
-
console.log(`$ ${cmd}`), console.log();
|
|
31401
31400
|
try {
|
|
31402
|
-
|
|
31401
|
+
try {
|
|
31402
|
+
console.log(`$ ${cmd}`), console.log(), (0, import_child_process.execSync)(cmd);
|
|
31403
|
+
} catch (error) {
|
|
31404
|
+
if (cmd.includes("https://")) {
|
|
31405
|
+
console.log("https failed - trying with ssh now...");
|
|
31406
|
+
let sshCmd = cmd.replace("https://", "ssh://");
|
|
31407
|
+
console.log(`$ ${sshCmd}`), console.log(), (0, import_child_process.execSync)(sshCmd);
|
|
31408
|
+
} else
|
|
31409
|
+
throw error;
|
|
31410
|
+
}
|
|
31403
31411
|
} catch (error) {
|
|
31404
31412
|
throw error instanceof Error && template.value === "takeout-starter" && error != null && error.stderr.includes("Repository not found") && (console.log(
|
|
31405
31413
|
import_chalk7.default.yellow(
|