From 56a8aa1fbf86bff6e7947325ec66010519245af4 Mon Sep 17 00:00:00 2001 From: mattfsourcecode <24415914+mattfsourcecode@users.noreply.github.com> Date: Fri, 31 Jan 2025 20:10:19 -0500 Subject: [PATCH] Specify compatible Node.js versions in package.json engines field (#25) --- .npmrc | 1 + package.json | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..4fd0219 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true \ No newline at end of file diff --git a/package.json b/package.json index 7d2c876..97923ee 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,9 @@ "description": "CLI tool that accelerates the creation of new server projects using Fastify with SWC and Jest", "main": "init.js", "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, "repository": { "type": "git", "url": "git+https://github.com/mattfsourcecode/fastify-swc-typescript-server-bootstrap-cli.git"