From d2b500c75f5c1daaca84269fa5afc81c17ab0db4 Mon Sep 17 00:00:00 2001 From: ytcleon Date: Thu, 9 Jan 2025 15:53:34 +0000 Subject: [PATCH] update node engine version to 22.x and npm to 10.x also bump the version of the api package to 3.0.0 (major release) for next-syndicaiton-dl to receive the update --- .circleci/config.yml | 2 +- .toolkitrc.yml | 2 +- package-lock.json | 7 ++++--- package.json | 7 ++++--- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1b0c5815..1da06d66 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ orbs: executors: node: docker: - - image: cimg/node:18.17-browsers + - image: cimg/node:22.12-browsers jobs: checkout: docker: diff --git a/.toolkitrc.yml b/.toolkitrc.yml index 4027463d..8dfcd72a 100644 --- a/.toolkitrc.yml +++ b/.toolkitrc.yml @@ -21,7 +21,7 @@ hooks: options: "@dotcom-tool-kit/mocha": {} "@dotcom-tool-kit/eslint": {} - "@dotcom-tool-kit/circleci": { nodeVersion: 18.17-browsers } + "@dotcom-tool-kit/circleci": { nodeVersion: 22.12-browsers } "@dotcom-tool-kit/heroku": pipeline: ft-next-syndication-api systemCode: next-syndication-api diff --git a/package-lock.json b/package-lock.json index 586bd10f..b094ada4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ft-next-syndication-api", - "version": "2.0.9", + "version": "3.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ft-next-syndication-api", - "version": "2.0.9", + "version": "3.0.0", "dependencies": { "@dotcom-reliability-kit/crash-handler": "^4.1.11", "@dotcom-reliability-kit/middleware-log-errors": "^4.2.5", @@ -67,7 +67,8 @@ "unzipper": "^0.10.11" }, "engines": { - "node": "18.x" + "node": "22.x", + "npm": "10.x" } }, "node_modules/@actions/exec": { diff --git a/package.json b/package.json index 1d6c2ba6..3a97bea3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ft-next-syndication-api", "description": "Next Syndication API", - "version": "2.0.9", + "version": "3.0.0", "private": true, "dependencies": { "@dotcom-reliability-kit/crash-handler": "^4.1.11", @@ -104,7 +104,8 @@ ] }, "engines": { - "node": "18.x" + "node": "22.x", + "npm": "10.x" }, "scripts": { "commit": "commit-wizard", @@ -127,6 +128,6 @@ } }, "volta": { - "node": "18.17.0" + "node": "22.12.0" } }