@shopify/create-app 4.5.2 → 4.6.0

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.
Files changed (50) hide show
  1. package/dist/{analytics-FXDS645P.js → analytics-PQQTY5ME.js} +14 -14
  2. package/dist/{analytics-S4SMDD46.js → analytics-ZRZM2AYT.js} +14 -14
  3. package/dist/{chokidar-JYHMNWDF.js → chokidar-OCE4HB5W.js} +2 -2
  4. package/dist/chunk-3WICPDUO.js +21746 -0
  5. package/dist/{chunk-MRVSRQ5W.js → chunk-4PYTNDQV.js} +13 -18
  6. package/dist/{chunk-GDVNJLIG.js → chunk-6OPDNYDK.js} +10 -15
  7. package/dist/{chunk-RJWAPUKM.js → chunk-74EXPUYI.js} +628 -21971
  8. package/dist/{chunk-HISALD2J.js → chunk-FACLWQ7N.js} +5 -5
  9. package/dist/{chunk-MCW4ES3V.js → chunk-FZECX65P.js} +10 -10
  10. package/dist/{chunk-GEEDJI25.js → chunk-H5PKPIMG.js} +16 -16
  11. package/dist/{chunk-B2ZXFZCY.js → chunk-HLLMTZ5K.js} +2 -2
  12. package/dist/{chunk-KJGNF64X.js → chunk-ICRN3QWA.js} +3 -3
  13. package/dist/{chunk-KWG6VAVE.js → chunk-K5NLRHZR.js} +37 -28
  14. package/dist/{chunk-BONVUA65.js → chunk-MXBSTTRA.js} +3 -9
  15. package/dist/{chunk-MSETDX6T.js → chunk-OGTZPCND.js} +11 -12
  16. package/dist/{chunk-TGBPX4PY.js → chunk-REKC23EA.js} +2 -2
  17. package/dist/{chunk-V2YWOBZ6.js → chunk-RQLHLRL7.js} +9 -8
  18. package/dist/{chunk-HABWQC37.js → chunk-SI4LHZYW.js} +167 -16
  19. package/dist/{chunk-OE3FSIHW.js → chunk-UFLX7QDP.js} +2 -2
  20. package/dist/{chunk-XR7ELYLE.js → chunk-WP465C6S.js} +13 -5
  21. package/dist/{conf-store-U47RHH7F.js → conf-store-3CEUJODJ.js} +8 -8
  22. package/dist/{custom-oclif-loader-7BTLNXYR.js → custom-oclif-loader-MNCB3QFM.js} +2 -2
  23. package/dist/{deprecations-EXDNIO7X.js → deprecations-IRDS6EBX.js} +10 -10
  24. package/dist/environments-M2APKG2S.js +26 -0
  25. package/dist/{error-handler-NPN6TP4N.js → error-handler-KHJ2WGBH.js} +14 -14
  26. package/dist/{fs-KQ7D45P4.js → fs-4DAJNN2N.js} +5 -5
  27. package/dist/hooks/postrun.js +6 -6
  28. package/dist/hooks/prerun.js +6 -6
  29. package/dist/index.js +6299 -8141
  30. package/dist/index.test.js +54 -45
  31. package/dist/{is-global-4TFBXA6F.js → is-global-4PAQ722P.js} +5 -5
  32. package/dist/{latest-version-6X5NXQEO.js → latest-version-HW6YILV7.js} +20 -19
  33. package/dist/{lib-NKDE2QNY.js → lib-SEAHPNPA.js} +2 -2
  34. package/dist/{local-XEWL77WP.js → local-UPSZCOOL.js} +2 -4
  35. package/dist/{metadata-5SJEO2RF.js → metadata-R5WZESAQ.js} +3 -3
  36. package/dist/{node-package-manager-MI6ZJ7MA.js → node-package-manager-ZGOPCA42.js} +12 -12
  37. package/dist/{notifications-system-JPDTXFT5.js → notifications-system-SVQ6LB65.js} +15 -15
  38. package/dist/out-LBNH64BP.js +7 -0
  39. package/dist/{output-RCLOYTHC.js → output-3XHG2ZX2.js} +5 -5
  40. package/dist/{system-4JFNY3SE.js → system-6AUYCFL4.js} +10 -10
  41. package/dist/tsconfig.tsbuildinfo +1 -1
  42. package/dist/{ui-KAGET7XQ.js → ui-BZFIOKVT.js} +10 -10
  43. package/dist/{upgrade-2XD477LW.js → upgrade-AYYDG5HX.js} +16 -16
  44. package/dist/{version-4JYVUV7D.js → version-2UJ37EL3.js} +11 -11
  45. package/dist/{version-4U52DFWP.js → version-NKNIJ276.js} +2 -2
  46. package/oclif.manifest.json +9 -1
  47. package/package.json +4 -4
  48. package/dist/chunk-UC7ROXAW.js +0 -264
  49. package/dist/environments-W7S7754G.js +0 -26
  50. package/dist/out-B5JNCU2S.js +0 -7
@@ -17,22 +17,22 @@ import {
17
17
  renderTasks,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-MSETDX6T.js";
21
- import "./chunk-KJGNF64X.js";
22
- import "./chunk-UC7ROXAW.js";
23
- import "./chunk-KWG6VAVE.js";
20
+ } from "./chunk-OGTZPCND.js";
21
+ import "./chunk-ICRN3QWA.js";
22
+ import "./chunk-3WICPDUO.js";
23
+ import "./chunk-K5NLRHZR.js";
24
24
  import "./chunk-ODCXYGJ2.js";
25
25
  import "./chunk-LBXDGVFS.js";
26
26
  import "./chunk-D6NYWNY2.js";
27
27
  import "./chunk-JGGOQOPO.js";
28
28
  import "./chunk-OQ3KXXGH.js";
29
- import "./chunk-GDVNJLIG.js";
30
- import "./chunk-MRVSRQ5W.js";
31
- import "./chunk-BONVUA65.js";
29
+ import "./chunk-6OPDNYDK.js";
30
+ import "./chunk-4PYTNDQV.js";
31
+ import "./chunk-MXBSTTRA.js";
32
32
  import "./chunk-7OHJH7BF.js";
33
33
  import "./chunk-C3J4HVUN.js";
34
- import "./chunk-OE3FSIHW.js";
35
- import "./chunk-HABWQC37.js";
34
+ import "./chunk-UFLX7QDP.js";
35
+ import "./chunk-SI4LHZYW.js";
36
36
  import "./chunk-3XNI6LP4.js";
37
37
  export {
38
38
  handleCtrlC,
@@ -54,4 +54,4 @@ export {
54
54
  renderTextPrompt,
55
55
  renderWarning
56
56
  };
57
- //# sourceMappingURL=ui-KAGET7XQ.js.map
57
+ //# sourceMappingURL=ui-BZFIOKVT.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  fetchNotifications,
3
3
  filterNotifications
4
- } from "./chunk-MCW4ES3V.js";
5
- import "./chunk-RJWAPUKM.js";
4
+ } from "./chunk-FZECX65P.js";
5
+ import "./chunk-74EXPUYI.js";
6
6
  import "./chunk-MSED5ZFM.js";
7
7
  import {
8
8
  addNPMDependencies,
@@ -11,33 +11,33 @@ import {
11
11
  findUpAndReadPackageJson,
12
12
  getPackageManager,
13
13
  usesWorkspaces
14
- } from "./chunk-V2YWOBZ6.js";
14
+ } from "./chunk-RQLHLRL7.js";
15
15
  import {
16
16
  CLI_KIT_VERSION
17
- } from "./chunk-TGBPX4PY.js";
17
+ } from "./chunk-REKC23EA.js";
18
18
  import "./chunk-G53O4PDO.js";
19
19
  import {
20
20
  getAutoUpgradeEnabled,
21
21
  runAtMinimumInterval,
22
22
  setAutoUpgradeEnabled
23
- } from "./chunk-XR7ELYLE.js";
23
+ } from "./chunk-WP465C6S.js";
24
24
  import {
25
25
  isPreReleaseVersion
26
- } from "./chunk-B2ZXFZCY.js";
26
+ } from "./chunk-HLLMTZ5K.js";
27
27
  import {
28
28
  exec,
29
29
  isCI,
30
30
  renderSuccess
31
- } from "./chunk-MSETDX6T.js";
32
- import "./chunk-KJGNF64X.js";
33
- import "./chunk-UC7ROXAW.js";
34
- import "./chunk-KWG6VAVE.js";
31
+ } from "./chunk-OGTZPCND.js";
32
+ import "./chunk-ICRN3QWA.js";
33
+ import "./chunk-3WICPDUO.js";
34
+ import "./chunk-K5NLRHZR.js";
35
35
  import "./chunk-ODCXYGJ2.js";
36
36
  import "./chunk-LBXDGVFS.js";
37
37
  import "./chunk-D6NYWNY2.js";
38
38
  import "./chunk-JGGOQOPO.js";
39
39
  import "./chunk-OQ3KXXGH.js";
40
- import "./chunk-GDVNJLIG.js";
40
+ import "./chunk-6OPDNYDK.js";
41
41
  import {
42
42
  currentProcessIsGlobal,
43
43
  getProjectDir,
@@ -47,18 +47,18 @@ import {
47
47
  outputInfo,
48
48
  outputToken,
49
49
  outputWarn
50
- } from "./chunk-MRVSRQ5W.js";
50
+ } from "./chunk-4PYTNDQV.js";
51
51
  import {
52
52
  isDevelopment
53
- } from "./chunk-BONVUA65.js";
53
+ } from "./chunk-MXBSTTRA.js";
54
54
  import "./chunk-7OHJH7BF.js";
55
55
  import {
56
56
  cwd,
57
57
  moduleDirectory,
58
58
  sniffForPath
59
59
  } from "./chunk-C3J4HVUN.js";
60
- import "./chunk-OE3FSIHW.js";
61
- import "./chunk-HABWQC37.js";
60
+ import "./chunk-UFLX7QDP.js";
61
+ import "./chunk-SI4LHZYW.js";
62
62
  import {
63
63
  init_cjs_shims
64
64
  } from "./chunk-3XNI6LP4.js";
@@ -194,4 +194,4 @@ export {
194
194
  versionToAutoUpgrade,
195
195
  warnIfUpgradeAvailable
196
196
  };
197
- //# sourceMappingURL=upgrade-2XD477LW.js.map
197
+ //# sourceMappingURL=upgrade-AYYDG5HX.js.map
@@ -3,23 +3,23 @@ import {
3
3
  isMajorVersionChange,
4
4
  isPreReleaseVersion,
5
5
  localCLIVersion
6
- } from "./chunk-B2ZXFZCY.js";
7
- import "./chunk-MSETDX6T.js";
8
- import "./chunk-KJGNF64X.js";
9
- import "./chunk-UC7ROXAW.js";
10
- import "./chunk-KWG6VAVE.js";
6
+ } from "./chunk-HLLMTZ5K.js";
7
+ import "./chunk-OGTZPCND.js";
8
+ import "./chunk-ICRN3QWA.js";
9
+ import "./chunk-3WICPDUO.js";
10
+ import "./chunk-K5NLRHZR.js";
11
11
  import "./chunk-ODCXYGJ2.js";
12
12
  import "./chunk-LBXDGVFS.js";
13
13
  import "./chunk-D6NYWNY2.js";
14
14
  import "./chunk-JGGOQOPO.js";
15
15
  import "./chunk-OQ3KXXGH.js";
16
- import "./chunk-GDVNJLIG.js";
17
- import "./chunk-MRVSRQ5W.js";
18
- import "./chunk-BONVUA65.js";
16
+ import "./chunk-6OPDNYDK.js";
17
+ import "./chunk-4PYTNDQV.js";
18
+ import "./chunk-MXBSTTRA.js";
19
19
  import "./chunk-7OHJH7BF.js";
20
20
  import "./chunk-C3J4HVUN.js";
21
- import "./chunk-OE3FSIHW.js";
22
- import "./chunk-HABWQC37.js";
21
+ import "./chunk-UFLX7QDP.js";
22
+ import "./chunk-SI4LHZYW.js";
23
23
  import "./chunk-3XNI6LP4.js";
24
24
  export {
25
25
  globalCLIVersion,
@@ -27,4 +27,4 @@ export {
27
27
  isPreReleaseVersion,
28
28
  localCLIVersion
29
29
  };
30
- //# sourceMappingURL=version-4JYVUV7D.js.map
30
+ //# sourceMappingURL=version-2UJ37EL3.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-TGBPX4PY.js";
3
+ } from "./chunk-REKC23EA.js";
4
4
  import "./chunk-3XNI6LP4.js";
5
5
  export {
6
6
  CLI_KIT_VERSION
7
7
  };
8
- //# sourceMappingURL=version-4U52DFWP.js.map
8
+ //# sourceMappingURL=version-NKNIJ276.js.map
@@ -4,6 +4,14 @@
4
4
  "aliases": [],
5
5
  "args": {},
6
6
  "flags": {
7
+ "auth-alias": {
8
+ "description": "Alias of the Shopify account to use for authentication.",
9
+ "env": "SHOPIFY_FLAG_AUTH_ALIAS",
10
+ "name": "auth-alias",
11
+ "hasDynamicHelp": false,
12
+ "multiple": false,
13
+ "type": "option"
14
+ },
7
15
  "no-color": {
8
16
  "description": "Disable color output.",
9
17
  "env": "SHOPIFY_FLAG_NO_COLOR",
@@ -114,5 +122,5 @@
114
122
  "summary": "Create a new app project"
115
123
  }
116
124
  },
117
- "version": "4.5.2"
125
+ "version": "4.6.0"
118
126
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "4.5.2",
3
+ "version": "4.6.0",
4
4
  "private": false,
5
5
  "description": "A CLI tool to create a new Shopify app.",
6
6
  "keywords": [
@@ -47,10 +47,10 @@
47
47
  "esbuild": "0.28.1"
48
48
  },
49
49
  "devDependencies": {
50
- "@shopify/cli-kit": "4.5.2",
51
- "@shopify/app": "4.5.2",
50
+ "@shopify/cli-kit": "4.6.0",
51
+ "@shopify/app": "4.6.0",
52
52
  "esbuild-plugin-copy": "^2.1.1",
53
- "@vitest/coverage-istanbul": "^3.2.6"
53
+ "@vitest/coverage-istanbul": "^3.2.7"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=22.12.0"
@@ -1,264 +0,0 @@
1
- import {
2
- require_lib
3
- } from "./chunk-KWG6VAVE.js";
4
- import {
5
- TokenizedString,
6
- stringifyMessage,
7
- tokenItemToString
8
- } from "./chunk-MRVSRQ5W.js";
9
- import {
10
- normalizePath
11
- } from "./chunk-C3J4HVUN.js";
12
- import {
13
- __commonJS,
14
- __toESM,
15
- init_cjs_shims
16
- } from "./chunk-3XNI6LP4.js";
17
-
18
- // ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/helpers.js
19
- var require_helpers = __commonJS({
20
- "../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/helpers.js"(exports) {
21
- "use strict";
22
- init_cjs_shims();
23
- exports.__esModule = void 0;
24
- exports.__esModule = !0;
25
- var objectSetPrototypeOfIsDefined = typeof Object.setPrototypeOf == "function", objectGetPrototypeOfIsDefined = typeof Object.getPrototypeOf == "function", objectDefinePropertyIsDefined = typeof Object.defineProperty == "function", objectCreateIsDefined = typeof Object.create == "function", objectHasOwnPropertyIsDefined = typeof Object.prototype.hasOwnProperty == "function", setPrototypeOf = function(target, prototype) {
26
- objectSetPrototypeOfIsDefined ? Object.setPrototypeOf(target, prototype) : target.__proto__ = prototype;
27
- };
28
- exports.setPrototypeOf = setPrototypeOf;
29
- var getPrototypeOf = function(target) {
30
- return objectGetPrototypeOfIsDefined ? Object.getPrototypeOf(target) : target.__proto__ || target.prototype;
31
- };
32
- exports.getPrototypeOf = getPrototypeOf;
33
- var ie8ObjectDefinePropertyBug = !1, defineProperty = function defineProperty2(target, name, propertyDescriptor) {
34
- if (objectDefinePropertyIsDefined && !ie8ObjectDefinePropertyBug)
35
- try {
36
- Object.defineProperty(target, name, propertyDescriptor);
37
- } catch {
38
- ie8ObjectDefinePropertyBug = !0, defineProperty2(target, name, propertyDescriptor);
39
- }
40
- else
41
- target[name] = propertyDescriptor.value;
42
- };
43
- exports.defineProperty = defineProperty;
44
- var hasOwnProperty = function(target, name) {
45
- return objectHasOwnPropertyIsDefined ? target.hasOwnProperty(target, name) : target[name] === void 0;
46
- };
47
- exports.hasOwnProperty = hasOwnProperty;
48
- var objectCreate = function(prototype, propertyDescriptors) {
49
- if (objectCreateIsDefined)
50
- return Object.create(prototype, propertyDescriptors);
51
- var F = function() {
52
- };
53
- F.prototype = prototype;
54
- var result = new F();
55
- if (typeof propertyDescriptors > "u")
56
- return result;
57
- if (typeof propertyDescriptors == "null")
58
- throw new Error("PropertyDescriptors must not be null.");
59
- if (typeof propertyDescriptors == "object")
60
- for (var key in propertyDescriptors)
61
- hasOwnProperty(propertyDescriptors, key) && (result[key] = propertyDescriptors[key].value);
62
- return result;
63
- };
64
- exports.objectCreate = objectCreate;
65
- }
66
- });
67
-
68
- // ../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/cjs.js
69
- var require_cjs = __commonJS({
70
- "../../node_modules/.pnpm/ts-error@1.0.6/node_modules/ts-error/lib/cjs.js"(exports) {
71
- "use strict";
72
- init_cjs_shims();
73
- exports.__esModule = void 0;
74
- exports.__esModule = !0;
75
- var helpers = require_helpers(), setPrototypeOf = helpers.setPrototypeOf, getPrototypeOf = helpers.getPrototypeOf, defineProperty = helpers.defineProperty, objectCreate = helpers.objectCreate, uglyErrorPrinting = new Error().toString() === "[object Error]", extendableErrorName = "";
76
- function ExtendableError2(message) {
77
- var originalConstructor = this.constructor, constructorName = originalConstructor.name || (function() {
78
- var constructorNameMatch = originalConstructor.toString().match(/^function\s*([^\s(]+)/);
79
- return constructorNameMatch === null ? extendableErrorName || "Error" : constructorNameMatch[1];
80
- })(), constructorNameIsError = constructorName === "Error", name = constructorNameIsError ? extendableErrorName : constructorName, instance = Error.apply(this, arguments);
81
- if (setPrototypeOf(instance, getPrototypeOf(this)), !(instance instanceof originalConstructor) || !(instance instanceof ExtendableError2)) {
82
- var instance = this;
83
- Error.apply(this, arguments), defineProperty(instance, "message", {
84
- configurable: !0,
85
- enumerable: !1,
86
- value: message,
87
- writable: !0
88
- });
89
- }
90
- if (defineProperty(instance, "name", {
91
- configurable: !0,
92
- enumerable: !1,
93
- value: name,
94
- writable: !0
95
- }), Error.captureStackTrace && Error.captureStackTrace(
96
- instance,
97
- constructorNameIsError ? ExtendableError2 : originalConstructor
98
- ), instance.stack === void 0) {
99
- var err = new Error(message);
100
- err.name = instance.name, instance.stack = err.stack;
101
- }
102
- return uglyErrorPrinting && defineProperty(instance, "toString", {
103
- configurable: !0,
104
- enumerable: !1,
105
- value: function() {
106
- return (this.name || "Error") + (typeof this.message > "u" ? "" : ": " + this.message);
107
- },
108
- writable: !0
109
- }), instance;
110
- }
111
- extendableErrorName = ExtendableError2.name || "ExtendableError";
112
- ExtendableError2.prototype = objectCreate(Error.prototype, {
113
- constructor: {
114
- value: Error,
115
- enumerable: !1,
116
- writable: !0,
117
- configurable: !0
118
- }
119
- });
120
- exports.ExtendableError = ExtendableError2;
121
- exports.default = exports.ExtendableError;
122
- }
123
- });
124
-
125
- // ../cli-kit/dist/public/node/error.js
126
- init_cjs_shims();
127
- var import_core = __toESM(require_lib(), 1), import_ts_error = __toESM(require_cjs(), 1), FatalErrorType;
128
- (function(FatalErrorType2) {
129
- FatalErrorType2[FatalErrorType2.Abort = 0] = "Abort", FatalErrorType2[FatalErrorType2.AbortSilent = 1] = "AbortSilent", FatalErrorType2[FatalErrorType2.Bug = 2] = "Bug";
130
- })(FatalErrorType || (FatalErrorType = {}));
131
- var CancelExecution = class extends Error {
132
- }, FatalError = class extends Error {
133
- /**
134
- * Creates a new FatalError error.
135
- *
136
- * @param message - The error message.
137
- * @param type - The type of fatal error.
138
- * @param tryMessage - The message that recommends next steps to the user.
139
- * You can pass a string a {@link TokenizedString} or a {@link TokenItem}
140
- * if you need to style the message inside the error Banner component.
141
- * @param nextSteps - Message to show as "next steps" with suggestions to solve the issue.
142
- * @param customSections - Custom sections to show in the error banner. To be used if nextSteps is not enough.
143
- */
144
- constructor(message, type, tryMessage = null, nextSteps, customSections) {
145
- let messageIsOutputMessage = typeof message == "string" || "value" in message;
146
- super(messageIsOutputMessage ? stringifyMessage(message) : tokenItemToString(message)), tryMessage ? tryMessage instanceof TokenizedString ? this.tryMessage = stringifyMessage(tryMessage) : this.tryMessage = tryMessage : this.tryMessage = null, this.type = type, this.nextSteps = nextSteps, this.customSections = customSections, this.skipOclifErrorHandling = !0, messageIsOutputMessage || (this.formattedMessage = message);
147
- }
148
- }, AbortError = class extends FatalError {
149
- constructor(message, tryMessage = null, nextSteps, customSections) {
150
- super(message, FatalErrorType.Abort, tryMessage, nextSteps, customSections);
151
- }
152
- }, ExternalError = class extends FatalError {
153
- constructor(message, command, args, tryMessage = null) {
154
- super(message, FatalErrorType.Abort, tryMessage), this.command = command, this.args = args;
155
- }
156
- }, AbortSilentError = class extends FatalError {
157
- constructor() {
158
- super("", FatalErrorType.AbortSilent);
159
- }
160
- }, BugError = class extends FatalError {
161
- constructor(message, tryMessage = null) {
162
- super(message, FatalErrorType.Bug, tryMessage);
163
- }
164
- };
165
- async function handler(error) {
166
- let fatal;
167
- if (isFatal(error))
168
- fatal = error;
169
- else if (typeof error == "string")
170
- fatal = new BugError(error);
171
- else if (error instanceof Error)
172
- fatal = new BugError(error.message), fatal.stack = error.stack;
173
- else {
174
- let maybeError = error;
175
- fatal = new BugError(maybeError?.message ?? "Unknown error"), maybeError?.stack && (fatal.stack = maybeError?.stack);
176
- }
177
- let { renderFatalError } = await import("./ui-KAGET7XQ.js");
178
- return renderFatalError(fatal), Promise.resolve(error);
179
- }
180
- function errorMapper(error) {
181
- if (error instanceof import_core.Errors.CLIError) {
182
- let mappedError = new AbortError(error.message);
183
- return mappedError.stack = error.stack, Promise.resolve(mappedError);
184
- } else
185
- return Promise.resolve(error);
186
- }
187
- function isFatal(error) {
188
- try {
189
- return Object.prototype.hasOwnProperty.call(error, "type");
190
- } catch {
191
- return !1;
192
- }
193
- }
194
- function shouldReportErrorAsUnexpected(error) {
195
- if (!isFatal(error)) {
196
- if (error instanceof Error) {
197
- let message = error.message;
198
- return !errorMessageImpliesEnvironmentIssue(message);
199
- }
200
- return !0;
201
- }
202
- return error.type === FatalErrorType.Bug;
203
- }
204
- function cleanSingleStackTracePath(filePath) {
205
- return normalizePath(filePath).replace("file:/", "/").replace(/^\/?[A-Z]:/, "");
206
- }
207
- function errorMessageImpliesEnvironmentIssue(message) {
208
- return [
209
- "EPERM: operation not permitted, scandir",
210
- "EPERM: operation not permitted, rename",
211
- "EACCES: permission denied",
212
- "EPERM: operation not permitted, symlink",
213
- "This version of npm supports the following node versions",
214
- "EBUSY: resource busy or locked",
215
- "ENOTEMPTY: directory not empty",
216
- "getaddrinfo ENOTFOUND",
217
- "Client network socket disconnected before secure TLS connection was established",
218
- "spawn EPERM",
219
- "socket hang up",
220
- "The user aborted a request.",
221
- "write EPIPE",
222
- "Unsupported platform"
223
- ].some((issueMessage) => message.includes(issueMessage));
224
- }
225
-
226
- // ../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js
227
- init_cjs_shims();
228
- var copyProperty = (to, from, property, ignoreNonConfigurable) => {
229
- if (property === "length" || property === "prototype" || property === "arguments" || property === "caller")
230
- return;
231
- let toDescriptor = Object.getOwnPropertyDescriptor(to, property), fromDescriptor = Object.getOwnPropertyDescriptor(from, property);
232
- !canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable || Object.defineProperty(to, property, fromDescriptor);
233
- }, canCopyProperty = function(toDescriptor, fromDescriptor) {
234
- return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);
235
- }, changePrototype = (to, from) => {
236
- let fromPrototype = Object.getPrototypeOf(from);
237
- fromPrototype !== Object.getPrototypeOf(to) && Object.setPrototypeOf(to, fromPrototype);
238
- }, wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/
239
- ${fromBody}`, toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString"), toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name"), changeToString = (to, from, name) => {
240
- let withName = name === "" ? "" : `with ${name.trim()}() `, newToString = wrappedToString.bind(null, withName, from.toString());
241
- Object.defineProperty(newToString, "name", toStringName), Object.defineProperty(to, "toString", { ...toStringDescriptor, value: newToString });
242
- };
243
- function mimicFunction(to, from, { ignoreNonConfigurable = !1 } = {}) {
244
- let { name } = to;
245
- for (let property of Reflect.ownKeys(from))
246
- copyProperty(to, from, property, ignoreNonConfigurable);
247
- return changePrototype(to, from), changeToString(to, from, name), to;
248
- }
249
-
250
- export {
251
- mimicFunction,
252
- CancelExecution,
253
- FatalError,
254
- AbortError,
255
- ExternalError,
256
- AbortSilentError,
257
- BugError,
258
- handler,
259
- errorMapper,
260
- shouldReportErrorAsUnexpected,
261
- cleanSingleStackTracePath,
262
- import_ts_error
263
- };
264
- //# sourceMappingURL=chunk-UC7ROXAW.js.map
@@ -1,26 +0,0 @@
1
- import {
2
- environmentFilePath,
3
- loadEnvironment
4
- } from "./chunk-HISALD2J.js";
5
- import "./chunk-MSETDX6T.js";
6
- import "./chunk-KJGNF64X.js";
7
- import "./chunk-UC7ROXAW.js";
8
- import "./chunk-KWG6VAVE.js";
9
- import "./chunk-ODCXYGJ2.js";
10
- import "./chunk-LBXDGVFS.js";
11
- import "./chunk-D6NYWNY2.js";
12
- import "./chunk-JGGOQOPO.js";
13
- import "./chunk-OQ3KXXGH.js";
14
- import "./chunk-GDVNJLIG.js";
15
- import "./chunk-MRVSRQ5W.js";
16
- import "./chunk-BONVUA65.js";
17
- import "./chunk-7OHJH7BF.js";
18
- import "./chunk-C3J4HVUN.js";
19
- import "./chunk-OE3FSIHW.js";
20
- import "./chunk-HABWQC37.js";
21
- import "./chunk-3XNI6LP4.js";
22
- export {
23
- environmentFilePath,
24
- loadEnvironment
25
- };
26
- //# sourceMappingURL=environments-W7S7754G.js.map
@@ -1,7 +0,0 @@
1
- import {
2
- require_out
3
- } from "./chunk-OE3FSIHW.js";
4
- import "./chunk-HABWQC37.js";
5
- import "./chunk-3XNI6LP4.js";
6
- export default require_out();
7
- //# sourceMappingURL=out-B5JNCU2S.js.map