@shopify/create-app 3.82.1 → 3.83.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-75QMAARJ.js → chunk-EU5PDVVS.js} +799 -1168
- package/dist/{chunk-ZIXYVUD6.js → chunk-GDQXK7SS.js} +5 -5
- package/dist/{chunk-2YVW3FGK.js → chunk-H3GWNOGA.js} +7817 -11862
- package/dist/chunk-LABBARNJ.js +76 -0
- package/dist/{chunk-ILI5X6PP.js → chunk-O4KAJGU5.js} +2 -2
- package/dist/{chunk-H2RMSP56.js → chunk-ROHZIBAY.js} +13 -11
- package/dist/{chunk-4ZPIFK7H.js → chunk-S3IDOXGB.js} +5 -3
- package/dist/{chunk-6OWK7KKO.js → chunk-ULXZG5FG.js} +6 -6
- package/dist/{chunk-TNRWP2XN.js → chunk-XM645PFF.js} +5 -5
- package/dist/{custom-oclif-loader-2KUDQ6HQ.js → custom-oclif-loader-7EOQDX6M.js} +4 -6
- package/dist/{chunk-VMUIREUQ.js → del-4XMQNWFE.js} +364 -72
- package/dist/{error-handler-SWZ4Y54O.js → error-handler-C6Y3FZJC.js} +8 -10
- package/dist/hooks/postrun.js +6 -8
- package/dist/hooks/prerun.js +6 -8
- package/dist/{http-proxy-LHSVRGJ5.js → http-proxy-node16-T623PGD4.js} +37 -29
- package/dist/index.js +36083 -36891
- package/dist/lib-CLQ247I5.js +9 -0
- package/dist/{local-KOMGI74N.js → local-OQFLNNSH.js} +4 -6
- package/dist/{node-package-manager-HDKMIXR2.js → node-package-manager-QPXWQ6QR.js} +5 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-2DQEYOWO.js → ui-CS3NGQRA.js} +4 -6
- package/oclif.manifest.json +1 -1
- package/package.json +4 -5
- package/dist/del-MOZRBB7Y.js +0 -374
- package/dist/lib-UJ7YNLH4.js +0 -11
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS,
|
|
3
|
+
init_cjs_shims
|
|
4
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
5
|
+
|
|
6
|
+
// ../../node_modules/.pnpm/indent-string@4.0.0/node_modules/indent-string/index.js
|
|
7
|
+
var require_indent_string = __commonJS({
|
|
8
|
+
"../../node_modules/.pnpm/indent-string@4.0.0/node_modules/indent-string/index.js"(exports, module) {
|
|
9
|
+
"use strict";
|
|
10
|
+
init_cjs_shims();
|
|
11
|
+
module.exports = (string, count = 1, options) => {
|
|
12
|
+
if (options = {
|
|
13
|
+
indent: " ",
|
|
14
|
+
includeEmptyLines: !1,
|
|
15
|
+
...options
|
|
16
|
+
}, typeof string != "string")
|
|
17
|
+
throw new TypeError(
|
|
18
|
+
`Expected \`input\` to be a \`string\`, got \`${typeof string}\``
|
|
19
|
+
);
|
|
20
|
+
if (typeof count != "number")
|
|
21
|
+
throw new TypeError(
|
|
22
|
+
`Expected \`count\` to be a \`number\`, got \`${typeof count}\``
|
|
23
|
+
);
|
|
24
|
+
if (typeof options.indent != "string")
|
|
25
|
+
throw new TypeError(
|
|
26
|
+
`Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``
|
|
27
|
+
);
|
|
28
|
+
if (count === 0)
|
|
29
|
+
return string;
|
|
30
|
+
let regex = options.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
|
|
31
|
+
return string.replace(regex, options.indent.repeat(count));
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
// ../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js
|
|
37
|
+
var require_balanced_match = __commonJS({
|
|
38
|
+
"../../node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.js"(exports, module) {
|
|
39
|
+
"use strict";
|
|
40
|
+
init_cjs_shims();
|
|
41
|
+
module.exports = balanced;
|
|
42
|
+
function balanced(a, b, str) {
|
|
43
|
+
a instanceof RegExp && (a = maybeMatch(a, str)), b instanceof RegExp && (b = maybeMatch(b, str));
|
|
44
|
+
var r = range(a, b, str);
|
|
45
|
+
return r && {
|
|
46
|
+
start: r[0],
|
|
47
|
+
end: r[1],
|
|
48
|
+
pre: str.slice(0, r[0]),
|
|
49
|
+
body: str.slice(r[0] + a.length, r[1]),
|
|
50
|
+
post: str.slice(r[1] + b.length)
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function maybeMatch(reg, str) {
|
|
54
|
+
var m = str.match(reg);
|
|
55
|
+
return m ? m[0] : null;
|
|
56
|
+
}
|
|
57
|
+
balanced.range = range;
|
|
58
|
+
function range(a, b, str) {
|
|
59
|
+
var begs, beg, left, right, result, ai = str.indexOf(a), bi = str.indexOf(b, ai + 1), i = ai;
|
|
60
|
+
if (ai >= 0 && bi > 0) {
|
|
61
|
+
if (a === b)
|
|
62
|
+
return [ai, bi];
|
|
63
|
+
for (begs = [], left = str.length; i >= 0 && !result; )
|
|
64
|
+
i == ai ? (begs.push(i), ai = str.indexOf(a, i + 1)) : begs.length == 1 ? result = [begs.pop(), bi] : (beg = begs.pop(), beg < left && (left = beg, right = bi), bi = str.indexOf(b, i + 1)), i = ai < bi && ai >= 0 ? ai : bi;
|
|
65
|
+
begs.length && (result = [left, right]);
|
|
66
|
+
}
|
|
67
|
+
return result;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
export {
|
|
73
|
+
require_balanced_match,
|
|
74
|
+
require_indent_string
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=chunk-LABBARNJ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-SHWOPMLQ.js";
|
|
5
5
|
import {
|
|
6
6
|
require_balanced_match
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LABBARNJ.js";
|
|
8
8
|
import {
|
|
9
9
|
__commonJS,
|
|
10
10
|
__require,
|
|
@@ -1458,4 +1458,4 @@ export {
|
|
|
1458
1458
|
require_inflight,
|
|
1459
1459
|
require_glob
|
|
1460
1460
|
};
|
|
1461
|
-
//# sourceMappingURL=chunk-
|
|
1461
|
+
//# sourceMappingURL=chunk-O4KAJGU5.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
packageManagerFromUserAgent,
|
|
10
10
|
removeSession,
|
|
11
11
|
setSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S3IDOXGB.js";
|
|
13
13
|
import {
|
|
14
14
|
AbortError,
|
|
15
15
|
BugError,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
spinFqdn,
|
|
46
46
|
systemEnvironmentVariables,
|
|
47
47
|
themeToken
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-EU5PDVVS.js";
|
|
49
49
|
import {
|
|
50
50
|
cwd,
|
|
51
51
|
sniffForJson
|
|
@@ -26948,7 +26948,7 @@ var require_form_data = __commonJS({
|
|
|
26948
26948
|
|
|
26949
26949
|
// ../cli-kit/dist/public/common/version.js
|
|
26950
26950
|
init_cjs_shims();
|
|
26951
|
-
var CLI_KIT_VERSION = "3.
|
|
26951
|
+
var CLI_KIT_VERSION = "3.83.1";
|
|
26952
26952
|
|
|
26953
26953
|
// ../cli-kit/dist/private/node/analytics.js
|
|
26954
26954
|
init_cjs_shims();
|
|
@@ -32244,12 +32244,12 @@ async function requestAppToken(api, token, scopes = [], store2) {
|
|
|
32244
32244
|
return { [identifier]: appToken };
|
|
32245
32245
|
}
|
|
32246
32246
|
function tokenRequestErrorHandler({ error, store: store2 }) {
|
|
32247
|
-
let invalidTargetErrorMessage = `You are not authorized to use the CLI to develop in the provided store${store2 ? `: ${store2}` : "."}
|
|
32248
|
-
|
|
32249
|
-
|
|
32250
|
-
|
|
32251
|
-
|
|
32252
|
-
|
|
32247
|
+
let invalidTargetErrorMessage = `You are not authorized to use the CLI to develop in the provided store${store2 ? `: ${store2}` : "."}`;
|
|
32248
|
+
return error === "invalid_grant" ? new InvalidGrantError() : error === "invalid_request" ? new InvalidRequestError() : error === "invalid_target" ? new InvalidTargetError(invalidTargetErrorMessage, "", [
|
|
32249
|
+
"Ensure you have logged in to the store using the Shopify admin at least once.",
|
|
32250
|
+
"Ensure you are the store owner, or have a staff account if you are attempting to log in to a development store.",
|
|
32251
|
+
"Ensure you are using the permanent store domain, not a vanity domain."
|
|
32252
|
+
]) : new AbortError(error);
|
|
32253
32253
|
}
|
|
32254
32254
|
async function tokenRequest(params) {
|
|
32255
32255
|
let fqdn = await identityFqdn(), url4 = new URL(`https://${fqdn}/oauth/token`);
|
|
@@ -32548,7 +32548,8 @@ async function getEnvironmentData(config) {
|
|
|
32548
32548
|
env_package_manager: await getPackageManager(cwd()),
|
|
32549
32549
|
env_is_global: currentProcessIsGlobal(),
|
|
32550
32550
|
env_auth_method: await getLastSeenAuthMethod(),
|
|
32551
|
-
env_is_wsl: await isWsl()
|
|
32551
|
+
env_is_wsl: await isWsl(),
|
|
32552
|
+
env_build_repository: process.env.SHOPIFY_CLI_BUILD_REPO ?? "unknown"
|
|
32552
32553
|
};
|
|
32553
32554
|
}
|
|
32554
32555
|
async function getSensitiveEnvironmentData(config) {
|
|
@@ -32597,6 +32598,7 @@ export {
|
|
|
32597
32598
|
fetch2 as fetch,
|
|
32598
32599
|
shopifyFetch,
|
|
32599
32600
|
z,
|
|
32601
|
+
DevServerCore,
|
|
32600
32602
|
partnersFqdn,
|
|
32601
32603
|
adminFqdn,
|
|
32602
32604
|
appManagementFqdn,
|
|
@@ -32636,4 +32638,4 @@ mime-types/index.js:
|
|
|
32636
32638
|
* MIT Licensed
|
|
32637
32639
|
*)
|
|
32638
32640
|
*/
|
|
32639
|
-
//# sourceMappingURL=chunk-
|
|
32641
|
+
//# sourceMappingURL=chunk-ROHZIBAY.js.map
|
|
@@ -16,10 +16,12 @@ import {
|
|
|
16
16
|
outputToken,
|
|
17
17
|
readFile,
|
|
18
18
|
require_get_stream,
|
|
19
|
-
require_semver,
|
|
20
19
|
runWithTimer,
|
|
21
20
|
writeFile
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EU5PDVVS.js";
|
|
22
|
+
import {
|
|
23
|
+
require_semver
|
|
24
|
+
} from "./chunk-H3GWNOGA.js";
|
|
23
25
|
import {
|
|
24
26
|
dirname,
|
|
25
27
|
joinPath
|
|
@@ -13907,4 +13909,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
13907
13909
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
13908
13910
|
*)
|
|
13909
13911
|
*/
|
|
13910
|
-
//# sourceMappingURL=chunk-
|
|
13912
|
+
//# sourceMappingURL=chunk-S3IDOXGB.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GDQXK7SS.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ROHZIBAY.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S3IDOXGB.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortSilentError,
|
|
14
14
|
CancelExecution,
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
reportingRateLimit,
|
|
24
24
|
require_stacktracey,
|
|
25
25
|
shouldReportErrorAsUnexpected
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-EU5PDVVS.js";
|
|
27
27
|
import {
|
|
28
28
|
require_lib
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-H3GWNOGA.js";
|
|
30
30
|
import {
|
|
31
31
|
cwd,
|
|
32
32
|
isAbsolutePath,
|
|
@@ -2142,4 +2142,4 @@ export {
|
|
|
2142
2142
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2143
2143
|
addBugsnagMetadata
|
|
2144
2144
|
};
|
|
2145
|
-
//# sourceMappingURL=chunk-
|
|
2145
|
+
//# sourceMappingURL=chunk-ULXZG5FG.js.map
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ROHZIBAY.js";
|
|
6
6
|
import {
|
|
7
7
|
cacheRetrieve,
|
|
8
8
|
cacheStore,
|
|
9
9
|
versionSatisfies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S3IDOXGB.js";
|
|
11
11
|
import {
|
|
12
12
|
AbortSilentError,
|
|
13
13
|
exec,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
renderError,
|
|
17
17
|
renderInfo,
|
|
18
18
|
renderWarning
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EU5PDVVS.js";
|
|
20
20
|
import {
|
|
21
21
|
init_cjs_shims
|
|
22
22
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -84,7 +84,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
84
84
|
throw new AbortSilentError();
|
|
85
85
|
let errorMessage = `Error showing notifications: ${error.message}`;
|
|
86
86
|
outputDebug(errorMessage);
|
|
87
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
87
|
+
let { sendErrorToBugsnag } = await import("./error-handler-C6Y3FZJC.js");
|
|
88
88
|
await sendErrorToBugsnag(errorMessage, "unexpected_error");
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -174,4 +174,4 @@ export {
|
|
|
174
174
|
showNotificationsIfNeeded,
|
|
175
175
|
fetchNotificationsInBackground
|
|
176
176
|
};
|
|
177
|
-
//# sourceMappingURL=chunk-
|
|
177
|
+
//# sourceMappingURL=chunk-XM645PFF.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EU5PDVVS.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-H3GWNOGA.js";
|
|
8
8
|
import "./chunk-UMUTXITN.js";
|
|
9
9
|
import {
|
|
10
10
|
cwd,
|
|
@@ -12,9 +12,7 @@ import {
|
|
|
12
12
|
sniffForPath
|
|
13
13
|
} from "./chunk-Y2JP6WFP.js";
|
|
14
14
|
import "./chunk-75LV6AQS.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-CTFDRWUN.js";
|
|
17
|
-
import "./chunk-7IK72W75.js";
|
|
15
|
+
import "./chunk-LABBARNJ.js";
|
|
18
16
|
import "./chunk-G2ZZKGSV.js";
|
|
19
17
|
import {
|
|
20
18
|
__toESM,
|
|
@@ -42,4 +40,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
42
40
|
export {
|
|
43
41
|
ShopifyConfig
|
|
44
42
|
};
|
|
45
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
43
|
+
//# sourceMappingURL=custom-oclif-loader-7EOQDX6M.js.map
|