From 6616cd199490c3ade27b0b502001ed647114038c Mon Sep 17 00:00:00 2001 From: Gautam Singh <5769869+gautamsi@users.noreply.github.com> Date: Sun, 8 Dec 2024 02:11:38 -0600 Subject: [PATCH] Update node version to 22 (#9417) --- .codesandbox/ci.json | 2 +- .github/actions/ci-setup-examples/action.yml | 2 +- .github/actions/ci-setup/action.yml | 2 +- examples/assets-local/sandbox.config.json | 2 +- examples/auth/sandbox.config.json | 2 +- examples/better-list-search/sandbox.config.json | 2 +- examples/custom-admin-ui-logo/sandbox.config.json | 2 +- examples/custom-admin-ui-navigation/sandbox.config.json | 2 +- examples/custom-admin-ui-pages/sandbox.config.json | 2 +- examples/custom-esbuild/sandbox.config.json | 2 +- examples/custom-field-view/sandbox.config.json | 2 +- examples/custom-field/sandbox.config.json | 2 +- examples/custom-id/sandbox.config.json | 2 +- examples/custom-output-paths/sandbox.config.json | 2 +- examples/custom-session-invalidation/sandbox.config.json | 2 +- examples/custom-session-jwt/sandbox.config.json | 2 +- examples/custom-session-next-auth/sandbox.config.json | 2 +- examples/custom-session/sandbox.config.json | 2 +- examples/default-values/sandbox.config.json | 2 +- examples/document-field/sandbox.config.json | 2 +- examples/empty-lists/sandbox.config.json | 2 +- examples/extend-express-app/sandbox.config.json | 2 +- .../extend-graphql-schema-graphql-tools/sandbox.config.json | 2 +- examples/extend-graphql-schema-graphql-ts/sandbox.config.json | 2 +- examples/extend-graphql-schema-nexus/sandbox.config.json | 2 +- examples/extend-graphql-subscriptions/sandbox.config.json | 2 +- examples/extend-prisma-schema/sandbox.config.json | 2 +- examples/field-groups/sandbox.config.json | 2 +- examples/framework-astro/sandbox.config.json | 2 +- examples/graphql-ts-gql/sandbox.config.json | 2 +- examples/hooks/sandbox.config.json | 2 +- examples/limits/sandbox.config.json | 2 +- examples/omit/sandbox.config.json | 2 +- examples/reuse/sandbox.config.json | 2 +- examples/script/sandbox.config.json | 2 +- examples/singleton/sandbox.config.json | 2 +- examples/testing/sandbox.config.json | 2 +- examples/transactions/sandbox.config.json | 2 +- examples/usecase-blog-moderated/sandbox.config.json | 2 +- examples/usecase-blog/sandbox.config.json | 2 +- examples/usecase-relationship-union/sandbox.config.json | 2 +- examples/usecase-roles/sandbox.config.json | 2 +- examples/usecase-todo/sandbox.config.json | 2 +- examples/usecase-versioning/sandbox.config.json | 2 +- examples/virtual-field/sandbox.config.json | 2 +- 45 files changed, 45 insertions(+), 45 deletions(-) diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index aab37766eae..2b501e76da4 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,5 +1,5 @@ { "packages": ["packages/*", "design-system/packages/*"], "sandboxes": ["/tests/sandbox"], - "node": "20" + "node": "22" } diff --git a/.github/actions/ci-setup-examples/action.yml b/.github/actions/ci-setup-examples/action.yml index 3bb0f9953af..27cf91d97ad 100644 --- a/.github/actions/ci-setup-examples/action.yml +++ b/.github/actions/ci-setup-examples/action.yml @@ -8,7 +8,7 @@ runs: - uses: actions/setup-node@main with: # preferably lts/*, but we hit API limits when querying that - node-version: 20 + node-version: 22 registry-url: 'https://registry.npmjs.org' cache: pnpm diff --git a/.github/actions/ci-setup/action.yml b/.github/actions/ci-setup/action.yml index 27babea7f8c..c642554b8fe 100644 --- a/.github/actions/ci-setup/action.yml +++ b/.github/actions/ci-setup/action.yml @@ -8,7 +8,7 @@ runs: - uses: actions/setup-node@main with: # preferably lts/*, but we hit API limits when querying that - node-version: 20 + node-version: 22 registry-url: 'https://registry.npmjs.org' cache: pnpm diff --git a/examples/assets-local/sandbox.config.json b/examples/assets-local/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/assets-local/sandbox.config.json +++ b/examples/assets-local/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/auth/sandbox.config.json b/examples/auth/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/auth/sandbox.config.json +++ b/examples/auth/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/better-list-search/sandbox.config.json b/examples/better-list-search/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/better-list-search/sandbox.config.json +++ b/examples/better-list-search/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-admin-ui-logo/sandbox.config.json b/examples/custom-admin-ui-logo/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-admin-ui-logo/sandbox.config.json +++ b/examples/custom-admin-ui-logo/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-admin-ui-navigation/sandbox.config.json b/examples/custom-admin-ui-navigation/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-admin-ui-navigation/sandbox.config.json +++ b/examples/custom-admin-ui-navigation/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-admin-ui-pages/sandbox.config.json b/examples/custom-admin-ui-pages/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-admin-ui-pages/sandbox.config.json +++ b/examples/custom-admin-ui-pages/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-esbuild/sandbox.config.json b/examples/custom-esbuild/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-esbuild/sandbox.config.json +++ b/examples/custom-esbuild/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-field-view/sandbox.config.json b/examples/custom-field-view/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-field-view/sandbox.config.json +++ b/examples/custom-field-view/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-field/sandbox.config.json b/examples/custom-field/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-field/sandbox.config.json +++ b/examples/custom-field/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-id/sandbox.config.json b/examples/custom-id/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-id/sandbox.config.json +++ b/examples/custom-id/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-output-paths/sandbox.config.json b/examples/custom-output-paths/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-output-paths/sandbox.config.json +++ b/examples/custom-output-paths/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-session-invalidation/sandbox.config.json b/examples/custom-session-invalidation/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-session-invalidation/sandbox.config.json +++ b/examples/custom-session-invalidation/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-session-jwt/sandbox.config.json b/examples/custom-session-jwt/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-session-jwt/sandbox.config.json +++ b/examples/custom-session-jwt/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-session-next-auth/sandbox.config.json b/examples/custom-session-next-auth/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-session-next-auth/sandbox.config.json +++ b/examples/custom-session-next-auth/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/custom-session/sandbox.config.json b/examples/custom-session/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/custom-session/sandbox.config.json +++ b/examples/custom-session/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/default-values/sandbox.config.json b/examples/default-values/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/default-values/sandbox.config.json +++ b/examples/default-values/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/document-field/sandbox.config.json b/examples/document-field/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/document-field/sandbox.config.json +++ b/examples/document-field/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/empty-lists/sandbox.config.json b/examples/empty-lists/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/empty-lists/sandbox.config.json +++ b/examples/empty-lists/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/extend-express-app/sandbox.config.json b/examples/extend-express-app/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/extend-express-app/sandbox.config.json +++ b/examples/extend-express-app/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/extend-graphql-schema-graphql-tools/sandbox.config.json b/examples/extend-graphql-schema-graphql-tools/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/extend-graphql-schema-graphql-tools/sandbox.config.json +++ b/examples/extend-graphql-schema-graphql-tools/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/extend-graphql-schema-graphql-ts/sandbox.config.json b/examples/extend-graphql-schema-graphql-ts/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/extend-graphql-schema-graphql-ts/sandbox.config.json +++ b/examples/extend-graphql-schema-graphql-ts/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/extend-graphql-schema-nexus/sandbox.config.json b/examples/extend-graphql-schema-nexus/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/extend-graphql-schema-nexus/sandbox.config.json +++ b/examples/extend-graphql-schema-nexus/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/extend-graphql-subscriptions/sandbox.config.json b/examples/extend-graphql-subscriptions/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/extend-graphql-subscriptions/sandbox.config.json +++ b/examples/extend-graphql-subscriptions/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/extend-prisma-schema/sandbox.config.json b/examples/extend-prisma-schema/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/extend-prisma-schema/sandbox.config.json +++ b/examples/extend-prisma-schema/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/field-groups/sandbox.config.json b/examples/field-groups/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/field-groups/sandbox.config.json +++ b/examples/field-groups/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/framework-astro/sandbox.config.json b/examples/framework-astro/sandbox.config.json index 4176c9f3853..751932971a4 100644 --- a/examples/framework-astro/sandbox.config.json +++ b/examples/framework-astro/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev && npm run dev", - "node": "20" + "node": "22" } } diff --git a/examples/graphql-ts-gql/sandbox.config.json b/examples/graphql-ts-gql/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/graphql-ts-gql/sandbox.config.json +++ b/examples/graphql-ts-gql/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/hooks/sandbox.config.json b/examples/hooks/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/hooks/sandbox.config.json +++ b/examples/hooks/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/limits/sandbox.config.json b/examples/limits/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/limits/sandbox.config.json +++ b/examples/limits/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/omit/sandbox.config.json b/examples/omit/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/omit/sandbox.config.json +++ b/examples/omit/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/reuse/sandbox.config.json b/examples/reuse/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/reuse/sandbox.config.json +++ b/examples/reuse/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/script/sandbox.config.json b/examples/script/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/script/sandbox.config.json +++ b/examples/script/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/singleton/sandbox.config.json b/examples/singleton/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/singleton/sandbox.config.json +++ b/examples/singleton/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/testing/sandbox.config.json b/examples/testing/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/testing/sandbox.config.json +++ b/examples/testing/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/transactions/sandbox.config.json b/examples/transactions/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/transactions/sandbox.config.json +++ b/examples/transactions/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/usecase-blog-moderated/sandbox.config.json b/examples/usecase-blog-moderated/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/usecase-blog-moderated/sandbox.config.json +++ b/examples/usecase-blog-moderated/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/usecase-blog/sandbox.config.json b/examples/usecase-blog/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/usecase-blog/sandbox.config.json +++ b/examples/usecase-blog/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/usecase-relationship-union/sandbox.config.json b/examples/usecase-relationship-union/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/usecase-relationship-union/sandbox.config.json +++ b/examples/usecase-relationship-union/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/usecase-roles/sandbox.config.json b/examples/usecase-roles/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/usecase-roles/sandbox.config.json +++ b/examples/usecase-roles/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/usecase-todo/sandbox.config.json b/examples/usecase-todo/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/usecase-todo/sandbox.config.json +++ b/examples/usecase-todo/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/usecase-versioning/sandbox.config.json b/examples/usecase-versioning/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/usecase-versioning/sandbox.config.json +++ b/examples/usecase-versioning/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } } diff --git a/examples/virtual-field/sandbox.config.json b/examples/virtual-field/sandbox.config.json index c5d3215212f..e53d3f9dadc 100644 --- a/examples/virtual-field/sandbox.config.json +++ b/examples/virtual-field/sandbox.config.json @@ -2,6 +2,6 @@ "template": "node", "container": { "startScript": "keystone dev", - "node": "20" + "node": "22" } }