@shopify/create-app 3.85.2 → 3.85.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.
@@ -2,12 +2,12 @@ import {
2
2
  CLI_KIT_VERSION,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-OPUACRBY.js";
5
+ } from "./chunk-6NLDEVLI.js";
6
6
  import {
7
7
  cacheRetrieve,
8
8
  cacheStore,
9
9
  versionSatisfies
10
- } from "./chunk-Y6H4NQNN.js";
10
+ } from "./chunk-5HCVMQPA.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-5P4X6AIQ.js";
19
+ } from "./chunk-GDQKSWAB.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-VKKBCHLU.js");
87
+ let { sendErrorToBugsnag } = await import("./error-handler-MJJYI3CD.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-7BZNMHRM.js.map
177
+ //# sourceMappingURL=chunk-NXCZ6OFG.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-5P4X6AIQ.js";
4
+ } from "./chunk-GDQKSWAB.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-2VQSCETZ.js";
@@ -40,4 +40,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
40
40
  export {
41
41
  ShopifyConfig
42
42
  };
43
- //# sourceMappingURL=custom-oclif-loader-IOC6N3VF.js.map
43
+ //# sourceMappingURL=custom-oclif-loader-R36KMIMZ.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-JKIYBT7B.js";
8
- import "./chunk-YPOBBW5D.js";
9
- import "./chunk-OPUACRBY.js";
7
+ } from "./chunk-K2VIRVTL.js";
8
+ import "./chunk-A6BP5R5D.js";
9
+ import "./chunk-6NLDEVLI.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-Y6H4NQNN.js";
12
- import "./chunk-5P4X6AIQ.js";
11
+ import "./chunk-5HCVMQPA.js";
12
+ import "./chunk-GDQKSWAB.js";
13
13
  import "./chunk-2VQSCETZ.js";
14
14
  import "./chunk-UMUTXITN.js";
15
15
  import "./chunk-Y2JP6WFP.js";
@@ -25,4 +25,4 @@ export {
25
25
  registerCleanBugsnagErrorsFromWithinPlugins,
26
26
  sendErrorToBugsnag
27
27
  };
28
- //# sourceMappingURL=error-handler-VKKBCHLU.js.map
28
+ //# sourceMappingURL=error-handler-MJJYI3CD.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-YPOBBW5D.js";
3
+ } from "../chunk-A6BP5R5D.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-OPUACRBY.js";
6
+ } from "../chunk-6NLDEVLI.js";
7
7
  import "../chunk-25IMI7TH.js";
8
- import "../chunk-Y6H4NQNN.js";
8
+ import "../chunk-5HCVMQPA.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-5P4X6AIQ.js";
14
+ } from "../chunk-GDQKSWAB.js";
15
15
  import "../chunk-2VQSCETZ.js";
16
16
  import "../chunk-UMUTXITN.js";
17
17
  import "../chunk-Y2JP6WFP.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetchNotificationsInBackground
3
- } from "../chunk-7BZNMHRM.js";
3
+ } from "../chunk-NXCZ6OFG.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-OPUACRBY.js";
7
+ } from "../chunk-6NLDEVLI.js";
8
8
  import "../chunk-25IMI7TH.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  packageManagerFromUserAgent,
13
13
  runAtMinimumInterval
14
- } from "../chunk-Y6H4NQNN.js";
14
+ } from "../chunk-5HCVMQPA.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-5P4X6AIQ.js";
23
+ } from "../chunk-GDQKSWAB.js";
24
24
  import "../chunk-2VQSCETZ.js";
25
25
  import "../chunk-UMUTXITN.js";
26
26
  import "../chunk-Y2JP6WFP.js";
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  errorHandler,
9
9
  registerCleanBugsnagErrorsFromWithinPlugins,
10
10
  require_end_of_stream
11
- } from "./chunk-JKIYBT7B.js";
11
+ } from "./chunk-K2VIRVTL.js";
12
12
  import {
13
13
  compileData,
14
14
  fanoutHooks,
@@ -17,11 +17,11 @@ import {
17
17
  recordEvent,
18
18
  recordTiming,
19
19
  reportAnalyticsEvent
20
- } from "./chunk-YPOBBW5D.js";
20
+ } from "./chunk-A6BP5R5D.js";
21
21
  import {
22
22
  setCurrentCommandId,
23
23
  showNotificationsIfNeeded
24
- } from "./chunk-7BZNMHRM.js";
24
+ } from "./chunk-NXCZ6OFG.js";
25
25
  import {
26
26
  CLI_KIT_VERSION,
27
27
  ClientError,
@@ -89,7 +89,7 @@ import {
89
89
  setPathValue,
90
90
  shopifyFetch,
91
91
  z
92
- } from "./chunk-OPUACRBY.js";
92
+ } from "./chunk-6NLDEVLI.js";
93
93
  import "./chunk-25IMI7TH.js";
94
94
  import {
95
95
  LocalStorage,
@@ -112,7 +112,7 @@ import {
112
112
  usesWorkspaces,
113
113
  versionSatisfies,
114
114
  writePackageJSON
115
- } from "./chunk-Y6H4NQNN.js";
115
+ } from "./chunk-5HCVMQPA.js";
116
116
  import {
117
117
  AbortController as AbortController2,
118
118
  AbortError,
@@ -275,7 +275,7 @@ import {
275
275
  username,
276
276
  writeFile,
277
277
  writeFileSync
278
- } from "./chunk-5P4X6AIQ.js";
278
+ } from "./chunk-GDQKSWAB.js";
279
279
  import {
280
280
  require_commonjs,
281
281
  require_lib as require_lib2,
@@ -201852,7 +201852,7 @@ init_cjs_shims();
201852
201852
  init_cjs_shims();
201853
201853
  import { fileURLToPath as fileURLToPath2 } from "node:url";
201854
201854
  async function launchCLI(options) {
201855
- let { errorHandler: errorHandler2 } = await import("./error-handler-VKKBCHLU.js"), { isDevelopment: isDevelopment2 } = await import("./local-5PM6BSWX.js"), oclif = await import("./lib-XDPPS4KW.js"), { ShopifyConfig } = await import("./custom-oclif-loader-IOC6N3VF.js");
201855
+ let { errorHandler: errorHandler2 } = await import("./error-handler-MJJYI3CD.js"), { isDevelopment: isDevelopment2 } = await import("./local-MWSAESLX.js"), oclif = await import("./lib-XDPPS4KW.js"), { ShopifyConfig } = await import("./custom-oclif-loader-R36KMIMZ.js");
201856
201856
  isDevelopment2() && (oclif.default.settings.debug = !0);
201857
201857
  try {
201858
201858
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
@@ -201867,7 +201867,7 @@ var import_core3 = __toESM(require_lib2());
201867
201867
  async function exitIfOldNodeVersion(versions2 = process.versions) {
201868
201868
  let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
201869
201869
  if (nodeMajorVersion < 18) {
201870
- let { renderError: renderError2 } = await import("./ui-KJW4VIFW.js");
201870
+ let { renderError: renderError2 } = await import("./ui-O654GOTM.js");
201871
201871
  renderError2({
201872
201872
  headline: "Upgrade to a supported Node version now.",
201873
201873
  body: [
@@ -201894,7 +201894,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
201894
201894
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL });
201895
201895
  }
201896
201896
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
201897
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-QIW4IYTW.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-COZT77T2.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
201897
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-6AJOWMMJ.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-COZT77T2.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
201898
201898
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
201899
201899
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
201900
201900
  argv.splice(initIndex2, 0, "init");
@@ -221131,21 +221131,10 @@ init_cjs_shims();
221131
221131
 
221132
221132
  // ../app/dist/cli/services/generate/fetch-template-specifications.js
221133
221133
  init_cjs_shims();
221134
-
221135
- // ../cli-kit/dist/public/node/is-polaris-unified-enabled.js
221136
- init_cjs_shims();
221137
- function isPolarisUnifiedEnabled() {
221138
- return isTruthy(process.env.POLARIS_UNIFIED);
221139
- }
221140
-
221141
- // ../app/dist/cli/services/generate/fetch-template-specifications.js
221142
221134
  async function fetchExtensionTemplates(developerPlatformClient, app, availableSpecifications) {
221143
- let { templates: remoteTemplates, groupOrder } = await developerPlatformClient.templateSpecifications(app), polarisUnifiedEnabled = isPolarisUnifiedEnabled();
221135
+ let { templates: remoteTemplates, groupOrder } = await developerPlatformClient.templateSpecifications(app);
221144
221136
  return {
221145
- templates: remoteTemplates.filter((template) => availableSpecifications.includes(template.identifier) || availableSpecifications.includes(template.type)).map((template) => template.type === "ui_extension" ? {
221146
- ...template,
221147
- supportedFlavors: template.supportedFlavors.filter((flavor) => polarisUnifiedEnabled ? flavor.value === "preact" : flavor.value !== "preact")
221148
- } : template).filter((template) => template.supportedFlavors.length > 0),
221137
+ templates: remoteTemplates.filter((template) => availableSpecifications.includes(template.identifier) || availableSpecifications.includes(template.type)),
221149
221138
  groupOrder
221150
221139
  };
221151
221140
  }
@@ -221311,7 +221300,7 @@ async function uiExtensionInit({ directory, url, app, name, extensionFlavor, onG
221311
221300
  flavor: extensionFlavor?.value ?? "",
221312
221301
  uid: nonRandomUUID(slugify(name))
221313
221302
  });
221314
- }), templateLanguage === "javascript" && (await changeIndexFileExtension(directory, srcFileExtension), await removeUnwantedTemplateFilesPerFlavor(directory, extensionFlavor.value));
221303
+ }), templateLanguage === "javascript" && await changeIndexFileExtension(directory, srcFileExtension);
221315
221304
  }
221316
221305
  },
221317
221306
  {
@@ -221368,9 +221357,6 @@ async function changeIndexFileExtension(extensionDirectory, fileExtension, renam
221368
221357
  srcFileExensionsToChange.push(moveFile(srcFilePath, `${srcFilePath}.${fileExtension}`));
221369
221358
  await Promise.all(srcFileExensionsToChange);
221370
221359
  }
221371
- async function removeUnwantedTemplateFilesPerFlavor(extensionDirectory, extensionFlavor) {
221372
- extensionFlavor !== "preact" && extensionFlavor !== "typescript-react" && await removeFile(joinPath(extensionDirectory, "tsconfig.json"));
221373
- }
221374
221360
  async function addResolutionOrOverrideIfNeeded(directory, extensionFlavor) {
221375
221361
  extensionFlavor === "typescript-react" && await addResolutionOrOverride(directory, { "@types/react": versions.reactTypes });
221376
221362
  }
@@ -221845,17 +221831,7 @@ var templates = {
221845
221831
  prompt: "For your Remix template, which language do you want?",
221846
221832
  options: {
221847
221833
  javascript: { branch: "javascript", label: "JavaScript" },
221848
- typescript: { branch: "main", label: "TypeScript" },
221849
- ...process.env.POLARIS_UNIFIED && {
221850
- javascriptPolarisEarlyAccess: {
221851
- branch: "polaris-docs-2025-js",
221852
- label: "JavaScript (Polaris Release Candidate)"
221853
- },
221854
- typescriptPolarisEarlyAccess: {
221855
- branch: "polaris-docs-2025",
221856
- label: "TypeScript (Polaris Release Candidate)"
221857
- }
221858
- }
221834
+ typescript: { branch: "main", label: "TypeScript" }
221859
221835
  }
221860
221836
  }
221861
221837
  },
@@ -20,7 +20,7 @@ import {
20
20
  macAddress,
21
21
  opentelemetryDomain,
22
22
  themeToken
23
- } from "./chunk-5P4X6AIQ.js";
23
+ } from "./chunk-GDQKSWAB.js";
24
24
  import "./chunk-2VQSCETZ.js";
25
25
  import "./chunk-UMUTXITN.js";
26
26
  import "./chunk-Y2JP6WFP.js";
@@ -51,4 +51,4 @@ export {
51
51
  opentelemetryDomain,
52
52
  themeToken
53
53
  };
54
- //# sourceMappingURL=local-5PM6BSWX.js.map
54
+ //# sourceMappingURL=local-MWSAESLX.js.map
@@ -29,8 +29,8 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-Y6H4NQNN.js";
33
- import "./chunk-5P4X6AIQ.js";
32
+ } from "./chunk-5HCVMQPA.js";
33
+ import "./chunk-GDQKSWAB.js";
34
34
  import "./chunk-2VQSCETZ.js";
35
35
  import "./chunk-UMUTXITN.js";
36
36
  import "./chunk-Y2JP6WFP.js";
@@ -70,4 +70,4 @@ export {
70
70
  writePackageJSON,
71
71
  yarnLockfile
72
72
  };
73
- //# sourceMappingURL=node-package-manager-QIW4IYTW.js.map
73
+ //# sourceMappingURL=node-package-manager-6AJOWMMJ.js.map
@@ -17,7 +17,7 @@ import {
17
17
  renderTasks,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-5P4X6AIQ.js";
20
+ } from "./chunk-GDQKSWAB.js";
21
21
  import "./chunk-2VQSCETZ.js";
22
22
  import "./chunk-UMUTXITN.js";
23
23
  import "./chunk-Y2JP6WFP.js";
@@ -45,4 +45,4 @@ export {
45
45
  renderTextPrompt,
46
46
  renderWarning
47
47
  };
48
- //# sourceMappingURL=ui-KJW4VIFW.js.map
48
+ //# sourceMappingURL=ui-O654GOTM.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.85.2"
107
+ "version": "3.85.3"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.85.2",
3
+ "version": "3.85.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.25.5"
48
48
  },
49
49
  "devDependencies": {
50
- "@shopify/cli-kit": "3.85.2",
51
- "@shopify/app": "3.85.2",
50
+ "@shopify/cli-kit": "3.85.3",
51
+ "@shopify/app": "3.85.3",
52
52
  "esbuild-plugin-copy": "^2.1.1",
53
53
  "@vitest/coverage-istanbul": "^3.1.4"
54
54
  },