@vercel/hydrogen 31.0.0 → 32.0.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.
- package/dist/index.js +3 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -81,6 +81,7 @@ var build = async ({
|
|
|
81
81
|
});
|
|
82
82
|
if (typeof installCommand === "string") {
|
|
83
83
|
if (installCommand.trim()) {
|
|
84
|
+
(0, import_build_utils.markBuildStep)("INSTALLING_DEPENDENCIES");
|
|
84
85
|
console.log(`Running "install" command: \`${installCommand}\`...`);
|
|
85
86
|
await (0, import_build_utils.execCommand)(installCommand, {
|
|
86
87
|
env: spawnEnv,
|
|
@@ -130,6 +131,7 @@ var build = async ({
|
|
|
130
131
|
spawnEnv.SHOPIFY_FLAG_BUILD_SSR_ENTRY = edgeEntryDest;
|
|
131
132
|
if (buildCommand) {
|
|
132
133
|
(0, import_build_utils.debug)(`Executing build command "${buildCommand}"`);
|
|
134
|
+
(0, import_build_utils.markBuildStep)("BUILDING");
|
|
133
135
|
await (0, import_build_utils.execCommand)(buildCommand, {
|
|
134
136
|
env: spawnEnv,
|
|
135
137
|
cwd: entrypointDir
|
|
@@ -155,6 +157,7 @@ var build = async ({
|
|
|
155
157
|
config.projectSettings?.createdAt
|
|
156
158
|
);
|
|
157
159
|
} else {
|
|
160
|
+
(0, import_build_utils.markBuildStep)("BUILDING");
|
|
158
161
|
await (0, import_build_utils.execCommand)("shopify hydrogen build", {
|
|
159
162
|
env: spawnEnv,
|
|
160
163
|
cwd: entrypointDir
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/hydrogen",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "32.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"homepage": "https://vercel.com/docs",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"@vercel/static-config": "3.4.4"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@vercel/build-utils": "15.
|
|
21
|
+
"@vercel/build-utils": "15.9.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "20.11.0",
|
|
25
25
|
"execa": "3.2.0",
|
|
26
26
|
"fs-extra": "11.1.0",
|
|
27
27
|
"vitest": "4.1.10",
|
|
28
|
-
"@vercel/build-utils": "15.
|
|
28
|
+
"@vercel/build-utils": "15.9.0"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "node ../../utils/build-builder.mjs",
|