@shopify/create-app 3.70.0 → 3.71.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-PNN7RS7Y.js → chunk-3NSN5Z4N.js} +100 -11
- package/dist/{chunk-MCWNOYSH.js → chunk-3VW6K5FB.js} +14 -19
- package/dist/{chunk-YQS36GWM.js → chunk-3XCGQAXK.js} +4 -6
- package/dist/{chunk-L7M22NDW.js → chunk-6WYZ3SZB.js} +2 -2
- package/dist/{chunk-2A7GNM7F.js → chunk-7F4XFNYI.js} +2 -2
- package/dist/{chunk-AZIUHI45.js → chunk-CQGOPQQH.js} +5 -5
- package/dist/{chunk-CWXZ7XAM.js → chunk-GRIQNZDW.js} +238 -36
- package/dist/{chunk-2IJ2KQU2.js → chunk-JLMBYXKI.js} +22965 -22766
- package/dist/{chunk-MX4RJDBM.js → chunk-KYB6A4PE.js} +1 -2
- package/dist/{chunk-4NI5A7A4.js → chunk-RPNIXREV.js} +5 -7
- package/dist/{chunk-64XEMSHA.js → chunk-XBBBOMWZ.js} +3 -3
- package/dist/{custom-oclif-loader-BSDHBJI5.js → custom-oclif-loader-APVSUKMR.js} +9 -11
- package/dist/{del-42HQA7PR.js → del-2FOJ63S7.js} +4 -4
- package/dist/{error-handler-JYEQI7TL.js → error-handler-JHT2GJHK.js} +11 -13
- package/dist/hooks/postrun.js +9 -11
- package/dist/hooks/prerun.js +9 -13
- package/dist/index.js +34325 -32252
- package/dist/index.test.js +120 -65
- package/dist/{lib-H5ZGVBFQ.js → lib-EGJUAXU5.js} +5 -5
- package/dist/{local-TH3U2SLS.js → local-7TFODKTC.js} +9 -9
- package/dist/{node-package-manager-BPA6G6YC.js → node-package-manager-VYFJFJTO.js} +8 -10
- package/dist/{out-ZDSLKX4N.js → out-MHEKZJWS.js} +2 -2
- package/dist/{path-G6AAF6UV.js → path-5SZGULBR.js} +2 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-RPO3BY7Q.js → ui-UKHR7I4C.js} +7 -9
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
- package/dist/chunk-BB6N2XSA.js +0 -112
- package/dist/chunk-IDT7CLPE.js +0 -116
- package/dist/constants-JHPIMZ2O.js +0 -26
- package/dist/system-B7E6HTDC.js +0 -27
|
@@ -1,7 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
+
__commonJS,
|
|
3
|
+
__require,
|
|
4
|
+
__toESM,
|
|
2
5
|
init_cjs_shims
|
|
3
6
|
} from "./chunk-POZ5MGPT.js";
|
|
4
7
|
|
|
8
|
+
// ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
|
|
9
|
+
var require_commondir = __commonJS({
|
|
10
|
+
"../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js"(exports, module) {
|
|
11
|
+
init_cjs_shims();
|
|
12
|
+
var path2 = __require("path");
|
|
13
|
+
module.exports = function(basedir, relfiles) {
|
|
14
|
+
if (relfiles)
|
|
15
|
+
var files = relfiles.map(function(r) {
|
|
16
|
+
return path2.resolve(basedir, r);
|
|
17
|
+
});
|
|
18
|
+
else
|
|
19
|
+
var files = basedir;
|
|
20
|
+
var res = files.slice(1).reduce(function(ps, file) {
|
|
21
|
+
if (!file.match(/^([A-Za-z]:)?\/|\\/))
|
|
22
|
+
throw new Error("relative path without a basedir");
|
|
23
|
+
for (var xs = file.split(/\/+|\\+/), i = 0; ps[i] === xs[i] && i < Math.min(ps.length, xs.length); i++)
|
|
24
|
+
;
|
|
25
|
+
return ps.slice(0, i);
|
|
26
|
+
}, files[0].split(/\/+|\\+/));
|
|
27
|
+
return res.length > 1 ? res.join("/") : "/";
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
// ../cli-kit/dist/public/node/path.js
|
|
33
|
+
init_cjs_shims();
|
|
34
|
+
var import_commondir = __toESM(require_commondir());
|
|
35
|
+
|
|
36
|
+
// ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/index.mjs
|
|
37
|
+
init_cjs_shims();
|
|
38
|
+
|
|
5
39
|
// ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/shared/pathe.92c04245.mjs
|
|
6
40
|
init_cjs_shims();
|
|
7
41
|
function normalizeWindowsPath(input = "") {
|
|
@@ -89,17 +123,72 @@ var basename = function(p, extension) {
|
|
|
89
123
|
return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
|
|
90
124
|
};
|
|
91
125
|
|
|
92
|
-
//
|
|
93
|
-
|
|
126
|
+
// ../cli-kit/dist/public/node/path.js
|
|
127
|
+
import { fileURLToPath } from "url";
|
|
128
|
+
function joinPath(...paths) {
|
|
129
|
+
return join(...paths);
|
|
130
|
+
}
|
|
131
|
+
function normalizePath(path2) {
|
|
132
|
+
return normalize(path2);
|
|
133
|
+
}
|
|
134
|
+
function resolvePath(...paths) {
|
|
135
|
+
return resolve(...paths);
|
|
136
|
+
}
|
|
137
|
+
function relativePath(from, to) {
|
|
138
|
+
return relative(from, to);
|
|
139
|
+
}
|
|
140
|
+
function isAbsolutePath(path2) {
|
|
141
|
+
return isAbsolute(path2);
|
|
142
|
+
}
|
|
143
|
+
function dirname2(path2) {
|
|
144
|
+
return dirname(path2);
|
|
145
|
+
}
|
|
146
|
+
function basename2(path2, ext) {
|
|
147
|
+
return basename(path2, ext);
|
|
148
|
+
}
|
|
149
|
+
function extname2(path2) {
|
|
150
|
+
return extname(path2);
|
|
151
|
+
}
|
|
152
|
+
function relativizePath(path2, dir = cwd2()) {
|
|
153
|
+
let result = (0, import_commondir.default)([path2, dir]), relativePath2 = relative(dir, path2), relativeComponents = relativePath2.split("/").filter((component) => component === "..").length;
|
|
154
|
+
return result === "/" || relativePath2 === "" || relativeComponents > 2 ? path2 : relativePath2;
|
|
155
|
+
}
|
|
156
|
+
function isSubpath(mainPath, subpath) {
|
|
157
|
+
let relativePath2 = relative(mainPath, subpath);
|
|
158
|
+
return !relativePath2.startsWith("..") && !isAbsolutePath(relativePath2);
|
|
159
|
+
}
|
|
160
|
+
function moduleDirectory(moduleURL) {
|
|
161
|
+
return dirname2(fileURLToPath(moduleURL));
|
|
162
|
+
}
|
|
163
|
+
function cwd2() {
|
|
164
|
+
return normalize(process.env.INIT_CWD ? process.env.INIT_CWD : process.cwd());
|
|
165
|
+
}
|
|
166
|
+
function sniffForPath(argv = process.argv) {
|
|
167
|
+
let pathFlagIndex = argv.indexOf("--path");
|
|
168
|
+
if (pathFlagIndex === -1)
|
|
169
|
+
return argv.find((arg) => arg.startsWith("--path="))?.split("=")[1];
|
|
170
|
+
let pathFlag = argv[pathFlagIndex + 1];
|
|
171
|
+
if (!(!pathFlag || pathFlag.startsWith("-")))
|
|
172
|
+
return pathFlag;
|
|
173
|
+
}
|
|
174
|
+
function sniffForJson(argv = process.argv) {
|
|
175
|
+
return argv.includes("--json") || argv.includes("-j");
|
|
176
|
+
}
|
|
94
177
|
|
|
95
178
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
179
|
+
joinPath,
|
|
180
|
+
normalizePath,
|
|
181
|
+
resolvePath,
|
|
182
|
+
relativePath,
|
|
183
|
+
isAbsolutePath,
|
|
184
|
+
dirname2 as dirname,
|
|
185
|
+
basename2 as basename,
|
|
186
|
+
extname2 as extname,
|
|
187
|
+
relativizePath,
|
|
188
|
+
isSubpath,
|
|
189
|
+
moduleDirectory,
|
|
190
|
+
cwd2 as cwd,
|
|
191
|
+
sniffForPath,
|
|
192
|
+
sniffForJson
|
|
104
193
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
194
|
+
//# sourceMappingURL=chunk-3NSN5Z4N.js.map
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RPNIXREV.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GRIQNZDW.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3XCGQAXK.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortSilentError,
|
|
14
14
|
CancelExecution,
|
|
15
|
+
bugsnagApiKey,
|
|
15
16
|
cleanSingleStackTracePath,
|
|
16
17
|
errorMapper,
|
|
17
18
|
getAllPublicMetadata,
|
|
@@ -19,27 +20,23 @@ import {
|
|
|
19
20
|
handler,
|
|
20
21
|
outputDebug,
|
|
21
22
|
outputInfo,
|
|
22
|
-
|
|
23
|
+
reportingRateLimit,
|
|
23
24
|
require_stacktracey,
|
|
24
25
|
shouldReportErrorAsUnexpected
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JLMBYXKI.js";
|
|
26
27
|
import {
|
|
27
28
|
require_lib
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
require_once
|
|
31
|
-
} from "./chunk-O5K4AU7Q.js";
|
|
32
|
-
import {
|
|
33
|
-
bugsnagApiKey,
|
|
34
|
-
reportingRateLimit
|
|
35
|
-
} from "./chunk-IDT7CLPE.js";
|
|
29
|
+
} from "./chunk-CQGOPQQH.js";
|
|
36
30
|
import {
|
|
37
31
|
cwd,
|
|
38
32
|
isAbsolutePath,
|
|
39
33
|
joinPath,
|
|
40
34
|
normalizePath,
|
|
41
35
|
relativePath
|
|
42
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3NSN5Z4N.js";
|
|
37
|
+
import {
|
|
38
|
+
require_once
|
|
39
|
+
} from "./chunk-O5K4AU7Q.js";
|
|
43
40
|
import {
|
|
44
41
|
__commonJS,
|
|
45
42
|
__require,
|
|
@@ -2046,10 +2043,8 @@ import { realpath } from "fs/promises";
|
|
|
2046
2043
|
async function errorHandler(error, config) {
|
|
2047
2044
|
if (error instanceof CancelExecution)
|
|
2048
2045
|
error.message && error.message !== "" && outputInfo(`\u2728 ${error.message}`);
|
|
2049
|
-
else if (error instanceof AbortSilentError)
|
|
2050
|
-
|
|
2051
|
-
else
|
|
2052
|
-
return errorMapper(error).then((error2) => handler(error2)).then((mappedError) => (printEventsJson(), reportError(mappedError, config)));
|
|
2046
|
+
else if (!(error instanceof AbortSilentError))
|
|
2047
|
+
return errorMapper(error).then((error2) => handler(error2)).then((mappedError) => reportError(mappedError, config));
|
|
2053
2048
|
}
|
|
2054
2049
|
var reportError = async (error, config) => {
|
|
2055
2050
|
let exitMode = "expected_error";
|
|
@@ -2145,4 +2140,4 @@ export {
|
|
|
2145
2140
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2146
2141
|
addBugsnagMetadata
|
|
2147
2142
|
};
|
|
2148
|
-
//# sourceMappingURL=chunk-
|
|
2143
|
+
//# sourceMappingURL=chunk-3VW6K5FB.js.map
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
AbortError,
|
|
4
4
|
BugError,
|
|
5
5
|
captureOutput,
|
|
6
|
+
envPaths,
|
|
6
7
|
exec,
|
|
7
8
|
fileExists,
|
|
8
9
|
findPathUp,
|
|
@@ -17,14 +18,11 @@ import {
|
|
|
17
18
|
require_get_stream,
|
|
18
19
|
runWithTimer,
|
|
19
20
|
writeFile
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import {
|
|
22
|
-
envPaths
|
|
23
|
-
} from "./chunk-IDT7CLPE.js";
|
|
21
|
+
} from "./chunk-JLMBYXKI.js";
|
|
24
22
|
import {
|
|
25
23
|
dirname,
|
|
26
24
|
joinPath
|
|
27
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3NSN5Z4N.js";
|
|
28
26
|
import {
|
|
29
27
|
__commonJS,
|
|
30
28
|
__require,
|
|
@@ -15392,4 +15390,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
15392
15390
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15393
15391
|
*)
|
|
15394
15392
|
*/
|
|
15395
|
-
//# sourceMappingURL=chunk-
|
|
15393
|
+
//# sourceMappingURL=chunk-3XCGQAXK.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_merge2,
|
|
3
3
|
require_out
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KYB6A4PE.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-6WYZ3SZB.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-O5K4AU7Q.js";
|
|
5
5
|
import {
|
|
6
6
|
require_balanced_match
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6WYZ3SZB.js";
|
|
8
8
|
import {
|
|
9
9
|
__commonJS,
|
|
10
10
|
__require,
|
|
@@ -1463,4 +1463,4 @@ export {
|
|
|
1463
1463
|
require_inflight,
|
|
1464
1464
|
require_glob
|
|
1465
1465
|
};
|
|
1466
|
-
//# sourceMappingURL=chunk-
|
|
1466
|
+
//# sourceMappingURL=chunk-7F4XFNYI.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
require_src,
|
|
4
4
|
require_supports_color
|
|
5
5
|
} from "./chunk-SNOECVP4.js";
|
|
6
|
-
import {
|
|
7
|
-
require_is_wsl
|
|
8
|
-
} from "./chunk-UBB7JKND.js";
|
|
9
6
|
import {
|
|
10
7
|
require_balanced_match,
|
|
11
8
|
require_globby,
|
|
12
9
|
require_indent_string
|
|
13
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6WYZ3SZB.js";
|
|
11
|
+
import {
|
|
12
|
+
require_is_wsl
|
|
13
|
+
} from "./chunk-UBB7JKND.js";
|
|
14
14
|
import {
|
|
15
15
|
__commonJS,
|
|
16
16
|
__require,
|
|
@@ -157945,4 +157945,4 @@ ejs/lib/ejs.js:
|
|
|
157945
157945
|
* @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
|
|
157946
157946
|
*)
|
|
157947
157947
|
*/
|
|
157948
|
-
//# sourceMappingURL=chunk-
|
|
157948
|
+
//# sourceMappingURL=chunk-CQGOPQQH.js.map
|