From d61f121bd36df73b19f9d43cf8f68f9b7c24379d Mon Sep 17 00:00:00 2001 From: Dario Fazio Date: Tue, 13 May 2025 14:59:54 +0200 Subject: [PATCH 01/13] build(*): update Node to lts/jod --- .nvmrc | 2 +- README.md | 4 ++-- package-lock.json | 22 ++++++++++++---------- package.json | 4 ++-- packages/branch-utilities/jest.config.js | 8 ++++++-- packages/logger/jest.config.js | 2 +- packages/publish-helper/jest.config.js | 8 ++++++-- packages/utilities/jest.config.js | 8 ++++++-- 8 files changed, 36 insertions(+), 22 deletions(-) diff --git a/.nvmrc b/.nvmrc index ee09fac..deed13c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.11.1 +lts/jod diff --git a/README.md b/README.md index 47cd71b..0e97930 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,8 @@ We use lerna to manage the packages. ## ES Version We support two runtimes: `node` and `latest browser versions`. -### Node 20 -Node 20 (which is also supported by AWS Lambda) supports [97%](https://node.green/#ES2022) of `es2022` features +### Node 22 +Node 22 (which is also supported by AWS Lambda) supports [97%](https://node.green/#ES2022) of `es2022` features (no version supports 100%) and [100%](https://node.green/#ES2023) of `es2023` features. The only `es2022` feature that is currently not supported and needs a polyfill when using it is [RegExp Match Indices (shows up in flags)](https://node.green/#ES2022-features-RegExp-Match-Indices---hasIndices-----d--flag-) (see [2ality blog](https://2ality.com/2019/12/regexp-match-indices.html) for insights). diff --git a/package-lock.json b/package-lock.json index 03177d2..ac96bd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "@commitlint/config-angular": "^19.3.0", "@commitlint/prompt-cli": "^19.3.1", "@types/jest": "^29.5.12", - "@types/node": "^20.11.1", + "@types/node": "^22.15.0", "eslint": "^8.56.0", "husky": "^9.0.11", "jest": "^29.7.0", @@ -29,7 +29,7 @@ "typescript": "^5.5.3" }, "engines": { - "node": ">=20.11.1" + "node": ">=22.15.0" } }, "node_modules/@ampproject/remapping": { @@ -3075,12 +3075,13 @@ "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==" }, "node_modules/@types/node": { - "version": "20.17.46", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.46.tgz", - "integrity": "sha512-0PQHLhZPWOxGW4auogW0eOQAuNIlCYvibIpG67ja0TOJ6/sehu+1en7sfceUn+QQtx4Rk3GxbLNwPh0Cav7TWw==", + "version": "22.15.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.17.tgz", + "integrity": "sha512-wIX2aSZL5FE+MR0JlvF87BNVrtFWf6AE6rxSE9X7OwnVvoyCQjpzSRJ+M87se/4QCkCiebQAqrJ0y6fwIyi7nw==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.21.0" } }, "node_modules/@types/normalize-package-data": { @@ -14298,10 +14299,11 @@ } }, "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "dev": true + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" }, "node_modules/unicorn-magic": { "version": "0.1.0", diff --git a/package.json b/package.json index 02f65b8..0673878 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@commitlint/config-angular": "^19.3.0", "@commitlint/prompt-cli": "^19.3.1", "@types/jest": "^29.5.12", - "@types/node": "^20.11.1", + "@types/node": "^22.15.0", "eslint": "^8.56.0", "husky": "^9.0.11", "jest": "^29.7.0", @@ -37,6 +37,6 @@ "typescript": "^5.5.3" }, "engines": { - "node": ">=20.11.1" + "node": ">=22.15.0" } } diff --git a/packages/branch-utilities/jest.config.js b/packages/branch-utilities/jest.config.js index 78ad18a..684e4a1 100644 --- a/packages/branch-utilities/jest.config.js +++ b/packages/branch-utilities/jest.config.js @@ -1,5 +1,9 @@ -import {pathsToModuleNameMapper} from 'ts-jest' -import tsConfig from './tsconfig.jest.json' assert {type: 'json'} +/* eslint-env node,es2023 */ +/* eslint-disable import/no-extraneous-dependencies */ +import { pathsToModuleNameMapper } from 'ts-jest' +import { readFileSync } from 'node:fs' + +const tsConfig = JSON.parse(readFileSync('./tsconfig.jest.json', 'utf-8')) export default { testEnvironment: 'node', diff --git a/packages/logger/jest.config.js b/packages/logger/jest.config.js index a67eb3e..bf4a5d7 100644 --- a/packages/logger/jest.config.js +++ b/packages/logger/jest.config.js @@ -1,5 +1,5 @@ /* eslint-env node,es2023 */ -// eslint-disable-next-line import/no-extraneous-dependencies +/* eslint-disable import/no-extraneous-dependencies */ import { pathsToModuleNameMapper } from 'ts-jest' import { readFileSync } from 'node:fs' diff --git a/packages/publish-helper/jest.config.js b/packages/publish-helper/jest.config.js index 367c99f..2d5dba7 100644 --- a/packages/publish-helper/jest.config.js +++ b/packages/publish-helper/jest.config.js @@ -1,5 +1,9 @@ -import {pathsToModuleNameMapper} from 'ts-jest' -import tsConfig from './tsconfig.jest.json' assert {type: 'json'} +/* eslint-env node,es2023 */ +/* eslint-disable import/no-extraneous-dependencies */ +import { pathsToModuleNameMapper } from 'ts-jest' +import { readFileSync } from 'node:fs' + +const tsConfig = JSON.parse(readFileSync('./tsconfig.jest.json', 'utf-8')) export default { testEnvironment: 'node', diff --git a/packages/utilities/jest.config.js b/packages/utilities/jest.config.js index ac2a165..ffa6f9c 100644 --- a/packages/utilities/jest.config.js +++ b/packages/utilities/jest.config.js @@ -1,5 +1,9 @@ -import {pathsToModuleNameMapper} from 'ts-jest' -import tsConfig from './tsconfig.jest.json' assert {type: 'json'} +/* eslint-env node,es2023 */ +/* eslint-disable import/no-extraneous-dependencies */ +import { pathsToModuleNameMapper } from 'ts-jest' +import { readFileSync } from 'node:fs' + +const tsConfig = JSON.parse(readFileSync('./tsconfig.jest.json', 'utf-8')) export default { testEnvironment: 'node', From def2b0ebe1bc0f25fd9719e993657bcc148ed520 Mon Sep 17 00:00:00 2001 From: Dario Fazio Date: Tue, 13 May 2025 15:08:45 +0200 Subject: [PATCH 02/13] fix(logger): add @shiftcode/utilities as devDependency --- package-lock.json | 5 ++++- packages/logger/package.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index ac96bd2..d3fb6cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14910,8 +14910,11 @@ "name": "@shiftcode/logger", "version": "1.1.0", "license": "UNLICENSED", + "devDependencies": { + "@shiftcode/utilities": "^3.0.0" + }, "peerDependencies": { - "@shiftcode/utilities": "^3.0.0 || ^3.0.0-pr28.3" + "@shiftcode/utilities": "^3.0.0" } }, "packages/publish-helper": { diff --git a/packages/logger/package.json b/packages/logger/package.json index b856342..5463ea3 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -34,8 +34,11 @@ "test:ci": "npm run test", "test:watch": "npm run test -- --watch" }, + "devDependencies": { + "@shiftcode/utilities": "^3.0.0" + }, "peerDependencies": { - "@shiftcode/utilities": "^3.0.0 || ^3.0.0-pr28.3" + "@shiftcode/utilities": "^3.0.0" }, "publishConfig": { "directory": "dist" From a481ebd8fa98afdba2cbad014e61bd456a38b902 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Tue, 13 May 2025 13:10:37 +0000 Subject: [PATCH 03/13] build(release): next version [skip_build] - @shiftcode/branch-utilities@3.1.1-pr45.0 - @shiftcode/logger@1.1.1-pr45.0 - @shiftcode/publish-helper@3.0.2-pr45.0 - @shiftcode/utilities@3.0.1-pr45.0 --- package-lock.json | 12 ++++++------ packages/branch-utilities/package.json | 2 +- packages/logger/package.json | 4 ++-- packages/publish-helper/package.json | 4 ++-- packages/utilities/package.json | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index d3fb6cb..accfcf7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14846,7 +14846,7 @@ }, "packages/branch-utilities": { "name": "@shiftcode/branch-utilities", - "version": "3.1.0", + "version": "3.1.1-pr45.0", "license": "MIT", "peerDependencies": { "tslib": "^2.3.0" @@ -14908,10 +14908,10 @@ }, "packages/logger": { "name": "@shiftcode/logger", - "version": "1.1.0", + "version": "1.1.1-pr45.0", "license": "UNLICENSED", "devDependencies": { - "@shiftcode/utilities": "^3.0.0" + "@shiftcode/utilities": "^3.0.1-pr45.0" }, "peerDependencies": { "@shiftcode/utilities": "^3.0.0" @@ -14919,7 +14919,7 @@ }, "packages/publish-helper": { "name": "@shiftcode/publish-helper", - "version": "3.0.1", + "version": "3.0.2-pr45.0", "license": "MIT", "dependencies": { "conventional-changelog-angular": "^5.0.13", @@ -14930,7 +14930,7 @@ "publish-lib": "dist/publish-lib.js" }, "devDependencies": { - "@shiftcode/branch-utilities": "^3.1.0", + "@shiftcode/branch-utilities": "^3.1.1-pr45.0", "@types/yargs": "^17.0.32" }, "peerDependencies": { @@ -14953,7 +14953,7 @@ }, "packages/utilities": { "name": "@shiftcode/utilities", - "version": "3.0.0", + "version": "3.0.1-pr45.0", "license": "MIT", "peerDependencies": { "tslib": "^2.3.0" diff --git a/packages/branch-utilities/package.json b/packages/branch-utilities/package.json index a19c9b4..903a20c 100644 --- a/packages/branch-utilities/package.json +++ b/packages/branch-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/branch-utilities", - "version": "3.1.0", + "version": "3.1.1-pr45.0", "description": "Utilities for local and ci to get branch name and stage", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", diff --git a/packages/logger/package.json b/packages/logger/package.json index 5463ea3..fec4812 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/logger", - "version": "1.1.0", + "version": "1.1.1-pr45.0", "description": "logger for local and aws lambda execution", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -35,7 +35,7 @@ "test:watch": "npm run test -- --watch" }, "devDependencies": { - "@shiftcode/utilities": "^3.0.0" + "@shiftcode/utilities": "^3.0.1-pr45.0" }, "peerDependencies": { "@shiftcode/utilities": "^3.0.0" diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index 8cb215a..4f60341 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/publish-helper", - "version": "3.0.1", + "version": "3.0.2-pr45.0", "description": "scripts for conventional (pre)releases", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", @@ -30,7 +30,7 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@shiftcode/branch-utilities": "^3.1.0", + "@shiftcode/branch-utilities": "^3.1.1-pr45.0", "@types/yargs": "^17.0.32" }, "peerDependencies": { diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 778c4d0..02d2962 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/utilities", - "version": "3.0.0", + "version": "3.0.1-pr45.0", "description": "Contains some utilities", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", From 1922d9fb346a4c6bbf2e944127ab63992942c1d4 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Wed, 14 May 2025 06:58:32 +0000 Subject: [PATCH 04/13] build(release): next version [skip_build] - @shiftcode/branch-utilities@3.1.1-pr45.1 - @shiftcode/logger@1.1.1-pr45.1 - @shiftcode/publish-helper@3.0.2-pr45.1 - @shiftcode/utilities@3.0.1-pr45.1 --- package-lock.json | 12 ++++++------ packages/branch-utilities/package.json | 2 +- packages/logger/package.json | 4 ++-- packages/publish-helper/package.json | 4 ++-- packages/utilities/package.json | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index d057d62..67be0a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14836,7 +14836,7 @@ }, "packages/branch-utilities": { "name": "@shiftcode/branch-utilities", - "version": "3.1.1-pr45.0", + "version": "3.1.1-pr45.1", "license": "MIT", "peerDependencies": { "tslib": "^2.3.0" @@ -14898,10 +14898,10 @@ }, "packages/logger": { "name": "@shiftcode/logger", - "version": "1.1.1-pr45.0", + "version": "1.1.1-pr45.1", "license": "UNLICENSED", "devDependencies": { - "@shiftcode/utilities": "^3.0.1-pr45.0" + "@shiftcode/utilities": "^3.0.1-pr45.1" }, "peerDependencies": { "@shiftcode/utilities": "^3.0.0" @@ -14909,7 +14909,7 @@ }, "packages/publish-helper": { "name": "@shiftcode/publish-helper", - "version": "3.0.2-pr45.0", + "version": "3.0.2-pr45.1", "license": "MIT", "dependencies": { "conventional-changelog-angular": "^8.0.0", @@ -14920,7 +14920,7 @@ "publish-lib": "dist/publish-lib.js" }, "devDependencies": { - "@shiftcode/branch-utilities": "^3.1.1-pr45.0", + "@shiftcode/branch-utilities": "^3.1.1-pr45.1", "@types/yargs": "^17.0.32" }, "peerDependencies": { @@ -14942,7 +14942,7 @@ }, "packages/utilities": { "name": "@shiftcode/utilities", - "version": "3.0.1-pr45.0", + "version": "3.0.1-pr45.1", "license": "MIT", "peerDependencies": { "tslib": "^2.3.0" diff --git a/packages/branch-utilities/package.json b/packages/branch-utilities/package.json index 903a20c..914a89b 100644 --- a/packages/branch-utilities/package.json +++ b/packages/branch-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/branch-utilities", - "version": "3.1.1-pr45.0", + "version": "3.1.1-pr45.1", "description": "Utilities for local and ci to get branch name and stage", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", diff --git a/packages/logger/package.json b/packages/logger/package.json index fec4812..258f1d5 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/logger", - "version": "1.1.1-pr45.0", + "version": "1.1.1-pr45.1", "description": "logger for local and aws lambda execution", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -35,7 +35,7 @@ "test:watch": "npm run test -- --watch" }, "devDependencies": { - "@shiftcode/utilities": "^3.0.1-pr45.0" + "@shiftcode/utilities": "^3.0.1-pr45.1" }, "peerDependencies": { "@shiftcode/utilities": "^3.0.0" diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index 78e5843..0becbf1 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/publish-helper", - "version": "3.0.2-pr45.0", + "version": "3.0.2-pr45.1", "description": "scripts for conventional (pre)releases", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", @@ -30,7 +30,7 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@shiftcode/branch-utilities": "^3.1.1-pr45.0", + "@shiftcode/branch-utilities": "^3.1.1-pr45.1", "@types/yargs": "^17.0.32" }, "peerDependencies": { diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 02d2962..29332d6 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/utilities", - "version": "3.0.1-pr45.0", + "version": "3.0.1-pr45.1", "description": "Contains some utilities", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", From 6341d540d257e4ff2083652e753cc1a2e0878c38 Mon Sep 17 00:00:00 2001 From: Michael Wittwer Date: Wed, 14 May 2025 09:32:26 +0200 Subject: [PATCH 05/13] build(publish-helper): update the base version to match the latest stable release --- package-lock.json | 2 +- packages/publish-helper/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 67be0a6..7e8d577 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14909,7 +14909,7 @@ }, "packages/publish-helper": { "name": "@shiftcode/publish-helper", - "version": "3.0.2-pr45.1", + "version": "3.1.0-pr45.1", "license": "MIT", "dependencies": { "conventional-changelog-angular": "^8.0.0", diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index 0becbf1..8961dba 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/publish-helper", - "version": "3.0.2-pr45.1", + "version": "3.1.0-pr45.1", "description": "scripts for conventional (pre)releases", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", From 2812fe59e64dd97c2d8e81c2ca30aea720dc3aa9 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Wed, 14 May 2025 07:34:21 +0000 Subject: [PATCH 06/13] build(release): next version [skip_build] - @shiftcode/branch-utilities@3.1.1-pr45.2 - @shiftcode/logger@1.1.1-pr45.2 - @shiftcode/publish-helper@3.1.0-pr45.2 - @shiftcode/utilities@3.0.1-pr45.2 --- package-lock.json | 12 ++++++------ packages/branch-utilities/package.json | 2 +- packages/logger/package.json | 4 ++-- packages/publish-helper/package.json | 4 ++-- packages/utilities/package.json | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e8d577..3f8dc7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14836,7 +14836,7 @@ }, "packages/branch-utilities": { "name": "@shiftcode/branch-utilities", - "version": "3.1.1-pr45.1", + "version": "3.1.1-pr45.2", "license": "MIT", "peerDependencies": { "tslib": "^2.3.0" @@ -14898,10 +14898,10 @@ }, "packages/logger": { "name": "@shiftcode/logger", - "version": "1.1.1-pr45.1", + "version": "1.1.1-pr45.2", "license": "UNLICENSED", "devDependencies": { - "@shiftcode/utilities": "^3.0.1-pr45.1" + "@shiftcode/utilities": "^3.0.1-pr45.2" }, "peerDependencies": { "@shiftcode/utilities": "^3.0.0" @@ -14909,7 +14909,7 @@ }, "packages/publish-helper": { "name": "@shiftcode/publish-helper", - "version": "3.1.0-pr45.1", + "version": "3.1.0-pr45.2", "license": "MIT", "dependencies": { "conventional-changelog-angular": "^8.0.0", @@ -14920,7 +14920,7 @@ "publish-lib": "dist/publish-lib.js" }, "devDependencies": { - "@shiftcode/branch-utilities": "^3.1.1-pr45.1", + "@shiftcode/branch-utilities": "^3.1.1-pr45.2", "@types/yargs": "^17.0.32" }, "peerDependencies": { @@ -14942,7 +14942,7 @@ }, "packages/utilities": { "name": "@shiftcode/utilities", - "version": "3.0.1-pr45.1", + "version": "3.0.1-pr45.2", "license": "MIT", "peerDependencies": { "tslib": "^2.3.0" diff --git a/packages/branch-utilities/package.json b/packages/branch-utilities/package.json index 914a89b..22074ae 100644 --- a/packages/branch-utilities/package.json +++ b/packages/branch-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/branch-utilities", - "version": "3.1.1-pr45.1", + "version": "3.1.1-pr45.2", "description": "Utilities for local and ci to get branch name and stage", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", diff --git a/packages/logger/package.json b/packages/logger/package.json index 258f1d5..814eab5 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/logger", - "version": "1.1.1-pr45.1", + "version": "1.1.1-pr45.2", "description": "logger for local and aws lambda execution", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -35,7 +35,7 @@ "test:watch": "npm run test -- --watch" }, "devDependencies": { - "@shiftcode/utilities": "^3.0.1-pr45.1" + "@shiftcode/utilities": "^3.0.1-pr45.2" }, "peerDependencies": { "@shiftcode/utilities": "^3.0.0" diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index 8961dba..0612904 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/publish-helper", - "version": "3.1.0-pr45.1", + "version": "3.1.0-pr45.2", "description": "scripts for conventional (pre)releases", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", @@ -30,7 +30,7 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@shiftcode/branch-utilities": "^3.1.1-pr45.1", + "@shiftcode/branch-utilities": "^3.1.1-pr45.2", "@types/yargs": "^17.0.32" }, "peerDependencies": { diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 29332d6..2896b4a 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/utilities", - "version": "3.0.1-pr45.1", + "version": "3.0.1-pr45.2", "description": "Contains some utilities", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", From 78e01d0be016e22584a17e7c021cc1b4408c4d1f Mon Sep 17 00:00:00 2001 From: Dario Fazio Date: Wed, 14 May 2025 11:14:09 +0200 Subject: [PATCH 07/13] feat(package): specify node version in the individual packages BREAKING CHANGE: Requires Node 20 or >=22 --- package-lock.json | 18 ++++++++++++++++++ packages/branch-utilities/package.json | 3 +++ .../eslint-config-recommended/package.json | 3 +++ packages/eslint-plugin-rules/package.json | 3 +++ packages/logger/package.json | 3 +++ packages/publish-helper/package.json | 3 +++ packages/utilities/package.json | 3 +++ 7 files changed, 36 insertions(+) diff --git a/package-lock.json b/package-lock.json index 3f8dc7a..6c4e9a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14838,6 +14838,9 @@ "name": "@shiftcode/branch-utilities", "version": "3.1.1-pr45.2", "license": "MIT", + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "peerDependencies": { "tslib": "^2.3.0" } @@ -14855,6 +14858,9 @@ "eslint-plugin-import": "^2.31.0", "eslint-plugin-unused-imports": "^4.1.4" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "peerDependencies": { "@angular-eslint/builder": "^19.0.0", "@angular-eslint/eslint-plugin": "^19.0.0", @@ -14892,6 +14898,9 @@ "@typescript-eslint/parser": "^8.18.0", "@typescript-eslint/rule-tester": "^8.18.0" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "peerDependencies": { "eslint": "^8.56.0" } @@ -14903,6 +14912,9 @@ "devDependencies": { "@shiftcode/utilities": "^3.0.1-pr45.2" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "peerDependencies": { "@shiftcode/utilities": "^3.0.0" } @@ -14923,6 +14935,9 @@ "@shiftcode/branch-utilities": "^3.1.1-pr45.2", "@types/yargs": "^17.0.32" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "peerDependencies": { "@shiftcode/branch-utilities": "^3.0.0 || ^3.0.0-pr28", "lerna": "^8.1.6", @@ -14944,6 +14959,9 @@ "name": "@shiftcode/utilities", "version": "3.0.1-pr45.2", "license": "MIT", + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "peerDependencies": { "tslib": "^2.3.0" } diff --git a/packages/branch-utilities/package.json b/packages/branch-utilities/package.json index 22074ae..aebff73 100644 --- a/packages/branch-utilities/package.json +++ b/packages/branch-utilities/package.json @@ -31,6 +31,9 @@ "peerDependencies": { "tslib": "^2.3.0" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "publishConfig": { "directory": "dist" } diff --git a/packages/eslint-config-recommended/package.json b/packages/eslint-config-recommended/package.json index 442f707..a42a8af 100644 --- a/packages/eslint-config-recommended/package.json +++ b/packages/eslint-config-recommended/package.json @@ -68,6 +68,9 @@ "optional": true } }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "publishConfig": { "directory": "dist" } diff --git a/packages/eslint-plugin-rules/package.json b/packages/eslint-plugin-rules/package.json index 76e2b49..6ea012d 100644 --- a/packages/eslint-plugin-rules/package.json +++ b/packages/eslint-plugin-rules/package.json @@ -36,6 +36,9 @@ "peerDependencies": { "eslint": "^8.56.0" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "publishConfig": { "directory": "dist" } diff --git a/packages/logger/package.json b/packages/logger/package.json index 814eab5..16fddb1 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -40,6 +40,9 @@ "peerDependencies": { "@shiftcode/utilities": "^3.0.0" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "publishConfig": { "directory": "dist" } diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index 0612904..fd93637 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -38,6 +38,9 @@ "lerna": "^8.1.6", "tslib": "^2.3.0" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "publishConfig": { "directory": "dist" } diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 2896b4a..f8e3b2c 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -31,6 +31,9 @@ "peerDependencies": { "tslib": "^2.3.0" }, + "engines": { + "node": "^20.0.0 || >=22.0.0" + }, "publishConfig": { "directory": "dist" } From 3468dd96409db34ce825b08b99dce57cced32599 Mon Sep 17 00:00:00 2001 From: Dario Fazio Date: Wed, 14 May 2025 11:14:41 +0200 Subject: [PATCH 08/13] feat(workflow): add testing step for Node.js versions 20 and 22 --- .github/workflows/main.yml | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2fdba8..fbb0458 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,11 +34,44 @@ jobs: with: skipOnCommitMsg: "[skip_build]" githubToken: ${{ secrets.GITHUB_TOKEN }} - build: + test: runs-on: ubuntu-latest needs: checkExecution # only execute if not skipped by commit message if: needs.checkExecution.outputs.shouldExecute == 'true' + strategy: + matrix: + # Test with Node.js v20 and v22 + node: + - 20 + - 22 + name: Node.js v${{ matrix.node }} + steps: + # checkout branch + - name: Checkout + uses: actions/checkout@v4 + with: + # 0 indicates all history, because publish requires tag information + fetch-depth: 0 + # we need privileged access to publish to protected branch + token: ${{ secrets.GH_TOKEN_PUBLIC_REPO }} + # setup node and dependency cache + - name: Setup Node and NPM Cache + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: 'npm' + # install dependencies + - name: Install + run: HUSKY=0 npm ci + # test + - name: Test + run: npm run test:ci + build: + runs-on: ubuntu-latest + needs: [checkExecution, test] + # only execute if not skipped by commit message + if: needs.checkExecution.outputs.shouldExecute == 'true' steps: # checkout branch - name: Checkout @@ -63,9 +96,6 @@ jobs: # lint - name: Lint run: npm run lint:ci - # test - - name: Test - run: npm run test:ci # build - name: Build run: npm run build:ci From 9602d98c81ecc9abb04d157e6d70336804ad6204 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Wed, 14 May 2025 10:57:53 +0000 Subject: [PATCH 09/13] build(release): next version [skip_build] - @shiftcode/branch-utilities@4.0.0-pr45.0 - @shiftcode/eslint-config-recommended@4.0.0-pr45.0 - @shiftcode/eslint-plugin-rules@4.0.0-pr45.0 - @shiftcode/logger@2.0.0-pr45.0 - @shiftcode/publish-helper@4.0.0-pr45.0 - @shiftcode/utilities@4.0.0-pr45.0 --- package-lock.json | 18 +++++++++--------- packages/branch-utilities/package.json | 2 +- .../eslint-config-recommended/package.json | 4 ++-- packages/eslint-plugin-rules/package.json | 2 +- packages/logger/package.json | 4 ++-- packages/publish-helper/package.json | 4 ++-- packages/utilities/package.json | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6c4e9a0..35d462c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14836,7 +14836,7 @@ }, "packages/branch-utilities": { "name": "@shiftcode/branch-utilities", - "version": "3.1.1-pr45.2", + "version": "4.0.0-pr45.0", "license": "MIT", "engines": { "node": "^20.0.0 || >=22.0.0" @@ -14847,10 +14847,10 @@ }, "packages/eslint-config-recommended": { "name": "@shiftcode/eslint-config-recommended", - "version": "3.0.0", + "version": "4.0.0-pr45.0", "license": "UNLICENSED", "dependencies": { - "@shiftcode/eslint-plugin-rules": "^3.0.0", + "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.0", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "eslint": "^8.56.0", @@ -14888,7 +14888,7 @@ }, "packages/eslint-plugin-rules": { "name": "@shiftcode/eslint-plugin-rules", - "version": "3.0.0", + "version": "4.0.0-pr45.0", "license": "UNLICENSED", "dependencies": { "@eslint/eslintrc": "^2.1.4", @@ -14907,10 +14907,10 @@ }, "packages/logger": { "name": "@shiftcode/logger", - "version": "1.1.1-pr45.2", + "version": "2.0.0-pr45.0", "license": "UNLICENSED", "devDependencies": { - "@shiftcode/utilities": "^3.0.1-pr45.2" + "@shiftcode/utilities": "^4.0.0-pr45.0" }, "engines": { "node": "^20.0.0 || >=22.0.0" @@ -14921,7 +14921,7 @@ }, "packages/publish-helper": { "name": "@shiftcode/publish-helper", - "version": "3.1.0-pr45.2", + "version": "4.0.0-pr45.0", "license": "MIT", "dependencies": { "conventional-changelog-angular": "^8.0.0", @@ -14932,7 +14932,7 @@ "publish-lib": "dist/publish-lib.js" }, "devDependencies": { - "@shiftcode/branch-utilities": "^3.1.1-pr45.2", + "@shiftcode/branch-utilities": "^4.0.0-pr45.0", "@types/yargs": "^17.0.32" }, "engines": { @@ -14957,7 +14957,7 @@ }, "packages/utilities": { "name": "@shiftcode/utilities", - "version": "3.0.1-pr45.2", + "version": "4.0.0-pr45.0", "license": "MIT", "engines": { "node": "^20.0.0 || >=22.0.0" diff --git a/packages/branch-utilities/package.json b/packages/branch-utilities/package.json index aebff73..767ee89 100644 --- a/packages/branch-utilities/package.json +++ b/packages/branch-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/branch-utilities", - "version": "3.1.1-pr45.2", + "version": "4.0.0-pr45.0", "description": "Utilities for local and ci to get branch name and stage", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", diff --git a/packages/eslint-config-recommended/package.json b/packages/eslint-config-recommended/package.json index a42a8af..cbee874 100644 --- a/packages/eslint-config-recommended/package.json +++ b/packages/eslint-config-recommended/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/eslint-config-recommended", - "version": "3.0.0", + "version": "4.0.0-pr45.0", "description": "default shiftcode config for eslint", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -36,7 +36,7 @@ "test:ci": "npm run test" }, "dependencies": { - "@shiftcode/eslint-plugin-rules": "^3.0.0", + "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.0", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "eslint": "^8.56.0", diff --git a/packages/eslint-plugin-rules/package.json b/packages/eslint-plugin-rules/package.json index 6ea012d..7337585 100644 --- a/packages/eslint-plugin-rules/package.json +++ b/packages/eslint-plugin-rules/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/eslint-plugin-rules", - "version": "3.0.0", + "version": "4.0.0-pr45.0", "description": "eslint-rules for shiftcode-specific eslint rules", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", diff --git a/packages/logger/package.json b/packages/logger/package.json index 16fddb1..e500c28 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/logger", - "version": "1.1.1-pr45.2", + "version": "2.0.0-pr45.0", "description": "logger for local and aws lambda execution", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -35,7 +35,7 @@ "test:watch": "npm run test -- --watch" }, "devDependencies": { - "@shiftcode/utilities": "^3.0.1-pr45.2" + "@shiftcode/utilities": "^4.0.0-pr45.0" }, "peerDependencies": { "@shiftcode/utilities": "^3.0.0" diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index fd93637..fba1445 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/publish-helper", - "version": "3.1.0-pr45.2", + "version": "4.0.0-pr45.0", "description": "scripts for conventional (pre)releases", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", @@ -30,7 +30,7 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@shiftcode/branch-utilities": "^3.1.1-pr45.2", + "@shiftcode/branch-utilities": "^4.0.0-pr45.0", "@types/yargs": "^17.0.32" }, "peerDependencies": { diff --git a/packages/utilities/package.json b/packages/utilities/package.json index f8e3b2c..53302bd 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/utilities", - "version": "3.0.1-pr45.2", + "version": "4.0.0-pr45.0", "description": "Contains some utilities", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", From 99a7f07d4fe36742e4fd63c32f62539684483696 Mon Sep 17 00:00:00 2001 From: Dario Fazio Date: Wed, 14 May 2025 13:03:57 +0200 Subject: [PATCH 10/13] build(deps): update peerDependencies of internal packages --- package-lock.json | 4 ++-- packages/logger/package.json | 2 +- packages/publish-helper/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 35d462c..3d4f92d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14916,7 +14916,7 @@ "node": "^20.0.0 || >=22.0.0" }, "peerDependencies": { - "@shiftcode/utilities": "^3.0.0" + "@shiftcode/utilities": "^4.0.0 || ^4.0.0-pr45" } }, "packages/publish-helper": { @@ -14939,7 +14939,7 @@ "node": "^20.0.0 || >=22.0.0" }, "peerDependencies": { - "@shiftcode/branch-utilities": "^3.0.0 || ^3.0.0-pr28", + "@shiftcode/branch-utilities": "^4.0.0 || ^4.0.0-pr45", "lerna": "^8.1.6", "tslib": "^2.3.0" } diff --git a/packages/logger/package.json b/packages/logger/package.json index e500c28..25c0460 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -38,7 +38,7 @@ "@shiftcode/utilities": "^4.0.0-pr45.0" }, "peerDependencies": { - "@shiftcode/utilities": "^3.0.0" + "@shiftcode/utilities": "^4.0.0 || ^4.0.0-pr45" }, "engines": { "node": "^20.0.0 || >=22.0.0" diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index fba1445..c34b9dd 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -34,7 +34,7 @@ "@types/yargs": "^17.0.32" }, "peerDependencies": { - "@shiftcode/branch-utilities": "^3.0.0 || ^3.0.0-pr28", + "@shiftcode/branch-utilities": "^4.0.0 || ^4.0.0-pr45", "lerna": "^8.1.6", "tslib": "^2.3.0" }, From 75a351d4cba201d8f20e6caf60175fd21decdcb5 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Wed, 14 May 2025 11:06:15 +0000 Subject: [PATCH 11/13] build(release): next version [skip_build] - @shiftcode/branch-utilities@4.0.0-pr45.1 - @shiftcode/eslint-config-recommended@4.0.0-pr45.1 - @shiftcode/eslint-plugin-rules@4.0.0-pr45.1 - @shiftcode/logger@2.0.0-pr45.1 - @shiftcode/publish-helper@4.0.0-pr45.1 - @shiftcode/utilities@4.0.0-pr45.1 --- package-lock.json | 18 +++++++++--------- packages/branch-utilities/package.json | 2 +- .../eslint-config-recommended/package.json | 4 ++-- packages/eslint-plugin-rules/package.json | 2 +- packages/logger/package.json | 4 ++-- packages/publish-helper/package.json | 4 ++-- packages/utilities/package.json | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3d4f92d..84a3ff0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14836,7 +14836,7 @@ }, "packages/branch-utilities": { "name": "@shiftcode/branch-utilities", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "license": "MIT", "engines": { "node": "^20.0.0 || >=22.0.0" @@ -14847,10 +14847,10 @@ }, "packages/eslint-config-recommended": { "name": "@shiftcode/eslint-config-recommended", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "license": "UNLICENSED", "dependencies": { - "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.0", + "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.1", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "eslint": "^8.56.0", @@ -14888,7 +14888,7 @@ }, "packages/eslint-plugin-rules": { "name": "@shiftcode/eslint-plugin-rules", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "license": "UNLICENSED", "dependencies": { "@eslint/eslintrc": "^2.1.4", @@ -14907,10 +14907,10 @@ }, "packages/logger": { "name": "@shiftcode/logger", - "version": "2.0.0-pr45.0", + "version": "2.0.0-pr45.1", "license": "UNLICENSED", "devDependencies": { - "@shiftcode/utilities": "^4.0.0-pr45.0" + "@shiftcode/utilities": "^4.0.0-pr45.1" }, "engines": { "node": "^20.0.0 || >=22.0.0" @@ -14921,7 +14921,7 @@ }, "packages/publish-helper": { "name": "@shiftcode/publish-helper", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "license": "MIT", "dependencies": { "conventional-changelog-angular": "^8.0.0", @@ -14932,7 +14932,7 @@ "publish-lib": "dist/publish-lib.js" }, "devDependencies": { - "@shiftcode/branch-utilities": "^4.0.0-pr45.0", + "@shiftcode/branch-utilities": "^4.0.0-pr45.1", "@types/yargs": "^17.0.32" }, "engines": { @@ -14957,7 +14957,7 @@ }, "packages/utilities": { "name": "@shiftcode/utilities", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "license": "MIT", "engines": { "node": "^20.0.0 || >=22.0.0" diff --git a/packages/branch-utilities/package.json b/packages/branch-utilities/package.json index 767ee89..072b54a 100644 --- a/packages/branch-utilities/package.json +++ b/packages/branch-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/branch-utilities", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "description": "Utilities for local and ci to get branch name and stage", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", diff --git a/packages/eslint-config-recommended/package.json b/packages/eslint-config-recommended/package.json index cbee874..f691471 100644 --- a/packages/eslint-config-recommended/package.json +++ b/packages/eslint-config-recommended/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/eslint-config-recommended", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "description": "default shiftcode config for eslint", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -36,7 +36,7 @@ "test:ci": "npm run test" }, "dependencies": { - "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.0", + "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.1", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "eslint": "^8.56.0", diff --git a/packages/eslint-plugin-rules/package.json b/packages/eslint-plugin-rules/package.json index 7337585..8bef79d 100644 --- a/packages/eslint-plugin-rules/package.json +++ b/packages/eslint-plugin-rules/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/eslint-plugin-rules", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "description": "eslint-rules for shiftcode-specific eslint rules", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", diff --git a/packages/logger/package.json b/packages/logger/package.json index 25c0460..ad10b6d 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/logger", - "version": "2.0.0-pr45.0", + "version": "2.0.0-pr45.1", "description": "logger for local and aws lambda execution", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -35,7 +35,7 @@ "test:watch": "npm run test -- --watch" }, "devDependencies": { - "@shiftcode/utilities": "^4.0.0-pr45.0" + "@shiftcode/utilities": "^4.0.0-pr45.1" }, "peerDependencies": { "@shiftcode/utilities": "^4.0.0 || ^4.0.0-pr45" diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index c34b9dd..a24c0e3 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/publish-helper", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "description": "scripts for conventional (pre)releases", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", @@ -30,7 +30,7 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@shiftcode/branch-utilities": "^4.0.0-pr45.0", + "@shiftcode/branch-utilities": "^4.0.0-pr45.1", "@types/yargs": "^17.0.32" }, "peerDependencies": { diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 53302bd..44bbe93 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/utilities", - "version": "4.0.0-pr45.0", + "version": "4.0.0-pr45.1", "description": "Contains some utilities", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", From 55bad8b1bd166a25c4d9b8aa0cfda269e83ebfbf Mon Sep 17 00:00:00 2001 From: Dario Fazio Date: Thu, 15 May 2025 11:18:53 +0200 Subject: [PATCH 12/13] build(package): update node engine version constraints --- package-lock.json | 14 +++++++------- package.json | 2 +- packages/branch-utilities/package.json | 2 +- packages/eslint-config-recommended/package.json | 2 +- packages/eslint-plugin-rules/package.json | 2 +- packages/logger/package.json | 2 +- packages/publish-helper/package.json | 2 +- packages/utilities/package.json | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 84a3ff0..4e845db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "typescript": "^5.5.3" }, "engines": { - "node": ">=22.15.0" + "node": "^22.15.0" } }, "node_modules/@ampproject/remapping": { @@ -14839,7 +14839,7 @@ "version": "4.0.0-pr45.1", "license": "MIT", "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "peerDependencies": { "tslib": "^2.3.0" @@ -14859,7 +14859,7 @@ "eslint-plugin-unused-imports": "^4.1.4" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "peerDependencies": { "@angular-eslint/builder": "^19.0.0", @@ -14899,7 +14899,7 @@ "@typescript-eslint/rule-tester": "^8.18.0" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "peerDependencies": { "eslint": "^8.56.0" @@ -14913,7 +14913,7 @@ "@shiftcode/utilities": "^4.0.0-pr45.1" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "peerDependencies": { "@shiftcode/utilities": "^4.0.0 || ^4.0.0-pr45" @@ -14936,7 +14936,7 @@ "@types/yargs": "^17.0.32" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "peerDependencies": { "@shiftcode/branch-utilities": "^4.0.0 || ^4.0.0-pr45", @@ -14960,7 +14960,7 @@ "version": "4.0.0-pr45.1", "license": "MIT", "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "peerDependencies": { "tslib": "^2.3.0" diff --git a/package.json b/package.json index 0673878..17ba8b8 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,6 @@ "typescript": "^5.5.3" }, "engines": { - "node": ">=22.15.0" + "node": "^22.15.0" } } diff --git a/packages/branch-utilities/package.json b/packages/branch-utilities/package.json index 072b54a..667cd0e 100644 --- a/packages/branch-utilities/package.json +++ b/packages/branch-utilities/package.json @@ -32,7 +32,7 @@ "tslib": "^2.3.0" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "publishConfig": { "directory": "dist" diff --git a/packages/eslint-config-recommended/package.json b/packages/eslint-config-recommended/package.json index f691471..3531b2c 100644 --- a/packages/eslint-config-recommended/package.json +++ b/packages/eslint-config-recommended/package.json @@ -69,7 +69,7 @@ } }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "publishConfig": { "directory": "dist" diff --git a/packages/eslint-plugin-rules/package.json b/packages/eslint-plugin-rules/package.json index 8bef79d..9fd265e 100644 --- a/packages/eslint-plugin-rules/package.json +++ b/packages/eslint-plugin-rules/package.json @@ -37,7 +37,7 @@ "eslint": "^8.56.0" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "publishConfig": { "directory": "dist" diff --git a/packages/logger/package.json b/packages/logger/package.json index ad10b6d..3af743b 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -41,7 +41,7 @@ "@shiftcode/utilities": "^4.0.0 || ^4.0.0-pr45" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "publishConfig": { "directory": "dist" diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index a24c0e3..613d76a 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -39,7 +39,7 @@ "tslib": "^2.3.0" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "publishConfig": { "directory": "dist" diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 44bbe93..3cf9ee1 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -32,7 +32,7 @@ "tslib": "^2.3.0" }, "engines": { - "node": "^20.0.0 || >=22.0.0" + "node": "^20.0.0 || ^22.0.0" }, "publishConfig": { "directory": "dist" From 267e7ba2964c37587ec91af7db69d5a4c34592e8 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Thu, 15 May 2025 09:21:06 +0000 Subject: [PATCH 13/13] build(release): next version [skip_build] - @shiftcode/branch-utilities@4.0.0-pr45.2 - @shiftcode/eslint-config-recommended@4.0.0-pr45.2 - @shiftcode/eslint-plugin-rules@4.0.0-pr45.2 - @shiftcode/logger@2.0.0-pr45.2 - @shiftcode/publish-helper@4.0.0-pr45.2 - @shiftcode/utilities@4.0.0-pr45.2 --- package-lock.json | 18 +++++++++--------- packages/branch-utilities/package.json | 2 +- .../eslint-config-recommended/package.json | 4 ++-- packages/eslint-plugin-rules/package.json | 2 +- packages/logger/package.json | 4 ++-- packages/publish-helper/package.json | 4 ++-- packages/utilities/package.json | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4e845db..4f548d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14836,7 +14836,7 @@ }, "packages/branch-utilities": { "name": "@shiftcode/branch-utilities", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "license": "MIT", "engines": { "node": "^20.0.0 || ^22.0.0" @@ -14847,10 +14847,10 @@ }, "packages/eslint-config-recommended": { "name": "@shiftcode/eslint-config-recommended", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "license": "UNLICENSED", "dependencies": { - "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.1", + "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.2", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "eslint": "^8.56.0", @@ -14888,7 +14888,7 @@ }, "packages/eslint-plugin-rules": { "name": "@shiftcode/eslint-plugin-rules", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "license": "UNLICENSED", "dependencies": { "@eslint/eslintrc": "^2.1.4", @@ -14907,10 +14907,10 @@ }, "packages/logger": { "name": "@shiftcode/logger", - "version": "2.0.0-pr45.1", + "version": "2.0.0-pr45.2", "license": "UNLICENSED", "devDependencies": { - "@shiftcode/utilities": "^4.0.0-pr45.1" + "@shiftcode/utilities": "^4.0.0-pr45.2" }, "engines": { "node": "^20.0.0 || ^22.0.0" @@ -14921,7 +14921,7 @@ }, "packages/publish-helper": { "name": "@shiftcode/publish-helper", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "license": "MIT", "dependencies": { "conventional-changelog-angular": "^8.0.0", @@ -14932,7 +14932,7 @@ "publish-lib": "dist/publish-lib.js" }, "devDependencies": { - "@shiftcode/branch-utilities": "^4.0.0-pr45.1", + "@shiftcode/branch-utilities": "^4.0.0-pr45.2", "@types/yargs": "^17.0.32" }, "engines": { @@ -14957,7 +14957,7 @@ }, "packages/utilities": { "name": "@shiftcode/utilities", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "license": "MIT", "engines": { "node": "^20.0.0 || ^22.0.0" diff --git a/packages/branch-utilities/package.json b/packages/branch-utilities/package.json index 667cd0e..79ffbfe 100644 --- a/packages/branch-utilities/package.json +++ b/packages/branch-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/branch-utilities", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "description": "Utilities for local and ci to get branch name and stage", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", diff --git a/packages/eslint-config-recommended/package.json b/packages/eslint-config-recommended/package.json index 3531b2c..20447c5 100644 --- a/packages/eslint-config-recommended/package.json +++ b/packages/eslint-config-recommended/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/eslint-config-recommended", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "description": "default shiftcode config for eslint", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -36,7 +36,7 @@ "test:ci": "npm run test" }, "dependencies": { - "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.1", + "@shiftcode/eslint-plugin-rules": "^4.0.0-pr45.2", "@typescript-eslint/eslint-plugin": "^8.18.0", "@typescript-eslint/parser": "^8.18.0", "eslint": "^8.56.0", diff --git a/packages/eslint-plugin-rules/package.json b/packages/eslint-plugin-rules/package.json index 9fd265e..6ec1896 100644 --- a/packages/eslint-plugin-rules/package.json +++ b/packages/eslint-plugin-rules/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/eslint-plugin-rules", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "description": "eslint-rules for shiftcode-specific eslint rules", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", diff --git a/packages/logger/package.json b/packages/logger/package.json index 3af743b..8979115 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/logger", - "version": "2.0.0-pr45.1", + "version": "2.0.0-pr45.2", "description": "logger for local and aws lambda execution", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "UNLICENSED", @@ -35,7 +35,7 @@ "test:watch": "npm run test -- --watch" }, "devDependencies": { - "@shiftcode/utilities": "^4.0.0-pr45.1" + "@shiftcode/utilities": "^4.0.0-pr45.2" }, "peerDependencies": { "@shiftcode/utilities": "^4.0.0 || ^4.0.0-pr45" diff --git a/packages/publish-helper/package.json b/packages/publish-helper/package.json index 613d76a..3b4e511 100644 --- a/packages/publish-helper/package.json +++ b/packages/publish-helper/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/publish-helper", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "description": "scripts for conventional (pre)releases", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT", @@ -30,7 +30,7 @@ "yargs": "^17.7.2" }, "devDependencies": { - "@shiftcode/branch-utilities": "^4.0.0-pr45.1", + "@shiftcode/branch-utilities": "^4.0.0-pr45.2", "@types/yargs": "^17.0.32" }, "peerDependencies": { diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 3cf9ee1..651d545 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,6 +1,6 @@ { "name": "@shiftcode/utilities", - "version": "4.0.0-pr45.1", + "version": "4.0.0-pr45.2", "description": "Contains some utilities", "repository": "https://github.com/shiftcode/sc-commons-public", "license": "MIT",