@shopify/create-app 3.71.1 → 3.71.3

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.
@@ -4,10 +4,10 @@ import {
4
4
  getEnvironmentData,
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData
7
- } from "./chunk-GRIQNZDW.js";
7
+ } from "./chunk-WYLLWFET.js";
8
8
  import {
9
9
  runWithRateLimit
10
- } from "./chunk-3XCGQAXK.js";
10
+ } from "./chunk-QGDWNBQX.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-JLMBYXKI.js";
27
+ } from "./chunk-FMHMRW3B.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-RPNIXREV.js.map
15769
+ //# sourceMappingURL=chunk-5VVJMD3Z.js.map
@@ -31,7 +31,7 @@ var require_commondir = __commonJS({
31
31
 
32
32
  // ../cli-kit/dist/public/node/path.js
33
33
  init_cjs_shims();
34
- var import_commondir = __toESM(require_commondir());
34
+ var import_commondir = __toESM(require_commondir(), 1);
35
35
 
36
36
  // ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/index.mjs
37
37
  init_cjs_shims();
@@ -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-3NSN5Z4N.js.map
195
+ //# sourceMappingURL=chunk-6EBCZH5K.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-RPNIXREV.js";
4
+ } from "./chunk-5VVJMD3Z.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-GRIQNZDW.js";
8
+ } from "./chunk-WYLLWFET.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-3XCGQAXK.js";
11
+ } from "./chunk-QGDWNBQX.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-JLMBYXKI.js";
26
+ } from "./chunk-FMHMRW3B.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-3NSN5Z4N.js";
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-3VW6K5FB.js.map
2143
+ //# sourceMappingURL=chunk-COSXHB3B.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-3NSN5Z4N.js";
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, delimiter = _d === void 0 ? " " : _d, result = replace(replace(input, splitRegexp, "$1\0$2"), stripRegexp, "\0"), start = 0, end = result.length; result.charAt(start) === "\0"; )
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(delimiter);
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 = delimiter
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-JHT2GJHK.js");
22992
+ let { sendErrorToBugsnag } = await import("./error-handler-ARHZ7CDV.js");
22992
22993
  await sendErrorToBugsnag(error, "unexpected_error");
22993
22994
  }
22994
22995
  }, durationStack = [];
@@ -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, delimiter = ",") {
27885
+ function normalizeDelimitedString(delimitedString, delimiter2 = ",") {
27885
27886
  if (!delimitedString)
27886
27887
  return;
27887
- let sortedItems = delimitedString.split(delimiter).map((value) => value.trim()).filter((value) => value !== "").sort();
27888
- return [...new Set(sortedItems)].join(delimiter);
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
@@ -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"), checkCommandSafety(command);
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: options?.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: ${options?.cwd ?? cwd()}
29801
+ \xB7 Working directory: ${executionCwd}
29799
29802
  `), commandProcess;
29800
29803
  }
29801
- function checkCommandSafety(command) {
29802
- if (dirname(import_which.default.sync(command)) === cwd()) {
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-JLMBYXKI.js.map
32081
+ //# sourceMappingURL=chunk-FMHMRW3B.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-3XCGQAXK.js";
3
+ } from "./chunk-QGDWNBQX.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-JLMBYXKI.js";
9
+ } from "./chunk-FMHMRW3B.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-XBBBOMWZ.js.map
27
+ //# sourceMappingURL=chunk-KN3JU4UN.js.map
@@ -18,11 +18,11 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-JLMBYXKI.js";
21
+ } from "./chunk-FMHMRW3B.js";
22
22
  import {
23
23
  dirname,
24
24
  joinPath
25
- } from "./chunk-3NSN5Z4N.js";
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-3XCGQAXK.js.map
15393
+ //# sourceMappingURL=chunk-QGDWNBQX.js.map
@@ -12,7 +12,7 @@ import {
12
12
  removeSession,
13
13
  setCachedPartnerAccountStatus,
14
14
  setSession
15
- } from "./chunk-3XCGQAXK.js";
15
+ } from "./chunk-QGDWNBQX.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-JLMBYXKI.js";
52
+ } from "./chunk-FMHMRW3B.js";
53
53
  import {
54
54
  cwd,
55
55
  sniffForJson
56
- } from "./chunk-3NSN5Z4N.js";
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.1";
29345
+ var CLI_KIT_VERSION = "3.71.3";
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-GRIQNZDW.js.map
34861
+ //# sourceMappingURL=chunk-WYLLWFET.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-JLMBYXKI.js";
4
+ } from "./chunk-FMHMRW3B.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-3NSN5Z4N.js";
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-APVSUKMR.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-2OF3BNBW.js.map
@@ -4,16 +4,16 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-3VW6K5FB.js";
8
- import "./chunk-RPNIXREV.js";
9
- import "./chunk-GRIQNZDW.js";
7
+ } from "./chunk-COSXHB3B.js";
8
+ import "./chunk-5VVJMD3Z.js";
9
+ import "./chunk-WYLLWFET.js";
10
10
  import "./chunk-VSLR7ET4.js";
11
- import "./chunk-3XCGQAXK.js";
12
- import "./chunk-JLMBYXKI.js";
11
+ import "./chunk-QGDWNBQX.js";
12
+ import "./chunk-FMHMRW3B.js";
13
13
  import "./chunk-CQGOPQQH.js";
14
14
  import "./chunk-SNOECVP4.js";
15
15
  import "./chunk-522OB3EU.js";
16
- import "./chunk-3NSN5Z4N.js";
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-JHT2GJHK.js.map
31
+ //# sourceMappingURL=error-handler-ARHZ7CDV.js.map
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-RPNIXREV.js";
3
+ } from "../chunk-5VVJMD3Z.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-GRIQNZDW.js";
6
+ } from "../chunk-WYLLWFET.js";
7
7
  import "../chunk-VSLR7ET4.js";
8
- import "../chunk-3XCGQAXK.js";
8
+ import "../chunk-QGDWNBQX.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-JLMBYXKI.js";
14
+ } from "../chunk-FMHMRW3B.js";
15
15
  import "../chunk-CQGOPQQH.js";
16
16
  import "../chunk-SNOECVP4.js";
17
17
  import "../chunk-522OB3EU.js";
18
- import "../chunk-3NSN5Z4N.js";
18
+ import "../chunk-6EBCZH5K.js";
19
19
  import "../chunk-XVNW332R.js";
20
20
  import "../chunk-6WYZ3SZB.js";
21
21
  import "../chunk-KYB6A4PE.js";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  getOutputUpdateCLIReminder
3
- } from "../chunk-XBBBOMWZ.js";
3
+ } from "../chunk-KN3JU4UN.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-GRIQNZDW.js";
7
+ } from "../chunk-WYLLWFET.js";
8
8
  import "../chunk-VSLR7ET4.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  runAtMinimumInterval
13
- } from "../chunk-3XCGQAXK.js";
13
+ } from "../chunk-QGDWNBQX.js";
14
14
  import {
15
15
  outputDebug,
16
16
  outputWarn
17
- } from "../chunk-JLMBYXKI.js";
17
+ } from "../chunk-FMHMRW3B.js";
18
18
  import "../chunk-CQGOPQQH.js";
19
19
  import "../chunk-SNOECVP4.js";
20
20
  import "../chunk-522OB3EU.js";
21
- import "../chunk-3NSN5Z4N.js";
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-3VW6K5FB.js";
11
+ } from "./chunk-COSXHB3B.js";
12
12
  import {
13
13
  fanoutHooks,
14
14
  getListOfTunnelPlugins,
15
15
  reportAnalyticsEvent
16
- } from "./chunk-RPNIXREV.js";
16
+ } from "./chunk-5VVJMD3Z.js";
17
17
  import {
18
18
  getOutputUpdateCLIReminder
19
- } from "./chunk-XBBBOMWZ.js";
19
+ } from "./chunk-KN3JU4UN.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-GRIQNZDW.js";
64
+ } from "./chunk-WYLLWFET.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-3XCGQAXK.js";
89
+ } from "./chunk-QGDWNBQX.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-JLMBYXKI.js";
263
+ } from "./chunk-FMHMRW3B.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-3NSN5Z4N.js";
285
+ } from "./chunk-6EBCZH5K.js";
286
286
  import {
287
287
  require_fs,
288
288
  require_glob,
@@ -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-JHT2GJHK.js");
142816
+ let { sendErrorToBugsnag } = await import("./error-handler-ARHZ7CDV.js");
142817
142817
  await sendErrorToBugsnag(errorMessage2, "unexpected_error");
142818
142818
  }
142819
142819
  }
@@ -143156,7 +143156,7 @@ var MAX_EXTENSION_HANDLE_LENGTH = 50, MetafieldSchema = z.object({
143156
143156
  // ../app/dist/cli/utilities/extensions/locales-configuration.js
143157
143157
  init_cjs_shims();
143158
143158
  import fs from "fs";
143159
- var L10N_FILE_SIZE_LIMIT = 16 * 1024, L10N_BUNDLE_SIZE_LIMIT = 256 * 1024;
143159
+ var L10N_FILE_SIZE_LIMIT = 20 * 1024, L10N_BUNDLE_SIZE_LIMIT = 256 * 1024;
143160
143160
  async function loadLocalesConfig(extensionPath, extensionIdentifier) {
143161
143161
  let localesPaths = await glob(joinPath(extensionPath, "locales/*.json"));
143162
143162
  if (localesPaths.length === 0)
@@ -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-UKHR7I4C.js");
151843
+ let { renderWarning: renderWarning2 } = await import("./ui-CMIQC3Y3.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-VYFJFJTO.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-5SZGULBR.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
151870
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-DCMI5QSN.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");
@@ -163648,13 +163648,13 @@ async function updateExtensionDraft({ extension, developerPlatformClient, apiKey
163648
163648
  encodedFile = Buffer.from(content).toString("base64");
163649
163649
  }
163650
163650
  let config2;
163651
- extension.isThemeExtension ? config2 = await themeExtensionConfig(extension) : config2 = await extension.deployConfig({ apiKey, appConfiguration }) || {};
163651
+ extension.isThemeExtension ? config2 = await themeExtensionConfig(extension) : config2 = await extension.deployConfig({ apiKey, appConfiguration }) ?? {};
163652
163652
  let draftableConfig = {
163653
163653
  ...config2,
163654
163654
  serialized_script: encodedFile
163655
163655
  };
163656
163656
  if (extension.isFunctionExtension) {
163657
- let compiledFiles = await readFile(outputPath, { encoding: "base64" });
163657
+ let compiledFiles = await readFile(extension.outputPath, { encoding: "base64" });
163658
163658
  draftableConfig.uploaded_files = { "dist/index.wasm": compiledFiles };
163659
163659
  }
163660
163660
  let extensionInput = {
@@ -168249,22 +168249,29 @@ var contextToTarget = (context) => {
168249
168249
  let splitContext = context.split("#");
168250
168250
  if (splitContext.length !== 2 || splitContext.some((part) => part === "" || part === void 0))
168251
168251
  throw new Error("Invalid context");
168252
- let domain = "admin", subDomain = typeToSubDomain(splitContext[0] || ""), entity = locationToEntity(splitContext[1] || "");
168253
- return [domain, subDomain, entity, "link"].join(".");
168252
+ let domain = "admin", subDomain = typeToSubDomain(splitContext[0] ?? ""), entity = locationToEntity(splitContext[1] ?? ""), action = "link";
168253
+ return entity === "selection" ? [domain, `${subDomain}-index`, `${entity}-action`, action].join(".") : [domain, `${subDomain}-${entity}`, "action", action].join(".");
168254
168254
  }, locationToEntity = (location2) => {
168255
168255
  switch (location2.toLocaleLowerCase()) {
168256
168256
  case "show":
168257
- return "item";
168257
+ return "details";
168258
168258
  case "index":
168259
168259
  return "index";
168260
168260
  case "action":
168261
168261
  return "selection";
168262
168262
  case "fulfilled_card":
168263
- return "fulfilled_card";
168263
+ return "fulfilled-card";
168264
168264
  default:
168265
168265
  throw new Error(`Invalid context location: ${location2}`);
168266
168266
  }
168267
- }, typeToSubDomain = (word) => word.toLocaleLowerCase().replace(new RegExp("(s)$"), "");
168267
+ }, typeToSubDomain = (type) => {
168268
+ switch (type.toLocaleLowerCase()) {
168269
+ case "variants":
168270
+ return "product-variant";
168271
+ default:
168272
+ return type.toLocaleLowerCase().replace(new RegExp("(s)$"), "");
168273
+ }
168274
+ };
168268
168275
 
168269
168276
  // ../app/dist/cli/services/admin-link/extension-to-toml.js
168270
168277
  function buildTomlObject3(extension, _2, appConfiguration) {
@@ -169624,7 +169631,7 @@ var commands = {
169624
169631
  init_cjs_shims();
169625
169632
  import { fileURLToPath as fileURLToPath2 } from "node:url";
169626
169633
  async function launchCLI(options) {
169627
- let { errorHandler: errorHandler2 } = await import("./error-handler-JHT2GJHK.js"), { isDevelopment: isDevelopment2 } = await import("./local-7TFODKTC.js"), oclif = await import("./lib-EGJUAXU5.js"), { ShopifyConfig } = await import("./custom-oclif-loader-APVSUKMR.js");
169634
+ let { errorHandler: errorHandler2 } = await import("./error-handler-ARHZ7CDV.js"), { isDevelopment: isDevelopment2 } = await import("./local-4NUYW4RN.js"), oclif = await import("./lib-EGJUAXU5.js"), { ShopifyConfig } = await import("./custom-oclif-loader-2OF3BNBW.js");
169628
169635
  isDevelopment2() && (oclif.default.settings.debug = !0);
169629
169636
  try {
169630
169637
  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-JLMBYXKI.js";
25
+ } from "./chunk-FMHMRW3B.js";
26
26
  import "./chunk-CQGOPQQH.js";
27
27
  import "./chunk-SNOECVP4.js";
28
28
  import "./chunk-522OB3EU.js";
29
- import "./chunk-3NSN5Z4N.js";
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-7TFODKTC.js.map
61
+ //# sourceMappingURL=local-4NUYW4RN.js.map
@@ -28,12 +28,12 @@ import {
28
28
  versionSatisfies,
29
29
  writePackageJSON,
30
30
  yarnLockfile
31
- } from "./chunk-3XCGQAXK.js";
32
- import "./chunk-JLMBYXKI.js";
31
+ } from "./chunk-QGDWNBQX.js";
32
+ import "./chunk-FMHMRW3B.js";
33
33
  import "./chunk-CQGOPQQH.js";
34
34
  import "./chunk-SNOECVP4.js";
35
35
  import "./chunk-522OB3EU.js";
36
- import "./chunk-3NSN5Z4N.js";
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-VYFJFJTO.js.map
74
+ //# sourceMappingURL=node-package-manager-DCMI5QSN.js.map
@@ -13,7 +13,7 @@ import {
13
13
  resolvePath,
14
14
  sniffForJson,
15
15
  sniffForPath
16
- } from "./chunk-3NSN5Z4N.js";
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-5SZGULBR.js.map
34
+ //# sourceMappingURL=path-3RNJ32DF.js.map
@@ -17,11 +17,11 @@ import {
17
17
  renderText,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-JLMBYXKI.js";
20
+ } from "./chunk-FMHMRW3B.js";
21
21
  import "./chunk-CQGOPQQH.js";
22
22
  import "./chunk-SNOECVP4.js";
23
23
  import "./chunk-522OB3EU.js";
24
- import "./chunk-3NSN5Z4N.js";
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-UKHR7I4C.js.map
51
+ //# sourceMappingURL=ui-CMIQC3Y3.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.71.1"
107
+ "version": "3.71.3"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.71.1",
3
+ "version": "3.71.3",
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.1",
51
- "@shopify/app": "3.71.1",
50
+ "@shopify/cli-kit": "3.71.3",
51
+ "@shopify/app": "3.71.3",
52
52
  "@types/node": "18.19.3",
53
53
  "esbuild-plugin-copy": "^2.1.1",
54
54
  "@vitest/coverage-istanbul": "^1.6.0"