@vercel/backends 3.0.3 → 5.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.mjs +4 -3
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { builtinModules, createRequire } from "node:module";
|
|
2
2
|
import { basename, delimiter, dirname, extname, isAbsolute, join, posix, relative, resolve, sep } from "node:path";
|
|
3
3
|
import { delimiter as delimiter$1, dirname as dirname$1, join as join$1 } from "path";
|
|
4
|
-
import { FileBlob, FileFsRef, NodejsLambda, NowBuildError, Span, cloneEnv, createDiagnostics, debug, defaultCachePathGlob, download, execCommand, generateProjectManifest, getEnvForPackageManager, getInternalServiceCronPath, getLambdaOptionsFromFunction, getNodeBinPaths, getNodeVersion, getOrCreateBunBinary, getReportedServiceType, glob, isBackendFramework, isBunVersion, isExperimentalBackendsWithoutIntrospectionEnabled, isScheduleTriggeredService, runNpmInstall, runPackageJsonScript, scanParentDirs } from "@vercel/build-utils";
|
|
4
|
+
import { FileBlob, FileFsRef, NodejsLambda, NowBuildError, Span, cloneEnv, createDiagnostics, debug, defaultCachePathGlob, download, execCommand, generateProjectManifest, getEnvForPackageManager, getInternalServiceCronPath, getLambdaOptionsFromFunction, getNodeBinPaths, getNodeExecPath, getNodeVersion, getOrCreateBunBinary, getReportedServiceType, glob, isBackendFramework, isBunVersion, isExperimentalBackendsWithoutIntrospectionEnabled, isScheduleTriggeredService, runNpmInstall, runPackageJsonScript, scanParentDirs } from "@vercel/build-utils";
|
|
5
5
|
import { getConfig } from "@vercel/static-config";
|
|
6
6
|
import { Project } from "ts-morph";
|
|
7
7
|
import { createWriteStream, existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
@@ -1566,7 +1566,7 @@ const introspection = async (args) => {
|
|
|
1566
1566
|
const tempFilePath = join(outputTempDir, "output.txt");
|
|
1567
1567
|
const writeStream = createWriteStream(tempFilePath);
|
|
1568
1568
|
let streamClosed = false;
|
|
1569
|
-
const child = spawn(
|
|
1569
|
+
const child = spawn(getNodeExecPath(), [
|
|
1570
1570
|
"-r",
|
|
1571
1571
|
rolldownCjsLoaderPath,
|
|
1572
1572
|
"--import",
|
|
@@ -1802,7 +1802,7 @@ const introspectApp = async (args) => {
|
|
|
1802
1802
|
await new Promise((resolvePromise) => {
|
|
1803
1803
|
try {
|
|
1804
1804
|
debug("Spawning introspection process");
|
|
1805
|
-
const child = spawn(
|
|
1805
|
+
const child = spawn(getNodeExecPath(), [
|
|
1806
1806
|
"-r",
|
|
1807
1807
|
cjsLoaderPath,
|
|
1808
1808
|
"--import",
|
|
@@ -2093,6 +2093,7 @@ async function spawnSrvx(opts) {
|
|
|
2093
2093
|
}) : fork(srvxBinPath, args, {
|
|
2094
2094
|
cwd: opts.workPath,
|
|
2095
2095
|
env,
|
|
2096
|
+
execPath: getNodeExecPath(),
|
|
2096
2097
|
execArgv: ["--import", tsxPath],
|
|
2097
2098
|
stdio: [
|
|
2098
2099
|
"ignore",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/backends",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.mjs",
|
|
6
6
|
"homepage": "https://vercel.com/docs",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@vercel/static-config": "3.4.3"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@vercel/build-utils": "14.
|
|
43
|
+
"@vercel/build-utils": "14.7.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/express": "5.0.3",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"tsdown": "0.16.3",
|
|
52
52
|
"vite": "^6.4.3",
|
|
53
53
|
"vitest": "^4.1.10",
|
|
54
|
-
"@vercel/build-utils": "14.
|
|
54
|
+
"@vercel/build-utils": "14.7.0"
|
|
55
55
|
},
|
|
56
56
|
"module": "./dist/index.mjs",
|
|
57
57
|
"types": "./dist/index.d.mts",
|