@shopify/cli-hydrogen 4.2.1 → 5.0.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/commands/hydrogen/build.d.ts +1 -1
- package/dist/commands/hydrogen/build.js +24 -22
- package/dist/commands/hydrogen/check.js +1 -1
- package/dist/commands/hydrogen/codegen-unstable.d.ts +1 -0
- package/dist/commands/hydrogen/codegen-unstable.js +6 -0
- package/dist/commands/hydrogen/dev.d.ts +2 -1
- package/dist/commands/hydrogen/dev.js +85 -65
- package/dist/commands/hydrogen/env/list.d.ts +2 -3
- package/dist/commands/hydrogen/env/list.js +42 -44
- package/dist/commands/hydrogen/env/list.test.js +18 -24
- package/dist/commands/hydrogen/env/pull.d.ts +2 -3
- package/dist/commands/hydrogen/env/pull.js +42 -23
- package/dist/commands/hydrogen/env/pull.test.js +16 -4
- package/dist/commands/hydrogen/init.js +3 -13
- package/dist/commands/hydrogen/link.d.ts +0 -1
- package/dist/commands/hydrogen/link.js +34 -36
- package/dist/commands/hydrogen/link.test.js +43 -27
- package/dist/commands/hydrogen/list.d.ts +2 -2
- package/dist/commands/hydrogen/list.js +43 -39
- package/dist/commands/hydrogen/list.test.js +24 -32
- package/dist/commands/hydrogen/shortcut.js +6 -7
- package/dist/commands/hydrogen/shortcut.test.js +8 -9
- package/dist/commands/hydrogen/unlink.d.ts +0 -1
- package/dist/commands/hydrogen/unlink.js +5 -3
- package/dist/lib/admin-session.d.ts +1 -0
- package/dist/lib/codegen.d.ts +3 -2
- package/dist/lib/codegen.js +20 -7
- package/dist/lib/combined-environment-variables.js +19 -36
- package/dist/lib/combined-environment-variables.test.js +7 -7
- package/dist/lib/config.d.ts +3 -1
- package/dist/lib/config.js +67 -63
- package/dist/lib/flags.d.ts +1 -0
- package/dist/lib/flags.js +8 -3
- package/dist/lib/graphql/admin/link-storefront.d.ts +12 -9
- package/dist/lib/graphql/admin/link-storefront.js +18 -1
- package/dist/lib/graphql/admin/list-environments.d.ts +6 -5
- package/dist/lib/graphql/admin/list-environments.js +11 -1
- package/dist/lib/graphql/admin/list-storefronts.d.ts +13 -5
- package/dist/lib/graphql/admin/list-storefronts.js +18 -1
- package/dist/lib/graphql/admin/pull-variables.d.ts +6 -1
- package/dist/lib/graphql/admin/pull-variables.js +14 -1
- package/dist/lib/log.d.ts +2 -1
- package/dist/lib/log.js +8 -1
- package/dist/lib/mini-oxygen.js +1 -1
- package/dist/lib/process.d.ts +6 -0
- package/dist/lib/process.js +17 -0
- package/dist/lib/pull-environment-variables.d.ts +1 -0
- package/dist/lib/pull-environment-variables.js +4 -14
- package/dist/lib/remix-version-interop.js +1 -1
- package/dist/lib/shell.d.ts +5 -6
- package/dist/lib/shell.js +65 -17
- package/dist/lib/shell.test.d.ts +1 -0
- package/dist/lib/shell.test.js +85 -0
- package/dist/lib/shopify-config.d.ts +1 -1
- package/dist/lib/shopify-config.js +2 -2
- package/dist/lib/transpile-ts.js +6 -0
- package/oclif.manifest.json +1 -1
- package/package.json +9 -8
- package/dist/lib/colors.d.ts +0 -11
- package/dist/lib/colors.js +0 -11
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public",
|
|
5
5
|
"@shopify:registry": "https://registry.npmjs.org"
|
|
6
6
|
},
|
|
7
|
-
"version": "
|
|
7
|
+
"version": "5.0.1",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"scripts": {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"test:watch": "cross-env SHOPIFY_UNIT_TEST=1 vitest"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
+
"@types/diff": "^5.0.2",
|
|
19
20
|
"@types/fs-extra": "^9.0.13",
|
|
20
21
|
"@types/gunzip-maybe": "^1.4.0",
|
|
21
22
|
"@types/prettier": "^2.7.2",
|
|
@@ -26,18 +27,18 @@
|
|
|
26
27
|
"vitest": "^0.28.1"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
29
|
-
"@remix-run/react": "^1.
|
|
30
|
-
"@shopify/hydrogen-react": "^2023.4.
|
|
31
|
-
"@shopify/remix-oxygen": "^1.
|
|
30
|
+
"@remix-run/react": "^1.17.1",
|
|
31
|
+
"@shopify/hydrogen-react": "^2023.4.4",
|
|
32
|
+
"@shopify/remix-oxygen": "^1.1.1"
|
|
32
33
|
},
|
|
33
34
|
"dependencies": {
|
|
34
35
|
"@graphql-codegen/cli": "3.3.1",
|
|
35
36
|
"@oclif/core": "2.1.4",
|
|
36
|
-
"@remix-run/dev": "1.
|
|
37
|
-
"@shopify/cli-kit": "3.
|
|
38
|
-
"@shopify/hydrogen-codegen": "^0.0.
|
|
37
|
+
"@remix-run/dev": "1.17.1",
|
|
38
|
+
"@shopify/cli-kit": "3.46.3",
|
|
39
|
+
"@shopify/hydrogen-codegen": "^0.0.2",
|
|
39
40
|
"@shopify/mini-oxygen": "^1.6.0",
|
|
40
|
-
"
|
|
41
|
+
"diff": "^5.1.0",
|
|
41
42
|
"fast-glob": "^3.2.12",
|
|
42
43
|
"fs-extra": "^10.1.0",
|
|
43
44
|
"gunzip-maybe": "^1.4.2",
|
package/dist/lib/colors.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import ansiColors from 'ansi-colors';
|
|
2
|
-
|
|
3
|
-
declare const colors: {
|
|
4
|
-
dim: ansiColors.StyleFunction;
|
|
5
|
-
bold: ansiColors.StyleFunction;
|
|
6
|
-
green: ansiColors.StyleFunction;
|
|
7
|
-
whiteBright: ansiColors.StyleFunction;
|
|
8
|
-
yellow: ansiColors.StyleFunction;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export { colors };
|
package/dist/lib/colors.js
DELETED