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

Enforce engine versions and avoid install scripts #218

Merged
merged 1 commit into from
Nov 22, 2022

Conversation

anders-kiaer
Copy link
Collaborator

No description provided.

@anders-kiaer anders-kiaer self-assigned this May 5, 2022
@anders-kiaer anders-kiaer added maintenance next release 🚢 To be included in next release and removed next release 🚢 To be included in next release labels May 23, 2022
Copy link
Collaborator

@rubenthoms rubenthoms left a comment

Choose a reason for hiding this comment

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

LGTM! A thought related to ignore-scripts.

@@ -0,0 +1,2 @@
engine-strict=true
ignore-scripts=true
Copy link
Collaborator

Choose a reason for hiding this comment

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

When including this, we should make sure that no packages require to run scripts in order to work. As of now, we don't have any packages requiring this, but we should make sure we don't install any. Maybe we could make use of https://github.com/dominykas/allow-scripts? The question is then how we can whitelist packages? npm does not support anything like that yet.

@anders-kiaer anders-kiaer merged commit 85de58f into equinor:master Nov 22, 2022
@anders-kiaer anders-kiaer deleted the enforceversion branch November 22, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done 🏁
Development

Successfully merging this pull request may close these issues.

2 participants