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

chore: add engine-strict #1601

Merged
merged 5 commits into from
Jun 4, 2024
Merged

chore: add engine-strict #1601

merged 5 commits into from
Jun 4, 2024

Conversation

itwillwork
Copy link
Contributor

No description provided.

"engines": {
"node": "^18.20.0",
"npm": "^10.5.0",
"yarn": "Please use npm instead of yarn to install dependencies",
Copy link
Contributor Author

@itwillwork itwillwork May 21, 2024

Choose a reason for hiding this comment

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

example:

image

package.json Outdated
@@ -3,6 +3,12 @@
"version": "6.15.0",
"description": "Gravity UI base styling and components",
"license": "MIT",
"engines": {
"node": "^18.20.0",
"npm": "^10.5.0",
Copy link
Contributor Author

@itwillwork itwillwork May 21, 2024

Choose a reason for hiding this comment

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

example:

image

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@@ -83,7 +89,7 @@
"lint:prettier:fix": "cross-env prettier --write '**/*.md'",
"lint": "run-p lint:*",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

So that in the release build package.json does not contain engines section

calling the command again npm pkg delete engines will not cause errors

package.json Outdated Show resolved Hide resolved
Co-authored-by: Andrey Morozov <[email protected]>
@itwillwork itwillwork requested a review from amje May 23, 2024 15:55
@amje amje merged commit 95289c1 into main Jun 4, 2024
5 checks passed
@amje amje deleted the add-engine-strict branch June 4, 2024 10:40
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