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

[Languages] - Typescript Playground #537

Open
krbaio3 opened this issue Jul 6, 2023 · 0 comments
Open

[Languages] - Typescript Playground #537

krbaio3 opened this issue Jul 6, 2023 · 0 comments

Comments

@krbaio3
Copy link

krbaio3 commented Jul 6, 2023

In the package.json should be the engine attribute, since the developers that have more projects with multi node engine can have errors when executing the project.

The example is typescript with top version 5 and node engine 12 (it is possible to have projects with this version still), when executing the project it would not transpile because it is not compatible with this version.

I think it is the best practice to add to the package version engine attribute like this:

{
  "engines": {
    "node": ">=16.0.0",
    "npm": ">=6.0.0"
  }
}
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

No branches or pull requests

1 participant