@shopify/create-app 3.71.0 → 3.71.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-PGUENKZG.js → chunk-24YX2EU2.js} +4 -4
- package/dist/{chunk-4ZKJC2JB.js → chunk-33OL5XJC.js} +3 -3
- package/dist/{chunk-X36SPRUS.js → chunk-6EBCZH5K.js} +3 -2
- package/dist/{chunk-JPPYUT6M.js → chunk-E3ZCUEYA.js} +25 -18
- package/dist/{chunk-PUMOQDXS.js → chunk-G7QR7EFO.js} +5 -5
- package/dist/{chunk-33RXIX54.js → chunk-KSBII622.js} +6 -6
- package/dist/{chunk-PATNPZAL.js → chunk-O4A77JLS.js} +3 -3
- package/dist/{custom-oclif-loader-OP5VH4KR.js → custom-oclif-loader-Y3FRXJ2I.js} +3 -3
- package/dist/{error-handler-WKRKCPUQ.js → error-handler-BL4CGHD6.js} +7 -7
- package/dist/hooks/postrun.js +5 -5
- package/dist/hooks/prerun.js +5 -5
- package/dist/index.js +12 -12
- package/dist/{local-IPRKH7YW.js → local-W43XRROK.js} +3 -3
- package/dist/{node-package-manager-CPX2FDHZ.js → node-package-manager-YSAX4E22.js} +4 -4
- package/dist/{path-EGU2FCFY.js → path-3RNJ32DF.js} +2 -2
- package/dist/{ui-AAFX7Q72.js → ui-CUIFJAEJ.js} +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getEnvironmentData,
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G7QR7EFO.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O4A77JLS.js";
|
|
11
11
|
import {
|
|
12
12
|
alwaysLogAnalytics,
|
|
13
13
|
alwaysLogMetrics,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
outputDebug,
|
|
25
25
|
outputToken,
|
|
26
26
|
reportingRateLimit
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__require,
|
|
@@ -15766,4 +15766,4 @@ export {
|
|
|
15766
15766
|
getListOfTunnelPlugins,
|
|
15767
15767
|
reportAnalyticsEvent
|
|
15768
15768
|
};
|
|
15769
|
-
//# sourceMappingURL=chunk-
|
|
15769
|
+
//# sourceMappingURL=chunk-24YX2EU2.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageManagerFromUserAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O4A77JLS.js";
|
|
4
4
|
import {
|
|
5
5
|
currentProcessIsGlobal,
|
|
6
6
|
inferPackageManagerForGlobalCLI,
|
|
7
7
|
outputContent,
|
|
8
8
|
outputToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
10
10
|
import {
|
|
11
11
|
init_cjs_shims
|
|
12
12
|
} from "./chunk-POZ5MGPT.js";
|
|
@@ -24,4 +24,4 @@ function getOutputUpdateCLIReminder(version) {
|
|
|
24
24
|
export {
|
|
25
25
|
getOutputUpdateCLIReminder
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-33OL5XJC.js.map
|
|
@@ -42,7 +42,7 @@ function normalizeWindowsPath(input = "") {
|
|
|
42
42
|
return !input || !input.includes("\\") ? input : input.replace(/\\/g, "/");
|
|
43
43
|
}
|
|
44
44
|
var _UNC_REGEX = /^[/\\]{2}/, _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
45
|
-
var normalize = function(path2) {
|
|
45
|
+
var delimiter = ":", normalize = function(path2) {
|
|
46
46
|
if (path2.length === 0)
|
|
47
47
|
return ".";
|
|
48
48
|
path2 = normalizeWindowsPath(path2);
|
|
@@ -176,6 +176,7 @@ function sniffForJson(argv = process.argv) {
|
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
export {
|
|
179
|
+
delimiter,
|
|
179
180
|
joinPath,
|
|
180
181
|
normalizePath,
|
|
181
182
|
resolvePath,
|
|
@@ -191,4 +192,4 @@ export {
|
|
|
191
192
|
sniffForPath,
|
|
192
193
|
sniffForJson
|
|
193
194
|
};
|
|
194
|
-
//# sourceMappingURL=chunk-
|
|
195
|
+
//# sourceMappingURL=chunk-6EBCZH5K.js.map
|
|
@@ -11,12 +11,13 @@ import {
|
|
|
11
11
|
} from "./chunk-522OB3EU.js";
|
|
12
12
|
import {
|
|
13
13
|
cwd,
|
|
14
|
+
delimiter,
|
|
14
15
|
dirname,
|
|
15
16
|
joinPath,
|
|
16
17
|
normalizePath,
|
|
17
18
|
relativizePath,
|
|
18
19
|
sniffForPath
|
|
19
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6EBCZH5K.js";
|
|
20
21
|
import {
|
|
21
22
|
require_graceful_fs
|
|
22
23
|
} from "./chunk-XVNW332R.js";
|
|
@@ -19520,11 +19521,11 @@ var require_dist3 = __commonJS({
|
|
|
19520
19521
|
var lower_case_1 = require_dist2(), DEFAULT_SPLIT_REGEXP = [/([a-z0-9])([A-Z])/g, /([A-Z])([A-Z][a-z])/g], DEFAULT_STRIP_REGEXP = /[^A-Z0-9]+/gi;
|
|
19521
19522
|
function noCase(input, options) {
|
|
19522
19523
|
options === void 0 && (options = {});
|
|
19523
|
-
for (var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter,
|
|
19524
|
+
for (var _a = options.splitRegexp, splitRegexp = _a === void 0 ? DEFAULT_SPLIT_REGEXP : _a, _b = options.stripRegexp, stripRegexp = _b === void 0 ? DEFAULT_STRIP_REGEXP : _b, _c = options.transform, transform = _c === void 0 ? lower_case_1.lowerCase : _c, _d = options.delimiter, delimiter2 = _d === void 0 ? " " : _d, result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0"), start = 0, end = result.length; result.charAt(start) === "\0"; )
|
|
19524
19525
|
start++;
|
|
19525
19526
|
for (; result.charAt(end - 1) === "\0"; )
|
|
19526
19527
|
end--;
|
|
19527
|
-
return result.slice(start, end).split("\0").map(transform).join(
|
|
19528
|
+
return result.slice(start, end).split("\0").map(transform).join(delimiter2);
|
|
19528
19529
|
}
|
|
19529
19530
|
exports.noCase = noCase;
|
|
19530
19531
|
function replace(input, re, value) {
|
|
@@ -21324,10 +21325,10 @@ var require_cjs2 = __commonJS({
|
|
|
21324
21325
|
var require_lib2 = __commonJS({
|
|
21325
21326
|
"../../node_modules/.pnpm/which@4.0.0/node_modules/which/lib/index.js"(exports, module) {
|
|
21326
21327
|
init_cjs_shims();
|
|
21327
|
-
var { isexe, sync: isexeSync } = require_cjs2(), { 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, {
|
|
21328
|
+
var { isexe, sync: isexeSync } = require_cjs2(), { join: join2, delimiter: delimiter2, 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, {
|
|
21328
21329
|
path: optPath = process.env.PATH,
|
|
21329
21330
|
pathExt: optPathExt = process.env.PATHEXT,
|
|
21330
|
-
delimiter: optDelimiter =
|
|
21331
|
+
delimiter: optDelimiter = delimiter2
|
|
21331
21332
|
}) => {
|
|
21332
21333
|
let pathEnv = cmd.match(rSlash) ? [""] : [
|
|
21333
21334
|
// windows always checks the cwd first
|
|
@@ -22988,7 +22989,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
22988
22989
|
try {
|
|
22989
22990
|
await getAndSet();
|
|
22990
22991
|
} catch (error) {
|
|
22991
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
22992
|
+
let { sendErrorToBugsnag } = await import("./error-handler-BL4CGHD6.js");
|
|
22992
22993
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
22993
22994
|
}
|
|
22994
22995
|
}, durationStack = [];
|
|
@@ -27671,7 +27672,7 @@ function difference(array, ...values) {
|
|
|
27671
27672
|
}
|
|
27672
27673
|
|
|
27673
27674
|
// ../cli-kit/dist/public/common/string.js
|
|
27674
|
-
var import_change_case = __toESM(require_dist16()
|
|
27675
|
+
var import_change_case = __toESM(require_dist16()), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
|
|
27675
27676
|
"commercial",
|
|
27676
27677
|
"profitable",
|
|
27677
27678
|
"amortizable",
|
|
@@ -27881,11 +27882,11 @@ function joinWithAnd(items) {
|
|
|
27881
27882
|
function pascalize(str) {
|
|
27882
27883
|
return (0, import_change_case.pascalCase)(str);
|
|
27883
27884
|
}
|
|
27884
|
-
function normalizeDelimitedString(delimitedString,
|
|
27885
|
+
function normalizeDelimitedString(delimitedString, delimiter2 = ",") {
|
|
27885
27886
|
if (!delimitedString)
|
|
27886
27887
|
return;
|
|
27887
|
-
let sortedItems = delimitedString.split(
|
|
27888
|
-
return [...new Set(sortedItems)].join(
|
|
27888
|
+
let sortedItems = delimitedString.split(delimiter2).map((value) => value.trim()).filter((value) => value !== "").sort();
|
|
27889
|
+
return [...new Set(sortedItems)].join(delimiter2);
|
|
27889
27890
|
}
|
|
27890
27891
|
|
|
27891
27892
|
// ../cli-kit/dist/private/node/ui/components/Prompts/InfoTable.js
|
|
@@ -28625,7 +28626,7 @@ init_cjs_shims();
|
|
|
28625
28626
|
|
|
28626
28627
|
// ../cli-kit/dist/public/common/function.js
|
|
28627
28628
|
init_cjs_shims();
|
|
28628
|
-
var import_memoize = __toESM(require_memoize()
|
|
28629
|
+
var import_memoize = __toESM(require_memoize()), import_debounce = __toESM(require_debounce());
|
|
28629
28630
|
function debounce(func, wait, options) {
|
|
28630
28631
|
return (0, import_debounce.default)(func, wait, options);
|
|
28631
28632
|
}
|
|
@@ -28665,7 +28666,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
|
|
|
28665
28666
|
}
|
|
28666
28667
|
|
|
28667
28668
|
// ../cli-kit/dist/public/node/ui.js
|
|
28668
|
-
var import_react54 = __toESM(require_react()
|
|
28669
|
+
var import_react54 = __toESM(require_react()), defaultUIDebugOptions = {
|
|
28669
28670
|
skipTTYCheck: !1
|
|
28670
28671
|
};
|
|
28671
28672
|
async function renderConcurrent({ renderOptions, ...props }) {
|
|
@@ -29779,10 +29780,12 @@ async function exec3(command, args, options) {
|
|
|
29779
29780
|
}
|
|
29780
29781
|
function buildExec(command, args, options) {
|
|
29781
29782
|
let env3 = options?.env ?? process.env;
|
|
29782
|
-
shouldDisplayColors() && (env3.FORCE_COLOR = "1")
|
|
29783
|
+
shouldDisplayColors() && (env3.FORCE_COLOR = "1");
|
|
29784
|
+
let executionCwd = options?.cwd ?? cwd();
|
|
29785
|
+
checkCommandSafety(command, { cwd: executionCwd });
|
|
29783
29786
|
let commandProcess = execa(command, args, {
|
|
29784
29787
|
env: env3,
|
|
29785
|
-
cwd:
|
|
29788
|
+
cwd: executionCwd,
|
|
29786
29789
|
input: options?.input,
|
|
29787
29790
|
stdio: options?.stdio,
|
|
29788
29791
|
stdin: options?.stdin,
|
|
@@ -29795,11 +29798,15 @@ function buildExec(command, args, options) {
|
|
|
29795
29798
|
return outputDebug(`
|
|
29796
29799
|
Running system process:
|
|
29797
29800
|
\xB7 Command: ${command} ${args.join(" ")}
|
|
29798
|
-
\xB7 Working directory: ${
|
|
29801
|
+
\xB7 Working directory: ${executionCwd}
|
|
29799
29802
|
`), commandProcess;
|
|
29800
29803
|
}
|
|
29801
|
-
function checkCommandSafety(command) {
|
|
29802
|
-
|
|
29804
|
+
function checkCommandSafety(command, _options) {
|
|
29805
|
+
let pathIncludingLocal = `${_options.cwd}${delimiter}${process.env.PATH}`, commandPath = import_which.default.sync(command, {
|
|
29806
|
+
nothrow: !0,
|
|
29807
|
+
path: pathIncludingLocal
|
|
29808
|
+
});
|
|
29809
|
+
if (commandPath && dirname(commandPath) === _options.cwd) {
|
|
29803
29810
|
let headline = ["Skipped run of unsecure binary", { command }, "found in the current directory."], body = "Please remove that file or review your current PATH.";
|
|
29804
29811
|
throw renderWarning({ headline, body }), new AbortError(headline, body);
|
|
29805
29812
|
}
|
|
@@ -32071,4 +32078,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
32071
32078
|
* LICENSE file in the root directory of this source tree.
|
|
32072
32079
|
*)
|
|
32073
32080
|
*/
|
|
32074
|
-
//# sourceMappingURL=chunk-
|
|
32081
|
+
//# sourceMappingURL=chunk-E3ZCUEYA.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
removeSession,
|
|
13
13
|
setCachedPartnerAccountStatus,
|
|
14
14
|
setSession
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-O4A77JLS.js";
|
|
16
16
|
import {
|
|
17
17
|
AbortError,
|
|
18
18
|
BugError,
|
|
@@ -49,11 +49,11 @@ import {
|
|
|
49
49
|
systemEnvironmentVariables,
|
|
50
50
|
themeKitAccessDomain,
|
|
51
51
|
themeToken
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
53
53
|
import {
|
|
54
54
|
cwd,
|
|
55
55
|
sniffForJson
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-6EBCZH5K.js";
|
|
57
57
|
import {
|
|
58
58
|
__commonJS,
|
|
59
59
|
__require,
|
|
@@ -29342,7 +29342,7 @@ var require_lib3 = __commonJS({
|
|
|
29342
29342
|
|
|
29343
29343
|
// ../cli-kit/dist/public/common/version.js
|
|
29344
29344
|
init_cjs_shims();
|
|
29345
|
-
var CLI_KIT_VERSION = "3.71.
|
|
29345
|
+
var CLI_KIT_VERSION = "3.71.2";
|
|
29346
29346
|
|
|
29347
29347
|
// ../cli-kit/dist/private/node/analytics.js
|
|
29348
29348
|
init_cjs_shims();
|
|
@@ -34858,4 +34858,4 @@ mime-types/index.js:
|
|
|
34858
34858
|
* MIT Licensed
|
|
34859
34859
|
*)
|
|
34860
34860
|
*/
|
|
34861
|
-
//# sourceMappingURL=chunk-
|
|
34861
|
+
//# sourceMappingURL=chunk-G7QR7EFO.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-24YX2EU2.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-G7QR7EFO.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-O4A77JLS.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortSilentError,
|
|
14
14
|
CancelExecution,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
reportingRateLimit,
|
|
24
24
|
require_stacktracey,
|
|
25
25
|
shouldReportErrorAsUnexpected
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
27
27
|
import {
|
|
28
28
|
require_lib
|
|
29
29
|
} from "./chunk-CQGOPQQH.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
joinPath,
|
|
34
34
|
normalizePath,
|
|
35
35
|
relativePath
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-6EBCZH5K.js";
|
|
37
37
|
import {
|
|
38
38
|
require_once
|
|
39
39
|
} from "./chunk-O5K4AU7Q.js";
|
|
@@ -2140,4 +2140,4 @@ export {
|
|
|
2140
2140
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2141
2141
|
addBugsnagMetadata
|
|
2142
2142
|
};
|
|
2143
|
-
//# sourceMappingURL=chunk-
|
|
2143
|
+
//# sourceMappingURL=chunk-KSBII622.js.map
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
require_get_stream,
|
|
19
19
|
runWithTimer,
|
|
20
20
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
22
22
|
import {
|
|
23
23
|
dirname,
|
|
24
24
|
joinPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-6EBCZH5K.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
|
@@ -15390,4 +15390,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
15390
15390
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15391
15391
|
*)
|
|
15392
15392
|
*/
|
|
15393
|
-
//# sourceMappingURL=chunk-
|
|
15393
|
+
//# sourceMappingURL=chunk-O4A77JLS.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
7
|
} from "./chunk-CQGOPQQH.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath,
|
|
13
13
|
sniffForPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6EBCZH5K.js";
|
|
15
15
|
import "./chunk-XVNW332R.js";
|
|
16
16
|
import "./chunk-6WYZ3SZB.js";
|
|
17
17
|
import "./chunk-KYB6A4PE.js";
|
|
@@ -43,4 +43,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
43
43
|
export {
|
|
44
44
|
ShopifyConfig
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
46
|
+
//# sourceMappingURL=custom-oclif-loader-Y3FRXJ2I.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-KSBII622.js";
|
|
8
|
+
import "./chunk-24YX2EU2.js";
|
|
9
|
+
import "./chunk-G7QR7EFO.js";
|
|
10
10
|
import "./chunk-VSLR7ET4.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-O4A77JLS.js";
|
|
12
|
+
import "./chunk-E3ZCUEYA.js";
|
|
13
13
|
import "./chunk-CQGOPQQH.js";
|
|
14
14
|
import "./chunk-SNOECVP4.js";
|
|
15
15
|
import "./chunk-522OB3EU.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-6EBCZH5K.js";
|
|
17
17
|
import "./chunk-O5K4AU7Q.js";
|
|
18
18
|
import "./chunk-XVNW332R.js";
|
|
19
19
|
import "./chunk-6WYZ3SZB.js";
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
29
29
|
sendErrorToBugsnag
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=error-handler-
|
|
31
|
+
//# sourceMappingURL=error-handler-BL4CGHD6.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reportAnalyticsEvent
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-24YX2EU2.js";
|
|
4
4
|
import {
|
|
5
5
|
getNextDeprecationDate
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-G7QR7EFO.js";
|
|
7
7
|
import "../chunk-VSLR7ET4.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-O4A77JLS.js";
|
|
9
9
|
import {
|
|
10
10
|
addSensitiveMetadata,
|
|
11
11
|
getAllSensitiveMetadata,
|
|
12
12
|
outputDebug,
|
|
13
13
|
renderWarning
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-E3ZCUEYA.js";
|
|
15
15
|
import "../chunk-CQGOPQQH.js";
|
|
16
16
|
import "../chunk-SNOECVP4.js";
|
|
17
17
|
import "../chunk-522OB3EU.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-6EBCZH5K.js";
|
|
19
19
|
import "../chunk-XVNW332R.js";
|
|
20
20
|
import "../chunk-6WYZ3SZB.js";
|
|
21
21
|
import "../chunk-KYB6A4PE.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOutputUpdateCLIReminder
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-33OL5XJC.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-G7QR7EFO.js";
|
|
8
8
|
import "../chunk-VSLR7ET4.js";
|
|
9
9
|
import {
|
|
10
10
|
checkForCachedNewVersion,
|
|
11
11
|
checkForNewVersion,
|
|
12
12
|
runAtMinimumInterval
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-O4A77JLS.js";
|
|
14
14
|
import {
|
|
15
15
|
outputDebug,
|
|
16
16
|
outputWarn
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-E3ZCUEYA.js";
|
|
18
18
|
import "../chunk-CQGOPQQH.js";
|
|
19
19
|
import "../chunk-SNOECVP4.js";
|
|
20
20
|
import "../chunk-522OB3EU.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-6EBCZH5K.js";
|
|
22
22
|
import "../chunk-XVNW332R.js";
|
|
23
23
|
import "../chunk-6WYZ3SZB.js";
|
|
24
24
|
import "../chunk-KYB6A4PE.js";
|
package/dist/index.js
CHANGED
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
errorHandler,
|
|
9
9
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
10
10
|
require_end_of_stream
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KSBII622.js";
|
|
12
12
|
import {
|
|
13
13
|
fanoutHooks,
|
|
14
14
|
getListOfTunnelPlugins,
|
|
15
15
|
reportAnalyticsEvent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-24YX2EU2.js";
|
|
17
17
|
import {
|
|
18
18
|
getOutputUpdateCLIReminder
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-33OL5XJC.js";
|
|
20
20
|
import {
|
|
21
21
|
CLI_KIT_VERSION,
|
|
22
22
|
ClientError,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
setNextDeprecationDate,
|
|
62
62
|
username,
|
|
63
63
|
z
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-G7QR7EFO.js";
|
|
65
65
|
import "./chunk-VSLR7ET4.js";
|
|
66
66
|
import {
|
|
67
67
|
LocalStorage,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
usesWorkspaces,
|
|
87
87
|
versionSatisfies,
|
|
88
88
|
writePackageJSON
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-O4A77JLS.js";
|
|
90
90
|
import {
|
|
91
91
|
AbortController as AbortController2,
|
|
92
92
|
AbortError,
|
|
@@ -260,7 +260,7 @@ import {
|
|
|
260
260
|
use_stdin_default,
|
|
261
261
|
writeFile,
|
|
262
262
|
writeFileSync
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
264
264
|
import {
|
|
265
265
|
require_brace_expansion,
|
|
266
266
|
require_lib
|
|
@@ -282,7 +282,7 @@ import {
|
|
|
282
282
|
relativizePath,
|
|
283
283
|
resolvePath,
|
|
284
284
|
sniffForJson
|
|
285
|
-
} from "./chunk-
|
|
285
|
+
} from "./chunk-6EBCZH5K.js";
|
|
286
286
|
import {
|
|
287
287
|
require_fs,
|
|
288
288
|
require_glob,
|
|
@@ -142414,7 +142414,7 @@ async function downloadBinary(bin) {
|
|
|
142414
142414
|
throw new Error(`Downloading ${bin.name} failed with empty response body`);
|
|
142415
142415
|
await inTemporaryDirectory(async (tmpDir) => {
|
|
142416
142416
|
let tmpFile = joinPath(tmpDir, "binary"), outputStream = createFileWriteStream(tmpFile);
|
|
142417
|
-
await bin.processResponse(responseStream, outputStream), await chmod(tmpFile, 509), await moveFile(tmpFile, bin.path);
|
|
142417
|
+
await bin.processResponse(responseStream, outputStream), await chmod(tmpFile, 509), await moveFile(tmpFile, bin.path, { overwrite: !0 });
|
|
142418
142418
|
});
|
|
142419
142419
|
}, async () => {
|
|
142420
142420
|
}, 2);
|
|
@@ -142813,7 +142813,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
142813
142813
|
throw new AbortSilentError();
|
|
142814
142814
|
let errorMessage2 = `Error retrieving notifications: ${error.message}`;
|
|
142815
142815
|
outputDebug(errorMessage2);
|
|
142816
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
142816
|
+
let { sendErrorToBugsnag } = await import("./error-handler-BL4CGHD6.js");
|
|
142817
142817
|
await sendErrorToBugsnag(errorMessage2, "unexpected_error");
|
|
142818
142818
|
}
|
|
142819
142819
|
}
|
|
@@ -151840,7 +151840,7 @@ var import_core3 = __toESM(require_lib());
|
|
|
151840
151840
|
async function warnIfOldNodeVersion(versions2 = process.versions) {
|
|
151841
151841
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
151842
151842
|
if (nodeMajorVersion < 18) {
|
|
151843
|
-
let { renderWarning: renderWarning2 } = await import("./ui-
|
|
151843
|
+
let { renderWarning: renderWarning2 } = await import("./ui-CUIFJAEJ.js");
|
|
151844
151844
|
renderWarning2({
|
|
151845
151845
|
headline: "Upgrade to a supported Node version now.",
|
|
151846
151846
|
body: [
|
|
@@ -151867,7 +151867,7 @@ async function runCLI(options, launchCLI2, argv = process.argv, env = process.en
|
|
|
151867
151867
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await warnIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL });
|
|
151868
151868
|
}
|
|
151869
151869
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
151870
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
151870
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-YSAX4E22.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-3RNJ32DF.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
151871
151871
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
151872
151872
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
151873
151873
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -169624,7 +169624,7 @@ var commands = {
|
|
|
169624
169624
|
init_cjs_shims();
|
|
169625
169625
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
169626
169626
|
async function launchCLI(options) {
|
|
169627
|
-
let { errorHandler: errorHandler2 } = await import("./error-handler-
|
|
169627
|
+
let { errorHandler: errorHandler2 } = await import("./error-handler-BL4CGHD6.js"), { isDevelopment: isDevelopment2 } = await import("./local-W43XRROK.js"), oclif = await import("./lib-EGJUAXU5.js"), { ShopifyConfig } = await import("./custom-oclif-loader-Y3FRXJ2I.js");
|
|
169628
169628
|
isDevelopment2() && (oclif.default.settings.debug = !0);
|
|
169629
169629
|
try {
|
|
169630
169630
|
let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
themeToken,
|
|
23
23
|
useEmbeddedThemeCLI,
|
|
24
24
|
useThemebundling
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
26
26
|
import "./chunk-CQGOPQQH.js";
|
|
27
27
|
import "./chunk-SNOECVP4.js";
|
|
28
28
|
import "./chunk-522OB3EU.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-6EBCZH5K.js";
|
|
30
30
|
import "./chunk-XVNW332R.js";
|
|
31
31
|
import "./chunk-6WYZ3SZB.js";
|
|
32
32
|
import "./chunk-KYB6A4PE.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
useEmbeddedThemeCLI,
|
|
59
59
|
useThemebundling
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=local-
|
|
61
|
+
//# sourceMappingURL=local-W43XRROK.js.map
|
|
@@ -28,12 +28,12 @@ import {
|
|
|
28
28
|
versionSatisfies,
|
|
29
29
|
writePackageJSON,
|
|
30
30
|
yarnLockfile
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-O4A77JLS.js";
|
|
32
|
+
import "./chunk-E3ZCUEYA.js";
|
|
33
33
|
import "./chunk-CQGOPQQH.js";
|
|
34
34
|
import "./chunk-SNOECVP4.js";
|
|
35
35
|
import "./chunk-522OB3EU.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-6EBCZH5K.js";
|
|
37
37
|
import "./chunk-XVNW332R.js";
|
|
38
38
|
import "./chunk-6WYZ3SZB.js";
|
|
39
39
|
import "./chunk-KYB6A4PE.js";
|
|
@@ -71,4 +71,4 @@ export {
|
|
|
71
71
|
writePackageJSON,
|
|
72
72
|
yarnLockfile
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=node-package-manager-
|
|
74
|
+
//# sourceMappingURL=node-package-manager-YSAX4E22.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolvePath,
|
|
14
14
|
sniffForJson,
|
|
15
15
|
sniffForPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6EBCZH5K.js";
|
|
17
17
|
import "./chunk-POZ5MGPT.js";
|
|
18
18
|
export {
|
|
19
19
|
basename,
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
sniffForJson,
|
|
32
32
|
sniffForPath
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=path-
|
|
34
|
+
//# sourceMappingURL=path-3RNJ32DF.js.map
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
renderText,
|
|
18
18
|
renderTextPrompt,
|
|
19
19
|
renderWarning
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E3ZCUEYA.js";
|
|
21
21
|
import "./chunk-CQGOPQQH.js";
|
|
22
22
|
import "./chunk-SNOECVP4.js";
|
|
23
23
|
import "./chunk-522OB3EU.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-6EBCZH5K.js";
|
|
25
25
|
import "./chunk-XVNW332R.js";
|
|
26
26
|
import "./chunk-6WYZ3SZB.js";
|
|
27
27
|
import "./chunk-KYB6A4PE.js";
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
renderTextPrompt,
|
|
49
49
|
renderWarning
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=ui-
|
|
51
|
+
//# sourceMappingURL=ui-CUIFJAEJ.js.map
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/create-app",
|
|
3
|
-
"version": "3.71.
|
|
3
|
+
"version": "3.71.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A CLI tool to create a new Shopify app.",
|
|
6
6
|
"keywords": [
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"esbuild": "0.19.8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@shopify/cli-kit": "3.71.
|
|
51
|
-
"@shopify/app": "3.71.
|
|
50
|
+
"@shopify/cli-kit": "3.71.2",
|
|
51
|
+
"@shopify/app": "3.71.2",
|
|
52
52
|
"@types/node": "18.19.3",
|
|
53
53
|
"esbuild-plugin-copy": "^2.1.1",
|
|
54
54
|
"@vitest/coverage-istanbul": "^1.6.0"
|