From 2f65edfd36c1fcfdc3b7605f73659b4ec3f6536b Mon Sep 17 00:00:00 2001 From: wellwelwel <46850407+wellwelwel@users.noreply.github.com> Date: Mon, 16 Sep 2024 20:17:24 -0300 Subject: [PATCH] chore(deps): avoid `npm audit fix` exit code 1 --- package.json | 2 +- website/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 48e395ba..25e1656c 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "postbuild:deno": "tsx tools/build/check-deno-polyfill.ts", "lint": "npx @biomejs/biome lint && prettier --check .", "lint:fix": "npx @biomejs/biome lint --write && prettier --write .github/workflows/*.yml .", - "update": "pu minor && npm i && npm audit fix", + "update": "pu minor && npm i && (npm audit fix || true)", "postupdate": "npm run lint:fix", "benchmark": "cd benchmark && npm ci && npm start" }, diff --git a/website/package.json b/website/package.json index 336cccca..89ea8d42 100644 --- a/website/package.json +++ b/website/package.json @@ -18,7 +18,7 @@ "lint:fix": "prettier --write . && eslint . --fix", "test:unit": "poku --parallel test/unit", "test": "npm run typecheck && npm run lint && npm run test:unit && npm run clear && npm run build", - "update": "pu minor && npm i && npm audit fix", + "update": "pu minor && npm i && (npm audit fix || true)", "postupdate": "npm run lint:fix", "deploy": "tsx deploy/upload.ts" },