@shopify/create-app 3.70.0 → 3.71.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.
Files changed (31) hide show
  1. package/dist/{chunk-MCWNOYSH.js → chunk-33RXIX54.js} +14 -19
  2. package/dist/{chunk-64XEMSHA.js → chunk-4ZKJC2JB.js} +3 -3
  3. package/dist/{chunk-L7M22NDW.js → chunk-6WYZ3SZB.js} +2 -2
  4. package/dist/{chunk-2A7GNM7F.js → chunk-7F4XFNYI.js} +2 -2
  5. package/dist/{chunk-AZIUHI45.js → chunk-CQGOPQQH.js} +5 -5
  6. package/dist/{chunk-2IJ2KQU2.js → chunk-JPPYUT6M.js} +22966 -22767
  7. package/dist/{chunk-MX4RJDBM.js → chunk-KYB6A4PE.js} +1 -2
  8. package/dist/{chunk-YQS36GWM.js → chunk-PATNPZAL.js} +4 -6
  9. package/dist/{chunk-4NI5A7A4.js → chunk-PGUENKZG.js} +5 -7
  10. package/dist/{chunk-CWXZ7XAM.js → chunk-PUMOQDXS.js} +238 -36
  11. package/dist/{chunk-PNN7RS7Y.js → chunk-X36SPRUS.js} +100 -11
  12. package/dist/{custom-oclif-loader-BSDHBJI5.js → custom-oclif-loader-OP5VH4KR.js} +9 -11
  13. package/dist/{del-42HQA7PR.js → del-2FOJ63S7.js} +4 -4
  14. package/dist/{error-handler-JYEQI7TL.js → error-handler-WKRKCPUQ.js} +11 -13
  15. package/dist/hooks/postrun.js +9 -11
  16. package/dist/hooks/prerun.js +9 -13
  17. package/dist/index.js +34324 -32251
  18. package/dist/index.test.js +120 -65
  19. package/dist/{lib-H5ZGVBFQ.js → lib-EGJUAXU5.js} +5 -5
  20. package/dist/{local-TH3U2SLS.js → local-IPRKH7YW.js} +9 -9
  21. package/dist/{node-package-manager-BPA6G6YC.js → node-package-manager-CPX2FDHZ.js} +8 -10
  22. package/dist/{out-ZDSLKX4N.js → out-MHEKZJWS.js} +2 -2
  23. package/dist/{path-G6AAF6UV.js → path-EGU2FCFY.js} +2 -3
  24. package/dist/tsconfig.tsbuildinfo +1 -1
  25. package/dist/{ui-RPO3BY7Q.js → ui-AAFX7Q72.js} +7 -9
  26. package/oclif.manifest.json +1 -1
  27. package/package.json +3 -3
  28. package/dist/chunk-BB6N2XSA.js +0 -112
  29. package/dist/chunk-IDT7CLPE.js +0 -116
  30. package/dist/constants-JHPIMZ2O.js +0 -26
  31. 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(), 1);
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
- // ../../node_modules/.pnpm/pathe@1.1.1/node_modules/pathe/dist/index.mjs
93
- init_cjs_shims();
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
- normalize,
97
- join,
98
- resolve,
99
- isAbsolute,
100
- extname,
101
- relative,
102
- dirname,
103
- basename
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-PNN7RS7Y.js.map
194
+ //# sourceMappingURL=chunk-X36SPRUS.js.map
@@ -1,24 +1,22 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-2IJ2KQU2.js";
4
+ } from "./chunk-JPPYUT6M.js";
5
5
  import {
6
6
  require_lib
7
- } from "./chunk-AZIUHI45.js";
7
+ } from "./chunk-CQGOPQQH.js";
8
8
  import "./chunk-SNOECVP4.js";
9
- import "./chunk-UBB7JKND.js";
10
9
  import "./chunk-522OB3EU.js";
11
- import "./chunk-XVNW332R.js";
12
- import "./chunk-L7M22NDW.js";
13
- import "./chunk-MX4RJDBM.js";
14
- import "./chunk-NB4NLOEJ.js";
15
- import "./chunk-IDT7CLPE.js";
16
10
  import {
17
11
  cwd,
18
12
  joinPath,
19
13
  sniffForPath
20
- } from "./chunk-BB6N2XSA.js";
21
- import "./chunk-PNN7RS7Y.js";
14
+ } from "./chunk-X36SPRUS.js";
15
+ import "./chunk-XVNW332R.js";
16
+ import "./chunk-6WYZ3SZB.js";
17
+ import "./chunk-KYB6A4PE.js";
18
+ import "./chunk-NB4NLOEJ.js";
19
+ import "./chunk-UBB7JKND.js";
22
20
  import {
23
21
  __toESM,
24
22
  init_cjs_shims
@@ -45,4 +43,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
45
43
  export {
46
44
  ShopifyConfig
47
45
  };
48
- //# sourceMappingURL=custom-oclif-loader-BSDHBJI5.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-OP5VH4KR.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_glob
3
- } from "./chunk-2A7GNM7F.js";
3
+ } from "./chunk-7F4XFNYI.js";
4
4
  import "./chunk-O5K4AU7Q.js";
5
5
  import {
6
6
  require_graceful_fs
@@ -9,8 +9,8 @@ import {
9
9
  require_globby,
10
10
  require_indent_string,
11
11
  require_slash
12
- } from "./chunk-L7M22NDW.js";
13
- import "./chunk-MX4RJDBM.js";
12
+ } from "./chunk-6WYZ3SZB.js";
13
+ import "./chunk-KYB6A4PE.js";
14
14
  import {
15
15
  require_is_glob
16
16
  } from "./chunk-NB4NLOEJ.js";
@@ -371,4 +371,4 @@ var require_del = __commonJS({
371
371
  }
372
372
  });
373
373
  export default require_del();
374
- //# sourceMappingURL=del-42HQA7PR.js.map
374
+ //# sourceMappingURL=del-2FOJ63S7.js.map
@@ -4,24 +4,22 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-MCWNOYSH.js";
8
- import "./chunk-4NI5A7A4.js";
9
- import "./chunk-CWXZ7XAM.js";
7
+ } from "./chunk-33RXIX54.js";
8
+ import "./chunk-PGUENKZG.js";
9
+ import "./chunk-PUMOQDXS.js";
10
10
  import "./chunk-VSLR7ET4.js";
11
- import "./chunk-YQS36GWM.js";
12
- import "./chunk-2IJ2KQU2.js";
13
- import "./chunk-AZIUHI45.js";
11
+ import "./chunk-PATNPZAL.js";
12
+ import "./chunk-JPPYUT6M.js";
13
+ import "./chunk-CQGOPQQH.js";
14
14
  import "./chunk-SNOECVP4.js";
15
- import "./chunk-UBB7JKND.js";
16
15
  import "./chunk-522OB3EU.js";
16
+ import "./chunk-X36SPRUS.js";
17
17
  import "./chunk-O5K4AU7Q.js";
18
18
  import "./chunk-XVNW332R.js";
19
- import "./chunk-L7M22NDW.js";
20
- import "./chunk-MX4RJDBM.js";
19
+ import "./chunk-6WYZ3SZB.js";
20
+ import "./chunk-KYB6A4PE.js";
21
21
  import "./chunk-NB4NLOEJ.js";
22
- import "./chunk-IDT7CLPE.js";
23
- import "./chunk-BB6N2XSA.js";
24
- import "./chunk-PNN7RS7Y.js";
22
+ import "./chunk-UBB7JKND.js";
25
23
  import "./chunk-POZ5MGPT.js";
26
24
  export {
27
25
  addBugsnagMetadata,
@@ -30,4 +28,4 @@ export {
30
28
  registerCleanBugsnagErrorsFromWithinPlugins,
31
29
  sendErrorToBugsnag
32
30
  };
33
- //# sourceMappingURL=error-handler-JYEQI7TL.js.map
31
+ //# sourceMappingURL=error-handler-WKRKCPUQ.js.map
@@ -1,28 +1,26 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-4NI5A7A4.js";
3
+ } from "../chunk-PGUENKZG.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-CWXZ7XAM.js";
6
+ } from "../chunk-PUMOQDXS.js";
7
7
  import "../chunk-VSLR7ET4.js";
8
- import "../chunk-YQS36GWM.js";
8
+ import "../chunk-PATNPZAL.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-2IJ2KQU2.js";
15
- import "../chunk-AZIUHI45.js";
14
+ } from "../chunk-JPPYUT6M.js";
15
+ import "../chunk-CQGOPQQH.js";
16
16
  import "../chunk-SNOECVP4.js";
17
- import "../chunk-UBB7JKND.js";
18
17
  import "../chunk-522OB3EU.js";
18
+ import "../chunk-X36SPRUS.js";
19
19
  import "../chunk-XVNW332R.js";
20
- import "../chunk-L7M22NDW.js";
21
- import "../chunk-MX4RJDBM.js";
20
+ import "../chunk-6WYZ3SZB.js";
21
+ import "../chunk-KYB6A4PE.js";
22
22
  import "../chunk-NB4NLOEJ.js";
23
- import "../chunk-IDT7CLPE.js";
24
- import "../chunk-BB6N2XSA.js";
25
- import "../chunk-PNN7RS7Y.js";
23
+ import "../chunk-UBB7JKND.js";
26
24
  import {
27
25
  init_cjs_shims
28
26
  } from "../chunk-POZ5MGPT.js";
@@ -1,32 +1,29 @@
1
1
  import {
2
2
  getOutputUpdateCLIReminder
3
- } from "../chunk-64XEMSHA.js";
3
+ } from "../chunk-4ZKJC2JB.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-CWXZ7XAM.js";
7
+ } from "../chunk-PUMOQDXS.js";
8
8
  import "../chunk-VSLR7ET4.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  runAtMinimumInterval
13
- } from "../chunk-YQS36GWM.js";
13
+ } from "../chunk-PATNPZAL.js";
14
14
  import {
15
- initDemoRecorder,
16
15
  outputDebug,
17
16
  outputWarn
18
- } from "../chunk-2IJ2KQU2.js";
19
- import "../chunk-AZIUHI45.js";
17
+ } from "../chunk-JPPYUT6M.js";
18
+ import "../chunk-CQGOPQQH.js";
20
19
  import "../chunk-SNOECVP4.js";
21
- import "../chunk-UBB7JKND.js";
22
20
  import "../chunk-522OB3EU.js";
21
+ import "../chunk-X36SPRUS.js";
23
22
  import "../chunk-XVNW332R.js";
24
- import "../chunk-L7M22NDW.js";
25
- import "../chunk-MX4RJDBM.js";
23
+ import "../chunk-6WYZ3SZB.js";
24
+ import "../chunk-KYB6A4PE.js";
26
25
  import "../chunk-NB4NLOEJ.js";
27
- import "../chunk-IDT7CLPE.js";
28
- import "../chunk-BB6N2XSA.js";
29
- import "../chunk-PNN7RS7Y.js";
26
+ import "../chunk-UBB7JKND.js";
30
27
  import {
31
28
  init_cjs_shims
32
29
  } from "../chunk-POZ5MGPT.js";
@@ -37,7 +34,6 @@ init_cjs_shims();
37
34
  // ../cli-kit/dist/public/node/hooks/prerun.js
38
35
  init_cjs_shims();
39
36
  var hook = async (options) => {
40
- initDemoRecorder();
41
37
  let commandContent = parseCommandContent({
42
38
  id: options.Command.id,
43
39
  aliases: options.Command.aliases,