Created
June 30, 2025 18:17
-
-
Save paddy74/b1b918dee2bb98c2e9cb92bd57ebbc38 to your computer and use it in GitHub Desktop.
Revisions
-
paddy74 created this gist
Jun 30, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #!/bin/bash # 1. Ensure dependencies are installed and lockfile is consistent before dry run # 2. Simulate dependency updates # 3. Check for known security vulnerabilities # 4. Simulate deduplication set -euo pipefail pnpm install --frozen-lockfile printf '%s\n' "Simulating dependency updates..." pnpm update --latest --dry-run printf '%s\n' "Checking for known security vulnerabilities..." pnpm audit printf '%s\n' "Simulatring deduplication..." pnpm dedupe --dry-run printf '%s\n' "Dry run complete. No changes were made."