@vercel/remix-builder 5.9.4 → 5.9.5
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 +23 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3029,6 +3029,7 @@ var build = async ({
|
|
|
3029
3029
|
cliType,
|
|
3030
3030
|
lockfileVersion,
|
|
3031
3031
|
packageJsonPackageManager,
|
|
3032
|
+
nodeVersion,
|
|
3032
3033
|
env: process.env,
|
|
3033
3034
|
turboSupportsCorepackHome,
|
|
3034
3035
|
projectCreatedAt: config.projectSettings?.createdAt
|
|
@@ -3565,6 +3566,7 @@ var build2 = async ({
|
|
|
3565
3566
|
cliType,
|
|
3566
3567
|
lockfileVersion,
|
|
3567
3568
|
packageJsonPackageManager,
|
|
3569
|
+
nodeVersion,
|
|
3568
3570
|
env: process.env,
|
|
3569
3571
|
turboSupportsCorepackHome,
|
|
3570
3572
|
projectCreatedAt: config.projectSettings?.createdAt
|
|
@@ -4135,10 +4137,31 @@ var prepareCache = async ({
|
|
|
4135
4137
|
const entrypointFsDirname = (0, import_path5.join)(workPath, mountpoint);
|
|
4136
4138
|
let cacheDirFiles;
|
|
4137
4139
|
if (!isVite(workPath)) {
|
|
4140
|
+
const nodeVersion = await (0, import_build_utils5.getNodeVersion)(
|
|
4141
|
+
entrypointFsDirname,
|
|
4142
|
+
void 0,
|
|
4143
|
+
config
|
|
4144
|
+
);
|
|
4145
|
+
const {
|
|
4146
|
+
cliType,
|
|
4147
|
+
lockfileVersion,
|
|
4148
|
+
packageJsonPackageManager,
|
|
4149
|
+
turboSupportsCorepackHome
|
|
4150
|
+
} = await (0, import_build_utils5.scanParentDirs)(entrypointFsDirname, true);
|
|
4151
|
+
const spawnEnv = (0, import_build_utils5.getEnvForPackageManager)({
|
|
4152
|
+
cliType,
|
|
4153
|
+
lockfileVersion,
|
|
4154
|
+
packageJsonPackageManager,
|
|
4155
|
+
nodeVersion,
|
|
4156
|
+
env: process.env,
|
|
4157
|
+
turboSupportsCorepackHome,
|
|
4158
|
+
projectCreatedAt: config.projectSettings?.createdAt
|
|
4159
|
+
});
|
|
4138
4160
|
await (0, import_build_utils5.runNpmInstall)(
|
|
4139
4161
|
entrypointFsDirname,
|
|
4140
4162
|
[],
|
|
4141
4163
|
{
|
|
4164
|
+
env: spawnEnv,
|
|
4142
4165
|
stdio: "ignore"
|
|
4143
4166
|
},
|
|
4144
4167
|
void 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/remix-builder",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"homepage": "https://vercel.com/docs",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"glob": "10.3.16",
|
|
29
29
|
"semver": "7.5.2",
|
|
30
30
|
"vitest": "4.1.10",
|
|
31
|
-
"@vercel/build-utils": "14.
|
|
31
|
+
"@vercel/build-utils": "14.1.1"
|
|
32
32
|
},
|
|
33
33
|
"VERCEL_REMIX_RUN_DEV_MAX_VERSION": "2.16.6",
|
|
34
34
|
"scripts": {
|