@vercel/client 18.0.0 → 18.1.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/utils/index.js +4 -0
- package/package.json +4 -4
package/dist/utils/index.js
CHANGED
|
@@ -287,6 +287,10 @@ async function getVercelIgnore(cwd, prebuilt, vercelOutputDir) {
|
|
|
287
287
|
return vercelignore || nowignore;
|
|
288
288
|
})
|
|
289
289
|
);
|
|
290
|
+
const isRustProject = (await Promise.all(cwds.map((cwd2) => (0, import_fs_extra.pathExists)((0, import_path.join)(cwd2, "Cargo.toml"))))).some(Boolean);
|
|
291
|
+
if (isRustProject) {
|
|
292
|
+
ignores.push("/target");
|
|
293
|
+
}
|
|
290
294
|
const ignoreFile = files.join("\n");
|
|
291
295
|
ig.add(`${ignores.join("\n")}
|
|
292
296
|
${clearRelative(ignoreFile)}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/client",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.1.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"homepage": "https://vercel.com",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"querystring": "^0.2.0",
|
|
38
38
|
"sleep-promise": "8.0.1",
|
|
39
39
|
"tar-fs": "1.16.3",
|
|
40
|
-
"@vercel/
|
|
41
|
-
"@vercel/
|
|
42
|
-
"@vercel/
|
|
40
|
+
"@vercel/build-utils": "13.34.0",
|
|
41
|
+
"@vercel/routing-utils": "6.4.0",
|
|
42
|
+
"@vercel/error-utils": "2.2.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "node ../../utils/build.mjs",
|