@shopify/create-app 3.92.0 → 3.92.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.
@@ -2,12 +2,12 @@ import {
2
2
  CLI_KIT_VERSION,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-E5RFMKTS.js";
5
+ } from "./chunk-CCWLFNWN.js";
6
6
  import {
7
7
  cacheRetrieve,
8
8
  cacheStore,
9
9
  versionSatisfies
10
- } from "./chunk-4IQVIVXR.js";
10
+ } from "./chunk-QZMFOTZO.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-2Y7RMHCP.js";
19
+ } from "./chunk-RIXXPHKS.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-AZ74ZESJ.js");
87
+ let { sendErrorToBugsnag } = await import("./error-handler-SDB6N5WP.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-LWC4NZ7P.js.map
177
+ //# sourceMappingURL=chunk-6VIP6FXG.js.map
@@ -18,7 +18,7 @@ import {
18
18
  setCurrentSessionId,
19
19
  setSessions,
20
20
  timeIntervalToMilliseconds
21
- } from "./chunk-4IQVIVXR.js";
21
+ } from "./chunk-QZMFOTZO.js";
22
22
  import {
23
23
  AbortError,
24
24
  AbortSilentError,
@@ -103,7 +103,7 @@ import {
103
103
  stringifyMessage,
104
104
  systemEnvironmentVariables,
105
105
  themeToken
106
- } from "./chunk-2Y7RMHCP.js";
106
+ } from "./chunk-RIXXPHKS.js";
107
107
  import {
108
108
  require_lib
109
109
  } from "./chunk-Z4EMJFGP.js";
@@ -48086,7 +48086,7 @@ init_cjs_shims();
48086
48086
 
48087
48087
  // ../cli-kit/dist/public/common/version.js
48088
48088
  init_cjs_shims();
48089
- var CLI_KIT_VERSION = "3.92.0";
48089
+ var CLI_KIT_VERSION = "3.92.1";
48090
48090
 
48091
48091
  // ../cli-kit/dist/private/node/api/headers.js
48092
48092
  import https from "https";
@@ -54899,4 +54899,4 @@ mime-types/index.js:
54899
54899
  * MIT Licensed
54900
54900
  *)
54901
54901
  */
54902
- //# sourceMappingURL=chunk-E5RFMKTS.js.map
54902
+ //# sourceMappingURL=chunk-CCWLFNWN.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  getNextDeprecationDate,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-E5RFMKTS.js";
4
+ } from "./chunk-CCWLFNWN.js";
5
5
  import {
6
6
  addSensitiveMetadata,
7
7
  getAllSensitiveMetadata,
8
8
  outputDebug,
9
9
  renderWarning
10
- } from "./chunk-2Y7RMHCP.js";
10
+ } from "./chunk-RIXXPHKS.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-PKR7KJ6P.js";
@@ -75,4 +75,4 @@ export {
75
75
  postRunHookHasCompleted,
76
76
  hook
77
77
  };
78
- //# sourceMappingURL=chunk-ZYH65YNX.js.map
78
+ //# sourceMappingURL=chunk-QYFBWGDH.js.map
@@ -21,7 +21,7 @@ import {
21
21
  runWithTimer,
22
22
  unixFileIsOwnedByCurrentUser,
23
23
  writeFile
24
- } from "./chunk-2Y7RMHCP.js";
24
+ } from "./chunk-RIXXPHKS.js";
25
25
  import {
26
26
  require_semver
27
27
  } from "./chunk-Z4EMJFGP.js";
@@ -14019,4 +14019,4 @@ deep-extend/lib/deep-extend.js:
14019
14019
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14020
14020
  *)
14021
14021
  */
14022
- //# sourceMappingURL=chunk-4IQVIVXR.js.map
14022
+ //# sourceMappingURL=chunk-QZMFOTZO.js.map
@@ -26158,7 +26158,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
26158
26158
  try {
26159
26159
  await getAndSet();
26160
26160
  } catch (error) {
26161
- let { sendErrorToBugsnag } = await import("./error-handler-AZ74ZESJ.js");
26161
+ let { sendErrorToBugsnag } = await import("./error-handler-SDB6N5WP.js");
26162
26162
  await sendErrorToBugsnag(error, "unexpected_error");
26163
26163
  }
26164
26164
  }, durationStack = [];
@@ -35837,4 +35837,4 @@ react-reconciler/cjs/react-reconciler.development.js:
35837
35837
  * LICENSE file in the root directory of this source tree.
35838
35838
  *)
35839
35839
  */
35840
- //# sourceMappingURL=chunk-2Y7RMHCP.js.map
35840
+ //# sourceMappingURL=chunk-RIXXPHKS.js.map
@@ -2,7 +2,7 @@ import {
2
2
  execaSync,
3
3
  fileExistsSync,
4
4
  isDevelopment
5
- } from "./chunk-2Y7RMHCP.js";
5
+ } from "./chunk-RIXXPHKS.js";
6
6
  import {
7
7
  require_lib
8
8
  } from "./chunk-Z4EMJFGP.js";
@@ -46,4 +46,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
46
46
  export {
47
47
  ShopifyConfig
48
48
  };
49
- //# sourceMappingURL=custom-oclif-loader-FDOUK5E3.js.map
49
+ //# sourceMappingURL=custom-oclif-loader-N6CT4XKA.js.map
@@ -4,10 +4,10 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-E5RFMKTS.js";
7
+ } from "./chunk-CCWLFNWN.js";
8
8
  import "./chunk-VBBBCVMH.js";
9
- import "./chunk-4IQVIVXR.js";
10
- import "./chunk-2Y7RMHCP.js";
9
+ import "./chunk-QZMFOTZO.js";
10
+ import "./chunk-RIXXPHKS.js";
11
11
  import "./chunk-Z4EMJFGP.js";
12
12
  import "./chunk-UMUTXITN.js";
13
13
  import "./chunk-CFNYEDC6.js";
@@ -25,4 +25,4 @@ export {
25
25
  registerCleanBugsnagErrorsFromWithinPlugins,
26
26
  sendErrorToBugsnag
27
27
  };
28
- //# sourceMappingURL=error-handler-AZ74ZESJ.js.map
28
+ //# sourceMappingURL=error-handler-SDB6N5WP.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  hook
3
- } from "../chunk-ZYH65YNX.js";
4
- import "../chunk-E5RFMKTS.js";
3
+ } from "../chunk-QYFBWGDH.js";
4
+ import "../chunk-CCWLFNWN.js";
5
5
  import "../chunk-VBBBCVMH.js";
6
- import "../chunk-4IQVIVXR.js";
7
- import "../chunk-2Y7RMHCP.js";
6
+ import "../chunk-QZMFOTZO.js";
7
+ import "../chunk-RIXXPHKS.js";
8
8
  import "../chunk-Z4EMJFGP.js";
9
9
  import "../chunk-UMUTXITN.js";
10
10
  import "../chunk-CFNYEDC6.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetchNotificationsInBackground
3
- } from "../chunk-LWC4NZ7P.js";
3
+ } from "../chunk-6VIP6FXG.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-E5RFMKTS.js";
7
+ } from "../chunk-CCWLFNWN.js";
8
8
  import "../chunk-VBBBCVMH.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  packageManagerFromUserAgent,
13
13
  runAtMinimumInterval
14
- } from "../chunk-4IQVIVXR.js";
14
+ } from "../chunk-QZMFOTZO.js";
15
15
  import {
16
16
  currentProcessIsGlobal,
17
17
  inferPackageManagerForGlobalCLI,
@@ -20,7 +20,7 @@ import {
20
20
  outputDebug,
21
21
  outputToken,
22
22
  outputWarn
23
- } from "../chunk-2Y7RMHCP.js";
23
+ } from "../chunk-RIXXPHKS.js";
24
24
  import "../chunk-Z4EMJFGP.js";
25
25
  import "../chunk-UMUTXITN.js";
26
26
  import "../chunk-CFNYEDC6.js";
package/dist/index.js CHANGED
@@ -6,11 +6,11 @@ import {
6
6
  } from "./chunk-CE4S2SGM.js";
7
7
  import {
8
8
  postRunHookHasCompleted
9
- } from "./chunk-ZYH65YNX.js";
9
+ } from "./chunk-QYFBWGDH.js";
10
10
  import {
11
11
  setCurrentCommandId,
12
12
  showNotificationsIfNeeded
13
- } from "./chunk-LWC4NZ7P.js";
13
+ } from "./chunk-6VIP6FXG.js";
14
14
  import {
15
15
  CLI_KIT_VERSION,
16
16
  ClientError,
@@ -92,7 +92,7 @@ import {
92
92
  shopifyFetch,
93
93
  storeAdminUrl,
94
94
  z
95
- } from "./chunk-E5RFMKTS.js";
95
+ } from "./chunk-CCWLFNWN.js";
96
96
  import "./chunk-VBBBCVMH.js";
97
97
  import {
98
98
  LocalStorage,
@@ -115,7 +115,7 @@ import {
115
115
  usesWorkspaces,
116
116
  versionSatisfies,
117
117
  writePackageJSON
118
- } from "./chunk-4IQVIVXR.js";
118
+ } from "./chunk-QZMFOTZO.js";
119
119
  import {
120
120
  AbortController as AbortController2,
121
121
  AbortError,
@@ -282,7 +282,7 @@ import {
282
282
  username,
283
283
  writeFile,
284
284
  writeFileSync
285
- } from "./chunk-2Y7RMHCP.js";
285
+ } from "./chunk-RIXXPHKS.js";
286
286
  import {
287
287
  require_brace_expansion,
288
288
  require_lib as require_lib2,
@@ -336366,7 +336366,7 @@ init_cjs_shims();
336366
336366
  init_cjs_shims();
336367
336367
  import { fileURLToPath as fileURLToPath2 } from "node:url";
336368
336368
  async function launchCLI(options) {
336369
- let { errorHandler: errorHandler2 } = await import("./error-handler-AZ74ZESJ.js"), { isDevelopment: isDevelopment2 } = await import("./local-F5SJFIZQ.js"), oclif = await import("./lib-7YQ4OA7Q.js"), { ShopifyConfig } = await import("./custom-oclif-loader-FDOUK5E3.js");
336369
+ let { errorHandler: errorHandler2 } = await import("./error-handler-SDB6N5WP.js"), { isDevelopment: isDevelopment2 } = await import("./local-ZY5T7LWJ.js"), oclif = await import("./lib-7YQ4OA7Q.js"), { ShopifyConfig } = await import("./custom-oclif-loader-N6CT4XKA.js");
336370
336370
  isDevelopment2() && (oclif.default.settings.debug = !0);
336371
336371
  try {
336372
336372
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
@@ -336381,7 +336381,7 @@ var import_core3 = __toESM(require_lib2());
336381
336381
  async function exitIfOldNodeVersion(versions2 = process.versions) {
336382
336382
  let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
336383
336383
  if (nodeMajorVersion < 18) {
336384
- let { renderError: renderError2 } = await import("./ui-Y2JQGPGT.js");
336384
+ let { renderError: renderError2 } = await import("./ui-5EPBXHCW.js");
336385
336385
  renderError2({
336386
336386
  headline: "Upgrade to a supported Node version now.",
336387
336387
  body: [
@@ -336408,7 +336408,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
336408
336408
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL });
336409
336409
  }
336410
336410
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
336411
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-UC7OPVEB.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-4PMUDKKD.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
336411
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-BU2KNU5H.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-4PMUDKKD.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
336412
336412
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
336413
336413
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
336414
336414
  argv.splice(initIndex2, 0, "init");
@@ -343675,7 +343675,7 @@ function setMimeTypes(newTypes) {
343675
343675
  }
343676
343676
 
343677
343677
  // ../theme/dist/cli/utilities/theme-environment/proxy.js
343678
- var VANITY_CDN_PREFIX = "/cdn/", EXTENSION_CDN_PREFIX = "/ext/cdn/", API_COLLECT_PATH = "/api/collect", CART_PATTERN = /^\/cart\//, CART_SESSION_PATTERN = /^\/cart(\/|\.js|\.json|$)/, CHECKOUT_PATTERN = /^\/checkouts\/(?!internal\/)/, ACCOUNT_PATTERN = /^\/account(\/login\/multipass(\/[^/]+)?|\/logout)?\/?$/, VANITY_CDN_PATTERN = new RegExp(`^${VANITY_CDN_PREFIX}`), EXTENSION_CDN_PATTERN = new RegExp(`^${EXTENSION_CDN_PREFIX}`), IGNORED_ENDPOINTS = [
343678
+ var VANITY_CDN_PREFIX = "/cdn/", EXTENSION_CDN_PREFIX = "/ext/cdn/", API_COLLECT_PATH = "/api/collect", CART_PATTERN = /^\/cart\//, CHECKOUT_PATTERN = /^\/checkouts\/(?!internal\/)/, ACCOUNT_PATTERN = /^\/account(\/login\/multipass(\/[^/]+)?|\/logout)?\/?$/, VANITY_CDN_PATTERN = new RegExp(`^${VANITY_CDN_PREFIX}`), EXTENSION_CDN_PATTERN = new RegExp(`^${EXTENSION_CDN_PREFIX}`), IGNORED_ENDPOINTS = [
343679
343679
  "/.well-known",
343680
343680
  "/shopify/monorail",
343681
343681
  "/mini-profiler-resources",
@@ -343715,10 +343715,6 @@ function canProxyRequest(event) {
343715
343715
  let [pathname] = event.path.split("?"), extension = extname(pathname), acceptsType = event.headers.get("accept") ?? "*/*";
343716
343716
  return extension === ".html" || acceptsType.includes("text/html") ? !1 : !!extension || acceptsType !== "*/*";
343717
343717
  }
343718
- function needsBearerToken(path) {
343719
- let [pathname] = path.split("?");
343720
- return !(CART_SESSION_PATTERN.test(pathname) || CHECKOUT_PATTERN.test(pathname) || ACCOUNT_PATTERN.test(pathname));
343721
- }
343722
343718
  function getStoreFqdnForRegEx(ctx) {
343723
343719
  return ctx.session.storeFqdn.replace(/\\/g, "\\\\").replace(/\./g, "\\.");
343724
343720
  }
@@ -343802,7 +343798,7 @@ function proxyStorefrontRequest(event, ctx) {
343802
343798
  referer: url.origin,
343803
343799
  Cookie: buildCookies(ctx.session, { headers })
343804
343800
  };
343805
- ctx.type === "theme" && needsBearerToken(event.path) && (baseHeaders.Authorization = `Bearer ${ctx.session.storefrontToken}`);
343801
+ ctx.type === "theme" && (baseHeaders.Authorization = `Bearer ${ctx.session.storefrontToken}`);
343806
343802
  let finalHeaders = cleanHeader(baseHeaders);
343807
343803
  return fetch(url, {
343808
343804
  method: event.method,
@@ -21,7 +21,7 @@ import {
21
21
  macAddress,
22
22
  opentelemetryDomain,
23
23
  themeToken
24
- } from "./chunk-2Y7RMHCP.js";
24
+ } from "./chunk-RIXXPHKS.js";
25
25
  import "./chunk-Z4EMJFGP.js";
26
26
  import "./chunk-UMUTXITN.js";
27
27
  import "./chunk-CFNYEDC6.js";
@@ -55,4 +55,4 @@ export {
55
55
  opentelemetryDomain,
56
56
  themeToken
57
57
  };
58
- //# sourceMappingURL=local-F5SJFIZQ.js.map
58
+ //# sourceMappingURL=local-ZY5T7LWJ.js.map
@@ -29,8 +29,8 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-4IQVIVXR.js";
33
- import "./chunk-2Y7RMHCP.js";
32
+ } from "./chunk-QZMFOTZO.js";
33
+ import "./chunk-RIXXPHKS.js";
34
34
  import "./chunk-Z4EMJFGP.js";
35
35
  import "./chunk-UMUTXITN.js";
36
36
  import "./chunk-CFNYEDC6.js";
@@ -72,4 +72,4 @@ export {
72
72
  writePackageJSON,
73
73
  yarnLockfile
74
74
  };
75
- //# sourceMappingURL=node-package-manager-UC7OPVEB.js.map
75
+ //# sourceMappingURL=node-package-manager-BU2KNU5H.js.map
@@ -17,7 +17,7 @@ import {
17
17
  renderTasks,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-2Y7RMHCP.js";
20
+ } from "./chunk-RIXXPHKS.js";
21
21
  import "./chunk-Z4EMJFGP.js";
22
22
  import "./chunk-UMUTXITN.js";
23
23
  import "./chunk-CFNYEDC6.js";
@@ -47,4 +47,4 @@ export {
47
47
  renderTextPrompt,
48
48
  renderWarning
49
49
  };
50
- //# sourceMappingURL=ui-Y2JQGPGT.js.map
50
+ //# sourceMappingURL=ui-5EPBXHCW.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.92.0"
107
+ "version": "3.92.1"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.92.0",
3
+ "version": "3.92.1",
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.27.2"
48
48
  },
49
49
  "devDependencies": {
50
- "@shopify/cli-kit": "3.92.0",
51
- "@shopify/app": "3.92.0",
50
+ "@shopify/cli-kit": "3.92.1",
51
+ "@shopify/app": "3.92.1",
52
52
  "esbuild-plugin-copy": "^2.1.1",
53
53
  "@vitest/coverage-istanbul": "^3.1.4"
54
54
  },