@shopify/create-app 3.67.1 → 3.67.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/{chunk-AZ47753Z.js → chunk-2AKJOXKF.js} +2 -2
- package/dist/{chunk-X4PTOOZW.js → chunk-47KHPN74.js} +2 -2
- package/dist/{chunk-ZSO54CGJ.js → chunk-5CJ2PAOQ.js} +6 -6
- package/dist/{chunk-QH7VTTGK.js → chunk-5DDGYHWQ.js} +6 -6
- package/dist/{chunk-JHN6JQJ6.js → chunk-6HNSAQUQ.js} +4 -4
- package/dist/{chunk-TV5LJHC5.js → chunk-CY3LEFAX.js} +4 -4
- package/dist/{chunk-QFQCHQ24.js → chunk-FYQA3LMQ.js} +12 -222
- package/dist/{chunk-NWC4ORCS.js → chunk-LZL33GYG.js} +8 -8
- package/dist/{chunk-R4JYIGZ6.js → chunk-MQ4JLDAP.js} +2 -2
- package/dist/{chunk-QB544PAD.js → chunk-PJED6JGX.js} +2 -2
- package/dist/{chunk-3R2K56R4.js → chunk-QSEULMKZ.js} +2 -2
- package/dist/{chunk-H3SGNEP3.js → chunk-VNI2UGGP.js} +6 -6
- package/dist/{chunk-7TIEQFXZ.js → chunk-VRYV7EGA.js} +4 -4
- package/dist/{chunk-B5HFPT7G.js → chunk-XGJ7A6FA.js} +2 -2
- package/dist/commands/init.js +14 -14
- package/dist/commands/init.test.js +14 -14
- package/dist/{custom-oclif-loader-P7CQYRCS.js → custom-oclif-loader-S6W6HLBZ.js} +2 -2
- package/dist/{error-handler-73YUB4PB.js → error-handler-BXUU57G3.js} +9 -9
- package/dist/hooks/postrun.js +7 -7
- package/dist/hooks/prerun.js +5 -5
- package/dist/index.js +1 -1
- package/dist/{local-7ZNEHAZM.js → local-AZIOOSYX.js} +2 -2
- package/dist/{node-package-manager-EV7MLIUF.js → node-package-manager-WKEWOZZM.js} +3 -3
- package/dist/prompts/init.js +2 -2
- package/dist/prompts/init.test.js +2 -2
- package/dist/services/init.js +8 -8
- package/dist/{system-WOOCGJ5M.js → system-F6LDAM7R.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-YRQ272UN.js → ui-NGM5XY5J.js} +2 -2
- package/dist/utils/template/cleanup.js +2 -2
- package/dist/utils/template/cleanup.test.js +2 -2
- package/dist/utils/template/npm.js +4 -4
- package/dist/utils/template/npm.test.js +4 -4
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
outputDebug,
|
|
8
8
|
runWithTimer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
10
10
|
import {
|
|
11
11
|
__commonJS,
|
|
12
12
|
__require,
|
|
@@ -27907,4 +27907,4 @@ mime-types/index.js:
|
|
|
27907
27907
|
* MIT Licensed
|
|
27908
27908
|
*)
|
|
27909
27909
|
*/
|
|
27910
|
-
//# sourceMappingURL=chunk-
|
|
27910
|
+
//# sourceMappingURL=chunk-2AKJOXKF.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
require_get_stream,
|
|
17
17
|
runWithTimer,
|
|
18
18
|
writeFile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
20
20
|
import {
|
|
21
21
|
envPaths
|
|
22
22
|
} from "./chunk-2IV4ZS5T.js";
|
|
@@ -15360,4 +15360,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
15360
15360
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15361
15361
|
*)
|
|
15362
15362
|
*/
|
|
15363
|
-
//# sourceMappingURL=chunk-
|
|
15363
|
+
//# sourceMappingURL=chunk-47KHPN74.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2AKJOXKF.js";
|
|
4
4
|
import {
|
|
5
5
|
getEnvironmentData,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6HNSAQUQ.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_KIT_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QSEULMKZ.js";
|
|
11
11
|
import {
|
|
12
12
|
require_semver,
|
|
13
13
|
runWithRateLimit
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-47KHPN74.js";
|
|
15
15
|
import {
|
|
16
16
|
alwaysLogAnalytics,
|
|
17
17
|
alwaysLogMetrics,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
outputContent,
|
|
27
27
|
outputDebug,
|
|
28
28
|
outputToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
30
30
|
import {
|
|
31
31
|
reportingRateLimit
|
|
32
32
|
} from "./chunk-2IV4ZS5T.js";
|
|
@@ -15821,4 +15821,4 @@ export {
|
|
|
15821
15821
|
fanoutHooks,
|
|
15822
15822
|
reportAnalyticsEvent
|
|
15823
15823
|
};
|
|
15824
|
-
//# sourceMappingURL=chunk-
|
|
15824
|
+
//# sourceMappingURL=chunk-5CJ2PAOQ.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5CJ2PAOQ.js";
|
|
8
8
|
import {
|
|
9
9
|
getEnvironmentData
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6HNSAQUQ.js";
|
|
11
11
|
import {
|
|
12
12
|
CLI_KIT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QSEULMKZ.js";
|
|
14
14
|
import {
|
|
15
15
|
runWithRateLimit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-47KHPN74.js";
|
|
17
17
|
import {
|
|
18
18
|
AbortSilentError,
|
|
19
19
|
CancelExecution,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
outputInfo,
|
|
27
27
|
require_stacktracey,
|
|
28
28
|
shouldReportError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
30
30
|
import {
|
|
31
31
|
bugsnagApiKey,
|
|
32
32
|
reportingRateLimit
|
|
@@ -2154,4 +2154,4 @@ export {
|
|
|
2154
2154
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2155
2155
|
addBugsnagMetadata
|
|
2156
2156
|
};
|
|
2157
|
-
//# sourceMappingURL=chunk-
|
|
2157
|
+
//# sourceMappingURL=chunk-5DDGYHWQ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
platformAndArch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MQ4JLDAP.js";
|
|
4
4
|
import {
|
|
5
5
|
getPackageManager,
|
|
6
6
|
packageManagerFromUserAgent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-47KHPN74.js";
|
|
8
8
|
import {
|
|
9
9
|
addPublicMetadata,
|
|
10
10
|
addSensitiveMetadata,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
cloudEnvironment,
|
|
13
13
|
currentProcessIsGlobal,
|
|
14
14
|
macAddress
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
16
16
|
import {
|
|
17
17
|
cwd
|
|
18
18
|
} from "./chunk-4DRC2PSU.js";
|
|
@@ -91,4 +91,4 @@ export {
|
|
|
91
91
|
getEnvironmentData,
|
|
92
92
|
getSensitiveEnvironmentData
|
|
93
93
|
};
|
|
94
|
-
//# sourceMappingURL=chunk-
|
|
94
|
+
//# sourceMappingURL=chunk-6HNSAQUQ.js.map
|
|
@@ -17,7 +17,7 @@ import { fileURLToPath } from "url";
|
|
|
17
17
|
async function warnIfOldNodeVersion() {
|
|
18
18
|
let nodeVersion = process.versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
19
19
|
if (nodeMajorVersion < 18) {
|
|
20
|
-
let { renderWarning } = await import("./ui-
|
|
20
|
+
let { renderWarning } = await import("./ui-NGM5XY5J.js");
|
|
21
21
|
renderWarning({
|
|
22
22
|
headline: "Upgrade to a supported Node version now.",
|
|
23
23
|
body: [
|
|
@@ -42,7 +42,7 @@ function forceNoColor() {
|
|
|
42
42
|
}
|
|
43
43
|
async function runCLI(options) {
|
|
44
44
|
setupEnvironmentVariables(options), forceNoColor(), await warnIfOldNodeVersion();
|
|
45
|
-
let { errorHandler } = await import("./error-handler-
|
|
45
|
+
let { errorHandler } = await import("./error-handler-BXUU57G3.js"), { isDevelopment } = await import("./local-AZIOOSYX.js"), oclif = await import("./lib-FYUAIYTL.js"), { ShopifyConfig } = await import("./custom-oclif-loader-S6W6HLBZ.js");
|
|
46
46
|
isDevelopment() && (oclif.default.settings.debug = !0);
|
|
47
47
|
try {
|
|
48
48
|
let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
|
|
@@ -53,7 +53,7 @@ async function runCLI(options) {
|
|
|
53
53
|
}
|
|
54
54
|
async function runCreateCLI(options) {
|
|
55
55
|
setupEnvironmentVariables(options);
|
|
56
|
-
let { findUpAndReadPackageJson } = await import("./node-package-manager-
|
|
56
|
+
let { findUpAndReadPackageJson } = await import("./node-package-manager-WKEWOZZM.js"), { moduleDirectory } = await import("./path-L375JOQ2.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
57
57
|
if (process.argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
58
58
|
let initIndex2 = process.argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
59
59
|
process.argv.splice(initIndex2, 0, "init");
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
runCreateCLI,
|
|
78
78
|
globalFlags
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-CY3LEFAX.js.map
|
|
@@ -7,7 +7,6 @@ import {
|
|
|
7
7
|
} from "./chunk-2IV4ZS5T.js";
|
|
8
8
|
import {
|
|
9
9
|
cwd,
|
|
10
|
-
dirname,
|
|
11
10
|
joinPath,
|
|
12
11
|
normalizePath,
|
|
13
12
|
relativizePath,
|
|
@@ -4213,208 +4212,6 @@ var require_merge_stream = __commonJS({
|
|
|
4213
4212
|
}
|
|
4214
4213
|
});
|
|
4215
4214
|
|
|
4216
|
-
// ../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/posix.js
|
|
4217
|
-
var require_posix = __commonJS({
|
|
4218
|
-
"../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/posix.js"(exports) {
|
|
4219
|
-
"use strict";
|
|
4220
|
-
init_cjs_shims();
|
|
4221
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
4222
|
-
exports.sync = exports.isexe = void 0;
|
|
4223
|
-
var fs_1 = __require("fs"), promises_1 = __require("fs/promises"), isexe = async (path7, options = {}) => {
|
|
4224
|
-
let { ignoreErrors = !1 } = options;
|
|
4225
|
-
try {
|
|
4226
|
-
return checkStat(await (0, promises_1.stat)(path7), options);
|
|
4227
|
-
} catch (e) {
|
|
4228
|
-
let er = e;
|
|
4229
|
-
if (ignoreErrors || er.code === "EACCES")
|
|
4230
|
-
return !1;
|
|
4231
|
-
throw er;
|
|
4232
|
-
}
|
|
4233
|
-
};
|
|
4234
|
-
exports.isexe = isexe;
|
|
4235
|
-
var sync = (path7, options = {}) => {
|
|
4236
|
-
let { ignoreErrors = !1 } = options;
|
|
4237
|
-
try {
|
|
4238
|
-
return checkStat((0, fs_1.statSync)(path7), options);
|
|
4239
|
-
} catch (e) {
|
|
4240
|
-
let er = e;
|
|
4241
|
-
if (ignoreErrors || er.code === "EACCES")
|
|
4242
|
-
return !1;
|
|
4243
|
-
throw er;
|
|
4244
|
-
}
|
|
4245
|
-
};
|
|
4246
|
-
exports.sync = sync;
|
|
4247
|
-
var checkStat = (stat, options) => stat.isFile() && checkMode(stat, options), checkMode = (stat, options) => {
|
|
4248
|
-
let myUid = options.uid ?? process.getuid?.(), myGroups = options.groups ?? process.getgroups?.() ?? [], myGid = options.gid ?? process.getgid?.() ?? myGroups[0];
|
|
4249
|
-
if (myUid === void 0 || myGid === void 0)
|
|
4250
|
-
throw new Error("cannot get uid or gid");
|
|
4251
|
-
let groups = /* @__PURE__ */ new Set([myGid, ...myGroups]), mod = stat.mode, uid = stat.uid, gid = stat.gid, u = parseInt("100", 8), g = parseInt("010", 8), o = parseInt("001", 8), ug = u | g;
|
|
4252
|
-
return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);
|
|
4253
|
-
};
|
|
4254
|
-
}
|
|
4255
|
-
});
|
|
4256
|
-
|
|
4257
|
-
// ../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/win32.js
|
|
4258
|
-
var require_win32 = __commonJS({
|
|
4259
|
-
"../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/win32.js"(exports) {
|
|
4260
|
-
"use strict";
|
|
4261
|
-
init_cjs_shims();
|
|
4262
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
4263
|
-
exports.sync = exports.isexe = void 0;
|
|
4264
|
-
var fs_1 = __require("fs"), promises_1 = __require("fs/promises"), isexe = async (path7, options = {}) => {
|
|
4265
|
-
let { ignoreErrors = !1 } = options;
|
|
4266
|
-
try {
|
|
4267
|
-
return checkStat(await (0, promises_1.stat)(path7), path7, options);
|
|
4268
|
-
} catch (e) {
|
|
4269
|
-
let er = e;
|
|
4270
|
-
if (ignoreErrors || er.code === "EACCES")
|
|
4271
|
-
return !1;
|
|
4272
|
-
throw er;
|
|
4273
|
-
}
|
|
4274
|
-
};
|
|
4275
|
-
exports.isexe = isexe;
|
|
4276
|
-
var sync = (path7, options = {}) => {
|
|
4277
|
-
let { ignoreErrors = !1 } = options;
|
|
4278
|
-
try {
|
|
4279
|
-
return checkStat((0, fs_1.statSync)(path7), path7, options);
|
|
4280
|
-
} catch (e) {
|
|
4281
|
-
let er = e;
|
|
4282
|
-
if (ignoreErrors || er.code === "EACCES")
|
|
4283
|
-
return !1;
|
|
4284
|
-
throw er;
|
|
4285
|
-
}
|
|
4286
|
-
};
|
|
4287
|
-
exports.sync = sync;
|
|
4288
|
-
var checkPathExt = (path7, options) => {
|
|
4289
|
-
let { pathExt = process.env.PATHEXT || "" } = options, peSplit = pathExt.split(";");
|
|
4290
|
-
if (peSplit.indexOf("") !== -1)
|
|
4291
|
-
return !0;
|
|
4292
|
-
for (let i = 0; i < peSplit.length; i++) {
|
|
4293
|
-
let p = peSplit[i].toLowerCase(), ext2 = path7.substring(path7.length - p.length).toLowerCase();
|
|
4294
|
-
if (p && ext2 === p)
|
|
4295
|
-
return !0;
|
|
4296
|
-
}
|
|
4297
|
-
return !1;
|
|
4298
|
-
}, checkStat = (stat, path7, options) => stat.isFile() && checkPathExt(path7, options);
|
|
4299
|
-
}
|
|
4300
|
-
});
|
|
4301
|
-
|
|
4302
|
-
// ../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/options.js
|
|
4303
|
-
var require_options = __commonJS({
|
|
4304
|
-
"../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/options.js"(exports) {
|
|
4305
|
-
"use strict";
|
|
4306
|
-
init_cjs_shims();
|
|
4307
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
4308
|
-
}
|
|
4309
|
-
});
|
|
4310
|
-
|
|
4311
|
-
// ../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/index.js
|
|
4312
|
-
var require_cjs = __commonJS({
|
|
4313
|
-
"../../node_modules/.pnpm/isexe@3.1.1/node_modules/isexe/dist/cjs/index.js"(exports) {
|
|
4314
|
-
"use strict";
|
|
4315
|
-
init_cjs_shims();
|
|
4316
|
-
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
4317
|
-
k2 === void 0 && (k2 = k);
|
|
4318
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4319
|
-
(!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
|
|
4320
|
-
return m[k];
|
|
4321
|
-
} }), Object.defineProperty(o, k2, desc);
|
|
4322
|
-
} : function(o, m, k, k2) {
|
|
4323
|
-
k2 === void 0 && (k2 = k), o[k2] = m[k];
|
|
4324
|
-
}), __setModuleDefault2 = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
4325
|
-
Object.defineProperty(o, "default", { enumerable: !0, value: v });
|
|
4326
|
-
} : function(o, v) {
|
|
4327
|
-
o.default = v;
|
|
4328
|
-
}), __importStar2 = exports && exports.__importStar || function(mod) {
|
|
4329
|
-
if (mod && mod.__esModule)
|
|
4330
|
-
return mod;
|
|
4331
|
-
var result = {};
|
|
4332
|
-
if (mod != null)
|
|
4333
|
-
for (var k in mod)
|
|
4334
|
-
k !== "default" && Object.prototype.hasOwnProperty.call(mod, k) && __createBinding2(result, mod, k);
|
|
4335
|
-
return __setModuleDefault2(result, mod), result;
|
|
4336
|
-
}, __exportStar2 = exports && exports.__exportStar || function(m, exports2) {
|
|
4337
|
-
for (var p in m)
|
|
4338
|
-
p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding2(exports2, m, p);
|
|
4339
|
-
};
|
|
4340
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
4341
|
-
exports.sync = exports.isexe = exports.posix = exports.win32 = void 0;
|
|
4342
|
-
var posix = __importStar2(require_posix());
|
|
4343
|
-
exports.posix = posix;
|
|
4344
|
-
var win32 = __importStar2(require_win32());
|
|
4345
|
-
exports.win32 = win32;
|
|
4346
|
-
__exportStar2(require_options(), exports);
|
|
4347
|
-
var platform2 = process.env._ISEXE_TEST_PLATFORM_ || process.platform, impl = platform2 === "win32" ? win32 : posix;
|
|
4348
|
-
exports.isexe = impl.isexe;
|
|
4349
|
-
exports.sync = impl.sync;
|
|
4350
|
-
}
|
|
4351
|
-
});
|
|
4352
|
-
|
|
4353
|
-
// ../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js
|
|
4354
|
-
var require_lib2 = __commonJS({
|
|
4355
|
-
"../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js"(exports, module) {
|
|
4356
|
-
init_cjs_shims();
|
|
4357
|
-
var { isexe, sync: isexeSync } = require_cjs(), { join: join2, delimiter, sep: sep2, posix } = __require("path"), isWindows2 = process.platform === "win32", rSlash = new RegExp(`[${posix.sep}${sep2 === posix.sep ? "" : sep2}]`.replace(/(\\)/g, "\\$1")), rRel = new RegExp(`^\\.${rSlash.source}`), getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" }), getPathInfo = (cmd, {
|
|
4358
|
-
path: optPath = process.env.PATH,
|
|
4359
|
-
pathExt: optPathExt = process.env.PATHEXT,
|
|
4360
|
-
delimiter: optDelimiter = delimiter
|
|
4361
|
-
}) => {
|
|
4362
|
-
let pathEnv = cmd.match(rSlash) ? [""] : [
|
|
4363
|
-
// windows always checks the cwd first
|
|
4364
|
-
...isWindows2 ? [process.cwd()] : [],
|
|
4365
|
-
...(optPath || /* istanbul ignore next: very unusual */
|
|
4366
|
-
"").split(optDelimiter)
|
|
4367
|
-
];
|
|
4368
|
-
if (isWindows2) {
|
|
4369
|
-
let pathExtExe = optPathExt || [".EXE", ".CMD", ".BAT", ".COM"].join(optDelimiter), pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()]);
|
|
4370
|
-
return cmd.includes(".") && pathExt[0] !== "" && pathExt.unshift(""), { pathEnv, pathExt, pathExtExe };
|
|
4371
|
-
}
|
|
4372
|
-
return { pathEnv, pathExt: [""] };
|
|
4373
|
-
}, getPathPart = (raw, cmd) => {
|
|
4374
|
-
let pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
|
|
4375
|
-
return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join2(pathPart, cmd);
|
|
4376
|
-
}, which2 = async (cmd, opt = {}) => {
|
|
4377
|
-
let { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt), found = [];
|
|
4378
|
-
for (let envPart of pathEnv) {
|
|
4379
|
-
let p = getPathPart(envPart, cmd);
|
|
4380
|
-
for (let ext2 of pathExt) {
|
|
4381
|
-
let withExt = p + ext2;
|
|
4382
|
-
if (await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: !0 })) {
|
|
4383
|
-
if (!opt.all)
|
|
4384
|
-
return withExt;
|
|
4385
|
-
found.push(withExt);
|
|
4386
|
-
}
|
|
4387
|
-
}
|
|
4388
|
-
}
|
|
4389
|
-
if (opt.all && found.length)
|
|
4390
|
-
return found;
|
|
4391
|
-
if (opt.nothrow)
|
|
4392
|
-
return null;
|
|
4393
|
-
throw getNotFoundError(cmd);
|
|
4394
|
-
}, whichSync = (cmd, opt = {}) => {
|
|
4395
|
-
let { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt), found = [];
|
|
4396
|
-
for (let pathEnvPart of pathEnv) {
|
|
4397
|
-
let p = getPathPart(pathEnvPart, cmd);
|
|
4398
|
-
for (let ext2 of pathExt) {
|
|
4399
|
-
let withExt = p + ext2;
|
|
4400
|
-
if (isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: !0 })) {
|
|
4401
|
-
if (!opt.all)
|
|
4402
|
-
return withExt;
|
|
4403
|
-
found.push(withExt);
|
|
4404
|
-
}
|
|
4405
|
-
}
|
|
4406
|
-
}
|
|
4407
|
-
if (opt.all && found.length)
|
|
4408
|
-
return found;
|
|
4409
|
-
if (opt.nothrow)
|
|
4410
|
-
return null;
|
|
4411
|
-
throw getNotFoundError(cmd);
|
|
4412
|
-
};
|
|
4413
|
-
module.exports = which2;
|
|
4414
|
-
which2.sync = whichSync;
|
|
4415
|
-
}
|
|
4416
|
-
});
|
|
4417
|
-
|
|
4418
4215
|
// ../../node_modules/.pnpm/macaddress@0.5.3/node_modules/macaddress/lib/util.js
|
|
4419
4216
|
var require_util = __commonJS({
|
|
4420
4217
|
"../../node_modules/.pnpm/macaddress@0.5.3/node_modules/macaddress/lib/util.js"(exports, module) {
|
|
@@ -21090,7 +20887,7 @@ var require_helpers = __commonJS({
|
|
|
21090
20887
|
});
|
|
21091
20888
|
|
|
21092
20889
|
// ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/cjs.js
|
|
21093
|
-
var
|
|
20890
|
+
var require_cjs = __commonJS({
|
|
21094
20891
|
"../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/cjs.js"(exports) {
|
|
21095
20892
|
"use strict";
|
|
21096
20893
|
init_cjs_shims();
|
|
@@ -24075,22 +23872,22 @@ var globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/, regExpEscape2 = (s) => s.replace(/[-[
|
|
|
24075
23872
|
return globParts.filter((gs) => gs.length);
|
|
24076
23873
|
}
|
|
24077
23874
|
partsMatch(a, b, emptyGSMatch = !1) {
|
|
24078
|
-
let ai = 0, bi = 0, result = [],
|
|
23875
|
+
let ai = 0, bi = 0, result = [], which = "";
|
|
24079
23876
|
for (; ai < a.length && bi < b.length; )
|
|
24080
23877
|
if (a[ai] === b[bi])
|
|
24081
|
-
result.push(
|
|
23878
|
+
result.push(which === "b" ? b[bi] : a[ai]), ai++, bi++;
|
|
24082
23879
|
else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1])
|
|
24083
23880
|
result.push(a[ai]), ai++;
|
|
24084
23881
|
else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1])
|
|
24085
23882
|
result.push(b[bi]), bi++;
|
|
24086
23883
|
else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
|
|
24087
|
-
if (
|
|
23884
|
+
if (which === "b")
|
|
24088
23885
|
return !1;
|
|
24089
|
-
|
|
23886
|
+
which = "a", result.push(a[ai]), ai++, bi++;
|
|
24090
23887
|
} else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
|
|
24091
|
-
if (
|
|
23888
|
+
if (which === "a")
|
|
24092
23889
|
return !1;
|
|
24093
|
-
|
|
23890
|
+
which = "b", result.push(b[bi]), ai++, bi++;
|
|
24094
23891
|
} else
|
|
24095
23892
|
return !1;
|
|
24096
23893
|
return a.length === b.length && result;
|
|
@@ -25266,7 +25063,6 @@ function create$(options) {
|
|
|
25266
25063
|
var $ = create$();
|
|
25267
25064
|
|
|
25268
25065
|
// ../cli-kit/src/public/node/system.ts
|
|
25269
|
-
var import_which = __toESM(require_lib2(), 1);
|
|
25270
25066
|
async function openURL(url) {
|
|
25271
25067
|
await (await import("./open-MZGVNFZO.js")).default(url);
|
|
25272
25068
|
}
|
|
@@ -25296,7 +25092,7 @@ async function exec2(command, args, options) {
|
|
|
25296
25092
|
}
|
|
25297
25093
|
function buildExec(command, args, options) {
|
|
25298
25094
|
let env2 = options?.env ?? process.env;
|
|
25299
|
-
shouldDisplayColors() && (env2.FORCE_COLOR = "1")
|
|
25095
|
+
shouldDisplayColors() && (env2.FORCE_COLOR = "1");
|
|
25300
25096
|
let commandProcess = execa(command, args, {
|
|
25301
25097
|
env: env2,
|
|
25302
25098
|
cwd: options?.cwd,
|
|
@@ -25315,12 +25111,6 @@ Running system process:
|
|
|
25315
25111
|
\xB7 Working directory: ${options?.cwd ?? cwd()}
|
|
25316
25112
|
`), commandProcess;
|
|
25317
25113
|
}
|
|
25318
|
-
function checkCommandSafety(command) {
|
|
25319
|
-
if (dirname(import_which.default.sync(command)) === cwd()) {
|
|
25320
|
-
let headline = ["Skipped run of unsecure binary", { command }, "found in the current directory."], body = "Please remove that file or review your current PATH.";
|
|
25321
|
-
throw renderWarning({ headline, body }), new AbortError(headline, body);
|
|
25322
|
-
}
|
|
25323
|
-
}
|
|
25324
25114
|
async function sleep(seconds) {
|
|
25325
25115
|
return new Promise((resolve) => {
|
|
25326
25116
|
setTimeout(resolve, 1e3 * seconds);
|
|
@@ -29637,7 +29427,7 @@ function outputContent(strings, ...keys) {
|
|
|
29637
29427
|
let token = keys[i];
|
|
29638
29428
|
if (typeof token == "string")
|
|
29639
29429
|
output += token;
|
|
29640
|
-
else {
|
|
29430
|
+
else if (token) {
|
|
29641
29431
|
let enumTokenOutput = token.output();
|
|
29642
29432
|
Array.isArray(enumTokenOutput) ? enumTokenOutput.forEach((line) => {
|
|
29643
29433
|
output += line;
|
|
@@ -29718,7 +29508,7 @@ function shouldDisplayColors(_process = process) {
|
|
|
29718
29508
|
}
|
|
29719
29509
|
|
|
29720
29510
|
// ../cli-kit/src/public/node/error.ts
|
|
29721
|
-
var import_core2 = __toESM(require_lib(), 1), import_ts_error = __toESM(
|
|
29511
|
+
var import_core2 = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1);
|
|
29722
29512
|
var CancelExecution = class extends Error {
|
|
29723
29513
|
}, FatalError = class extends Error {
|
|
29724
29514
|
/**
|
|
@@ -29822,7 +29612,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
29822
29612
|
try {
|
|
29823
29613
|
await getAndSet();
|
|
29824
29614
|
} catch (error) {
|
|
29825
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
29615
|
+
let { sendErrorToBugsnag } = await import("./error-handler-BXUU57G3.js");
|
|
29826
29616
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
29827
29617
|
}
|
|
29828
29618
|
}, durationStack = [];
|
|
@@ -31646,4 +31436,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31646
31436
|
* LICENSE file in the root directory of this source tree.
|
|
31647
31437
|
*)
|
|
31648
31438
|
*/
|
|
31649
|
-
//# sourceMappingURL=chunk-
|
|
31439
|
+
//# sourceMappingURL=chunk-FYQA3LMQ.js.map
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
errorHandler,
|
|
3
3
|
registerCleanBugsnagErrorsFromWithinPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5DDGYHWQ.js";
|
|
5
5
|
import {
|
|
6
6
|
init_default as init_default2
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VNI2UGGP.js";
|
|
8
8
|
import {
|
|
9
9
|
hashString
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6HNSAQUQ.js";
|
|
11
11
|
import {
|
|
12
12
|
packageManager,
|
|
13
13
|
packageManagerFromUserAgent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-47KHPN74.js";
|
|
15
15
|
import {
|
|
16
16
|
globalFlags
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CY3LEFAX.js";
|
|
18
18
|
import {
|
|
19
19
|
init_default,
|
|
20
20
|
isPredefinedTemplate,
|
|
21
21
|
templates,
|
|
22
22
|
visibleTemplates
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PJED6JGX.js";
|
|
24
24
|
import {
|
|
25
25
|
AbortError,
|
|
26
26
|
addPublicMetadata,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
renderWarning,
|
|
38
38
|
terminalSupportsPrompting,
|
|
39
39
|
underscore
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
41
41
|
import {
|
|
42
42
|
cwd,
|
|
43
43
|
resolvePath
|
|
@@ -1844,4 +1844,4 @@ var Init = class _Init extends base_command_default {
|
|
|
1844
1844
|
export {
|
|
1845
1845
|
Init
|
|
1846
1846
|
};
|
|
1847
|
-
//# sourceMappingURL=chunk-
|
|
1847
|
+
//# sourceMappingURL=chunk-LZL33GYG.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
execa,
|
|
3
3
|
outputContent,
|
|
4
4
|
outputDebug
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
6
6
|
import {
|
|
7
7
|
init_cjs_shims
|
|
8
8
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
username,
|
|
61
61
|
platformAndArch
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-MQ4JLDAP.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
renderSelectPrompt,
|
|
5
5
|
renderText,
|
|
6
6
|
renderTextPrompt
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
8
8
|
import {
|
|
9
9
|
__export,
|
|
10
10
|
init_cjs_shims
|
|
@@ -105,4 +105,4 @@ export {
|
|
|
105
105
|
isPredefinedTemplate,
|
|
106
106
|
init_exports
|
|
107
107
|
};
|
|
108
|
-
//# sourceMappingURL=chunk-
|
|
108
|
+
//# sourceMappingURL=chunk-PJED6JGX.js.map
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// ../cli-kit/src/public/common/version.ts
|
|
6
6
|
init_cjs_shims();
|
|
7
|
-
var CLI_KIT_VERSION = "3.67.
|
|
7
|
+
var CLI_KIT_VERSION = "3.67.2";
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
CLI_KIT_VERSION
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk-
|
|
12
|
+
//# sourceMappingURL=chunk-QSEULMKZ.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XGJ7A6FA.js";
|
|
4
4
|
import {
|
|
5
5
|
getDeepInstallNPMTasks,
|
|
6
6
|
updateCLIDependencies
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VRYV7EGA.js";
|
|
8
8
|
import {
|
|
9
9
|
username
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MQ4JLDAP.js";
|
|
11
11
|
import {
|
|
12
12
|
LocalStorage,
|
|
13
13
|
UnknownPackageManagerError,
|
|
14
14
|
findUpAndReadPackageJson,
|
|
15
15
|
lockfiles,
|
|
16
16
|
writePackageJSON
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-47KHPN74.js";
|
|
18
18
|
import {
|
|
19
19
|
AbortError,
|
|
20
20
|
appendFile,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
renderTasks,
|
|
43
43
|
runWithTimer,
|
|
44
44
|
writeFile
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
46
46
|
import {
|
|
47
47
|
dirname,
|
|
48
48
|
joinPath,
|
|
@@ -5622,4 +5622,4 @@ var init_default = init;
|
|
|
5622
5622
|
export {
|
|
5623
5623
|
init_default
|
|
5624
5624
|
};
|
|
5625
|
-
//# sourceMappingURL=chunk-
|
|
5625
|
+
//# sourceMappingURL=chunk-VNI2UGGP.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QSEULMKZ.js";
|
|
4
4
|
import {
|
|
5
5
|
installNodeModules
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-47KHPN74.js";
|
|
7
7
|
import {
|
|
8
8
|
findPathUp
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
10
10
|
import {
|
|
11
11
|
moduleDirectory,
|
|
12
12
|
normalizePath
|
|
@@ -51,4 +51,4 @@ export {
|
|
|
51
51
|
updateCLIDependencies,
|
|
52
52
|
getDeepInstallNPMTasks
|
|
53
53
|
};
|
|
54
|
-
//# sourceMappingURL=chunk-
|
|
54
|
+
//# sourceMappingURL=chunk-VRYV7EGA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
glob,
|
|
3
3
|
rmdir
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FYQA3LMQ.js";
|
|
5
5
|
import {
|
|
6
6
|
joinPath
|
|
7
7
|
} from "./chunk-4DRC2PSU.js";
|
|
@@ -35,4 +35,4 @@ async function cleanup(webOutputDirectory) {
|
|
|
35
35
|
export {
|
|
36
36
|
cleanup
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-XGJ7A6FA.js.map
|