@shopify/create-hydrogen 0.29.0 → 0.30.2
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/CHANGELOG.md +26 -0
- package/bin/run.js +3 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @shopify/create-hydrogen
|
|
2
2
|
|
|
3
|
+
## 0.30.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Add scaffold to the package.json's scripts section of the app template
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @shopify/cli-hydrogen@0.30.2
|
|
10
|
+
- @shopify/cli-kit@0.30.2
|
|
11
|
+
|
|
12
|
+
## 0.30.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- New CLI version
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @shopify/cli-hydrogen@0.30.1
|
|
19
|
+
- @shopify/cli-kit@0.30.1
|
|
20
|
+
|
|
21
|
+
## 0.29.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [c31bb1e]
|
|
26
|
+
- @shopify/cli-kit@0.29.1
|
|
27
|
+
- @shopify/cli-hydrogen@0.29.1
|
|
28
|
+
|
|
3
29
|
## 0.29.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/bin/run.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ function runCreateHydrogen() {
|
|
|
7
7
|
const initIndex2 = process.argv.findIndex((arg) => arg.includes("bin/create-hydrogen") || arg.includes("bin/dev") || arg.includes("bin/run")) + 1;
|
|
8
8
|
process.argv.splice(initIndex2, 0, "init");
|
|
9
9
|
}
|
|
10
|
-
if (environment.isDebug()) {
|
|
10
|
+
if (environment.local.isDebug()) {
|
|
11
11
|
settings.debug = true;
|
|
12
12
|
}
|
|
13
13
|
run(void 0, import.meta.url).then(flush).catch((error$1) => {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import {run, flush, settings, Errors} from '@oclif/core'
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import {run, flush, settings, Errors} from '@oclif/core'\nimport {error as kitError, environment} from '@shopify/cli-kit'\n\nfunction runCreateHydrogen() {\n const initIndex = process.argv.findIndex((arg) => arg.includes('init'))\n if (initIndex === -1) {\n const initIndex =\n process.argv.findIndex(\n (arg) =>\n arg.includes('bin/create-hydrogen') ||\n arg.includes('bin/dev') ||\n arg.includes('bin/run'),\n ) + 1\n process.argv.splice(initIndex, 0, 'init')\n }\n\n if (environment.local.isDebug()) {\n settings.debug = true\n }\n\n // Start the CLI\n run(undefined, import.meta.url)\n .then(flush)\n .catch((error: Error): Promise<void | Error> => {\n const oclifHandle = Errors.handle\n const kitHandle = kitError.handler\n // eslint-disable-next-line promise/no-nesting\n return kitHandle(error).then(oclifHandle)\n })\n}\n\nexport default runCreateHydrogen\n"],"names":["error","kitError"],"mappings":";;;AAEA,SAAS,iBAAiB,GAAG;AAC7B,EAAE,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAC1E,EAAE,IAAI,SAAS,KAAK,CAAC,CAAC,EAAE;AACxB,IAAI,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC;AACtJ,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC;AAC/C,GAAG;AACH,EAAE,IAAI,WAAW,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE;AACnC,IAAI,QAAQ,CAAC,KAAK,GAAG,IAAI,CAAC;AAC1B,GAAG;AACH,EAAE,GAAG,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CAACA,OAAK,KAAK;AAC5D,IAAI,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC;AACtC,IAAI,MAAM,SAAS,GAAGC,KAAQ,CAAC,OAAO,CAAC;AACvC,IAAI,OAAO,SAAS,CAACD,OAAK,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAC9C,GAAG,CAAC,CAAC;AACL;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/create-hydrogen",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A CLI tool to create a new Hydrogen storefront",
|
|
6
6
|
"type": "module",
|
|
@@ -49,10 +49,9 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@bugsnag/js": "^7.14.1",
|
|
52
|
-
"@shopify/cli-hydrogen": "0.
|
|
53
|
-
"@shopify/cli-kit": "0.
|
|
54
|
-
"@oclif/core": "1.3.
|
|
55
|
-
"@oclif/plugin-help": "^5.1.11"
|
|
52
|
+
"@shopify/cli-hydrogen": "0.30.2",
|
|
53
|
+
"@shopify/cli-kit": "0.30.2",
|
|
54
|
+
"@oclif/core": "1.3.6"
|
|
56
55
|
},
|
|
57
56
|
"devDependencies": {
|
|
58
57
|
"enquirer": "^2.3.6",
|