@shopify/create-app 3.69.2 → 3.69.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.
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-ZTVNI7GS.js";
3
+ } from "./chunk-GNXYMDBU.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-4IYJXU5V.js";
9
+ } from "./chunk-DKV56LWK.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-OFDZCFL6.js.map
27
+ //# sourceMappingURL=chunk-453VRHIZ.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-KQ25FNRV.js";
4
+ } from "./chunk-K7AD63F5.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-H764AEKA.js";
8
+ } from "./chunk-RYPZ4D5J.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-ZTVNI7GS.js";
11
+ } from "./chunk-GNXYMDBU.js";
12
12
  import {
13
13
  AbortSilentError,
14
14
  CancelExecution,
@@ -22,7 +22,7 @@ import {
22
22
  printEventsJson,
23
23
  require_stacktracey,
24
24
  shouldReportErrorAsUnexpected
25
- } from "./chunk-4IYJXU5V.js";
25
+ } from "./chunk-DKV56LWK.js";
26
26
  import {
27
27
  require_lib
28
28
  } from "./chunk-AZIUHI45.js";
@@ -2145,4 +2145,4 @@ export {
2145
2145
  registerCleanBugsnagErrorsFromWithinPlugins,
2146
2146
  addBugsnagMetadata
2147
2147
  };
2148
- //# sourceMappingURL=chunk-35LDRNG4.js.map
2148
+ //# sourceMappingURL=chunk-7UZ7B64G.js.map
@@ -29668,7 +29668,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
29668
29668
  try {
29669
29669
  await getAndSet();
29670
29670
  } catch (error) {
29671
- let { sendErrorToBugsnag } = await import("./error-handler-NCGOXZ56.js");
29671
+ let { sendErrorToBugsnag } = await import("./error-handler-7F5N2SUW.js");
29672
29672
  await sendErrorToBugsnag(error, "unexpected_error");
29673
29673
  }
29674
29674
  }, durationStack = [];
@@ -31872,4 +31872,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31872
31872
  * LICENSE file in the root directory of this source tree.
31873
31873
  *)
31874
31874
  */
31875
- //# sourceMappingURL=chunk-4IYJXU5V.js.map
31875
+ //# sourceMappingURL=chunk-DKV56LWK.js.map
@@ -17,7 +17,7 @@ import {
17
17
  require_get_stream,
18
18
  runWithTimer,
19
19
  writeFile
20
- } from "./chunk-4IYJXU5V.js";
20
+ } from "./chunk-DKV56LWK.js";
21
21
  import {
22
22
  envPaths
23
23
  } from "./chunk-G6AY2JW5.js";
@@ -15387,4 +15387,4 @@ deep-extend/lib/deep-extend.js:
15387
15387
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15388
15388
  *)
15389
15389
  */
15390
- //# sourceMappingURL=chunk-ZTVNI7GS.js.map
15390
+ //# sourceMappingURL=chunk-GNXYMDBU.js.map
@@ -6,11 +6,11 @@ import {
6
6
  getLastSeenUserIdAfterAuth,
7
7
  getSensitiveEnvironmentData,
8
8
  platformAndArch
9
- } from "./chunk-H764AEKA.js";
9
+ } from "./chunk-RYPZ4D5J.js";
10
10
  import {
11
11
  require_semver,
12
12
  runWithRateLimit
13
- } from "./chunk-ZTVNI7GS.js";
13
+ } from "./chunk-GNXYMDBU.js";
14
14
  import {
15
15
  AbortError,
16
16
  AbortSilentError,
@@ -41,7 +41,7 @@ import {
41
41
  spinFqdn,
42
42
  touchFile,
43
43
  useEmbeddedThemeCLI
44
- } from "./chunk-4IYJXU5V.js";
44
+ } from "./chunk-DKV56LWK.js";
45
45
  import {
46
46
  envPaths,
47
47
  pathConstants,
@@ -15950,4 +15950,4 @@ export {
15950
15950
  getListOfTunnelPlugins,
15951
15951
  reportAnalyticsEvent
15952
15952
  };
15953
- //# sourceMappingURL=chunk-KQ25FNRV.js.map
15953
+ //# sourceMappingURL=chunk-K7AD63F5.js.map
@@ -12,7 +12,7 @@ import {
12
12
  removeSession,
13
13
  setCachedPartnerAccountStatus,
14
14
  setSession
15
- } from "./chunk-ZTVNI7GS.js";
15
+ } from "./chunk-GNXYMDBU.js";
16
16
  import {
17
17
  AbortError,
18
18
  BugError,
@@ -44,7 +44,7 @@ import {
44
44
  spinFqdn,
45
45
  stringifyMessage,
46
46
  themeToken
47
- } from "./chunk-4IYJXU5V.js";
47
+ } from "./chunk-DKV56LWK.js";
48
48
  import {
49
49
  defaultThemeKitAccessDomain,
50
50
  environmentVariables,
@@ -29291,7 +29291,7 @@ var require_lib3 = __commonJS({
29291
29291
 
29292
29292
  // ../cli-kit/dist/public/common/version.js
29293
29293
  init_cjs_shims();
29294
- var CLI_KIT_VERSION = "3.69.2";
29294
+ var CLI_KIT_VERSION = "3.69.3";
29295
29295
 
29296
29296
  // ../cli-kit/dist/private/node/analytics.js
29297
29297
  init_cjs_shims();
@@ -34657,4 +34657,4 @@ mime-types/index.js:
34657
34657
  * MIT Licensed
34658
34658
  *)
34659
34659
  */
34660
- //# sourceMappingURL=chunk-H764AEKA.js.map
34660
+ //# sourceMappingURL=chunk-RYPZ4D5J.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-4IYJXU5V.js";
4
+ } from "./chunk-DKV56LWK.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-AZIUHI45.js";
@@ -45,4 +45,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
45
45
  export {
46
46
  ShopifyConfig
47
47
  };
48
- //# sourceMappingURL=custom-oclif-loader-U36NEH46.js.map
48
+ //# sourceMappingURL=custom-oclif-loader-W3LGQFJO.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-35LDRNG4.js";
8
- import "./chunk-KQ25FNRV.js";
9
- import "./chunk-H764AEKA.js";
7
+ } from "./chunk-7UZ7B64G.js";
8
+ import "./chunk-K7AD63F5.js";
9
+ import "./chunk-RYPZ4D5J.js";
10
10
  import "./chunk-VSLR7ET4.js";
11
- import "./chunk-ZTVNI7GS.js";
12
- import "./chunk-4IYJXU5V.js";
11
+ import "./chunk-GNXYMDBU.js";
12
+ import "./chunk-DKV56LWK.js";
13
13
  import "./chunk-AZIUHI45.js";
14
14
  import "./chunk-SNOECVP4.js";
15
15
  import "./chunk-UBB7JKND.js";
@@ -30,4 +30,4 @@ export {
30
30
  registerCleanBugsnagErrorsFromWithinPlugins,
31
31
  sendErrorToBugsnag
32
32
  };
33
- //# sourceMappingURL=error-handler-NCGOXZ56.js.map
33
+ //# sourceMappingURL=error-handler-7F5N2SUW.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-KQ25FNRV.js";
3
+ } from "../chunk-K7AD63F5.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-H764AEKA.js";
6
+ } from "../chunk-RYPZ4D5J.js";
7
7
  import "../chunk-VSLR7ET4.js";
8
- import "../chunk-ZTVNI7GS.js";
8
+ import "../chunk-GNXYMDBU.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-4IYJXU5V.js";
14
+ } from "../chunk-DKV56LWK.js";
15
15
  import "../chunk-AZIUHI45.js";
16
16
  import "../chunk-SNOECVP4.js";
17
17
  import "../chunk-UBB7JKND.js";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  getOutputUpdateCLIReminder
3
- } from "../chunk-OFDZCFL6.js";
3
+ } from "../chunk-453VRHIZ.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-H764AEKA.js";
7
+ } from "../chunk-RYPZ4D5J.js";
8
8
  import "../chunk-VSLR7ET4.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  runAtMinimumInterval
13
- } from "../chunk-ZTVNI7GS.js";
13
+ } from "../chunk-GNXYMDBU.js";
14
14
  import {
15
15
  initDemoRecorder,
16
16
  outputDebug,
17
17
  outputWarn
18
- } from "../chunk-4IYJXU5V.js";
18
+ } from "../chunk-DKV56LWK.js";
19
19
  import "../chunk-AZIUHI45.js";
20
20
  import "../chunk-SNOECVP4.js";
21
21
  import "../chunk-UBB7JKND.js";
package/dist/index.js CHANGED
@@ -8,17 +8,17 @@ import {
8
8
  errorHandler,
9
9
  registerCleanBugsnagErrorsFromWithinPlugins,
10
10
  require_end_of_stream
11
- } from "./chunk-35LDRNG4.js";
11
+ } from "./chunk-7UZ7B64G.js";
12
12
  import {
13
13
  execCLI2,
14
14
  fanoutHooks,
15
15
  getListOfTunnelPlugins,
16
16
  reportAnalyticsEvent,
17
17
  version
18
- } from "./chunk-KQ25FNRV.js";
18
+ } from "./chunk-K7AD63F5.js";
19
19
  import {
20
20
  getOutputUpdateCLIReminder
21
- } from "./chunk-OFDZCFL6.js";
21
+ } from "./chunk-453VRHIZ.js";
22
22
  import {
23
23
  CLI_KIT_VERSION,
24
24
  ClientError,
@@ -64,7 +64,7 @@ import {
64
64
  setNextDeprecationDate,
65
65
  username,
66
66
  z
67
- } from "./chunk-H764AEKA.js";
67
+ } from "./chunk-RYPZ4D5J.js";
68
68
  import "./chunk-VSLR7ET4.js";
69
69
  import {
70
70
  LocalStorage,
@@ -86,7 +86,7 @@ import {
86
86
  usesWorkspaces,
87
87
  versionSatisfies,
88
88
  writePackageJSON
89
- } from "./chunk-ZTVNI7GS.js";
89
+ } from "./chunk-GNXYMDBU.js";
90
90
  import {
91
91
  AbortController as AbortController2,
92
92
  AbortError,
@@ -256,7 +256,7 @@ import {
256
256
  use_stdin_default,
257
257
  writeFile,
258
258
  writeFileSync
259
- } from "./chunk-4IYJXU5V.js";
259
+ } from "./chunk-DKV56LWK.js";
260
260
  import {
261
261
  require_brace_expansion,
262
262
  require_lib
@@ -151635,9 +151635,14 @@ function addBrandingConfig(remoteApp) {
151635
151635
  // ../app/dist/cli/services/app/patch-app-configuration-file.js
151636
151636
  init_cjs_shims();
151637
151637
  async function patchAppConfigurationFile({ path, patch, schema }) {
151638
- let tomlContents = await readFile(path), configuration = decodeToml(tomlContents), updatedConfig = deepMergeObjects(configuration, patch), validatedConfig = (schema ?? z.object({}).passthrough()).partial().parse(updatedConfig), encodedString = encodeToml(validatedConfig);
151638
+ let tomlContents = await readFile(path), configuration = decodeToml(tomlContents), updatedConfig = deepMergeObjects(configuration, patch, replaceArrayStrategy);
151639
+ (schema ?? z.object({}).passthrough()).partial().parse(updatedConfig);
151640
+ let encodedString = encodeToml(updatedConfig);
151639
151641
  encodedString = addDefaultCommentsToToml(encodedString), await writeFile(path, encodedString);
151640
151642
  }
151643
+ function replaceArrayStrategy(_2, sourceArray) {
151644
+ return sourceArray;
151645
+ }
151641
151646
 
151642
151647
  // ../app/dist/cli/models/app/identifiers.js
151643
151648
  init_cjs_shims();
@@ -152062,7 +152067,7 @@ import { fileURLToPath as fileURLToPath2 } from "url";
152062
152067
  async function warnIfOldNodeVersion() {
152063
152068
  let nodeVersion = process.versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
152064
152069
  if (nodeMajorVersion < 18) {
152065
- let { renderWarning: renderWarning2 } = await import("./ui-VTOT5HBG.js");
152070
+ let { renderWarning: renderWarning2 } = await import("./ui-OAQKV3G5.js");
152066
152071
  renderWarning2({
152067
152072
  headline: "Upgrade to a supported Node version now.",
152068
152073
  body: [
@@ -152087,7 +152092,7 @@ function forceNoColor() {
152087
152092
  }
152088
152093
  async function runCLI(options) {
152089
152094
  setupEnvironmentVariables(options), forceNoColor(), await warnIfOldNodeVersion();
152090
- let { errorHandler: errorHandler2 } = await import("./error-handler-NCGOXZ56.js"), { isDevelopment: isDevelopment2 } = await import("./local-WZ5OHHO5.js"), oclif = await import("./lib-H5ZGVBFQ.js"), { ShopifyConfig } = await import("./custom-oclif-loader-U36NEH46.js");
152095
+ let { errorHandler: errorHandler2 } = await import("./error-handler-7F5N2SUW.js"), { isDevelopment: isDevelopment2 } = await import("./local-BP3ZVR74.js"), oclif = await import("./lib-H5ZGVBFQ.js"), { ShopifyConfig } = await import("./custom-oclif-loader-W3LGQFJO.js");
152091
152096
  isDevelopment2() && (oclif.default.settings.debug = !0);
152092
152097
  try {
152093
152098
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
@@ -152098,7 +152103,7 @@ async function runCLI(options) {
152098
152103
  }
152099
152104
  async function runCreateCLI(options) {
152100
152105
  setupEnvironmentVariables(options);
152101
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-K4DRBHTL.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-G6AAF6UV.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
152106
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-W6EO76MO.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-G6AAF6UV.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
152102
152107
  if (process.argv.findIndex((arg) => arg.includes("init")) === -1) {
152103
152108
  let initIndex2 = process.argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
152104
152109
  process.argv.splice(initIndex2, 0, "init");
@@ -21,7 +21,7 @@ import {
21
21
  themeToken,
22
22
  useEmbeddedThemeCLI,
23
23
  useThemebundling
24
- } from "./chunk-4IYJXU5V.js";
24
+ } from "./chunk-DKV56LWK.js";
25
25
  import "./chunk-AZIUHI45.js";
26
26
  import "./chunk-SNOECVP4.js";
27
27
  import "./chunk-UBB7JKND.js";
@@ -58,4 +58,4 @@ export {
58
58
  useEmbeddedThemeCLI,
59
59
  useThemebundling
60
60
  };
61
- //# sourceMappingURL=local-WZ5OHHO5.js.map
61
+ //# sourceMappingURL=local-BP3ZVR74.js.map
@@ -28,8 +28,8 @@ import {
28
28
  versionSatisfies,
29
29
  writePackageJSON,
30
30
  yarnLockfile
31
- } from "./chunk-ZTVNI7GS.js";
32
- import "./chunk-4IYJXU5V.js";
31
+ } from "./chunk-GNXYMDBU.js";
32
+ import "./chunk-DKV56LWK.js";
33
33
  import "./chunk-AZIUHI45.js";
34
34
  import "./chunk-SNOECVP4.js";
35
35
  import "./chunk-UBB7JKND.js";
@@ -73,4 +73,4 @@ export {
73
73
  writePackageJSON,
74
74
  yarnLockfile
75
75
  };
76
- //# sourceMappingURL=node-package-manager-K4DRBHTL.js.map
76
+ //# sourceMappingURL=node-package-manager-W6EO76MO.js.map
@@ -4,7 +4,7 @@ import {
4
4
  openURL,
5
5
  sleep,
6
6
  terminalSupportsPrompting
7
- } from "./chunk-4IYJXU5V.js";
7
+ } from "./chunk-DKV56LWK.js";
8
8
  import "./chunk-AZIUHI45.js";
9
9
  import "./chunk-SNOECVP4.js";
10
10
  import "./chunk-UBB7JKND.js";
@@ -24,4 +24,4 @@ export {
24
24
  sleep,
25
25
  terminalSupportsPrompting
26
26
  };
27
- //# sourceMappingURL=system-UKRS5I3O.js.map
27
+ //# sourceMappingURL=system-KDFUHSBQ.js.map
@@ -17,7 +17,7 @@ import {
17
17
  renderText,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-4IYJXU5V.js";
20
+ } from "./chunk-DKV56LWK.js";
21
21
  import "./chunk-AZIUHI45.js";
22
22
  import "./chunk-SNOECVP4.js";
23
23
  import "./chunk-UBB7JKND.js";
@@ -50,4 +50,4 @@ export {
50
50
  renderTextPrompt,
51
51
  renderWarning
52
52
  };
53
- //# sourceMappingURL=ui-VTOT5HBG.js.map
53
+ //# sourceMappingURL=ui-OAQKV3G5.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.69.2"
107
+ "version": "3.69.3"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.69.2",
3
+ "version": "3.69.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.69.2",
51
- "@shopify/app": "3.69.2",
50
+ "@shopify/cli-kit": "3.69.3",
51
+ "@shopify/app": "3.69.3",
52
52
  "@types/node": "18.19.3",
53
53
  "esbuild-plugin-copy": "^2.1.1",
54
54
  "@vitest/coverage-istanbul": "^1.6.0"