@shopify/create-app 3.94.0 → 3.94.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.
- package/dist/{chunk-EQGHDVWZ.js → chunk-3P2CWI75.js} +5 -5
- package/dist/{chunk-3QXHJGOG.js → chunk-4IXPA7MG.js} +2 -2
- package/dist/{chunk-X7WPZPGY.js → chunk-77I3TRE2.js} +2 -2
- package/dist/{chunk-SERZNJLR.js → chunk-7PXEGPG5.js} +5 -5
- package/dist/{chunk-V6HCEO5N.js → chunk-GUVQJPFV.js} +4 -4
- package/dist/{error-handler-O246E3LL.js → error-handler-W2U33HYT.js} +4 -4
- package/dist/hooks/postrun.js +4 -4
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +10 -10
- package/dist/{local-YL23CMQD.js → local-5M7UJBSV.js} +2 -2
- package/dist/{node-package-manager-2BRTEAQH.js → node-package-manager-FU2YTSQE.js} +3 -3
- package/dist/{ui-PS2SZVOU.js → ui-YR2APRRS.js} +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
3
|
getNextDeprecationDate,
|
|
4
4
|
reportAnalyticsEvent
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GUVQJPFV.js";
|
|
6
6
|
import {
|
|
7
7
|
addNPMDependencies,
|
|
8
8
|
checkForCachedNewVersion,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getPackageManager,
|
|
13
13
|
runAtMinimumInterval,
|
|
14
14
|
usesWorkspaces
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-77I3TRE2.js";
|
|
16
16
|
import {
|
|
17
17
|
addPublicMetadata,
|
|
18
18
|
addSensitiveMetadata,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
outputToken,
|
|
32
32
|
outputWarn,
|
|
33
33
|
renderWarning
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4IXPA7MG.js";
|
|
35
35
|
import {
|
|
36
36
|
cwd,
|
|
37
37
|
moduleDirectory,
|
|
@@ -211,7 +211,7 @@ async function performAutoUpgrade(newerVersion) {
|
|
|
211
211
|
} catch (error) {
|
|
212
212
|
let errorMessage = `Auto-upgrade failed: ${error}`;
|
|
213
213
|
outputDebug(errorMessage), outputWarn(getOutputUpdateCLIReminder(newerVersion)), await addPublicMetadata(() => ({ env_auto_upgrade_success: !1 }));
|
|
214
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
214
|
+
let { sendErrorToBugsnag } = await import("./error-handler-W2U33HYT.js"), enrichedError = Object.assign(new Error(errorMessage), {
|
|
215
215
|
packageManager: inferPackageManagerForGlobalCLI(),
|
|
216
216
|
platform: process.platform,
|
|
217
217
|
cliVersion: CLI_KIT_VERSION
|
|
@@ -242,4 +242,4 @@ export {
|
|
|
242
242
|
postRunHookHasCompleted,
|
|
243
243
|
hook
|
|
244
244
|
};
|
|
245
|
-
//# sourceMappingURL=chunk-
|
|
245
|
+
//# sourceMappingURL=chunk-3P2CWI75.js.map
|
|
@@ -28530,7 +28530,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
28530
28530
|
try {
|
|
28531
28531
|
await getAndSet();
|
|
28532
28532
|
} catch (error) {
|
|
28533
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
28533
|
+
let { sendErrorToBugsnag } = await import("./error-handler-W2U33HYT.js");
|
|
28534
28534
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
28535
28535
|
}
|
|
28536
28536
|
}, durationStack = [];
|
|
@@ -40287,4 +40287,4 @@ react-reconciler/cjs/react-reconciler.development.js:
|
|
|
40287
40287
|
* LICENSE file in the root directory of this source tree.
|
|
40288
40288
|
*)
|
|
40289
40289
|
*/
|
|
40290
|
-
//# sourceMappingURL=chunk-
|
|
40290
|
+
//# sourceMappingURL=chunk-4IXPA7MG.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
runWithTimer,
|
|
22
22
|
unixFileIsOwnedByCurrentUser,
|
|
23
23
|
writeFile
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4IXPA7MG.js";
|
|
25
25
|
import {
|
|
26
26
|
require_semver
|
|
27
27
|
} from "./chunk-IFG7N3S2.js";
|
|
@@ -14114,4 +14114,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
14114
14114
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
14115
14115
|
*)
|
|
14116
14116
|
*/
|
|
14117
|
-
//# sourceMappingURL=chunk-
|
|
14117
|
+
//# sourceMappingURL=chunk-77I3TRE2.js.map
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
3
|
jsonOutputEnabled,
|
|
4
4
|
z
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GUVQJPFV.js";
|
|
6
6
|
import {
|
|
7
7
|
cacheRetrieve,
|
|
8
8
|
cacheStore,
|
|
9
9
|
versionSatisfies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-77I3TRE2.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-
|
|
19
|
+
} from "./chunk-4IXPA7MG.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-
|
|
87
|
+
let { sendErrorToBugsnag } = await import("./error-handler-W2U33HYT.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-
|
|
177
|
+
//# sourceMappingURL=chunk-7PXEGPG5.js.map
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
setCurrentSessionId,
|
|
20
20
|
setSessions,
|
|
21
21
|
timeIntervalToMilliseconds
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-77I3TRE2.js";
|
|
23
23
|
import {
|
|
24
24
|
AbortError,
|
|
25
25
|
AbortSilentError,
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
stringifyMessage,
|
|
106
106
|
systemEnvironmentVariables,
|
|
107
107
|
themeToken
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-4IXPA7MG.js";
|
|
109
109
|
import {
|
|
110
110
|
require_lib
|
|
111
111
|
} from "./chunk-IFG7N3S2.js";
|
|
@@ -48161,7 +48161,7 @@ init_cjs_shims();
|
|
|
48161
48161
|
|
|
48162
48162
|
// ../cli-kit/dist/public/common/version.js
|
|
48163
48163
|
init_cjs_shims();
|
|
48164
|
-
var CLI_KIT_VERSION = "3.94.
|
|
48164
|
+
var CLI_KIT_VERSION = "3.94.1";
|
|
48165
48165
|
|
|
48166
48166
|
// ../cli-kit/dist/private/node/api/headers.js
|
|
48167
48167
|
import https from "https";
|
|
@@ -55079,4 +55079,4 @@ mime-types/index.js:
|
|
|
55079
55079
|
* MIT Licensed
|
|
55080
55080
|
*)
|
|
55081
55081
|
*/
|
|
55082
|
-
//# sourceMappingURL=chunk-
|
|
55082
|
+
//# sourceMappingURL=chunk-GUVQJPFV.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GUVQJPFV.js";
|
|
8
8
|
import "./chunk-VBBBCVMH.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-77I3TRE2.js";
|
|
10
|
+
import "./chunk-4IXPA7MG.js";
|
|
11
11
|
import "./chunk-IFG7N3S2.js";
|
|
12
12
|
import "./chunk-CXPWSYGC.js";
|
|
13
13
|
import "./chunk-NIYBO6HO.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
23
23
|
sendErrorToBugsnag
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=error-handler-
|
|
25
|
+
//# sourceMappingURL=error-handler-W2U33HYT.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hook
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-3P2CWI75.js";
|
|
4
|
+
import "../chunk-GUVQJPFV.js";
|
|
5
5
|
import "../chunk-VBBBCVMH.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-77I3TRE2.js";
|
|
7
|
+
import "../chunk-4IXPA7MG.js";
|
|
8
8
|
import "../chunk-IFG7N3S2.js";
|
|
9
9
|
import "../chunk-CXPWSYGC.js";
|
|
10
10
|
import "../chunk-NIYBO6HO.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchNotificationsInBackground
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7PXEGPG5.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-GUVQJPFV.js";
|
|
8
8
|
import "../chunk-VBBBCVMH.js";
|
|
9
9
|
import {
|
|
10
10
|
checkForNewVersion
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-77I3TRE2.js";
|
|
12
12
|
import {
|
|
13
13
|
isPreReleaseVersion,
|
|
14
14
|
outputDebug
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-4IXPA7MG.js";
|
|
16
16
|
import "../chunk-IFG7N3S2.js";
|
|
17
17
|
import "../chunk-CXPWSYGC.js";
|
|
18
18
|
import "../chunk-NIYBO6HO.js";
|
package/dist/index.js
CHANGED
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
} from "./chunk-CE4S2SGM.js";
|
|
11
11
|
import {
|
|
12
12
|
postRunHookHasCompleted
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3P2CWI75.js";
|
|
14
14
|
import {
|
|
15
15
|
setCurrentCommandId,
|
|
16
16
|
showNotificationsIfNeeded
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7PXEGPG5.js";
|
|
18
18
|
import {
|
|
19
19
|
CLI_KIT_VERSION,
|
|
20
20
|
ClientError,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
shopifyFetch,
|
|
95
95
|
storeAdminUrl,
|
|
96
96
|
z
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-GUVQJPFV.js";
|
|
98
98
|
import "./chunk-VBBBCVMH.js";
|
|
99
99
|
import {
|
|
100
100
|
LocalStorage,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
usesWorkspaces,
|
|
119
119
|
versionSatisfies,
|
|
120
120
|
writePackageJSON
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-77I3TRE2.js";
|
|
122
122
|
import {
|
|
123
123
|
AbortController as AbortController2,
|
|
124
124
|
AbortError,
|
|
@@ -290,7 +290,7 @@ import {
|
|
|
290
290
|
username,
|
|
291
291
|
writeFile,
|
|
292
292
|
writeFileSync
|
|
293
|
-
} from "./chunk-
|
|
293
|
+
} from "./chunk-4IXPA7MG.js";
|
|
294
294
|
import {
|
|
295
295
|
require_commonjs,
|
|
296
296
|
require_lib as require_lib2,
|
|
@@ -204407,11 +204407,11 @@ var kilobytes2 = 1024, BUNDLE_SIZE_LIMIT_KB = 128, BUNDLE_SIZE_LIMIT2 = BUNDLE_S
|
|
|
204407
204407
|
partnersWebIdentifier: "web_pixel",
|
|
204408
204408
|
schema: WebPixelSchema,
|
|
204409
204409
|
appModuleFeatures: (_2) => ["esbuild", "single_js_entry_path"],
|
|
204410
|
-
getOutputRelativePath: (extension) =>
|
|
204410
|
+
getOutputRelativePath: (extension) => `${extension.handle}.js`,
|
|
204411
204411
|
clientSteps: [
|
|
204412
204412
|
{
|
|
204413
204413
|
lifecycle: "deploy",
|
|
204414
|
-
steps: [{ id: "bundle-ui", name: "Bundle UI Extension", type: "bundle_ui", config: {} }]
|
|
204414
|
+
steps: [{ id: "bundle-ui", name: "Bundle UI Extension", type: "bundle_ui", config: { bundleFolder: "dist/" } }]
|
|
204415
204415
|
}
|
|
204416
204416
|
],
|
|
204417
204417
|
deployConfig: async (config2, _2) => ({
|
|
@@ -205377,7 +205377,7 @@ init_cjs_shims();
|
|
|
205377
205377
|
init_cjs_shims();
|
|
205378
205378
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
205379
205379
|
async function launchCLI(options) {
|
|
205380
|
-
let { errorHandler: errorHandler2 } = await import("./error-handler-
|
|
205380
|
+
let { errorHandler: errorHandler2 } = await import("./error-handler-W2U33HYT.js"), { isDevelopment: isDevelopment2 } = await import("./local-5M7UJBSV.js"), oclifModule = await import("./lib-PPI2FZOR.js"), { Config, run, flush, Errors: Errors2, settings } = oclifModule.default ?? oclifModule;
|
|
205381
205381
|
isDevelopment2() && (settings.debug = !0);
|
|
205382
205382
|
try {
|
|
205383
205383
|
let config2 = new Config({ root: fileURLToPath2(options.moduleURL) });
|
|
@@ -205392,7 +205392,7 @@ var import_core3 = __toESM(require_lib2());
|
|
|
205392
205392
|
async function exitIfOldNodeVersion(versions2 = process.versions) {
|
|
205393
205393
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
205394
205394
|
if (nodeMajorVersion < 18) {
|
|
205395
|
-
let { renderError: renderError2 } = await import("./ui-
|
|
205395
|
+
let { renderError: renderError2 } = await import("./ui-YR2APRRS.js");
|
|
205396
205396
|
renderError2({
|
|
205397
205397
|
headline: "Upgrade to a supported Node version now.",
|
|
205398
205398
|
body: [
|
|
@@ -205419,7 +205419,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
205419
205419
|
return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL });
|
|
205420
205420
|
}
|
|
205421
205421
|
async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
|
|
205422
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
205422
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-FU2YTSQE.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-NQ6GZ2WO.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
205423
205423
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
205424
205424
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
205425
205425
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
macAddress,
|
|
23
23
|
opentelemetryDomain,
|
|
24
24
|
themeToken
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4IXPA7MG.js";
|
|
26
26
|
import "./chunk-IFG7N3S2.js";
|
|
27
27
|
import "./chunk-CXPWSYGC.js";
|
|
28
28
|
import "./chunk-NIYBO6HO.js";
|
|
@@ -55,4 +55,4 @@ export {
|
|
|
55
55
|
opentelemetryDomain,
|
|
56
56
|
themeToken
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=local-
|
|
58
|
+
//# sourceMappingURL=local-5M7UJBSV.js.map
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
versionSatisfies,
|
|
31
31
|
writePackageJSON,
|
|
32
32
|
yarnLockfile
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-77I3TRE2.js";
|
|
34
|
+
import "./chunk-4IXPA7MG.js";
|
|
35
35
|
import "./chunk-IFG7N3S2.js";
|
|
36
36
|
import "./chunk-CXPWSYGC.js";
|
|
37
37
|
import "./chunk-NIYBO6HO.js";
|
|
@@ -72,4 +72,4 @@ export {
|
|
|
72
72
|
writePackageJSON,
|
|
73
73
|
yarnLockfile
|
|
74
74
|
};
|
|
75
|
-
//# sourceMappingURL=node-package-manager-
|
|
75
|
+
//# sourceMappingURL=node-package-manager-FU2YTSQE.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
renderTasks,
|
|
18
18
|
renderTextPrompt,
|
|
19
19
|
renderWarning
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4IXPA7MG.js";
|
|
21
21
|
import "./chunk-IFG7N3S2.js";
|
|
22
22
|
import "./chunk-CXPWSYGC.js";
|
|
23
23
|
import "./chunk-NIYBO6HO.js";
|
|
@@ -45,4 +45,4 @@ export {
|
|
|
45
45
|
renderTextPrompt,
|
|
46
46
|
renderWarning
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=ui-
|
|
48
|
+
//# sourceMappingURL=ui-YR2APRRS.js.map
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/create-app",
|
|
3
|
-
"version": "3.94.
|
|
3
|
+
"version": "3.94.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.4"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@shopify/cli-kit": "3.94.
|
|
51
|
-
"@shopify/app": "3.94.
|
|
50
|
+
"@shopify/cli-kit": "3.94.1",
|
|
51
|
+
"@shopify/app": "3.94.1",
|
|
52
52
|
"esbuild-plugin-copy": "^2.1.1",
|
|
53
53
|
"@vitest/coverage-istanbul": "^3.1.4"
|
|
54
54
|
},
|