Skip to content
Closed
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.11.1
lts/jod
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
33 changes: 18 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"eslint": "^8.56.0",
"husky": "^9.0.11",
Expand All @@ -38,6 +38,6 @@
"typescript": "^5.5.3"
},
"engines": {
"node": ">=20.11.1"
"node": ">=22.15.0"
}
}
5 changes: 4 additions & 1 deletion packages/branch-utilities/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import {pathsToModuleNameMapper} from 'ts-jest'
import tsConfig from './tsconfig.jest.json' assert {type: 'json'}
import { readFileSync } from 'node:fs'

const tsConfig = JSON.parse(readFileSync('./tsconfig.jest.json', 'utf-8'))

export default {
testEnvironment: 'node',
Expand Down
2 changes: 1 addition & 1 deletion packages/branch-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/branch-utilities",
"version": "3.1.0",
"version": "3.1.1-pr999.1",
"description": "Utilities for local and ci to get branch name and stage",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down
7 changes: 5 additions & 2 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/logger",
"version": "1.1.0-pr12.0",
"version": "1.1.0-pr999.2",
"description": "logger for local and aws lambda execution",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "UNLICENSED",
Expand Down Expand Up @@ -34,8 +34,11 @@
"test:ci": "npm run test",
"test:watch": "npm run test -- --watch"
},
"devDependencies": {
"@shiftcode/utilities": "^3.0.1 || ^3.0.1-pr999.0"
},
"peerDependencies": {
"@shiftcode/utilities": "^3.0.0 || ^3.0.0-pr28.3"
"@shiftcode/utilities": "^3.0.1 || ^3.0.1-pr999.0"
},
"publishConfig": {
"directory": "dist"
Expand Down
5 changes: 4 additions & 1 deletion packages/publish-helper/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import {pathsToModuleNameMapper} from 'ts-jest'
import tsConfig from './tsconfig.jest.json' assert {type: 'json'}
import { readFileSync } from 'node:fs'

const tsConfig = JSON.parse(readFileSync('./tsconfig.jest.json', 'utf-8'))

export default {
testEnvironment: 'node',
Expand Down
4 changes: 2 additions & 2 deletions packages/publish-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/publish-helper",
"version": "3.0.1",
"version": "3.0.2-pr999.1",
"description": "scripts for conventional (pre)releases",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down Expand Up @@ -30,7 +30,7 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"@shiftcode/branch-utilities": "^3.1.0",
"@shiftcode/branch-utilities": "^3.1.1-pr999.1",
"@types/yargs": "^17.0.32"
},
"peerDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion packages/utilities/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import {pathsToModuleNameMapper} from 'ts-jest'
import tsConfig from './tsconfig.jest.json' assert {type: 'json'}
import { readFileSync } from 'node:fs'

const tsConfig = JSON.parse(readFileSync('./tsconfig.jest.json', 'utf-8'))

export default {
testEnvironment: 'node',
Expand Down
2 changes: 1 addition & 1 deletion packages/utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shiftcode/utilities",
"version": "3.0.0",
"version": "3.0.1-pr999.1",
"description": "Contains some utilities",
"repository": "https://github.com/shiftcode/sc-commons-public",
"license": "MIT",
Expand Down
Loading