You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`npm ci -ws` – install dependencies for all packages (run once).
44
-
-`npm run build -w @postgres.ai/ce` – build the Community Edition UI.
46
+
-`pnpm install` – install dependencies for all packages (run once).
47
+
-`pnpm --filter @postgres.ai/ce build` – build the Community Edition UI.
45
48
46
49
### CI pipelines for UI code
47
50
@@ -58,7 +61,7 @@ Vulnerabilities, CVEs, and security issues can be reported on GitLab or GitHub t
58
61
#### Package Issues
59
62
Ways to resolve (in descending order of preference):
60
63
1. Update the package – search npm for a newer version, as the vulnerability may already be fixed.
61
-
2. If the vulnerability is in a sub-package, use [npm-force-resolutions](https://www.npmjs.com/package/npm-force-resolutions)to override it. Use this technique with caution—it may break the project during build or at runtime. Perform a full end-to-end test afterward.
64
+
2. If the vulnerability is in a sub-package, use [`pnpm.overrides`](https://pnpm.io/package_json#pnpmoverrides) in the root `package.json`to pin the transitive dependency to a patched version. Use this technique with caution—it may break the project during build or at runtime. Perform a full end-to-end test afterward.
62
65
3. Fork the package and include it locally in this repository.
63
66
4. If the issue is a false positive vulnerability, ignore it using your SAST tool's ignore directives. **This should be the last resort; apply other solutions first.**
0 commit comments