@shopify/create-app 3.75.0 → 3.75.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.
- package/dist/{chunk-L7GASDV2.js → chunk-2UDBXGSZ.js} +4 -4
- package/dist/{chunk-ICQBXF5V.js → chunk-7THTL56Q.js} +4 -4
- package/dist/{chunk-5SC2R6CT.js → chunk-MKDIZV3W.js} +5 -5
- package/dist/{chunk-EPQ2L6IW.js → chunk-WDOBEUBN.js} +6 -6
- package/dist/{chunk-3YDOTMPD.js → chunk-WY5LLJYD.js} +3 -3
- package/dist/{chunk-57Q6OQG4.js → chunk-ZUCWDIGE.js} +2 -2
- package/dist/{custom-oclif-loader-CXVA2M3L.js → custom-oclif-loader-VIZPKC3F.js} +3 -3
- package/dist/{error-handler-GC4GWYD5.js → error-handler-VOGFB2X5.js} +7 -7
- package/dist/hooks/postrun.js +5 -5
- package/dist/hooks/prerun.js +4 -4
- package/dist/index.js +29 -25
- package/dist/{local-6CQLDUCI.js → local-Q3I3ZFMS.js} +3 -3
- package/dist/{node-package-manager-DQ4PU7OM.js → node-package-manager-DSFK6RZ3.js} +4 -4
- package/dist/{path-2K5HIMHZ.js → path-GWAZZN2N.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-PWRERZXU.js → ui-6W5SD74Y.js} +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getEnvironmentData,
|
|
5
5
|
getLastSeenUserIdAfterAuth,
|
|
6
6
|
getSensitiveEnvironmentData
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MKDIZV3W.js";
|
|
8
8
|
import {
|
|
9
9
|
runWithRateLimit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WY5LLJYD.js";
|
|
11
11
|
import {
|
|
12
12
|
alwaysLogAnalytics,
|
|
13
13
|
alwaysLogMetrics,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
outputDebug,
|
|
25
25
|
outputToken,
|
|
26
26
|
reportingRateLimit
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7THTL56Q.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__esm,
|
|
@@ -15926,4 +15926,4 @@ export {
|
|
|
15926
15926
|
requestIdsCollection,
|
|
15927
15927
|
reportAnalyticsEvent
|
|
15928
15928
|
};
|
|
15929
|
-
//# sourceMappingURL=chunk-
|
|
15929
|
+
//# sourceMappingURL=chunk-2UDBXGSZ.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
relativizePath,
|
|
15
15
|
sniffForJson,
|
|
16
16
|
sniffForPath
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
18
18
|
import {
|
|
19
19
|
delimiter
|
|
20
20
|
} from "./chunk-CDBXAE2F.js";
|
|
@@ -22455,7 +22455,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
|
|
|
22455
22455
|
try {
|
|
22456
22456
|
await getAndSet();
|
|
22457
22457
|
} catch (error) {
|
|
22458
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
22458
|
+
let { sendErrorToBugsnag } = await import("./error-handler-VOGFB2X5.js");
|
|
22459
22459
|
await sendErrorToBugsnag(error, "unexpected_error");
|
|
22460
22460
|
}
|
|
22461
22461
|
}, durationStack = [];
|
|
@@ -28065,7 +28065,7 @@ function AutocompletePrompt({ message, choices, infoTable, onSubmit, search, has
|
|
|
28065
28065
|
}
|
|
28066
28066
|
|
|
28067
28067
|
// ../cli-kit/dist/public/node/ui.js
|
|
28068
|
-
var import_react55 = __toESM(require_react()), defaultUIDebugOptions = {
|
|
28068
|
+
var import_react55 = __toESM(require_react(), 1), defaultUIDebugOptions = {
|
|
28069
28069
|
skipTTYCheck: !1
|
|
28070
28070
|
};
|
|
28071
28071
|
async function renderConcurrent({ renderOptions, ...props }) {
|
|
@@ -31629,4 +31629,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
|
|
|
31629
31629
|
* LICENSE file in the root directory of this source tree.
|
|
31630
31630
|
*)
|
|
31631
31631
|
*/
|
|
31632
|
-
//# sourceMappingURL=chunk-
|
|
31632
|
+
//# sourceMappingURL=chunk-7THTL56Q.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
packageManagerFromUserAgent,
|
|
11
11
|
removeSession,
|
|
12
12
|
setSession
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WY5LLJYD.js";
|
|
14
14
|
import {
|
|
15
15
|
AbortError,
|
|
16
16
|
BugError,
|
|
@@ -47,10 +47,10 @@ import {
|
|
|
47
47
|
spinFqdn,
|
|
48
48
|
themeKitAccessDomain,
|
|
49
49
|
themeToken
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-7THTL56Q.js";
|
|
51
51
|
import {
|
|
52
52
|
cwd
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
54
54
|
import {
|
|
55
55
|
__commonJS,
|
|
56
56
|
__require,
|
|
@@ -26949,7 +26949,7 @@ var require_form_data = __commonJS({
|
|
|
26949
26949
|
|
|
26950
26950
|
// ../cli-kit/dist/public/common/version.js
|
|
26951
26951
|
init_cjs_shims();
|
|
26952
|
-
var CLI_KIT_VERSION = "3.75.
|
|
26952
|
+
var CLI_KIT_VERSION = "3.75.2";
|
|
26953
26953
|
|
|
26954
26954
|
// ../cli-kit/dist/private/node/analytics.js
|
|
26955
26955
|
init_cjs_shims();
|
|
@@ -32435,4 +32435,4 @@ mime-types/index.js:
|
|
|
32435
32435
|
* MIT Licensed
|
|
32436
32436
|
*)
|
|
32437
32437
|
*/
|
|
32438
|
-
//# sourceMappingURL=chunk-
|
|
32438
|
+
//# sourceMappingURL=chunk-MKDIZV3W.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2UDBXGSZ.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MKDIZV3W.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WY5LLJYD.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortSilentError,
|
|
14
14
|
CancelExecution,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
reportingRateLimit,
|
|
24
24
|
require_stacktracey,
|
|
25
25
|
shouldReportErrorAsUnexpected
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7THTL56Q.js";
|
|
27
27
|
import {
|
|
28
28
|
require_lib
|
|
29
29
|
} from "./chunk-S3QEOIDU.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
joinPath,
|
|
34
34
|
normalizePath,
|
|
35
35
|
relativePath
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
37
37
|
import {
|
|
38
38
|
require_once
|
|
39
39
|
} from "./chunk-SHWOPMLQ.js";
|
|
@@ -2129,4 +2129,4 @@ export {
|
|
|
2129
2129
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2130
2130
|
addBugsnagMetadata
|
|
2131
2131
|
};
|
|
2132
|
-
//# sourceMappingURL=chunk-
|
|
2132
|
+
//# sourceMappingURL=chunk-WDOBEUBN.js.map
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
require_get_stream,
|
|
19
19
|
runWithTimer,
|
|
20
20
|
writeFile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7THTL56Q.js";
|
|
22
22
|
import {
|
|
23
23
|
dirname,
|
|
24
24
|
joinPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
|
@@ -14830,4 +14830,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
14830
14830
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
14831
14831
|
*)
|
|
14832
14832
|
*/
|
|
14833
|
-
//# sourceMappingURL=chunk-
|
|
14833
|
+
//# sourceMappingURL=chunk-WY5LLJYD.js.map
|
|
@@ -40,7 +40,7 @@ var require_commondir = __commonJS({
|
|
|
40
40
|
|
|
41
41
|
// ../cli-kit/dist/public/node/path.js
|
|
42
42
|
init_cjs_shims();
|
|
43
|
-
var import_commondir = __toESM(require_commondir());
|
|
43
|
+
var import_commondir = __toESM(require_commondir(), 1);
|
|
44
44
|
import { fileURLToPath } from "url";
|
|
45
45
|
function joinPath(...paths) {
|
|
46
46
|
return join(...paths);
|
|
@@ -108,4 +108,4 @@ export {
|
|
|
108
108
|
sniffForPath,
|
|
109
109
|
sniffForJson
|
|
110
110
|
};
|
|
111
|
-
//# sourceMappingURL=chunk-
|
|
111
|
+
//# sourceMappingURL=chunk-ZUCWDIGE.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7THTL56Q.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
7
|
} from "./chunk-S3QEOIDU.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
cwd,
|
|
11
11
|
joinPath,
|
|
12
12
|
sniffForPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
14
14
|
import "./chunk-CDBXAE2F.js";
|
|
15
15
|
import "./chunk-75LV6AQS.js";
|
|
16
16
|
import "./chunk-IVFBSLUD.js";
|
|
@@ -43,4 +43,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
43
43
|
export {
|
|
44
44
|
ShopifyConfig
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
46
|
+
//# sourceMappingURL=custom-oclif-loader-VIZPKC3F.js.map
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-WDOBEUBN.js";
|
|
8
|
+
import "./chunk-2UDBXGSZ.js";
|
|
9
|
+
import "./chunk-MKDIZV3W.js";
|
|
10
10
|
import "./chunk-25IMI7TH.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-WY5LLJYD.js";
|
|
12
|
+
import "./chunk-7THTL56Q.js";
|
|
13
13
|
import "./chunk-S3QEOIDU.js";
|
|
14
14
|
import "./chunk-3I3GQNEW.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ZUCWDIGE.js";
|
|
16
16
|
import "./chunk-CDBXAE2F.js";
|
|
17
17
|
import "./chunk-SHWOPMLQ.js";
|
|
18
18
|
import "./chunk-75LV6AQS.js";
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
29
29
|
sendErrorToBugsnag
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=error-handler-
|
|
31
|
+
//# sourceMappingURL=error-handler-VOGFB2X5.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "../chunk-CP3BRHWK.js";
|
|
4
4
|
import {
|
|
5
5
|
reportAnalyticsEvent
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-2UDBXGSZ.js";
|
|
7
|
+
import "../chunk-MKDIZV3W.js";
|
|
8
8
|
import "../chunk-25IMI7TH.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-WY5LLJYD.js";
|
|
10
10
|
import {
|
|
11
11
|
addSensitiveMetadata,
|
|
12
12
|
getAllSensitiveMetadata,
|
|
13
13
|
outputDebug,
|
|
14
14
|
renderWarning
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-7THTL56Q.js";
|
|
16
16
|
import "../chunk-S3QEOIDU.js";
|
|
17
17
|
import "../chunk-3I3GQNEW.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-ZUCWDIGE.js";
|
|
19
19
|
import "../chunk-CDBXAE2F.js";
|
|
20
20
|
import "../chunk-75LV6AQS.js";
|
|
21
21
|
import "../chunk-IVFBSLUD.js";
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLI_KIT_VERSION,
|
|
3
3
|
startAnalytics
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MKDIZV3W.js";
|
|
5
5
|
import "../chunk-25IMI7TH.js";
|
|
6
6
|
import {
|
|
7
7
|
checkForCachedNewVersion,
|
|
8
8
|
checkForNewVersion,
|
|
9
9
|
packageManagerFromUserAgent,
|
|
10
10
|
runAtMinimumInterval
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-WY5LLJYD.js";
|
|
12
12
|
import {
|
|
13
13
|
currentProcessIsGlobal,
|
|
14
14
|
inferPackageManagerForGlobalCLI,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
outputDebug,
|
|
17
17
|
outputToken,
|
|
18
18
|
outputWarn
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-7THTL56Q.js";
|
|
20
20
|
import "../chunk-S3QEOIDU.js";
|
|
21
21
|
import "../chunk-3I3GQNEW.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-ZUCWDIGE.js";
|
|
23
23
|
import "../chunk-CDBXAE2F.js";
|
|
24
24
|
import "../chunk-75LV6AQS.js";
|
|
25
25
|
import "../chunk-IVFBSLUD.js";
|
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
errorHandler,
|
|
13
13
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
14
14
|
require_end_of_stream
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WDOBEUBN.js";
|
|
16
16
|
import {
|
|
17
17
|
setNextDeprecationDate
|
|
18
18
|
} from "./chunk-CP3BRHWK.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
getListOfTunnelPlugins,
|
|
22
22
|
reportAnalyticsEvent,
|
|
23
23
|
requestIdsCollection
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2UDBXGSZ.js";
|
|
25
25
|
import {
|
|
26
26
|
CLI_KIT_VERSION,
|
|
27
27
|
ClientError,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
setLastSeenUserIdAfterAuth,
|
|
59
59
|
username,
|
|
60
60
|
z
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-MKDIZV3W.js";
|
|
62
62
|
import "./chunk-25IMI7TH.js";
|
|
63
63
|
import {
|
|
64
64
|
LocalStorage,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
usesWorkspaces,
|
|
84
84
|
versionSatisfies,
|
|
85
85
|
writePackageJSON
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-WY5LLJYD.js";
|
|
87
87
|
import {
|
|
88
88
|
AbortController as AbortController2,
|
|
89
89
|
AbortError,
|
|
@@ -278,7 +278,7 @@ import {
|
|
|
278
278
|
use_stdin_default,
|
|
279
279
|
writeFile,
|
|
280
280
|
writeFileSync
|
|
281
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-7THTL56Q.js";
|
|
282
282
|
import {
|
|
283
283
|
require_brace_expansion,
|
|
284
284
|
require_lib
|
|
@@ -297,7 +297,7 @@ import {
|
|
|
297
297
|
relativizePath,
|
|
298
298
|
resolvePath,
|
|
299
299
|
sniffForJson
|
|
300
|
-
} from "./chunk-
|
|
300
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
301
301
|
import "./chunk-CDBXAE2F.js";
|
|
302
302
|
import {
|
|
303
303
|
require_fs,
|
|
@@ -144416,7 +144416,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
|
|
|
144416
144416
|
throw new AbortSilentError();
|
|
144417
144417
|
let errorMessage2 = `Error retrieving notifications: ${error.message}`;
|
|
144418
144418
|
outputDebug(errorMessage2);
|
|
144419
|
-
let { sendErrorToBugsnag } = await import("./error-handler-
|
|
144419
|
+
let { sendErrorToBugsnag } = await import("./error-handler-VOGFB2X5.js");
|
|
144420
144420
|
await sendErrorToBugsnag(errorMessage2, "unexpected_error");
|
|
144421
144421
|
}
|
|
144422
144422
|
}
|
|
@@ -148385,7 +148385,7 @@ async function selectAppPrompt(onSearchForAppsByName, apps, hasMorePages, option
|
|
|
148385
148385
|
});
|
|
148386
148386
|
return currentAppChoices.find((app) => app.apiKey === apiKey);
|
|
148387
148387
|
}
|
|
148388
|
-
async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresByName
|
|
148388
|
+
async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresByName, showDomainOnPrompt = !0 }) {
|
|
148389
148389
|
if (stores.length === 0)
|
|
148390
148390
|
return;
|
|
148391
148391
|
if (stores.length === 1)
|
|
@@ -148393,19 +148393,21 @@ async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresB
|
|
|
148393
148393
|
let storeToChoice = (store) => {
|
|
148394
148394
|
let label = store.shopName;
|
|
148395
148395
|
return showDomainOnPrompt && store.shopDomain && (label = `${store.shopName} (${store.shopDomain})`), { label, value: store.shopId };
|
|
148396
|
-
}, currentStores = stores,
|
|
148396
|
+
}, currentStores = stores, extraAutocompletePromptProps = {};
|
|
148397
|
+
onSearchForStoresByName && (extraAutocompletePromptProps.search = async (term) => {
|
|
148398
|
+
let result = await onSearchForStoresByName(term);
|
|
148399
|
+
return currentStores = result.stores, {
|
|
148400
|
+
data: currentStores.map(storeToChoice),
|
|
148401
|
+
meta: {
|
|
148402
|
+
hasNextPage: result.hasMorePages
|
|
148403
|
+
}
|
|
148404
|
+
};
|
|
148405
|
+
});
|
|
148406
|
+
let id = await renderAutocompletePrompt({
|
|
148397
148407
|
message: "Which store would you like to use to view your project?",
|
|
148398
148408
|
choices: currentStores.map(storeToChoice),
|
|
148399
148409
|
hasMorePages,
|
|
148400
|
-
|
|
148401
|
-
let result = await onSearchForStoresByName(term);
|
|
148402
|
-
return currentStores = result.stores, {
|
|
148403
|
-
data: currentStores.map(storeToChoice),
|
|
148404
|
-
meta: {
|
|
148405
|
-
hasNextPage: result.hasMorePages
|
|
148406
|
-
}
|
|
148407
|
-
};
|
|
148408
|
-
}
|
|
148410
|
+
...extraAutocompletePromptProps
|
|
148409
148411
|
});
|
|
148410
148412
|
return currentStores.find((store) => store.shopId === id);
|
|
148411
148413
|
}
|
|
@@ -149546,7 +149548,7 @@ function getAppVars(org, name, isLaunchable = !0, scopesArray) {
|
|
|
149546
149548
|
}
|
|
149547
149549
|
var PartnersClient = class {
|
|
149548
149550
|
constructor(session) {
|
|
149549
|
-
this.clientName = ClientName.Partners, this.webUiName = "Partner Dashboard", this.supportsAtomicDeployments = !1, this.requiresOrganization = !1, this.supportsDevSessions = !1, this.organizationSource = OrganizationSource.Partners, this._session = session;
|
|
149551
|
+
this.clientName = ClientName.Partners, this.webUiName = "Partner Dashboard", this.supportsAtomicDeployments = !1, this.requiresOrganization = !1, this.supportsDevSessions = !1, this.supportsStoreSearch = !1, this.organizationSource = OrganizationSource.Partners, this._session = session;
|
|
149550
149552
|
}
|
|
149551
149553
|
async session() {
|
|
149552
149554
|
if (!this._session) {
|
|
@@ -151714,7 +151716,7 @@ async function functionsRequestDoc(orgId, query, token, appId, variables) {
|
|
|
151714
151716
|
// ../app/dist/cli/utilities/developer-platform-client/app-management-client.js
|
|
151715
151717
|
var TEMPLATE_JSON_URL = "https://cdn.shopify.com/static/cli/extensions/templates.json", AppManagementClient = class {
|
|
151716
151718
|
constructor(session) {
|
|
151717
|
-
this.clientName = ClientName.AppManagement, this.webUiName = "Developer Dashboard", this.requiresOrganization = !0, this.supportsAtomicDeployments = !0, this.supportsDevSessions = !0, this.organizationSource = OrganizationSource.BusinessPlatform, this._session = session;
|
|
151719
|
+
this.clientName = ClientName.AppManagement, this.webUiName = "Developer Dashboard", this.requiresOrganization = !0, this.supportsAtomicDeployments = !0, this.supportsDevSessions = !0, this.supportsStoreSearch = !0, this.organizationSource = OrganizationSource.BusinessPlatform, this._session = session;
|
|
151718
151720
|
}
|
|
151719
151721
|
async subscribeToAppLogs(input) {
|
|
151720
151722
|
throw new Error(`Not Implemented: ${JSON.stringify(input)}`);
|
|
@@ -153890,7 +153892,7 @@ init_cjs_shims();
|
|
|
153890
153892
|
init_cjs_shims();
|
|
153891
153893
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
153892
153894
|
async function launchCLI(options2) {
|
|
153893
|
-
let { errorHandler: errorHandler3 } = await import("./error-handler-
|
|
153895
|
+
let { errorHandler: errorHandler3 } = await import("./error-handler-VOGFB2X5.js"), { isDevelopment: isDevelopment2 } = await import("./local-Q3I3ZFMS.js"), oclif = await import("./lib-GSZAN7VA.js"), { ShopifyConfig } = await import("./custom-oclif-loader-VIZPKC3F.js");
|
|
153894
153896
|
isDevelopment2() && (oclif.default.settings.debug = !0);
|
|
153895
153897
|
try {
|
|
153896
153898
|
let config2 = new ShopifyConfig({ root: fileURLToPath2(options2.moduleURL) });
|
|
@@ -153905,7 +153907,7 @@ var import_core3 = __toESM(require_lib());
|
|
|
153905
153907
|
async function warnIfOldNodeVersion(versions2 = process.versions) {
|
|
153906
153908
|
let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
|
|
153907
153909
|
if (nodeMajorVersion < 18) {
|
|
153908
|
-
let { renderWarning: renderWarning2 } = await import("./ui-
|
|
153910
|
+
let { renderWarning: renderWarning2 } = await import("./ui-6W5SD74Y.js");
|
|
153909
153911
|
renderWarning2({
|
|
153910
153912
|
headline: "Upgrade to a supported Node version now.",
|
|
153911
153913
|
body: [
|
|
@@ -153932,7 +153934,7 @@ async function runCLI(options2, launchCLI2 = launchCLI, argv = process.argv, env
|
|
|
153932
153934
|
return setupEnvironmentVariables(options2, argv, env), options2.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options2, argv), forceNoColor(argv, env), await warnIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options2.moduleURL });
|
|
153933
153935
|
}
|
|
153934
153936
|
async function addInitToArgvWhenRunningCreateCLI(options2, argv = process.argv) {
|
|
153935
|
-
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-
|
|
153937
|
+
let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-DSFK6RZ3.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-GWAZZN2N.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options2.moduleURL))).content.name.replace("@shopify/create-", "");
|
|
153936
153938
|
if (argv.findIndex((arg) => arg.includes("init")) === -1) {
|
|
153937
153939
|
let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
|
|
153938
153940
|
argv.splice(initIndex2, 0, "init");
|
|
@@ -169484,8 +169486,10 @@ init_cjs_shims();
|
|
|
169484
169486
|
// ../app/dist/cli/services/dev/select-store.js
|
|
169485
169487
|
init_cjs_shims();
|
|
169486
169488
|
async function selectStore(storesSearch, org, developerPlatformClient) {
|
|
169487
|
-
let showDomainOnPrompt = developerPlatformClient.clientName === ClientName.AppManagement,
|
|
169488
|
-
|
|
169489
|
+
let showDomainOnPrompt = developerPlatformClient.clientName === ClientName.AppManagement, onSearchForStoresByName;
|
|
169490
|
+
developerPlatformClient.supportsStoreSearch && (onSearchForStoresByName = async (term) => developerPlatformClient.devStoresForOrg(org.id, term));
|
|
169491
|
+
let store = await selectStorePrompt({
|
|
169492
|
+
onSearchForStoresByName,
|
|
169489
169493
|
...storesSearch,
|
|
169490
169494
|
showDomainOnPrompt
|
|
169491
169495
|
});
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
themeToken,
|
|
24
24
|
useEmbeddedThemeCLI,
|
|
25
25
|
useThemebundling
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7THTL56Q.js";
|
|
27
27
|
import "./chunk-S3QEOIDU.js";
|
|
28
28
|
import "./chunk-3I3GQNEW.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-ZUCWDIGE.js";
|
|
30
30
|
import "./chunk-CDBXAE2F.js";
|
|
31
31
|
import "./chunk-75LV6AQS.js";
|
|
32
32
|
import "./chunk-IVFBSLUD.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
useEmbeddedThemeCLI,
|
|
61
61
|
useThemebundling
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=local-
|
|
63
|
+
//# sourceMappingURL=local-Q3I3ZFMS.js.map
|
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
versionSatisfies,
|
|
30
30
|
writePackageJSON,
|
|
31
31
|
yarnLockfile
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-WY5LLJYD.js";
|
|
33
|
+
import "./chunk-7THTL56Q.js";
|
|
34
34
|
import "./chunk-S3QEOIDU.js";
|
|
35
35
|
import "./chunk-3I3GQNEW.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-ZUCWDIGE.js";
|
|
37
37
|
import "./chunk-CDBXAE2F.js";
|
|
38
38
|
import "./chunk-75LV6AQS.js";
|
|
39
39
|
import "./chunk-IVFBSLUD.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
writePackageJSON,
|
|
74
74
|
yarnLockfile
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=node-package-manager-
|
|
76
|
+
//# sourceMappingURL=node-package-manager-DSFK6RZ3.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
resolvePath,
|
|
14
14
|
sniffForJson,
|
|
15
15
|
sniffForPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
17
17
|
import "./chunk-CDBXAE2F.js";
|
|
18
18
|
import "./chunk-PKR7KJ6P.js";
|
|
19
19
|
export {
|
|
@@ -32,4 +32,4 @@ export {
|
|
|
32
32
|
sniffForJson,
|
|
33
33
|
sniffForPath
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=path-
|
|
35
|
+
//# sourceMappingURL=path-GWAZZN2N.js.map
|