Skip to content

Commit

Permalink
feat(clients): upgrade to node 18 (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Feb 28, 2023
1 parent 556a001 commit 2a4fe7e
Show file tree
Hide file tree
Showing 38 changed files with 7,916 additions and 8,065 deletions.
2 changes: 1 addition & 1 deletion .github/.cache_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.18
0.0.20
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.19.1
18.14.2
783 changes: 0 additions & 783 deletions .yarn/releases/yarn-3.2.3.cjs

This file was deleted.

873 changes: 873 additions & 0 deletions .yarn/releases/yarn-3.4.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.3.cjs
yarnPath: .yarn/releases/yarn-3.4.1.cjs
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ Some examples of valid commit messages (used as first lines):

To run this project, you will need:

- Node.js ≥ 16[nvm](https://github.com/creationix/nvm#install-script) is recommended
- Node.js ≥ 18[nvm](https://github.com/creationix/nvm#install-script) is recommended
- [Yarn](https://yarnpkg.com)
- [Docker](https://docs.docker.com/desktop/install/mac-install/)
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG NODE_VERSION=16.13.1
ARG NODE_VERSION=18.14.2

FROM node:$NODE_VERSION-alpine
FROM node:$NODE_VERSION-alpine3.17

ENV DOCKER=true

Expand Down
2 changes: 1 addition & 1 deletion clients/algoliasearch-client-javascript/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.19.1
18.14.2
783 changes: 0 additions & 783 deletions clients/algoliasearch-client-javascript/.yarn/releases/yarn-3.2.3.cjs

This file was deleted.

873 changes: 873 additions & 0 deletions clients/algoliasearch-client-javascript/.yarn/releases/yarn-3.4.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion clients/algoliasearch-client-javascript/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.2.3.cjs
yarnPath: .yarn/releases/yarn-3.4.1.cjs
12 changes: 6 additions & 6 deletions clients/algoliasearch-client-javascript/bundlesize.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"files": [
{
"path": "packages/algoliasearch/dist/algoliasearch.umd.js",
"maxSize": "8.00KB"
"maxSize": "8.05KB"
},
{
"path": "packages/algoliasearch/dist/lite/lite.umd.js",
"maxSize": "3.70KB"
"maxSize": "3.75KB"
},
{
"path": "packages/client-abtesting/dist/client-abtesting.umd.js",
Expand All @@ -18,23 +18,23 @@
},
{
"path": "packages/client-insights/dist/client-insights.umd.js",
"maxSize": "3.65KB"
"maxSize": "3.70KB"
},
{
"path": "packages/client-personalization/dist/client-personalization.umd.js",
"maxSize": "3.80KB"
"maxSize": "3.85KB"
},
{
"path": "packages/client-query-suggestions/dist/client-query-suggestions.umd.js",
"maxSize": "3.85KB"
"maxSize": "3.90KB"
},
{
"path": "packages/client-search/dist/client-search.umd.js",
"maxSize": "6.55KB"
},
{
"path": "packages/ingestion/dist/ingestion.umd.js",
"maxSize": "4.30KB"
"maxSize": "4.75KB"
},
{
"path": "packages/predict/dist/predict.umd.js",
Expand Down
18 changes: 9 additions & 9 deletions clients/algoliasearch-client-javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@
"test:types": "yarn tsc --noEmit"
},
"devDependencies": {
"@babel/core": "7.20.12",
"@babel/core": "7.21.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-transform-runtime": "7.19.6",
"@babel/plugin-transform-runtime": "7.21.0",
"@babel/preset-env": "7.20.2",
"@babel/runtime": "7.20.13",
"@babel/runtime": "7.21.0",
"@rollup/plugin-babel": "5.3.1",
"@rollup/plugin-node-resolve": "14.1.0",
"@types/jest": "28.1.8",
"@types/node": "16.18.12",
"@types/jest": "29.4.0",
"@types/node": "18.14.2",
"@types/rollup-plugin-node-globals": "1.4.1",
"@types/semver": "7.3.10",
"@types/semver": "7.3.13",
"bundlesize2": "0.0.31",
"execa": "5.1.1",
"lerna": "5.5.2",
"nx": "14.7.5",
"rollup": "2.79.1",
"rollup-plugin-node-globals": "1.4.0",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-typescript2": "0.34.0",
"semver": "7.3.7",
"rollup-plugin-typescript2": "0.34.1",
"semver": "7.3.8",
"ts-node": "10.9.1",
"typescript": "4.8.3"
"typescript": "4.8.4"
},
"engines": {
"node": ">= 14.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"test": "jest"
},
"devDependencies": {
"@types/jest": "28.1.8",
"@types/node": "16.18.12",
"@types/jest": "29.4.0",
"@types/node": "18.14.2",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"ts-jest": "28.0.8",
"typescript": "4.8.3"
"ts-jest": "29.0.5",
"typescript": "4.8.4"
},
"engines": {
"node": ">= 14.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"@algolia/client-common": "5.0.0-alpha.50"
},
"devDependencies": {
"@types/jest": "28.1.8",
"@types/node": "16.18.12",
"@types/jest": "29.4.0",
"@types/node": "18.14.2",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"ts-jest": "28.0.8",
"typescript": "4.8.3",
"ts-jest": "29.0.5",
"typescript": "4.8.4",
"xhr-mock": "2.5.1"
},
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"@algolia/client-common": "5.0.0-alpha.50"
},
"devDependencies": {
"@types/jest": "28.1.8",
"@types/node": "16.18.12",
"@types/jest": "29.4.0",
"@types/node": "18.14.2",
"cross-fetch": "3.1.5",
"jest": "29.4.3",
"nock": "13.3.0",
"ts-jest": "28.0.8",
"typescript": "4.8.3"
"ts-jest": "29.0.5",
"typescript": "4.8.4"
},
"engines": {
"node": ">= 14.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"@algolia/client-common": "5.0.0-alpha.50"
},
"devDependencies": {
"@types/jest": "28.1.8",
"@types/node": "16.18.12",
"@types/jest": "29.4.0",
"@types/node": "18.14.2",
"jest": "29.4.3",
"nock": "13.3.0",
"ts-jest": "28.0.8",
"typescript": "4.8.3"
"ts-jest": "29.0.5",
"typescript": "4.8.4"
},
"engines": {
"node": ">= 14.0.0"
Expand Down
Loading

0 comments on commit 2a4fe7e

Please sign in to comment.