From 5c4221493d0b4d9792266b759208798f9f1f7774 Mon Sep 17 00:00:00 2001 From: Olli Vanhoja Date: Sun, 29 Oct 2023 11:29:58 +0100 Subject: [PATCH] Provide engines --- .github/workflows/build.yml | 2 +- package-lock.json | 11 +++++++++++ package.json | 5 +++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4e5bd6..1f0d759 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x] + node-version: [18.x] steps: - uses: actions/checkout@v1 diff --git a/package-lock.json b/package-lock.json index d98121d..dd74ed0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,6 +33,17 @@ "eslint-config-next": "13.5.6", "prettier": "3.0.3", "typescript": "5.2.2" + }, + "engines": { + "cpu": [ + "x64", + "arm" + ], + "node": ">=18.18.0", + "os": [ + "darwin", + "linux" + ] } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 76670e5..5a4c954 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,11 @@ { "name": "bfree", "version": "0.1.0", + "engines": { + "node": ">=18.18.0", + "os": ["darwin", "linux"], + "cpu": ["x64", "arm"] + }, "private": true, "scripts": { "dev": "NEXT_TELEMETRY_DISABLED=${NEXT_TELEMETRY_DISABLED:-1} next dev",