@shopify/create-app 3.68.0 → 3.69.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.
- package/dist/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
- package/dist/{chunk-C5I6OCGC.js → chunk-2A7GNM7F.js} +2 -2
- package/dist/{chunk-JPBCRPG7.js → chunk-7N2ECBWK.js} +3 -3
- package/dist/{chunk-EWVVUMVS.js → chunk-AVCU5ZOP.js} +9 -9
- package/dist/{chunk-VZ5DQVYW.js → chunk-AZIUHI45.js} +93 -5
- package/dist/{chunk-T2GATXSP.js → chunk-BB6N2XSA.js} +2 -2
- package/dist/{chunk-7BOEG3VG.js → chunk-CJOZ7NTT.js} +7 -7
- package/dist/{chunk-NZDBLGNM.js → chunk-G6AY2JW5.js} +2 -3
- package/dist/{chunk-BG6FYFQK.js → chunk-L7M22NDW.js} +2 -2
- package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
- package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
- package/dist/{chunk-MAWDESEZ.js → chunk-NQUHO34K.js} +140 -38
- package/dist/{chunk-EY2NO5UP.js → chunk-UWDJJNDC.js} +4 -4
- package/dist/{chunk-TOQEXS2N.js → chunk-XMQLNGN7.js} +142 -860
- package/dist/{constants-TR6ABVLJ.js → constants-GVJLI6RE.js} +3 -3
- package/dist/{custom-oclif-loader-M54JZXX3.js → custom-oclif-loader-FZACFF7D.js} +10 -12
- package/dist/{del-SR7JNKRM.js → del-42HQA7PR.js} +5 -5
- package/dist/{error-handler-AAI2P4B2.js → error-handler-R2NFQW6E.js} +12 -14
- package/dist/hooks/postrun.js +13 -14
- package/dist/hooks/prerun.js +11 -13
- package/dist/index.js +10859 -10056
- package/dist/lib-H5ZGVBFQ.js +11 -0
- package/dist/{local-XWESY2WL.js → local-G7IECLW7.js} +8 -12
- package/dist/{node-package-manager-SPDRX34D.js → node-package-manager-5YDNPKRT.js} +9 -11
- package/dist/out-ZDSLKX4N.js +7 -0
- package/dist/{path-T2RCZTRE.js → path-G6AAF6UV.js} +2 -2
- package/dist/{system-N4GMXNKO.js → system-M33YAFGP.js} +8 -10
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-PM2VNG6W.js → ui-VEBUA4SR.js} +8 -10
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
- package/dist/chunk-2AW6NZQ5.js +0 -101
- package/dist/chunk-QETDXAFX.js +0 -106
- package/dist/lib-H3ZZGS7I.js +0 -1322
- package/dist/lib-N6KQZBCQ.js +0 -12
- package/dist/out-66YUO4CT.js +0 -7
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
reportingRateLimit,
|
|
8
8
|
sessionConstants,
|
|
9
9
|
systemEnvironmentVariables
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-G6AY2JW5.js";
|
|
11
|
+
import "./chunk-BB6N2XSA.js";
|
|
12
12
|
import "./chunk-PNN7RS7Y.js";
|
|
13
13
|
import "./chunk-POZ5MGPT.js";
|
|
14
14
|
export {
|
|
@@ -21,4 +21,4 @@ export {
|
|
|
21
21
|
sessionConstants,
|
|
22
22
|
systemEnvironmentVariables
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=constants-
|
|
24
|
+
//# sourceMappingURL=constants-GVJLI6RE.js.map
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NQUHO34K.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AZIUHI45.js";
|
|
8
8
|
import "./chunk-SNOECVP4.js";
|
|
9
9
|
import "./chunk-UBB7JKND.js";
|
|
10
|
-
import "./chunk-QETDXAFX.js";
|
|
11
|
-
import "./chunk-2AW6NZQ5.js";
|
|
12
10
|
import "./chunk-522OB3EU.js";
|
|
13
11
|
import "./chunk-XVNW332R.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-L7M22NDW.js";
|
|
13
|
+
import "./chunk-MX4RJDBM.js";
|
|
14
|
+
import "./chunk-NB4NLOEJ.js";
|
|
15
|
+
import "./chunk-G6AY2JW5.js";
|
|
18
16
|
import {
|
|
19
17
|
cwd,
|
|
20
18
|
joinPath,
|
|
21
19
|
sniffForPath
|
|
22
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BB6N2XSA.js";
|
|
23
21
|
import "./chunk-PNN7RS7Y.js";
|
|
24
22
|
import {
|
|
25
23
|
__toESM,
|
|
@@ -31,13 +29,13 @@ init_cjs_shims();
|
|
|
31
29
|
var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends import_core.Config {
|
|
32
30
|
constructor(options) {
|
|
33
31
|
let currentPath = cwd(), path = sniffForPath() ?? currentPath, currentPathMightBeHydrogenMonorepo = /(shopify|hydrogen)\/hydrogen/i.test(currentPath), ignoreHydrogenMonorepo = process.env.IGNORE_HYDROGEN_MONOREPO;
|
|
34
|
-
currentPathMightBeHydrogenMonorepo && !ignoreHydrogenMonorepo && (path = execaSync("npm", ["prefix"]).stdout.trim()), fileExistsSync(joinPath(
|
|
32
|
+
currentPathMightBeHydrogenMonorepo && !ignoreHydrogenMonorepo && (path = execaSync("npm", ["prefix"]).stdout.trim()), fileExistsSync(joinPath(path, "package.json")) && (options.pluginAdditions = {
|
|
35
33
|
core: ["@shopify/cli-hydrogen"],
|
|
36
34
|
path
|
|
37
35
|
}), super(options), this.determinePriority = this.customPriority;
|
|
38
36
|
}
|
|
39
37
|
customPriority(commands) {
|
|
40
|
-
let oclifPlugins = this.pjson.oclif
|
|
38
|
+
let oclifPlugins = this.pjson.oclif.plugins ?? [];
|
|
41
39
|
return commands.sort((aCommand, bCommand) => {
|
|
42
40
|
let pluginAliasA = aCommand.pluginAlias ?? "A-Cannot-Find-This", pluginAliasB = bCommand.pluginAlias ?? "B-Cannot-Find-This", aIndex = oclifPlugins.indexOf(pluginAliasA), bIndex = oclifPlugins.indexOf(pluginAliasB);
|
|
43
41
|
return aCommand.pluginType === "core" && bCommand.pluginAlias === "@shopify/cli-hydrogen" ? 1 : aCommand.pluginAlias === "@shopify/cli-hydrogen" && bCommand.pluginType === "core" ? -1 : aCommand.pluginType === "core" && bCommand.pluginType === "core" ? aIndex - bIndex : bCommand.pluginType === "core" && aCommand.pluginType !== "core" ? 1 : aCommand.pluginType === "core" && bCommand.pluginType !== "core" ? -1 : aCommand.pluginType === "jit" && bCommand.pluginType !== "jit" ? 1 : bCommand.pluginType === "jit" && aCommand.pluginType !== "jit" ? -1 : 0;
|
|
@@ -47,4 +45,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
47
45
|
export {
|
|
48
46
|
ShopifyConfig
|
|
49
47
|
};
|
|
50
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
48
|
+
//# sourceMappingURL=custom-oclif-loader-FZACFF7D.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_glob
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2A7GNM7F.js";
|
|
4
4
|
import "./chunk-O5K4AU7Q.js";
|
|
5
5
|
import {
|
|
6
6
|
require_graceful_fs
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
require_globby,
|
|
10
10
|
require_indent_string,
|
|
11
11
|
require_slash
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-L7M22NDW.js";
|
|
13
|
+
import "./chunk-MX4RJDBM.js";
|
|
14
14
|
import {
|
|
15
15
|
require_is_glob
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NB4NLOEJ.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__require,
|
|
@@ -371,4 +371,4 @@ var require_del = __commonJS({
|
|
|
371
371
|
}
|
|
372
372
|
});
|
|
373
373
|
export default require_del();
|
|
374
|
-
//# sourceMappingURL=del-
|
|
374
|
+
//# sourceMappingURL=del-42HQA7PR.js.map
|
|
@@ -4,25 +4,23 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-AVCU5ZOP.js";
|
|
8
|
+
import "./chunk-CJOZ7NTT.js";
|
|
9
|
+
import "./chunk-XMQLNGN7.js";
|
|
10
10
|
import "./chunk-VSLR7ET4.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-UWDJJNDC.js";
|
|
12
|
+
import "./chunk-NQUHO34K.js";
|
|
13
|
+
import "./chunk-AZIUHI45.js";
|
|
14
14
|
import "./chunk-SNOECVP4.js";
|
|
15
15
|
import "./chunk-UBB7JKND.js";
|
|
16
|
-
import "./chunk-QETDXAFX.js";
|
|
17
|
-
import "./chunk-2AW6NZQ5.js";
|
|
18
16
|
import "./chunk-522OB3EU.js";
|
|
19
17
|
import "./chunk-O5K4AU7Q.js";
|
|
20
18
|
import "./chunk-XVNW332R.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-L7M22NDW.js";
|
|
20
|
+
import "./chunk-MX4RJDBM.js";
|
|
21
|
+
import "./chunk-NB4NLOEJ.js";
|
|
22
|
+
import "./chunk-G6AY2JW5.js";
|
|
23
|
+
import "./chunk-BB6N2XSA.js";
|
|
26
24
|
import "./chunk-PNN7RS7Y.js";
|
|
27
25
|
import "./chunk-POZ5MGPT.js";
|
|
28
26
|
export {
|
|
@@ -32,4 +30,4 @@ export {
|
|
|
32
30
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
33
31
|
sendErrorToBugsnag
|
|
34
32
|
};
|
|
35
|
-
//# sourceMappingURL=error-handler-
|
|
33
|
+
//# sourceMappingURL=error-handler-R2NFQW6E.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,29 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reportAnalyticsEvent
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CJOZ7NTT.js";
|
|
4
4
|
import {
|
|
5
5
|
getNextDeprecationDate
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-XMQLNGN7.js";
|
|
7
7
|
import "../chunk-VSLR7ET4.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-UWDJJNDC.js";
|
|
9
9
|
import {
|
|
10
10
|
addSensitiveMetadata,
|
|
11
11
|
getAllSensitiveMetadata,
|
|
12
12
|
outputDebug,
|
|
13
13
|
renderWarning
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-NQUHO34K.js";
|
|
15
|
+
import "../chunk-AZIUHI45.js";
|
|
16
16
|
import "../chunk-SNOECVP4.js";
|
|
17
17
|
import "../chunk-UBB7JKND.js";
|
|
18
|
-
import "../chunk-QETDXAFX.js";
|
|
19
|
-
import "../chunk-2AW6NZQ5.js";
|
|
20
18
|
import "../chunk-522OB3EU.js";
|
|
21
19
|
import "../chunk-XVNW332R.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-L7M22NDW.js";
|
|
21
|
+
import "../chunk-MX4RJDBM.js";
|
|
22
|
+
import "../chunk-NB4NLOEJ.js";
|
|
23
|
+
import "../chunk-G6AY2JW5.js";
|
|
24
|
+
import "../chunk-BB6N2XSA.js";
|
|
27
25
|
import "../chunk-PNN7RS7Y.js";
|
|
28
26
|
import {
|
|
29
27
|
init_cjs_shims
|
|
@@ -40,7 +38,7 @@ init_cjs_shims();
|
|
|
40
38
|
var postrun = (Command) => {
|
|
41
39
|
let nextDeprecationDate = getNextDeprecationDate();
|
|
42
40
|
if (nextDeprecationDate) {
|
|
43
|
-
let forThemes = Command
|
|
41
|
+
let forThemes = Command.id.includes("theme");
|
|
44
42
|
renderUpgradeWarning(nextDeprecationDate, forThemes);
|
|
45
43
|
}
|
|
46
44
|
};
|
|
@@ -65,7 +63,7 @@ function renderUpgradeWarning(upgradeByDate, forThemes) {
|
|
|
65
63
|
// ../cli-kit/dist/public/node/hooks/postrun.js
|
|
66
64
|
var hook = async ({ config, Command }) => {
|
|
67
65
|
await detectStopCommand(Command), await reportAnalyticsEvent({ config, exitMode: "ok" }), postrun(Command);
|
|
68
|
-
let command = Command
|
|
66
|
+
let command = Command.id.replace(/:/g, " ");
|
|
69
67
|
outputDebug(`Completed command ${command}`);
|
|
70
68
|
};
|
|
71
69
|
async function detectStopCommand(commandClass) {
|
|
@@ -76,6 +74,7 @@ async function detectStopCommand(commandClass) {
|
|
|
76
74
|
let { commandStartOptions } = getAllSensitiveMetadata();
|
|
77
75
|
await addSensitiveMetadata(() => ({
|
|
78
76
|
commandStartOptions: {
|
|
77
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
79
78
|
...commandStartOptions,
|
|
80
79
|
startTime: currentTime,
|
|
81
80
|
startCommand: stopCommand
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,33 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOutputUpdateCLIReminder
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7N2ECBWK.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-XMQLNGN7.js";
|
|
8
8
|
import "../chunk-VSLR7ET4.js";
|
|
9
9
|
import {
|
|
10
10
|
checkForCachedNewVersion,
|
|
11
11
|
checkForNewVersion,
|
|
12
12
|
runAtMinimumInterval
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-UWDJJNDC.js";
|
|
14
14
|
import {
|
|
15
15
|
initDemoRecorder,
|
|
16
16
|
outputDebug,
|
|
17
17
|
outputWarn
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-NQUHO34K.js";
|
|
19
|
+
import "../chunk-AZIUHI45.js";
|
|
20
20
|
import "../chunk-SNOECVP4.js";
|
|
21
21
|
import "../chunk-UBB7JKND.js";
|
|
22
|
-
import "../chunk-QETDXAFX.js";
|
|
23
|
-
import "../chunk-2AW6NZQ5.js";
|
|
24
22
|
import "../chunk-522OB3EU.js";
|
|
25
23
|
import "../chunk-XVNW332R.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-L7M22NDW.js";
|
|
25
|
+
import "../chunk-MX4RJDBM.js";
|
|
26
|
+
import "../chunk-NB4NLOEJ.js";
|
|
27
|
+
import "../chunk-G6AY2JW5.js";
|
|
28
|
+
import "../chunk-BB6N2XSA.js";
|
|
31
29
|
import "../chunk-PNN7RS7Y.js";
|
|
32
30
|
import {
|
|
33
31
|
init_cjs_shims
|
|
@@ -59,7 +57,7 @@ function parseNormalCommand(id, aliases) {
|
|
|
59
57
|
};
|
|
60
58
|
}
|
|
61
59
|
function parseCreateCommand(pluginAlias) {
|
|
62
|
-
if (
|
|
60
|
+
if (pluginAlias?.startsWith("@shopify/create-"))
|
|
63
61
|
return { command: pluginAlias.substring(pluginAlias.indexOf("/") + 1) };
|
|
64
62
|
}
|
|
65
63
|
function parseTopic(cmd) {
|