From 26426852a90145095e0018c8eeb9a1896f528aa2 Mon Sep 17 00:00:00 2001 From: Smit Date: Mon, 16 Jun 2025 05:16:09 +0530 Subject: [PATCH] Add `devEngines` parameter to package.json This is a part of maitaining interoperability in the future in accordance to https://github.com/openjs-foundation/package-metadata-interoperability-collab-space/pull/27, with the goal to streamline dev and CI/CD enviroments. --- frontend/package.json | 12 ++++++++++++ package.json | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/frontend/package.json b/frontend/package.json index ea18e0fba9..dbe2b62d19 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -67,5 +67,17 @@ "repository": { "type": "git", "url": "git+https://github.com/GraphiteEditor/Graphite.git" + }, + "devEngines": { + "runtime": { + "name": "node", + "version": ">=20", + "onFail": "error" + }, + "packageManager": { + "name": "npm", + "version": ">11", + "onFail": "error" + } } } diff --git a/package.json b/package.json index 5528659282..53fbfb07ec 100644 --- a/package.json +++ b/package.json @@ -13,5 +13,17 @@ "---------- UTILITIES ----------": "", "lint": "cd frontend && npm run lint", "lint-fix": "cd frontend && npm run lint-fix" + }, + "devEngines": { + "runtime": { + "name": "node", + "version": ">=20", + "onFail": "error" + }, + "packageManager": { + "name": "npm", + "version": ">11", + "onFail": "error" + } } }