@vercel/nestjs 0.2.17 → 0.2.19

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -0
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -23,6 +23,7 @@ __export(src_exports, {
23
23
  build: () => build,
24
24
  entrypointCallback: () => entrypointCallback,
25
25
  findEntrypoint: () => findEntrypoint,
26
+ prepareCache: () => prepareCache,
26
27
  require_: () => require_,
27
28
  shouldServe: () => shouldServe,
28
29
  startDevServer: () => startDevServer,
@@ -50,6 +51,12 @@ var { build, entrypointCallback, findEntrypoint, require_ } = (0, import_build_u
50
51
  import_node.build
51
52
  );
52
53
 
54
+ // src/prepare-cache.ts
55
+ var import_build_utils2 = require("@vercel/build-utils");
56
+ var prepareCache = ({ repoRootPath, workPath }) => {
57
+ return (0, import_build_utils2.glob)(import_build_utils2.defaultCachePathGlob, repoRootPath || workPath);
58
+ };
59
+
53
60
  // src/index.ts
54
61
  var import_node2 = require("@vercel/node");
55
62
  var version = 3;
@@ -73,6 +80,7 @@ var startDevServer = async (opts) => {
73
80
  build,
74
81
  entrypointCallback,
75
82
  findEntrypoint,
83
+ prepareCache,
76
84
  require_,
77
85
  shouldServe,
78
86
  startDevServer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/nestjs",
3
- "version": "0.2.17",
3
+ "version": "0.2.19",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "homepage": "https://vercel.com/docs",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@vercel/static-config": "3.1.2",
21
- "@vercel/node": "5.5.15"
21
+ "@vercel/node": "5.5.16"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/jest": "27.5.1",
@@ -28,7 +28,7 @@
28
28
  "jest-junit": "16.0.0",
29
29
  "vite": "^5.1.6",
30
30
  "vitest": "^2.0.1",
31
- "@vercel/build-utils": "13.2.3"
31
+ "@vercel/build-utils": "13.2.4"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "node ../../utils/build-builder.mjs",