Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

🏗✨:add check engines task: validate devenv/automate prereqs check #1023

Merged
merged 24 commits into from Apr 5, 2024

Conversation

DerekNonGeneric
Copy link
Member

There is only one real way to do this properly and it must be done out-of-band (not tool-side) since running a wrong version of the tool (e.g., pnpm) could be catastrophic in some extreme cases (version/api slippage, other mismatches).

Fixes: #1017

/cc @OpenINF/wg-a-team

@DerekNonGeneric DerekNonGeneric added enhancement 🟨 Code: JS/TS PRs or issues regarding JavaScript/TypeScript code 🏗️ Category: Build Issues and PRs related to the build directory 📦 Type: Developer Dependencies PRs that modify packages only req'd for local development and testing labels Nov 11, 2023
@DerekNonGeneric DerekNonGeneric self-assigned this Nov 11, 2023
@DerekNonGeneric
Copy link
Member Author

opened as draft since this still needs to be wired up (should run asap when project bootstraps)

Comment on lines 16 to 17
* @license MIT
* @module {CjsModule} tasks/check-package-engines
Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change
* @license MIT
* @module {CjsModule} tasks/check-package-engines
* @license MIT
* @module {CJSModule} build/tasks/check-package-engines

Copy link
Member Author

@DerekNonGeneric DerekNonGeneric Nov 13, 2023

Choose a reason for hiding this comment

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

this is a verification task, so i think it would better go in verify dir

build/tasks/verify/verify-engines

_tasks/utils.js Outdated Show resolved Hide resolved
_tasks/utils.js Outdated Show resolved Hide resolved
_tasks/utils.js Outdated Show resolved Hide resolved
@DerekNonGeneric

This comment was marked as resolved.

@DerekNonGeneric
Copy link
Member Author

This is not the solution we will be going with, but simply something i had in mind earlier and this is riddled w. erroneous code, but feel free to revive this if someone thinks it should. ^^

@DerekNonGeneric DerekNonGeneric deleted the fix/check-engines branch November 30, 2023 12:51
@DerekNonGeneric DerekNonGeneric restored the fix/check-engines branch January 25, 2024 04:38
Copy link
Member Author

@DerekNonGeneric DerekNonGeneric left a comment

Choose a reason for hiding this comment

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

okay, we are going to try again 🥺

/cc @jorgebucaran as likely has a good solution already?

@OpenINFbot OpenINFbot added the 🛠️ Category: Tools Issues and PRs related to the tools directory label Jan 25, 2024
@DerekNonGeneric
Copy link
Member Author

possibly relevant to the remarks above regarding appropriate directory structure:

DerekNonGeneric and others added 23 commits April 5, 2024 17:11
There is only one real way to do this properly and it must
be done out-of-band (not tool-side) since running a wrong
version of the tool (e.g., pnpm) could be catastrophic in
some extreme cases (version/api slippage, other mismatches).

Fixes: #1017
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: Derek Lewis <DerekNonGeneric@inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
…-package-engines.mjs

Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
…y-manifests.mjs

Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
@OpenINFbot OpenINFbot marked this pull request as ready for review April 5, 2024 21:28
Co-authored-by: Derek Lewis <dereknongeneric@open.inf.is>
Signed-off-by: OpenINF-bot <openinfbot@open.inf.is>
@OpenINFbot OpenINFbot merged commit f1eca1b into OpenINF:live Apr 5, 2024
15 of 16 checks passed
DerekNonGeneric added a commit that referenced this pull request Apr 5, 2024
DerekNonGeneric added a commit to OpenINF/open.inf.is that referenced this pull request Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🏗️ Category: Build Issues and PRs related to the build directory 🛠️ Category: Tools Issues and PRs related to the tools directory 🟨 Code: JS/TS PRs or issues regarding JavaScript/TypeScript code 📦 Type: Developer Dependencies PRs that modify packages only req'd for local development and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🏗️🔔 setting the engines field in package.json
4 participants