@shopify/create-app 3.60.1 → 3.61.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.
- package/dist/{chunk-TKY6QESY.js → chunk-5MCGL7UQ.js} +12 -9
- package/dist/{chunk-ZBKHJE3N.js → chunk-5ZQGZROG.js} +1 -1
- package/dist/{chunk-LDECNC3Y.js → chunk-7DQJXYT6.js} +3 -3
- package/dist/{chunk-OXJ5MQHM.js → chunk-7GUERDDS.js} +1 -1
- package/dist/{chunk-O6M5TKNA.js → chunk-7SB7WQ6J.js} +5 -5
- package/dist/{chunk-GOKYAXOZ.js → chunk-BO6VY6XY.js} +2598 -795
- package/dist/{chunk-ZZNPAHP2.js → chunk-CJVWT6IG.js} +3603 -4080
- package/dist/{chunk-M64BQPYS.js → chunk-CKKF7TFO.js} +1 -1
- package/dist/{chunk-TMGCRPEZ.js → chunk-HTYJDJRZ.js} +685 -215
- package/dist/{chunk-ZPB26OWQ.js → chunk-K5EEGEVV.js} +34 -14
- package/dist/{chunk-P4TVG45N.js → chunk-LUP5VDI4.js} +10 -3
- package/dist/{chunk-JOHH6AAC.js → chunk-MIJHK6ZL.js} +22 -17
- package/dist/{chunk-PNYJF4EH.js → chunk-PBU62XMI.js} +23 -6
- package/dist/{chunk-UQNUIOTG.js → chunk-Q5FUGUDS.js} +1 -1
- package/dist/{chunk-JOQ4LR3M.js → chunk-R5KQZMEG.js} +1 -1
- package/dist/{chunk-YLEF4RUH.js → chunk-RAFFEFML.js} +4 -0
- package/dist/{chunk-XHBFBPB6.js → chunk-TAJ7LPFK.js} +7 -7
- package/dist/{chunk-XUFDGROC.js → chunk-TPUQWQRW.js} +3 -3
- package/dist/{chunk-3JNB3A7C.js → chunk-U4YACXEW.js} +567 -357
- package/dist/{chunk-QREVPZ7Q.js → chunk-ZNPDLJF7.js} +23 -19
- package/dist/commands/init.js +19 -19
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/init.test.js +20 -20
- package/dist/{constants-K3R4N3N3.js → constants-NNLQHFRJ.js} +3 -1
- package/dist/{custom-oclif-loader-KRA6A5M7.js → custom-oclif-loader-RLNBRURI.js} +7 -6
- package/dist/{del-A5YM6R3Y.js → del-ICEHOC6W.js} +2 -2
- package/dist/{devtools-KQM4GF6J.js → devtools-6HZ2IPFU.js} +154 -252
- package/dist/{error-handler-B3H5KJQO.js → error-handler-764JJPWK.js} +13 -13
- package/dist/hooks/postrun.js +12 -12
- package/dist/hooks/prerun.js +8 -8
- package/dist/index.js +4 -4
- package/dist/{lib-TQDGEQFC.js → lib-76RCE6WZ.js} +3 -3
- package/dist/{local-ZW3HRQCH.js → local-GRWHBAAP.js} +5 -5
- package/dist/{magic-string.es-6WMSFIAX.js → magic-string.es-6DE547FE.js} +79 -18
- package/dist/{multipart-parser-O2BQODS2.js → multipart-parser-ENLY4BKU.js} +1 -1
- package/dist/{node-package-manager-4W6NW7NV.js → node-package-manager-VZCY35QS.js} +6 -6
- package/dist/{out-JZ52TJE3.js → out-M5MRQZP5.js} +1 -1
- package/dist/prompts/init.js +6 -6
- package/dist/prompts/init.test.js +7 -7
- package/dist/services/init.d.ts +3 -0
- package/dist/services/init.js +13 -13
- package/dist/services/init.js.map +1 -1
- package/dist/services/init.test.js +1 -1
- package/dist/{system-RKPPFGSA.js → system-UYKY6OX7.js} +5 -5
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-MNEY4ULE.js → ui-P6NP425V.js} +5 -5
- package/dist/utils/template/cleanup.js +6 -6
- package/dist/utils/template/cleanup.test.js +7 -7
- package/dist/utils/template/npm.js +8 -8
- package/dist/utils/template/npm.test.js +9 -9
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -4135,20 +4135,20 @@ var require_reusify = __commonJS({
|
|
|
4135
4135
|
}
|
|
4136
4136
|
});
|
|
4137
4137
|
|
|
4138
|
-
// ../../node_modules/.pnpm/fastq@1.
|
|
4138
|
+
// ../../node_modules/.pnpm/fastq@1.17.1/node_modules/fastq/queue.js
|
|
4139
4139
|
var require_queue = __commonJS({
|
|
4140
|
-
"../../node_modules/.pnpm/fastq@1.
|
|
4140
|
+
"../../node_modules/.pnpm/fastq@1.17.1/node_modules/fastq/queue.js"(exports, module) {
|
|
4141
4141
|
"use strict";
|
|
4142
4142
|
init_cjs_shims();
|
|
4143
4143
|
var reusify = require_reusify();
|
|
4144
|
-
function fastqueue(context, worker,
|
|
4144
|
+
function fastqueue(context, worker, _concurrency) {
|
|
4145
4145
|
if (typeof context === "function") {
|
|
4146
|
-
|
|
4146
|
+
_concurrency = worker;
|
|
4147
4147
|
worker = context;
|
|
4148
4148
|
context = null;
|
|
4149
4149
|
}
|
|
4150
|
-
if (
|
|
4151
|
-
throw new Error("fastqueue concurrency must be greater than 1");
|
|
4150
|
+
if (!(_concurrency >= 1)) {
|
|
4151
|
+
throw new Error("fastqueue concurrency must be equal to or greater than 1");
|
|
4152
4152
|
}
|
|
4153
4153
|
var cache = reusify(Task);
|
|
4154
4154
|
var queueHead = null;
|
|
@@ -4161,7 +4161,21 @@ var require_queue = __commonJS({
|
|
|
4161
4161
|
saturated: noop,
|
|
4162
4162
|
pause,
|
|
4163
4163
|
paused: false,
|
|
4164
|
-
concurrency
|
|
4164
|
+
get concurrency() {
|
|
4165
|
+
return _concurrency;
|
|
4166
|
+
},
|
|
4167
|
+
set concurrency(value) {
|
|
4168
|
+
if (!(value >= 1)) {
|
|
4169
|
+
throw new Error("fastqueue concurrency must be equal to or greater than 1");
|
|
4170
|
+
}
|
|
4171
|
+
_concurrency = value;
|
|
4172
|
+
if (self.paused)
|
|
4173
|
+
return;
|
|
4174
|
+
for (; queueHead && _running < _concurrency; ) {
|
|
4175
|
+
_running++;
|
|
4176
|
+
release();
|
|
4177
|
+
}
|
|
4178
|
+
},
|
|
4165
4179
|
running,
|
|
4166
4180
|
resume,
|
|
4167
4181
|
idle,
|
|
@@ -4202,7 +4216,12 @@ var require_queue = __commonJS({
|
|
|
4202
4216
|
if (!self.paused)
|
|
4203
4217
|
return;
|
|
4204
4218
|
self.paused = false;
|
|
4205
|
-
|
|
4219
|
+
if (queueHead === null) {
|
|
4220
|
+
_running++;
|
|
4221
|
+
release();
|
|
4222
|
+
return;
|
|
4223
|
+
}
|
|
4224
|
+
for (; queueHead && _running < _concurrency; ) {
|
|
4206
4225
|
_running++;
|
|
4207
4226
|
release();
|
|
4208
4227
|
}
|
|
@@ -4217,7 +4236,7 @@ var require_queue = __commonJS({
|
|
|
4217
4236
|
current.value = value;
|
|
4218
4237
|
current.callback = done || noop;
|
|
4219
4238
|
current.errorHandler = errorHandler;
|
|
4220
|
-
if (_running
|
|
4239
|
+
if (_running >= _concurrency || self.paused) {
|
|
4221
4240
|
if (queueTail) {
|
|
4222
4241
|
queueTail.next = current;
|
|
4223
4242
|
queueTail = current;
|
|
@@ -4237,7 +4256,8 @@ var require_queue = __commonJS({
|
|
|
4237
4256
|
current.release = release;
|
|
4238
4257
|
current.value = value;
|
|
4239
4258
|
current.callback = done || noop;
|
|
4240
|
-
|
|
4259
|
+
current.errorHandler = errorHandler;
|
|
4260
|
+
if (_running >= _concurrency || self.paused) {
|
|
4241
4261
|
if (queueHead) {
|
|
4242
4262
|
current.next = queueHead;
|
|
4243
4263
|
queueHead = current;
|
|
@@ -4256,7 +4276,7 @@ var require_queue = __commonJS({
|
|
|
4256
4276
|
cache.release(holder);
|
|
4257
4277
|
}
|
|
4258
4278
|
var next = queueHead;
|
|
4259
|
-
if (next) {
|
|
4279
|
+
if (next && _running <= _concurrency) {
|
|
4260
4280
|
if (!self.paused) {
|
|
4261
4281
|
if (queueTail === queueHead) {
|
|
4262
4282
|
queueTail = null;
|
|
@@ -4312,9 +4332,9 @@ var require_queue = __commonJS({
|
|
|
4312
4332
|
self.release(self);
|
|
4313
4333
|
};
|
|
4314
4334
|
}
|
|
4315
|
-
function queueAsPromised(context, worker,
|
|
4335
|
+
function queueAsPromised(context, worker, _concurrency) {
|
|
4316
4336
|
if (typeof context === "function") {
|
|
4317
|
-
|
|
4337
|
+
_concurrency = worker;
|
|
4318
4338
|
worker = context;
|
|
4319
4339
|
context = null;
|
|
4320
4340
|
}
|
|
@@ -4323,7 +4343,7 @@ var require_queue = __commonJS({
|
|
|
4323
4343
|
cb(null, res);
|
|
4324
4344
|
}, cb);
|
|
4325
4345
|
}
|
|
4326
|
-
var queue = fastqueue(context, asyncWrapper,
|
|
4346
|
+
var queue = fastqueue(context, asyncWrapper, _concurrency);
|
|
4327
4347
|
var pushCb = queue.push;
|
|
4328
4348
|
var unshiftCb = queue.unshift;
|
|
4329
4349
|
queue.push = push;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_merge2,
|
|
3
3
|
require_out
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K5EEGEVV.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require,
|
|
@@ -142,9 +142,9 @@ var require_dir_glob = __commonJS({
|
|
|
142
142
|
}
|
|
143
143
|
});
|
|
144
144
|
|
|
145
|
-
// ../../node_modules/.pnpm/ignore@5.
|
|
145
|
+
// ../../node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js
|
|
146
146
|
var require_ignore = __commonJS({
|
|
147
|
-
"../../node_modules/.pnpm/ignore@5.
|
|
147
|
+
"../../node_modules/.pnpm/ignore@5.3.1/node_modules/ignore/index.js"(exports, module) {
|
|
148
148
|
init_cjs_shims();
|
|
149
149
|
function makeArray(subject) {
|
|
150
150
|
return Array.isArray(subject) ? subject : [subject];
|
|
@@ -176,6 +176,13 @@ var require_ignore = __commonJS({
|
|
|
176
176
|
return slashes.slice(0, length - length % 2);
|
|
177
177
|
};
|
|
178
178
|
var REPLACERS = [
|
|
179
|
+
[
|
|
180
|
+
// remove BOM
|
|
181
|
+
// TODO:
|
|
182
|
+
// Other similar zero-width characters?
|
|
183
|
+
/^\uFEFF/,
|
|
184
|
+
() => EMPTY
|
|
185
|
+
],
|
|
179
186
|
// > Trailing spaces are ignored unless they are quoted with backslash ("\")
|
|
180
187
|
[
|
|
181
188
|
// (a\ ) -> (a )
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
fanoutHooks,
|
|
6
6
|
reportAnalyticsEvent
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7SB7WQ6J.js";
|
|
8
8
|
import {
|
|
9
9
|
CLI_KIT_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q5FUGUDS.js";
|
|
11
11
|
import {
|
|
12
12
|
getEnvironmentData
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7DQJXYT6.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortSilentError,
|
|
16
16
|
CancelExecution,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
outputInfo,
|
|
24
24
|
require_stacktracey,
|
|
25
25
|
shouldReportError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CJVWT6IG.js";
|
|
27
27
|
import {
|
|
28
28
|
bugsnagApiKey
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RAFFEFML.js";
|
|
30
30
|
import {
|
|
31
31
|
cwd,
|
|
32
32
|
isAbsolutePath,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-UVY6LL5H.js";
|
|
40
40
|
import {
|
|
41
41
|
require_lib
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-R5KQZMEG.js";
|
|
43
43
|
import {
|
|
44
44
|
__commonJS,
|
|
45
45
|
__require,
|
|
@@ -697,9 +697,9 @@ var require_byline = __commonJS({
|
|
|
697
697
|
}
|
|
698
698
|
});
|
|
699
699
|
|
|
700
|
-
// ../../node_modules/.pnpm/@bugsnag+node@7.
|
|
700
|
+
// ../../node_modules/.pnpm/@bugsnag+node@7.22.7/node_modules/@bugsnag/node/dist/bugsnag.js
|
|
701
701
|
var require_bugsnag = __commonJS({
|
|
702
|
-
"../../node_modules/.pnpm/@bugsnag+node@7.
|
|
702
|
+
"../../node_modules/.pnpm/@bugsnag+node@7.22.7/node_modules/@bugsnag/node/dist/bugsnag.js"(exports, module) {
|
|
703
703
|
init_cjs_shims();
|
|
704
704
|
(function(f) {
|
|
705
705
|
if (typeof exports === "object" && typeof module !== "undefined") {
|
|
@@ -746,9 +746,8 @@ var require_bugsnag = __commonJS({
|
|
|
746
746
|
var _$breadcrumbTypes_6 = ["navigation", "request", "process", "log", "user", "state", "error", "manual"];
|
|
747
747
|
var _$reduce_16 = function(arr, fn, accum) {
|
|
748
748
|
var val = accum;
|
|
749
|
-
for (var i = 0, len = arr.length; i < len; i++)
|
|
749
|
+
for (var i = 0, len = arr.length; i < len; i++)
|
|
750
750
|
val = fn(val, arr[i], i, arr);
|
|
751
|
-
}
|
|
752
751
|
return val;
|
|
753
752
|
};
|
|
754
753
|
;
|
|
@@ -1264,6 +1263,9 @@ var require_bugsnag = __commonJS({
|
|
|
1264
1263
|
updates = (_updates = {}, _updates[keyOrObj] = maybeVal, _updates);
|
|
1265
1264
|
if (!updates)
|
|
1266
1265
|
return;
|
|
1266
|
+
if (section === "__proto__" || section === "constructor" || section === "prototype") {
|
|
1267
|
+
return;
|
|
1268
|
+
}
|
|
1267
1269
|
if (!state[section])
|
|
1268
1270
|
state[section] = {};
|
|
1269
1271
|
state[section] = _$assign_10({}, state[section], updates);
|
|
@@ -1286,6 +1288,9 @@ var require_bugsnag = __commonJS({
|
|
|
1286
1288
|
delete state[section];
|
|
1287
1289
|
return;
|
|
1288
1290
|
}
|
|
1291
|
+
if (section === "__proto__" || section === "constructor" || section === "prototype") {
|
|
1292
|
+
return;
|
|
1293
|
+
}
|
|
1289
1294
|
if (state[section]) {
|
|
1290
1295
|
delete state[section][key];
|
|
1291
1296
|
}
|
|
@@ -2180,7 +2185,7 @@ var require_bugsnag = __commonJS({
|
|
|
2180
2185
|
};
|
|
2181
2186
|
};
|
|
2182
2187
|
function _extends() {
|
|
2183
|
-
_extends = Object.assign
|
|
2188
|
+
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
2184
2189
|
for (var i = 1; i < arguments.length; i++) {
|
|
2185
2190
|
var source = arguments[i];
|
|
2186
2191
|
for (var key in source) {
|
|
@@ -2381,7 +2386,7 @@ var require_bugsnag = __commonJS({
|
|
|
2381
2386
|
};
|
|
2382
2387
|
_$intercept_39["default"] = _$intercept_39;
|
|
2383
2388
|
function ___extends_40() {
|
|
2384
|
-
___extends_40 = Object.assign
|
|
2389
|
+
___extends_40 = Object.assign ? Object.assign.bind() : function(target) {
|
|
2385
2390
|
for (var i = 1; i < arguments.length; i++) {
|
|
2386
2391
|
var source = arguments[i];
|
|
2387
2392
|
for (var key in source) {
|
|
@@ -2438,7 +2443,7 @@ var require_bugsnag = __commonJS({
|
|
|
2438
2443
|
}
|
|
2439
2444
|
};
|
|
2440
2445
|
function ___extends_42() {
|
|
2441
|
-
___extends_42 = Object.assign
|
|
2446
|
+
___extends_42 = Object.assign ? Object.assign.bind() : function(target) {
|
|
2442
2447
|
for (var i = 1; i < arguments.length; i++) {
|
|
2443
2448
|
var source = arguments[i];
|
|
2444
2449
|
for (var key in source) {
|
|
@@ -2457,7 +2462,7 @@ var require_bugsnag = __commonJS({
|
|
|
2457
2462
|
_setPrototypeOf(subClass, superClass);
|
|
2458
2463
|
}
|
|
2459
2464
|
function _setPrototypeOf(o, p) {
|
|
2460
|
-
_setPrototypeOf = Object.setPrototypeOf
|
|
2465
|
+
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
|
|
2461
2466
|
o2.__proto__ = p2;
|
|
2462
2467
|
return o2;
|
|
2463
2468
|
};
|
|
@@ -2712,7 +2717,7 @@ var require_bugsnag = __commonJS({
|
|
|
2712
2717
|
___setPrototypeOf_47(subClass, superClass);
|
|
2713
2718
|
}
|
|
2714
2719
|
function ___setPrototypeOf_47(o, p) {
|
|
2715
|
-
___setPrototypeOf_47 = Object.setPrototypeOf
|
|
2720
|
+
___setPrototypeOf_47 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
|
|
2716
2721
|
o2.__proto__ = p2;
|
|
2717
2722
|
return o2;
|
|
2718
2723
|
};
|
|
@@ -2901,7 +2906,7 @@ var require_bugsnag = __commonJS({
|
|
|
2901
2906
|
};
|
|
2902
2907
|
var _$notifier_36 = {};
|
|
2903
2908
|
function ___extends_36() {
|
|
2904
|
-
___extends_36 = Object.assign
|
|
2909
|
+
___extends_36 = Object.assign ? Object.assign.bind() : function(target) {
|
|
2905
2910
|
for (var i = 1; i < arguments.length; i++) {
|
|
2906
2911
|
var source = arguments[i];
|
|
2907
2912
|
for (var key in source) {
|
|
@@ -2915,7 +2920,7 @@ var require_bugsnag = __commonJS({
|
|
|
2915
2920
|
return ___extends_36.apply(this, arguments);
|
|
2916
2921
|
}
|
|
2917
2922
|
var name = "Bugsnag Node";
|
|
2918
|
-
var version = "7.
|
|
2923
|
+
var version = "7.22.7";
|
|
2919
2924
|
var url = "https://github.com/bugsnag/bugsnag-js";
|
|
2920
2925
|
;
|
|
2921
2926
|
;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CKKF7TFO.js";
|
|
4
4
|
import {
|
|
5
5
|
getDeepInstallNPMTasks,
|
|
6
6
|
updateCLIDependencies
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TPUQWQRW.js";
|
|
8
8
|
import {
|
|
9
9
|
username
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7GUERDDS.js";
|
|
11
11
|
import {
|
|
12
12
|
UnknownPackageManagerError,
|
|
13
13
|
findUpAndReadPackageJson,
|
|
14
|
+
lockfiles,
|
|
14
15
|
writePackageJSON
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZNPDLJF7.js";
|
|
16
17
|
import {
|
|
17
18
|
AbortError,
|
|
18
19
|
appendFile,
|
|
@@ -40,7 +41,7 @@ import {
|
|
|
40
41
|
renderTasks,
|
|
41
42
|
runWithTimer,
|
|
42
43
|
writeFile
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CJVWT6IG.js";
|
|
44
45
|
import {
|
|
45
46
|
dirname,
|
|
46
47
|
joinPath,
|
|
@@ -48,7 +49,7 @@ import {
|
|
|
48
49
|
} from "./chunk-G6FN5VUE.js";
|
|
49
50
|
import {
|
|
50
51
|
require_src
|
|
51
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-R5KQZMEG.js";
|
|
52
53
|
import {
|
|
53
54
|
__commonJS,
|
|
54
55
|
__require,
|
|
@@ -7750,6 +7751,22 @@ ${workspacesContent}`);
|
|
|
7750
7751
|
}
|
|
7751
7752
|
}
|
|
7752
7753
|
);
|
|
7754
|
+
if (options.postCloneActions.removeLockfilesFromGitignore) {
|
|
7755
|
+
tasks.push({
|
|
7756
|
+
title: "Removing lockfiles from .gitignore",
|
|
7757
|
+
task: async () => {
|
|
7758
|
+
const gitignorePath = joinPath(templateScaffoldDir, ".gitignore");
|
|
7759
|
+
if (await fileExists(gitignorePath)) {
|
|
7760
|
+
let existingContent = await readFile(gitignorePath);
|
|
7761
|
+
lockfiles.forEach((lockfile) => {
|
|
7762
|
+
const lockfileRegex = new RegExp(`^${lockfile.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}$`, "gm");
|
|
7763
|
+
existingContent = existingContent.replace(lockfileRegex, "");
|
|
7764
|
+
});
|
|
7765
|
+
await writeFile(gitignorePath, existingContent.trim());
|
|
7766
|
+
}
|
|
7767
|
+
}
|
|
7768
|
+
});
|
|
7769
|
+
}
|
|
7753
7770
|
if (await isShopify()) {
|
|
7754
7771
|
tasks.push({
|
|
7755
7772
|
title: "[Shopifolks-only] Configuring the project's NPM registry",
|
|
@@ -72,6 +72,9 @@ var cacheFolder = () => {
|
|
|
72
72
|
return process.env.XDG_CACHE_HOME;
|
|
73
73
|
return envPaths(identifier).cache;
|
|
74
74
|
};
|
|
75
|
+
var logsFolder = () => {
|
|
76
|
+
return envPaths(identifier).log;
|
|
77
|
+
};
|
|
75
78
|
var environmentVariables = {
|
|
76
79
|
alwaysLogAnalytics: "SHOPIFY_CLI_ALWAYS_LOG_ANALYTICS",
|
|
77
80
|
alwaysLogMetrics: "SHOPIFY_CLI_ALWAYS_LOG_METRICS",
|
|
@@ -135,6 +138,7 @@ var sessionConstants = {
|
|
|
135
138
|
var bugsnagApiKey = "9e1e6889176fd0c795d5c659225e0fae";
|
|
136
139
|
|
|
137
140
|
export {
|
|
141
|
+
logsFolder,
|
|
138
142
|
environmentVariables,
|
|
139
143
|
defaultThemeKitAccessDomain,
|
|
140
144
|
systemEnvironmentVariables,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UVY6LL5H.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-R5KQZMEG.js";
|
|
8
8
|
import {
|
|
9
9
|
__toESM,
|
|
10
10
|
init_cjs_shims
|
|
@@ -19,7 +19,7 @@ async function warnIfOldNodeVersion() {
|
|
|
19
19
|
const nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
20
20
|
const currentSupportedNodeVersion = 18;
|
|
21
21
|
if (nodeMajorVersion < currentSupportedNodeVersion) {
|
|
22
|
-
const { renderWarning } = await import("./ui-
|
|
22
|
+
const { renderWarning } = await import("./ui-P6NP425V.js");
|
|
23
23
|
renderWarning({
|
|
24
24
|
headline: "Upgrade to a supported Node version now.",
|
|
25
25
|
body: [
|
|
@@ -53,10 +53,10 @@ async function runCLI(options) {
|
|
|
53
53
|
setupEnvironmentVariables(options);
|
|
54
54
|
forceNoColor();
|
|
55
55
|
await warnIfOldNodeVersion();
|
|
56
|
-
const { errorHandler } = await import("./error-handler-
|
|
57
|
-
const { isDevelopment } = await import("./local-
|
|
58
|
-
const oclif = await import("./lib-
|
|
59
|
-
const { ShopifyConfig } = await import("./custom-oclif-loader-
|
|
56
|
+
const { errorHandler } = await import("./error-handler-764JJPWK.js");
|
|
57
|
+
const { isDevelopment } = await import("./local-GRWHBAAP.js");
|
|
58
|
+
const oclif = await import("./lib-76RCE6WZ.js");
|
|
59
|
+
const { ShopifyConfig } = await import("./custom-oclif-loader-RLNBRURI.js");
|
|
60
60
|
if (isDevelopment()) {
|
|
61
61
|
oclif.default.settings.debug = true;
|
|
62
62
|
}
|
|
@@ -73,7 +73,7 @@ async function runCLI(options) {
|
|
|
73
73
|
}
|
|
74
74
|
async function runCreateCLI(options) {
|
|
75
75
|
setupEnvironmentVariables(options);
|
|
76
|
-
const { findUpAndReadPackageJson } = await import("./node-package-manager-
|
|
76
|
+
const { findUpAndReadPackageJson } = await import("./node-package-manager-VZCY35QS.js");
|
|
77
77
|
const { moduleDirectory } = await import("./path-HO4HBKK5.js");
|
|
78
78
|
const packageJson = await findUpAndReadPackageJson(moduleDirectory(options.moduleURL));
|
|
79
79
|
const packageName = packageJson.content.name;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q5FUGUDS.js";
|
|
4
4
|
import {
|
|
5
5
|
installNodeModules
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZNPDLJF7.js";
|
|
7
7
|
import {
|
|
8
8
|
findPathUp
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CJVWT6IG.js";
|
|
10
10
|
import {
|
|
11
11
|
moduleDirectory,
|
|
12
12
|
normalizePath
|