Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node upgrade #2706

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
# See nx recipe: https://nx.dev/recipes/ci/monorepo-ci-github-actions
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
build-and-version-packages:
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]
env:
HUSKY: 0
NX_DISABLE_DB: true
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.12.1
22.13.1
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"engines": {
"node": "14 || ^18.12"
"node": "^18.12 || ^22.13"
},
"scripts": {
"alpha": "lerna version prerelease --allow-branch $(git branch --show-current) --preid $(git branch --show-current) --no-push --no-git-tag-version",
Expand Down Expand Up @@ -38,20 +38,20 @@
"devDependencies": {
"@peculiar/webcrypto": "^1.2.3",
"@types/aws4": "^1.11.2",
"@types/chance": "^1.1.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.16",
"@types/chance": "^1.1.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^27.0.0",
"@types/ws": "^8.5.1",
"@types/ws": "^8.5.14",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"cors": "^2.8.5",
"eslint": "^7.25.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-jest": "^25.2.2",
"eslint-plugin-lodash": "^7.3.0",
"express": "^4.18.2",
"husky": "^7.0.0",
"express": "^4.21.2",
"husky": "^7.0.4",
"jest": "^27.3.1",
"jest-browser-globals": "^25.1.0-beta",
"jest-mock": "^29.3.1",
Expand All @@ -61,19 +61,19 @@
"karma-webkit-launcher": "^2.0.0",
"karma-webpack": "^5.0.0",
"lerna": "^8.1.8",
"lint-staged": "^10.5.3",
"open": "^8.4.0",
"lint-staged": "^10.5.4",
"open": "^8.4.2",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"playwright-chromium": "^1.29.2",
"playwright-webkit": "^1.29.2",
"prettier": "^2.4.1",
"prettier": "^2.8.8",
"process": "^0.11.10",
"timers-browserify": "^2.0.12",
"ts-jest": "^27.0.7",
"ts-jest": "^27.1.5",
"ts-node": "^9.1.1",
"typescript": "4.3.5",
"ws": "^8.5.0"
"typescript": "4.9.5",
"ws": "^8.18.0"
},
"resolutions": {
"**/@size-limit/preset-small-lib/**/glob-parent": "^6.0.1",
Expand Down Expand Up @@ -113,6 +113,6 @@
}
},
"dependencies": {
"chance": "^1.1.8"
"chance": "^1.1.12"
}
}
8 changes: 4 additions & 4 deletions packages/actions-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"package.json"
],
"engines": {
"node": "14 || ^18.12"
"node": "^18.12 || ^22.13"
},
"engineStrict": true,
"license": "MIT",
Expand All @@ -39,9 +39,9 @@
"@amplitude/ua-parser-js": "^0.7.25",
"@segment/actions-core": "^3.145.0",
"cheerio": "^1.0.0-rc.10",
"dayjs": "^1.10.7",
"dayjs": "^1.11.13",
"escape-goat": "^3",
"liquidjs": "^10.8.4",
"liquidjs": "^10.16.7",
"lodash": "^4.17.21"
},
"jest": {
Expand All @@ -64,4 +64,4 @@
"<rootDir>/test/setup-after-env.ts"
]
}
}
}
5 changes: 1 addition & 4 deletions packages/ajv-human-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@
},
"license": "MIT",
"devDependencies": {
"ajv": "^8.6.3",
"ajv": "^8.17.1",
"ajv-formats": "^2.1.1",
"jest": "^27.3.1"
},
"peerDependencies": {
"ajv": "^8.0.0"
}
}
18 changes: 9 additions & 9 deletions packages/browser-destinations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"size": "size-limit"
},
"dependencies": {
"tslib": "^2.3.1",
"tslib": "^2.8.1",
"vm-browserify": "^1.1.2"
},
"devDependencies": {
Expand All @@ -33,21 +33,21 @@
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/preset-env": "^7.13.10",
"@babel/preset-typescript": "^7.13.0",
"@size-limit/preset-big-lib": "^11.0.1",
"@size-limit/preset-big-lib": "^11.1.6",
"@types/gtag.js": "^0.0.19",
"@types/jest": "^27.0.0",
"compression-webpack-plugin": "^7.1.2",
"concurrently": "^6.3.0",
"concurrently": "^6.5.1",
"globby": "^11.0.2",
"jest": "^27.3.1",
"serve": "^12.0.1",
"size-limit": "^11.0.1",
"terser-webpack-plugin": "^5.1.1",
"size-limit": "^11.1.6",
"terser-webpack-plugin": "^5.3.11",
"ts-loader": "^9.2.6",
"webpack": "^5.82.0",
"webpack-bundle-analyzer": "^4.4.1",
"webpack-cli": "^5.1.1",
"webpack-dev-server": "^4.15.0",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.2",
"webpack-manifest-plugin": "^5.0.0"
},
"jest": {
Expand Down
34 changes: 17 additions & 17 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"directory": "packages/cli"
},
"engines": {
"node": "14 || ^18.12"
"node": "^18.12 || ^22.13"
},
"engineStrict": true,
"bin": {
Expand All @@ -35,15 +35,15 @@
},
"devDependencies": {
"@oclif/dev-cli": "^1",
"@oclif/test": "^1.2.8",
"@types/fs-extra": "^9.0.11",
"@oclif/test": "^1.2.9",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.0.0",
"@types/jscodeshift": "^0.11.0",
"@types/json-diff": "^0.5.1",
"@types/json-schema": "^7.0.7",
"@types/json-diff": "^0.5.2",
"@types/json-schema": "^7.0.15",
"@types/lodash": "^4.14.175",
"@types/mustache": "^4.1.0",
"@types/node": "^14.0.0",
"@types/node": "^20.17.16",
"@types/prompts": "^2.0.10",
"@types/rimraf": "^3.0.2",
"@types/to-title-case": "^1.0.0",
Expand All @@ -53,33 +53,33 @@
},
"dependencies": {
"@oclif/command": "1.8.36",
"@oclif/config": "^1.18.8",
"@oclif/config": "^1.18.17",
"@oclif/errors": "^1.3.6",
"@oclif/plugin-help": "^3.3",
"@segment/action-destinations": "^3.288.0",
"@segment/actions-core": "^3.121.0",
"@segment/destinations-manifest": "^1.71.0",
"@types/node": "^18.11.15",
"chalk": "^4.1.1",
"@types/node": "^20.17.16",
"chalk": "^4.1.2",
"chokidar": "^3.5.1",
"dotenv": "^10.0.0",
"ecs-logs-js": "^1.0.0",
"execa": "^5.1.1",
"fs-extra": "^10.0.0",
"globby": "^11.0.3",
"fs-extra": "^10.1.0",
"globby": "^11.1.0",
"jscodeshift": "^0.14.0",
"jscodeshift-add-imports": "^1.0.10",
"jsdom": "^24.1.1",
"json-diff": "^0.5.4",
"jscodeshift-add-imports": "^1.0.11",
"jsdom": "^24.1.3",
"json-diff": "^0.5.5",
"json-schema-to-typescript": "^10.1.5",
"lodash": "^4.17.20",
"mustache": "^4.2.0",
"ora": "^5.4.0",
"ora": "^5.4.1",
"prompts": "^2.4.2",
"slugify": "^1.6.1",
"slugify": "^1.6.6",
"to-title-case": "^1.0.0",
"tsconfig-paths": "^3.9.0",
"tslib": "^2.3.1"
"tslib": "^2.8.1"
},
"oclif": {
"commands": "./dist/commands",
Expand Down
12 changes: 6 additions & 6 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"package.json"
],
"engines": {
"node": ">=14"
"node": "^18.12 || ^22.13"
},
"engineStrict": true,
"license": "MIT",
Expand All @@ -73,8 +73,8 @@
"devDependencies": {
"@types/btoa-lite": "^1.0.0",
"@types/jest": "^27.0.0",
"@types/json-schema": "^7.0.7",
"benny": "^3.7.0",
"@types/json-schema": "^7.0.15",
"benny": "^3.7.1",
"create-test-server": "^3.0.1",
"jest": "^27.3.1"
},
Expand All @@ -83,13 +83,13 @@
"@segment/action-emitters": "^1.3.6",
"@segment/ajv-human-errors": "^2.14.0",
"@segment/destination-subscriptions": "^3.36.0",
"@types/node": "^18.11.15",
"@types/node": "^20.17.16",
"aggregate-error": "^3.1.0",
"ajv": "^8.6.3",
"ajv": "^8.17.1",
"ajv-formats": "^2.1.1",
"btoa-lite": "^1.0.0",
"cross-fetch": "^3.1.4",
"dayjs": "^1.10.7",
"dayjs": "^1.11.13",
"ts-custom-error": "^3.2.0"
},
"jest": {
Expand Down
Loading