@shopify/create-app 3.62.0 → 3.63.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 (39) hide show
  1. package/dist/{chunk-B62HZLMM.js → chunk-4NDUTTUN.js} +2 -2
  2. package/dist/{chunk-CSUGYG4O.js → chunk-4WWN5FOM.js} +6 -6
  3. package/dist/{chunk-I642G37M.js → chunk-ATUEWGVE.js} +6 -6
  4. package/dist/{chunk-H7PE6UQQ.js → chunk-F6HMWERM.js} +2 -2
  5. package/dist/{chunk-MPBVJXAB.js → chunk-HRKA5T4R.js} +5 -5
  6. package/dist/{chunk-WW3VYTIJ.js → chunk-HVU24J4B.js} +2 -2
  7. package/dist/{chunk-YH2RKQUF.js → chunk-IKO7JBOJ.js} +5460 -4963
  8. package/dist/{chunk-UAHNJ7DG.js → chunk-PRTNRTCO.js} +4 -4
  9. package/dist/{chunk-CUZDIE7U.js → chunk-QYV3IGK6.js} +2 -2
  10. package/dist/{chunk-NORDGBTQ.js → chunk-S24GEKLN.js} +12 -8
  11. package/dist/chunk-SWNRLCC6.js +61 -0
  12. package/dist/{chunk-VH2SMHYM.js → chunk-TDQP5DNM.js} +58 -4
  13. package/dist/{chunk-3C7VBPKV.js → chunk-TEWHYB5G.js} +2 -2
  14. package/dist/{chunk-E4HW5M5H.js → chunk-WIUNU6J5.js} +6 -6
  15. package/dist/{chunk-E3R2QNZH.js → chunk-WPLY3YAB.js} +2 -2
  16. package/dist/{chunk-BKY7FLON.js → chunk-YOU3TFV4.js} +4 -4
  17. package/dist/commands/init.js +15 -15
  18. package/dist/commands/init.test.js +16 -16
  19. package/dist/{custom-oclif-loader-7Q5WVZP6.js → custom-oclif-loader-IYCQZLII.js} +3 -3
  20. package/dist/{error-handler-OOIG25BK.js → error-handler-JYZPYDGI.js} +10 -10
  21. package/dist/hooks/postrun.js +8 -8
  22. package/dist/hooks/prerun.js +5 -5
  23. package/dist/index.js +1 -1
  24. package/dist/{local-GYBILLDV.js → local-FTTFSJQM.js} +3 -3
  25. package/dist/{node-package-manager-N7CTF74M.js → node-package-manager-AKGEGINM.js} +4 -4
  26. package/dist/prompts/init.js +3 -3
  27. package/dist/prompts/init.test.js +4 -4
  28. package/dist/services/init.js +9 -9
  29. package/dist/services/init.test.js +2 -2
  30. package/dist/{system-KZ6D632Y.js → system-DKVEXBNE.js} +3 -3
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/dist/{ui-DULGDV4Y.js → ui-MOQVVFEE.js} +3 -3
  33. package/dist/utils/template/cleanup.js +3 -3
  34. package/dist/utils/template/cleanup.test.js +4 -4
  35. package/dist/utils/template/npm.js +5 -5
  36. package/dist/utils/template/npm.test.js +6 -6
  37. package/oclif.manifest.json +2 -1
  38. package/package.json +4 -4
  39. package/dist/chunk-ZPFJOUKZ.js +0 -115
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cleanup
3
- } from "../../chunk-3C7VBPKV.js";
3
+ } from "../../chunk-TEWHYB5G.js";
4
4
  import {
5
5
  fileExists,
6
6
  inTemporaryDirectory,
7
7
  mkdir,
8
8
  writeFile
9
- } from "../../chunk-VH2SMHYM.js";
9
+ } from "../../chunk-TDQP5DNM.js";
10
10
  import "../../chunk-LSCXQWNO.js";
11
11
  import "../../chunk-URQFBBW5.js";
12
12
  import {
@@ -21,8 +21,8 @@ import {
21
21
  describe,
22
22
  globalExpect,
23
23
  test
24
- } from "../../chunk-YH2RKQUF.js";
25
- import "../../chunk-ZPFJOUKZ.js";
24
+ } from "../../chunk-IKO7JBOJ.js";
25
+ import "../../chunk-SWNRLCC6.js";
26
26
  import "../../chunk-T5LLJYYS.js";
27
27
  import {
28
28
  init_cjs_shims
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getDeepInstallNPMTasks,
3
3
  updateCLIDependencies
4
- } from "../../chunk-BKY7FLON.js";
5
- import "../../chunk-B62HZLMM.js";
6
- import "../../chunk-WW3VYTIJ.js";
7
- import "../../chunk-VH2SMHYM.js";
4
+ } from "../../chunk-YOU3TFV4.js";
5
+ import "../../chunk-4NDUTTUN.js";
6
+ import "../../chunk-HVU24J4B.js";
7
+ import "../../chunk-TDQP5DNM.js";
8
8
  import "../../chunk-LSCXQWNO.js";
9
9
  import "../../chunk-URQFBBW5.js";
10
10
  import "../../chunk-STRDP5MF.js";
@@ -13,7 +13,7 @@ import "../../chunk-SAO7C4LP.js";
13
13
  import "../../chunk-GJPZCXGT.js";
14
14
  import "../../chunk-MCED27CG.js";
15
15
  import "../../chunk-YC4FLMDD.js";
16
- import "../../chunk-ZPFJOUKZ.js";
16
+ import "../../chunk-SWNRLCC6.js";
17
17
  import "../../chunk-T5LLJYYS.js";
18
18
  import "../../chunk-ZPL24Y2D.js";
19
19
  export {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  getDeepInstallNPMTasks,
3
3
  updateCLIDependencies
4
- } from "../../chunk-BKY7FLON.js";
5
- import "../../chunk-B62HZLMM.js";
4
+ } from "../../chunk-YOU3TFV4.js";
5
+ import "../../chunk-4NDUTTUN.js";
6
6
  import {
7
7
  installNodeModules
8
- } from "../../chunk-WW3VYTIJ.js";
8
+ } from "../../chunk-HVU24J4B.js";
9
9
  import {
10
10
  inTemporaryDirectory,
11
11
  mkdir,
12
12
  readFile,
13
13
  writeFile
14
- } from "../../chunk-VH2SMHYM.js";
14
+ } from "../../chunk-TDQP5DNM.js";
15
15
  import "../../chunk-LSCXQWNO.js";
16
16
  import "../../chunk-URQFBBW5.js";
17
17
  import {
@@ -29,8 +29,8 @@ import {
29
29
  globalExpect,
30
30
  test,
31
31
  vi
32
- } from "../../chunk-YH2RKQUF.js";
33
- import "../../chunk-ZPFJOUKZ.js";
32
+ } from "../../chunk-IKO7JBOJ.js";
33
+ import "../../chunk-SWNRLCC6.js";
34
34
  import "../../chunk-T5LLJYYS.js";
35
35
  import {
36
36
  init_cjs_shims
@@ -5,6 +5,7 @@
5
5
  ],
6
6
  "args": {
7
7
  },
8
+ "enableJsonFlag": false,
8
9
  "flags": {
9
10
  "flavor": {
10
11
  "description": "Which flavor of the given template to use.",
@@ -98,5 +99,5 @@
98
99
  "summary": "Create a new app project"
99
100
  }
100
101
  },
101
- "version": "3.62.0"
102
+ "version": "3.63.0"
102
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.62.0",
3
+ "version": "3.63.0",
4
4
  "private": false,
5
5
  "description": "A CLI tool to create a new Shopify app.",
6
6
  "keywords": [
@@ -45,11 +45,11 @@
45
45
  },
46
46
  "devDependencies": {
47
47
  "@oclif/core": "3.26.5",
48
- "@shopify/cli-kit": "3.62.0",
48
+ "@shopify/cli-kit": "3.63.0",
49
49
  "@types/node": "18.19.3",
50
50
  "esbuild-plugin-copy": "^2.1.1",
51
- "@vitest/coverage-istanbul": "^0.34.3",
52
- "vitest": "^0.34.3"
51
+ "@vitest/coverage-istanbul": "^1.6.0",
52
+ "vitest": "^1.6.0"
53
53
  },
54
54
  "engines": {
55
55
  "node": "^18.20.0 || >=20.10.0"
@@ -1,115 +0,0 @@
1
- import {
2
- init_cjs_shims
3
- } from "./chunk-ZPL24Y2D.js";
4
-
5
- // ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
6
- init_cjs_shims();
7
-
8
- // ../../node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js
9
- init_cjs_shims();
10
- var Node = class {
11
- value;
12
- next;
13
- constructor(value) {
14
- this.value = value;
15
- }
16
- };
17
- var Queue = class {
18
- #head;
19
- #tail;
20
- #size;
21
- constructor() {
22
- this.clear();
23
- }
24
- enqueue(value) {
25
- const node = new Node(value);
26
- if (this.#head) {
27
- this.#tail.next = node;
28
- this.#tail = node;
29
- } else {
30
- this.#head = node;
31
- this.#tail = node;
32
- }
33
- this.#size++;
34
- }
35
- dequeue() {
36
- const current = this.#head;
37
- if (!current) {
38
- return;
39
- }
40
- this.#head = this.#head.next;
41
- this.#size--;
42
- return current.value;
43
- }
44
- clear() {
45
- this.#head = void 0;
46
- this.#tail = void 0;
47
- this.#size = 0;
48
- }
49
- get size() {
50
- return this.#size;
51
- }
52
- *[Symbol.iterator]() {
53
- let current = this.#head;
54
- while (current) {
55
- yield current.value;
56
- current = current.next;
57
- }
58
- }
59
- };
60
-
61
- // ../../node_modules/.pnpm/p-limit@4.0.0/node_modules/p-limit/index.js
62
- function pLimit(concurrency) {
63
- if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
64
- throw new TypeError("Expected `concurrency` to be a number from 1 and up");
65
- }
66
- const queue = new Queue();
67
- let activeCount = 0;
68
- const next = () => {
69
- activeCount--;
70
- if (queue.size > 0) {
71
- queue.dequeue()();
72
- }
73
- };
74
- const run = async (fn, resolve, args) => {
75
- activeCount++;
76
- const result = (async () => fn(...args))();
77
- resolve(result);
78
- try {
79
- await result;
80
- } catch {
81
- }
82
- next();
83
- };
84
- const enqueue = (fn, resolve, args) => {
85
- queue.enqueue(run.bind(void 0, fn, resolve, args));
86
- (async () => {
87
- await Promise.resolve();
88
- if (activeCount < concurrency && queue.size > 0) {
89
- queue.dequeue()();
90
- }
91
- })();
92
- };
93
- const generator = (fn, ...args) => new Promise((resolve) => {
94
- enqueue(fn, resolve, args);
95
- });
96
- Object.defineProperties(generator, {
97
- activeCount: {
98
- get: () => activeCount
99
- },
100
- pendingCount: {
101
- get: () => queue.size
102
- },
103
- clearQueue: {
104
- value: () => {
105
- queue.clear();
106
- }
107
- }
108
- });
109
- return generator;
110
- }
111
-
112
- export {
113
- pLimit
114
- };
115
- //# sourceMappingURL=chunk-ZPFJOUKZ.js.map