Skip to content

🏗️✨ Add preinstall task to check package engines #2

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

Merged
merged 1 commit into from
Feb 26, 2020

Conversation

DerekNonGeneric
Copy link
Owner

This PR should alleviate some difficulty in determining causes of failure related to incorrect active versions of the Node.js toolchain described by @fusionstrings and myself #1. With this new task, prior to the installation of package dependencies (theoretically the step performed after cloning), a check will be performed to determine if the currently active tools satisfy SemVer version ranges specified in package engines. I wonder if this should also be performed prior to running the tests in case of version changes during development.

I may have put the cart before the horse by adding that initial sample. so I've moved it to another branch for now. It seems like a few more commits should follow this one to help ensure other environment-related problems don't bite us down the road (possibly something to guard against the difficulty @MylesBorins found). There are a few dependency-related checks I'd like to see (are pinned and up-to-date). The addition of a couple of GitHub actions or something like Renovate Bot may help here.

@DerekNonGeneric DerekNonGeneric force-pushed the master branch 2 times, most recently from ecd3610 to a06f14c Compare February 25, 2020 20:37
@DerekNonGeneric DerekNonGeneric force-pushed the feat/check-package-engines branch 5 times, most recently from ad5bf61 to 35a65e1 Compare February 26, 2020 19:03
@DerekNonGeneric DerekNonGeneric force-pushed the feat/check-package-engines branch from 35a65e1 to d5a1069 Compare February 26, 2020 19:06
@DerekNonGeneric DerekNonGeneric merged this pull request into master Feb 26, 2020
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.

1 participant