@shopify/create-app 3.73.2 → 3.74.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-5LLC6S6D.js → chokidar-LYCK7UIU.js} +20 -574
- package/dist/chunk-3I3GQNEW.js +95 -0
- package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
- package/dist/{chunk-Z2K6T5HO.js → chunk-A2CUF3IE.js} +2 -2
- package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
- package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
- package/dist/chunk-CP3BRHWK.js +33 -0
- package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
- package/dist/{chunk-5MQK53ZB.js → chunk-MFOTVT4R.js} +489 -410
- package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
- package/dist/{chunk-BOBYVF6Z.js → chunk-NBA3G6YQ.js} +55430 -36539
- package/dist/{chunk-7BLDARWR.js → chunk-PNW5KDM2.js} +40 -22
- package/dist/{chunk-55N7E5WW.js → chunk-QPEQYFIE.js} +1849 -4319
- package/dist/chunk-RVS7NPOH.js +15929 -0
- package/dist/{chunk-U52U2BAX.js → chunk-VK6YB4CW.js} +640 -1166
- package/dist/{chunk-EZFQXNK5.js → chunk-ZKGBK6WQ.js} +2 -2
- package/dist/chunk-ZUCWDIGE.js +111 -0
- package/dist/{custom-oclif-loader-COXUWDRX.js → custom-oclif-loader-3WFQ2GRD.js} +9 -8
- package/dist/{del-WGII2Y5S.js → del-CKAQ44SX.js} +5 -5
- package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
- package/dist/{error-handler-NLEDBRP4.js → error-handler-N6P2X42R.js} +13 -12
- package/dist/hooks/postrun.js +14 -12
- package/dist/hooks/prerun.js +27 -12
- package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
- package/dist/index.js +19912 -17261
- package/dist/index.test.js +80 -133
- package/dist/lib-ZAUU5FOJ.js +11 -0
- package/dist/{local-WM5Y2GKE.js → local-EBAW6AUD.js} +11 -10
- package/dist/{node-package-manager-U4IKWNRD.js → node-package-manager-VTG2B4KW.js} +10 -9
- package/dist/out-AZBX4ITJ.js +7 -0
- package/dist/{path-2HZUSAGR.js → path-GWAZZN2N.js} +3 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-NMBUMLWD.js → ui-QBKDPUJX.js} +9 -8
- package/oclif.manifest.json +1 -1
- package/package.json +3 -4
- package/dist/chunk-JHSNPAK4.js +0 -15742
- package/dist/chunk-TKDPJ4ZU.js +0 -27
- package/dist/lib-CKTRCGTR.js +0 -11
- package/dist/out-JR4DWQ2G.js +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_merge2,
|
|
3
3
|
require_out
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5DBS6QOU.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require,
|
|
@@ -659,4 +659,4 @@ export {
|
|
|
659
659
|
require_globby,
|
|
660
660
|
require_indent_string
|
|
661
661
|
};
|
|
662
|
-
//# sourceMappingURL=chunk-
|
|
662
|
+
//# sourceMappingURL=chunk-ZKGBK6WQ.js.map
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import {
|
|
2
|
+
basename,
|
|
3
|
+
dirname,
|
|
4
|
+
extname,
|
|
5
|
+
isAbsolute,
|
|
6
|
+
join,
|
|
7
|
+
normalize,
|
|
8
|
+
relative,
|
|
9
|
+
resolve
|
|
10
|
+
} from "./chunk-CDBXAE2F.js";
|
|
11
|
+
import {
|
|
12
|
+
__commonJS,
|
|
13
|
+
__require,
|
|
14
|
+
__toESM,
|
|
15
|
+
init_cjs_shims
|
|
16
|
+
} from "./chunk-PKR7KJ6P.js";
|
|
17
|
+
|
|
18
|
+
// ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
|
|
19
|
+
var require_commondir = __commonJS({
|
|
20
|
+
"../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js"(exports, module) {
|
|
21
|
+
init_cjs_shims();
|
|
22
|
+
var path = __require("path");
|
|
23
|
+
module.exports = function(basedir, relfiles) {
|
|
24
|
+
if (relfiles)
|
|
25
|
+
var files = relfiles.map(function(r) {
|
|
26
|
+
return path.resolve(basedir, r);
|
|
27
|
+
});
|
|
28
|
+
else
|
|
29
|
+
var files = basedir;
|
|
30
|
+
var res = files.slice(1).reduce(function(ps, file) {
|
|
31
|
+
if (!file.match(/^([A-Za-z]:)?\/|\\/))
|
|
32
|
+
throw new Error("relative path without a basedir");
|
|
33
|
+
for (var xs = file.split(/\/+|\\+/), i = 0; ps[i] === xs[i] && i < Math.min(ps.length, xs.length); i++) ;
|
|
34
|
+
return ps.slice(0, i);
|
|
35
|
+
}, files[0].split(/\/+|\\+/));
|
|
36
|
+
return res.length > 1 ? res.join("/") : "/";
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
// ../cli-kit/dist/public/node/path.js
|
|
42
|
+
init_cjs_shims();
|
|
43
|
+
var import_commondir = __toESM(require_commondir(), 1);
|
|
44
|
+
import { fileURLToPath } from "url";
|
|
45
|
+
function joinPath(...paths) {
|
|
46
|
+
return join(...paths);
|
|
47
|
+
}
|
|
48
|
+
function normalizePath(path) {
|
|
49
|
+
return normalize(path);
|
|
50
|
+
}
|
|
51
|
+
function resolvePath(...paths) {
|
|
52
|
+
return resolve(...paths);
|
|
53
|
+
}
|
|
54
|
+
function relativePath(from, to) {
|
|
55
|
+
return relative(from, to);
|
|
56
|
+
}
|
|
57
|
+
function isAbsolutePath(path) {
|
|
58
|
+
return isAbsolute(path);
|
|
59
|
+
}
|
|
60
|
+
function dirname2(path) {
|
|
61
|
+
return dirname(path);
|
|
62
|
+
}
|
|
63
|
+
function basename2(path, ext) {
|
|
64
|
+
return basename(path, ext);
|
|
65
|
+
}
|
|
66
|
+
function extname2(path) {
|
|
67
|
+
return extname(path);
|
|
68
|
+
}
|
|
69
|
+
function relativizePath(path, dir = cwd()) {
|
|
70
|
+
let result = (0, import_commondir.default)([path, dir]), relativePath2 = relative(dir, path), relativeComponents = relativePath2.split("/").filter((component) => component === "..").length;
|
|
71
|
+
return result === "/" || relativePath2 === "" || relativeComponents > 2 ? path : relativePath2;
|
|
72
|
+
}
|
|
73
|
+
function isSubpath(mainPath, subpath) {
|
|
74
|
+
let relativePath2 = relative(mainPath, subpath);
|
|
75
|
+
return !relativePath2.startsWith("..") && !isAbsolutePath(relativePath2);
|
|
76
|
+
}
|
|
77
|
+
function moduleDirectory(moduleURL) {
|
|
78
|
+
return dirname2(fileURLToPath(moduleURL));
|
|
79
|
+
}
|
|
80
|
+
function cwd() {
|
|
81
|
+
return normalize(process.env.INIT_CWD ? process.env.INIT_CWD : process.cwd());
|
|
82
|
+
}
|
|
83
|
+
function sniffForPath(argv = process.argv) {
|
|
84
|
+
let pathFlagIndex = argv.indexOf("--path");
|
|
85
|
+
if (pathFlagIndex === -1)
|
|
86
|
+
return argv.find((arg) => arg.startsWith("--path="))?.split("=")[1];
|
|
87
|
+
let pathFlag = argv[pathFlagIndex + 1];
|
|
88
|
+
if (!(!pathFlag || pathFlag.startsWith("-")))
|
|
89
|
+
return pathFlag;
|
|
90
|
+
}
|
|
91
|
+
function sniffForJson(argv = process.argv) {
|
|
92
|
+
return argv.includes("--json") || argv.includes("-j");
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export {
|
|
96
|
+
joinPath,
|
|
97
|
+
normalizePath,
|
|
98
|
+
resolvePath,
|
|
99
|
+
relativePath,
|
|
100
|
+
isAbsolutePath,
|
|
101
|
+
dirname2 as dirname,
|
|
102
|
+
basename2 as basename,
|
|
103
|
+
extname2 as extname,
|
|
104
|
+
relativizePath,
|
|
105
|
+
isSubpath,
|
|
106
|
+
moduleDirectory,
|
|
107
|
+
cwd,
|
|
108
|
+
sniffForPath,
|
|
109
|
+
sniffForJson
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=chunk-ZUCWDIGE.js.map
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MFOTVT4R.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-NBA3G6YQ.js";
|
|
8
|
+
import "./chunk-3I3GQNEW.js";
|
|
9
9
|
import "./chunk-CFIKVUNW.js";
|
|
10
10
|
import {
|
|
11
11
|
cwd,
|
|
12
12
|
joinPath,
|
|
13
13
|
sniffForPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZUCWDIGE.js";
|
|
15
|
+
import "./chunk-CDBXAE2F.js";
|
|
15
16
|
import "./chunk-75LV6AQS.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ZKGBK6WQ.js";
|
|
18
|
+
import "./chunk-5DBS6QOU.js";
|
|
19
|
+
import "./chunk-B3YWYURY.js";
|
|
19
20
|
import "./chunk-G2ZZKGSV.js";
|
|
20
21
|
import {
|
|
21
22
|
__toESM,
|
|
@@ -43,4 +44,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
43
44
|
export {
|
|
44
45
|
ShopifyConfig
|
|
45
46
|
};
|
|
46
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
47
|
+
//# sourceMappingURL=custom-oclif-loader-3WFQ2GRD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_glob
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A2CUF3IE.js";
|
|
4
4
|
import "./chunk-SHWOPMLQ.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-ZKGBK6WQ.js";
|
|
13
|
+
import "./chunk-5DBS6QOU.js";
|
|
14
14
|
import {
|
|
15
15
|
require_is_glob
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-B3YWYURY.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-CKAQ44SX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
wrapper_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MW7RWHY5.js";
|
|
4
4
|
import {
|
|
5
5
|
init_cjs_shims
|
|
6
6
|
} from "./chunk-PKR7KJ6P.js";
|
|
@@ -69,4 +69,4 @@ customGlobal.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = [
|
|
|
69
69
|
// ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.2.0/node_modules/ink/build/devtools.js
|
|
70
70
|
import devtools from "react-devtools-core";
|
|
71
71
|
devtools.connectToDevTools();
|
|
72
|
-
//# sourceMappingURL=devtools-
|
|
72
|
+
//# sourceMappingURL=devtools-6LOQORRT.js.map
|
|
@@ -4,21 +4,22 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-PNW5KDM2.js";
|
|
8
|
+
import "./chunk-RVS7NPOH.js";
|
|
9
|
+
import "./chunk-QPEQYFIE.js";
|
|
10
10
|
import "./chunk-25IMI7TH.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-VK6YB4CW.js";
|
|
12
|
+
import "./chunk-MFOTVT4R.js";
|
|
13
|
+
import "./chunk-NBA3G6YQ.js";
|
|
14
|
+
import "./chunk-3I3GQNEW.js";
|
|
15
15
|
import "./chunk-CFIKVUNW.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-ZUCWDIGE.js";
|
|
17
|
+
import "./chunk-CDBXAE2F.js";
|
|
17
18
|
import "./chunk-SHWOPMLQ.js";
|
|
18
19
|
import "./chunk-75LV6AQS.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ZKGBK6WQ.js";
|
|
21
|
+
import "./chunk-5DBS6QOU.js";
|
|
22
|
+
import "./chunk-B3YWYURY.js";
|
|
22
23
|
import "./chunk-G2ZZKGSV.js";
|
|
23
24
|
import "./chunk-PKR7KJ6P.js";
|
|
24
25
|
export {
|
|
@@ -28,4 +29,4 @@ export {
|
|
|
28
29
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
29
30
|
sendErrorToBugsnag
|
|
30
31
|
};
|
|
31
|
-
//# sourceMappingURL=error-handler-
|
|
32
|
+
//# sourceMappingURL=error-handler-N6P2X42R.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
reportAnalyticsEvent
|
|
3
|
-
} from "../chunk-JHSNPAK4.js";
|
|
4
1
|
import {
|
|
5
2
|
getNextDeprecationDate
|
|
6
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-CP3BRHWK.js";
|
|
4
|
+
import {
|
|
5
|
+
reportAnalyticsEvent
|
|
6
|
+
} from "../chunk-RVS7NPOH.js";
|
|
7
|
+
import "../chunk-QPEQYFIE.js";
|
|
7
8
|
import "../chunk-25IMI7TH.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-VK6YB4CW.js";
|
|
9
10
|
import {
|
|
10
11
|
addSensitiveMetadata,
|
|
11
12
|
getAllSensitiveMetadata,
|
|
12
13
|
outputDebug,
|
|
13
14
|
renderWarning
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-MFOTVT4R.js";
|
|
16
|
+
import "../chunk-NBA3G6YQ.js";
|
|
17
|
+
import "../chunk-3I3GQNEW.js";
|
|
17
18
|
import "../chunk-CFIKVUNW.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-ZUCWDIGE.js";
|
|
20
|
+
import "../chunk-CDBXAE2F.js";
|
|
19
21
|
import "../chunk-75LV6AQS.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-ZKGBK6WQ.js";
|
|
23
|
+
import "../chunk-5DBS6QOU.js";
|
|
24
|
+
import "../chunk-B3YWYURY.js";
|
|
23
25
|
import "../chunk-G2ZZKGSV.js";
|
|
24
26
|
import {
|
|
25
27
|
init_cjs_shims
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,28 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getOutputUpdateCLIReminder
|
|
3
|
-
} from "../chunk-TKDPJ4ZU.js";
|
|
4
1
|
import {
|
|
5
2
|
CLI_KIT_VERSION,
|
|
6
3
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-QPEQYFIE.js";
|
|
8
5
|
import "../chunk-25IMI7TH.js";
|
|
9
6
|
import {
|
|
10
7
|
checkForCachedNewVersion,
|
|
11
8
|
checkForNewVersion,
|
|
9
|
+
packageManagerFromUserAgent,
|
|
12
10
|
runAtMinimumInterval
|
|
13
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-VK6YB4CW.js";
|
|
14
12
|
import {
|
|
13
|
+
currentProcessIsGlobal,
|
|
14
|
+
inferPackageManagerForGlobalCLI,
|
|
15
|
+
outputContent,
|
|
15
16
|
outputDebug,
|
|
17
|
+
outputToken,
|
|
16
18
|
outputWarn
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-MFOTVT4R.js";
|
|
20
|
+
import "../chunk-NBA3G6YQ.js";
|
|
21
|
+
import "../chunk-3I3GQNEW.js";
|
|
20
22
|
import "../chunk-CFIKVUNW.js";
|
|
21
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-ZUCWDIGE.js";
|
|
24
|
+
import "../chunk-CDBXAE2F.js";
|
|
22
25
|
import "../chunk-75LV6AQS.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-ZKGBK6WQ.js";
|
|
27
|
+
import "../chunk-5DBS6QOU.js";
|
|
28
|
+
import "../chunk-B3YWYURY.js";
|
|
26
29
|
import "../chunk-G2ZZKGSV.js";
|
|
27
30
|
import {
|
|
28
31
|
init_cjs_shims
|
|
@@ -33,6 +36,18 @@ init_cjs_shims();
|
|
|
33
36
|
|
|
34
37
|
// ../cli-kit/dist/public/node/hooks/prerun.js
|
|
35
38
|
init_cjs_shims();
|
|
39
|
+
|
|
40
|
+
// ../cli-kit/dist/public/node/upgrade.js
|
|
41
|
+
init_cjs_shims();
|
|
42
|
+
function cliInstallCommand() {
|
|
43
|
+
let isGlobal = currentProcessIsGlobal(), packageManager = packageManagerFromUserAgent();
|
|
44
|
+
return packageManager === "unknown" && (packageManager = inferPackageManagerForGlobalCLI()), packageManager === "unknown" && (packageManager = "npm"), packageManager === "yarn" ? `${packageManager} ${isGlobal ? "global " : ""}add @shopify/cli@latest` : `${packageManager} ${packageManager === "pnpm" ? "add" : "install"} ${isGlobal ? "-g " : ""}@shopify/cli@latest`;
|
|
45
|
+
}
|
|
46
|
+
function getOutputUpdateCLIReminder(version) {
|
|
47
|
+
return outputContent`💡 Version ${version} available! Run ${outputToken.genericShellCommand(cliInstallCommand())}`.value;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// ../cli-kit/dist/public/node/hooks/prerun.js
|
|
36
51
|
var hook = async (options) => {
|
|
37
52
|
let commandContent = parseCommandContent({
|
|
38
53
|
id: options.Command.id,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_src
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LQ2ZKVR6.js";
|
|
4
|
+
import "./chunk-3I3GQNEW.js";
|
|
4
5
|
import {
|
|
5
6
|
__commonJS,
|
|
6
7
|
__require,
|
|
@@ -941,4 +942,4 @@ http-proxy/index.js:
|
|
|
941
942
|
* Dante - The Divine Comedy (Canto III)
|
|
942
943
|
*)
|
|
943
944
|
*/
|
|
944
|
-
//# sourceMappingURL=http-proxy-
|
|
945
|
+
//# sourceMappingURL=http-proxy-L3MCJRQS.js.map
|