Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix audit with pnpm audit --prod --fix #416

Merged
merged 4 commits into from
Sep 11, 2024
Merged

Fix audit with pnpm audit --prod --fix #416

merged 4 commits into from
Sep 11, 2024

Conversation

nop33
Copy link
Member

@nop33 nop33 commented Sep 4, 2024

No description provided.

@nop33 nop33 requested a review from h0ngcha0 September 4, 2024 13:01
@@ -22,4 +22,4 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: 9.4
- run: pnpm audit
- run: pnpm audit --prod
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@h0ngcha0 don't you think it makes sense to only audit packages that are used in production

https://pnpm.io/cli/audit#--prod--p

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for being late, would it be an issue if we audit all packages? devDependencies might affect our dev environment so if we can maybe we should audit as well, WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, fair enough!

@polarker
Copy link
Member

@nop33 It seems only webpack needs to be patched for dev deps. Can you give it a try?

@polarker polarker merged commit 3fdb6ce into master Sep 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants