@shopify/create-app 3.69.0 → 3.69.2

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,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-CJOZ7NTT.js";
4
+ } from "./chunk-KQ25FNRV.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-XMQLNGN7.js";
8
+ } from "./chunk-H764AEKA.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-UWDJJNDC.js";
11
+ } from "./chunk-ZTVNI7GS.js";
12
12
  import {
13
13
  AbortSilentError,
14
14
  CancelExecution,
@@ -21,8 +21,8 @@ import {
21
21
  outputInfo,
22
22
  printEventsJson,
23
23
  require_stacktracey,
24
- shouldReportError
25
- } from "./chunk-NQUHO34K.js";
24
+ shouldReportErrorAsUnexpected
25
+ } from "./chunk-4IYJXU5V.js";
26
26
  import {
27
27
  require_lib
28
28
  } from "./chunk-AZIUHI45.js";
@@ -2053,7 +2053,7 @@ async function errorHandler(error, config) {
2053
2053
  }
2054
2054
  var reportError = async (error, config) => {
2055
2055
  let exitMode = "expected_error";
2056
- shouldReportError(error) && (exitMode = "unexpected_error"), config !== void 0 && await reportAnalyticsEvent({ config, errorMessage: error instanceof Error ? error.message : void 0, exitMode }), await sendErrorToBugsnag(error, exitMode);
2056
+ shouldReportErrorAsUnexpected(error) && (exitMode = "unexpected_error"), config !== void 0 && await reportAnalyticsEvent({ config, errorMessage: error instanceof Error ? error.message : void 0, exitMode }), await sendErrorToBugsnag(error, exitMode);
2057
2057
  };
2058
2058
  async function sendErrorToBugsnag(error, exitMode) {
2059
2059
  if (import_core.settings.debug)
@@ -2145,4 +2145,4 @@ export {
2145
2145
  registerCleanBugsnagErrorsFromWithinPlugins,
2146
2146
  addBugsnagMetadata
2147
2147
  };
2148
- //# sourceMappingURL=chunk-AVCU5ZOP.js.map
2148
+ //# sourceMappingURL=chunk-35LDRNG4.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-R2NFQW6E.js");
29671
+ let { sendErrorToBugsnag } = await import("./error-handler-NCGOXZ56.js");
29672
29672
  await sendErrorToBugsnag(error, "unexpected_error");
29673
29673
  }
29674
29674
  }, durationStack = [];
@@ -31425,7 +31425,7 @@ This usually happens when running a command non-interactively, for example in a
31425
31425
  }
31426
31426
 
31427
31427
  // ../cli-kit/dist/public/node/error.js
31428
- var import_core2 = __toESM(require_lib()), import_ts_error = __toESM(require_cjs()), FatalErrorType;
31428
+ var import_core2 = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1), FatalErrorType;
31429
31429
  (function(FatalErrorType2) {
31430
31430
  FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
31431
31431
  })(FatalErrorType || (FatalErrorType = {}));
@@ -31491,12 +31491,39 @@ function isFatal(error) {
31491
31491
  return !1;
31492
31492
  }
31493
31493
  }
31494
- function shouldReportError(error) {
31495
- return !isFatal(error) || error.type === FatalErrorType.Bug;
31494
+ function shouldReportErrorAsUnexpected(error) {
31495
+ if (!isFatal(error)) {
31496
+ if (error instanceof Error) {
31497
+ let message = error.message;
31498
+ return !errorMessageImpliesEnvironmentIssue(message, error.stack ?? "");
31499
+ }
31500
+ return !0;
31501
+ }
31502
+ return error.type === FatalErrorType.Bug;
31496
31503
  }
31497
31504
  function cleanSingleStackTracePath(filePath) {
31498
31505
  return normalizePath(filePath).replace("file:/", "/").replace(/^\/?[A-Z]:/, "");
31499
31506
  }
31507
+ function errorMessageImpliesEnvironmentIssue(message, stack) {
31508
+ return [
31509
+ "EPERM: operation not permitted, scandir",
31510
+ "EACCES: permission denied",
31511
+ "EPERM: operation not permitted, symlink",
31512
+ "This version of npm supports the following node versions",
31513
+ "EBUSY: resource busy or locked",
31514
+ "getaddrinfo ENOTFOUND",
31515
+ "Client network socket disconnected before secure TLS connection was established",
31516
+ "spawn EPERM",
31517
+ "socket hang up",
31518
+ "ENOSPC: no space left on device",
31519
+ ["Maximum call stack size exceeded", /stubborn-fs.*retryify/]
31520
+ ].some((issueMessage) => {
31521
+ if (typeof issueMessage == "string")
31522
+ return message.includes(issueMessage);
31523
+ let [messageCheck, stackCheck] = issueMessage;
31524
+ return message.includes(messageCheck) && stackCheck.test(stack);
31525
+ });
31526
+ }
31500
31527
 
31501
31528
  // ../cli-kit/dist/public/node/system.js
31502
31529
  async function openURL(url) {
@@ -31718,7 +31745,7 @@ export {
31718
31745
  BugError,
31719
31746
  handler,
31720
31747
  errorMapper,
31721
- shouldReportError,
31748
+ shouldReportErrorAsUnexpected,
31722
31749
  cleanSingleStackTracePath,
31723
31750
  import_ts_error,
31724
31751
  AbortController,
@@ -31845,4 +31872,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
31845
31872
  * LICENSE file in the root directory of this source tree.
31846
31873
  *)
31847
31874
  */
31848
- //# sourceMappingURL=chunk-NQUHO34K.js.map
31875
+ //# sourceMappingURL=chunk-4IYJXU5V.js.map
@@ -12,7 +12,7 @@ import {
12
12
  removeSession,
13
13
  setCachedPartnerAccountStatus,
14
14
  setSession
15
- } from "./chunk-UWDJJNDC.js";
15
+ } from "./chunk-ZTVNI7GS.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-NQUHO34K.js";
47
+ } from "./chunk-4IYJXU5V.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.0";
29294
+ var CLI_KIT_VERSION = "3.69.2";
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-XMQLNGN7.js.map
34660
+ //# sourceMappingURL=chunk-H764AEKA.js.map
@@ -6,11 +6,11 @@ import {
6
6
  getLastSeenUserIdAfterAuth,
7
7
  getSensitiveEnvironmentData,
8
8
  platformAndArch
9
- } from "./chunk-XMQLNGN7.js";
9
+ } from "./chunk-H764AEKA.js";
10
10
  import {
11
11
  require_semver,
12
12
  runWithRateLimit
13
- } from "./chunk-UWDJJNDC.js";
13
+ } from "./chunk-ZTVNI7GS.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-NQUHO34K.js";
44
+ } from "./chunk-4IYJXU5V.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-CJOZ7NTT.js.map
15953
+ //# sourceMappingURL=chunk-KQ25FNRV.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-UWDJJNDC.js";
3
+ } from "./chunk-ZTVNI7GS.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-NQUHO34K.js";
9
+ } from "./chunk-4IYJXU5V.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-7N2ECBWK.js.map
27
+ //# sourceMappingURL=chunk-OFDZCFL6.js.map
@@ -17,7 +17,7 @@ import {
17
17
  require_get_stream,
18
18
  runWithTimer,
19
19
  writeFile
20
- } from "./chunk-NQUHO34K.js";
20
+ } from "./chunk-4IYJXU5V.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-UWDJJNDC.js.map
15390
+ //# sourceMappingURL=chunk-ZTVNI7GS.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-NQUHO34K.js";
4
+ } from "./chunk-4IYJXU5V.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-FZACFF7D.js.map
48
+ //# sourceMappingURL=custom-oclif-loader-U36NEH46.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-AVCU5ZOP.js";
8
- import "./chunk-CJOZ7NTT.js";
9
- import "./chunk-XMQLNGN7.js";
7
+ } from "./chunk-35LDRNG4.js";
8
+ import "./chunk-KQ25FNRV.js";
9
+ import "./chunk-H764AEKA.js";
10
10
  import "./chunk-VSLR7ET4.js";
11
- import "./chunk-UWDJJNDC.js";
12
- import "./chunk-NQUHO34K.js";
11
+ import "./chunk-ZTVNI7GS.js";
12
+ import "./chunk-4IYJXU5V.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-R2NFQW6E.js.map
33
+ //# sourceMappingURL=error-handler-NCGOXZ56.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-CJOZ7NTT.js";
3
+ } from "../chunk-KQ25FNRV.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-XMQLNGN7.js";
6
+ } from "../chunk-H764AEKA.js";
7
7
  import "../chunk-VSLR7ET4.js";
8
- import "../chunk-UWDJJNDC.js";
8
+ import "../chunk-ZTVNI7GS.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-NQUHO34K.js";
14
+ } from "../chunk-4IYJXU5V.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-7N2ECBWK.js";
3
+ } from "../chunk-OFDZCFL6.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-XMQLNGN7.js";
7
+ } from "../chunk-H764AEKA.js";
8
8
  import "../chunk-VSLR7ET4.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  runAtMinimumInterval
13
- } from "../chunk-UWDJJNDC.js";
13
+ } from "../chunk-ZTVNI7GS.js";
14
14
  import {
15
15
  initDemoRecorder,
16
16
  outputDebug,
17
17
  outputWarn
18
- } from "../chunk-NQUHO34K.js";
18
+ } from "../chunk-4IYJXU5V.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-AVCU5ZOP.js";
11
+ } from "./chunk-35LDRNG4.js";
12
12
  import {
13
13
  execCLI2,
14
14
  fanoutHooks,
15
15
  getListOfTunnelPlugins,
16
16
  reportAnalyticsEvent,
17
17
  version
18
- } from "./chunk-CJOZ7NTT.js";
18
+ } from "./chunk-KQ25FNRV.js";
19
19
  import {
20
20
  getOutputUpdateCLIReminder
21
- } from "./chunk-7N2ECBWK.js";
21
+ } from "./chunk-OFDZCFL6.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-XMQLNGN7.js";
67
+ } from "./chunk-H764AEKA.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-UWDJJNDC.js";
89
+ } from "./chunk-ZTVNI7GS.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-NQUHO34K.js";
259
+ } from "./chunk-4IYJXU5V.js";
260
260
  import {
261
261
  require_brace_expansion,
262
262
  require_lib
@@ -140124,7 +140124,7 @@ async function installBinary(bin) {
140124
140124
  throw new Error(`Downloading ${bin.name} failed with empty response body`);
140125
140125
  await inTemporaryDirectory(async (tmpDir) => {
140126
140126
  let tmpFile = joinPath(tmpDir, "binary"), outputStream = createFileWriteStream(tmpFile);
140127
- await bin.processResponse(responseStream, outputStream), await chmod(tmpFile, 509), await moveFile(tmpFile, bin.path);
140127
+ await bin.processResponse(responseStream, outputStream), await chmod(tmpFile, 509), await moveFile(tmpFile, bin.path, { overwrite: !0 });
140128
140128
  });
140129
140129
  }, async () => {
140130
140130
  }, 2);
@@ -142145,7 +142145,10 @@ var MAX_EXTENSION_HANDLE_LENGTH = 50, MetafieldSchema = z.object({
142145
142145
  module: z.string(),
142146
142146
  metafields: z.array(MetafieldSchema).optional(),
142147
142147
  default_placement: z.string().optional(),
142148
- capabilities: TargetCapabilitiesSchema.optional()
142148
+ capabilities: TargetCapabilitiesSchema.optional(),
142149
+ preloads: z.object({
142150
+ chat: z.string().optional()
142151
+ }).optional()
142149
142152
  }), NewExtensionPointsSchema = z.array(NewExtensionPointSchema), ApiVersionSchema = z.string(), FieldSchema = z.object({
142150
142153
  key: z.string().optional(),
142151
142154
  name: z.string().optional(),
@@ -146518,14 +146521,14 @@ var PublicApiVersions = {
146518
146521
 
146519
146522
  // ../cli-kit/dist/public/node/api/admin.js
146520
146523
  async function adminRequest(query, session, variables) {
146521
- let api = "Admin", version2 = await fetchLatestSupportedApiVersion(session), url = adminUrl(session.storeFqdn, version2);
146524
+ let api = "Admin", version2 = await fetchLatestSupportedApiVersion(session), store = await normalizeStoreFqdn(session.storeFqdn), url = adminUrl(store, version2);
146522
146525
  return graphqlRequest({ query, api, url, token: session.token, variables });
146523
146526
  }
146524
146527
  async function adminRequestDoc(query, session, variables, version2, responseOptions) {
146525
146528
  let apiVersion = version2;
146526
146529
  version2 || (apiVersion = await fetchLatestSupportedApiVersion(session));
146527
- let opts = {
146528
- url: adminUrl(session.storeFqdn, apiVersion),
146530
+ let store = await normalizeStoreFqdn(session.storeFqdn), opts = {
146531
+ url: adminUrl(store, apiVersion),
146529
146532
  api: "Admin",
146530
146533
  token: session.token
146531
146534
  };
@@ -146544,12 +146547,12 @@ async function fetchApiVersions(session) {
146544
146547
  if (error instanceof ClientError && error.response.status === 403) {
146545
146548
  let storeName = session.storeFqdn.replace(".myshopify.com", "");
146546
146549
  throw new AbortError(outputContent`Looks like you don't have access this dev store: (${outputToken.link(storeName, `https://${session.storeFqdn}`)})`, outputContent`If you're not the owner, create a dev store staff account for yourself`);
146547
- }
146548
- throw new BugError("Unknown error connecting to your store");
146550
+ } else
146551
+ throw error instanceof ClientError ? new BugError(`Unknown client error connecting to your store ${session.storeFqdn}: ${error.message} ${error.response.status} ${error.response.data}`) : new BugError(`Unknown error connecting to your store ${session.storeFqdn}: ${error instanceof Error ? error.message : String(error)}`);
146549
146552
  }
146550
146553
  }
146551
146554
  function adminUrl(store, version2) {
146552
- return `https://${store}/admin/api/${version2 || "unstable"}/graphql.json`;
146555
+ return `https://${store}/admin/api/${version2 ?? "unstable"}/graphql.json`;
146553
146556
  }
146554
146557
  async function restRequest(method, path, session, requestBody, searchParams = {}, apiVersion = "unstable") {
146555
146558
  let url = restRequestUrl(session, apiVersion, path, searchParams), body = restRequestBody(requestBody), headers = restRequestHeaders(session), response = await fetch2(url, {
@@ -146602,7 +146605,8 @@ var dependency5 = "@shopify/checkout-ui-extensions", validatePoints = (config2)
146602
146605
  module: targeting.module,
146603
146606
  metafields: targeting.metafields ?? config2.metafields ?? [],
146604
146607
  default_placement_reference: targeting.default_placement,
146605
- capabilities: targeting.capabilities
146608
+ capabilities: targeting.capabilities,
146609
+ preloads: targeting.preloads ?? {}
146606
146610
  }));
146607
146611
  return { ...config2, extension_points: extensionPoints };
146608
146612
  }), uiExtensionSpec = createExtensionSpecification({
@@ -152058,7 +152062,7 @@ import { fileURLToPath as fileURLToPath2 } from "url";
152058
152062
  async function warnIfOldNodeVersion() {
152059
152063
  let nodeVersion = process.versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
152060
152064
  if (nodeMajorVersion < 18) {
152061
- let { renderWarning: renderWarning2 } = await import("./ui-VEBUA4SR.js");
152065
+ let { renderWarning: renderWarning2 } = await import("./ui-VTOT5HBG.js");
152062
152066
  renderWarning2({
152063
152067
  headline: "Upgrade to a supported Node version now.",
152064
152068
  body: [
@@ -152083,7 +152087,7 @@ function forceNoColor() {
152083
152087
  }
152084
152088
  async function runCLI(options) {
152085
152089
  setupEnvironmentVariables(options), forceNoColor(), await warnIfOldNodeVersion();
152086
- let { errorHandler: errorHandler2 } = await import("./error-handler-R2NFQW6E.js"), { isDevelopment: isDevelopment2 } = await import("./local-G7IECLW7.js"), oclif = await import("./lib-H5ZGVBFQ.js"), { ShopifyConfig } = await import("./custom-oclif-loader-FZACFF7D.js");
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");
152087
152091
  isDevelopment2() && (oclif.default.settings.debug = !0);
152088
152092
  try {
152089
152093
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
@@ -152094,7 +152098,7 @@ async function runCLI(options) {
152094
152098
  }
152095
152099
  async function runCreateCLI(options) {
152096
152100
  setupEnvironmentVariables(options);
152097
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-5YDNPKRT.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-G6AAF6UV.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
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-", "");
152098
152102
  if (process.argv.findIndex((arg) => arg.includes("init")) === -1) {
152099
152103
  let initIndex2 = process.argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
152100
152104
  process.argv.splice(initIndex2, 0, "init");
@@ -159557,9 +159561,7 @@ async function reloadExtensionConfig({ extension }) {
159557
159561
  extensionConfig || abort2(`ERROR: Invalid handle
159558
159562
  - Expected handle: "${extension.handle}"
159559
159563
  - Configuration file path: ${relativizePath(extension.configurationPath)}.
159560
- - Handles are immutable, you can't change them once they are set.`);
159561
- let mergedConfig = { ...configuration, ...extensionConfig };
159562
- configObject = configWithoutFirstClassFields(mergedConfig);
159564
+ - Handles are immutable, you can't change them once they are set.`), configObject = { ...configuration, ...extensionConfig };
159563
159565
  }
159564
159566
  let newConfig = await parseConfigurationObjectAgainstSpecification(extension.specification, extension.configurationPath, configObject, abort2), previousConfig = extension.configuration;
159565
159567
  return extension.configuration = newConfig, {
@@ -21,7 +21,7 @@ import {
21
21
  themeToken,
22
22
  useEmbeddedThemeCLI,
23
23
  useThemebundling
24
- } from "./chunk-NQUHO34K.js";
24
+ } from "./chunk-4IYJXU5V.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-G7IECLW7.js.map
61
+ //# sourceMappingURL=local-WZ5OHHO5.js.map
@@ -28,8 +28,8 @@ import {
28
28
  versionSatisfies,
29
29
  writePackageJSON,
30
30
  yarnLockfile
31
- } from "./chunk-UWDJJNDC.js";
32
- import "./chunk-NQUHO34K.js";
31
+ } from "./chunk-ZTVNI7GS.js";
32
+ import "./chunk-4IYJXU5V.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-5YDNPKRT.js.map
76
+ //# sourceMappingURL=node-package-manager-K4DRBHTL.js.map
@@ -4,7 +4,7 @@ import {
4
4
  openURL,
5
5
  sleep,
6
6
  terminalSupportsPrompting
7
- } from "./chunk-NQUHO34K.js";
7
+ } from "./chunk-4IYJXU5V.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-M33YAFGP.js.map
27
+ //# sourceMappingURL=system-UKRS5I3O.js.map