🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: upgrade to Node 20 (#553)
Max Deichmann1c116282d7f8
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 5309e6a8d1..3910e83e8a 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -18,7 +18,7 @@ jobs:- uses: actions/checkout@v3- uses: actions/setup-node@v3with:- node-version: 18+ node-version: 20cache: "npm"- name: install dependenciesrun: |@@ -35,7 +35,7 @@ jobs:- uses: actions/checkout@v3- uses: actions/setup-node@v3with:- node-version: 18+ node-version: 20cache: "npm"- name: install dependencies@@ -66,7 +66,7 @@ jobs:- uses: actions/checkout@v3- uses: actions/setup-node@v3with:- node-version: 18+ node-version: 20cache: "npm"- name: install dependencies@@ -123,7 +123,7 @@ jobs:- name: Setup nodeuses: actions/setup-node@v3with:- node-version: 18+ node-version: 20- name: Checkoutuses: actions/checkout@v3diff --git a/.nvmrc b/.nvmrcindex 2fb4f8e814..85aee5a534 100644--- a/.nvmrc+++ b/.nvmrc@@ -1 +1 @@-v18.18\ No newline at end of file+v20\ No newline at end of filediff --git a/Dockerfile b/Dockerfileindex 4f9ea19001..5dba0745be 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,5 +1,5 @@# Base image-FROM node:18-alpine AS base+FROM node:20-alpine AS baseARG DATABASE_URLARG NEXTAUTH_SECRETARG NEXTAUTH_URLdiff --git a/README.md b/README.mdindex 0bae40dea6..1682624a6c 100644--- a/README.md+++ b/README.md@@ -218,7 +218,7 @@ To contribute, send us a PR, raise a GitHub issue, or email at contributing@lang### Development setup-Requirements: Node.js >=18, npm, Docker+Requirements: Node.js 20, npm, Docker```bash# Install dependenciesdiff --git a/package-lock.json b/package-lock.jsonindex a9d926a04f..524be2adfc 100644--- a/package-lock.json+++ b/package-lock.json@@ -92,7 +92,7 @@"@types/jest": "^29.5.10","@types/js-yaml": "^4.0.9","@types/lodash": "^4.14.202",- "@types/node": "18.16.0",+ "@types/node": "20.10.0","@types/react": "^18.2.38","@types/react-dom": "^18.2.17","@types/swagger-ui-react": "^4.18.3",@@ -168,6 +168,14 @@"tiktoken": "^1.0.10"}},+ "node_modules/@anthropic-ai/tokenizer/node_modules/@types/node": {+ "version": "18.18.13",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.13.tgz",+ "integrity": "sha512-vXYZGRrSCreZmq1rEjMRLXJhiy8MrIeVasx+PCVlP414N7CJLHnMf+juVvjdprHyH+XRy3zKZLHeNueOpJCn0g==",+ "dependencies": {+ "undici-types": "~5.26.4"+ }+ },"node_modules/@apidevtools/json-schema-ref-parser": {"version": "9.1.2","resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.1.2.tgz",@@ -4359,9 +4367,13 @@"dev": true},"node_modules/@types/node": {- "version": "18.16.0",- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.0.tgz",- "integrity": "sha512-BsAaKhB+7X+H4GnSjGhJG9Qi8Tw+inU9nJDwmD5CgOmBLEI6ArdhikpLX7DjbjDRDTbqZzU2LSQNZg8WGPiSZQ=="+ "version": "20.10.0",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.0.tgz",+ "integrity": "sha512-D0WfRmU9TQ8I9PFx9Yc+EBHw+vSpIub4IDvQivcp26PtPrdMGAq5SDcpXEo/epqa/DXotVpekHiLNTg3iaKXBQ==",+ "devOptional": true,+ "dependencies": {+ "undici-types": "~5.26.4"+ }},"node_modules/@types/parse-json": {"version": "4.0.2",@@ -15580,6 +15592,11 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/undici-types": {+ "version": "5.26.5",+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",+ "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="+ },"node_modules/unicorn-magic": {"version": "0.1.0","resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz",diff --git a/package.json b/package.jsonindex 88a97a901f..8ed2e7dd4c 100644--- a/package.json+++ b/package.json@@ -106,7 +106,7 @@"@types/jest": "^29.5.10","@types/js-yaml": "^4.0.9","@types/lodash": "^4.14.202",- "@types/node": "18.16.0",+ "@types/node": "20.10.0","@types/react": "^18.2.38","@types/react-dom": "^18.2.17","@types/swagger-ui-react": "^4.18.3",