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

chore: upgrade to TypeScript 5.7, ensure tsconfig targed and lib properties match the APIs we support #9473

Merged
merged 2 commits into from
Nov 23, 2024

Conversation

AlessioGr
Copy link
Member

TS 5.7 added support for ES2024. By keeping target: “esnext”, we would have accidentally set our minimum supported ES version to ES2024.

This sets it to ES2022, which is the version supported by Node 18

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@next/eslint-plugin-next@13.5.7 Transitive: environment, filesystem +10 222 kB matt.straka, rauchg, timer, ...2 more
npm/@payloadcms/db-vercel-postgres@3.0.0 environment Transitive: eval, filesystem, network, shell, unsafe +42 17.2 MB elliotpayload
npm/@payloadcms/eslint-config@1.1.1 Transitive: environment, eval, filesystem, shell, unsafe +227 37.1 MB elliotpayload
npm/@payloadcms/live-preview-react@3.0.0 Transitive: network +1 77.8 kB elliotpayload
npm/@payloadcms/next@3.0.0 Transitive: environment, filesystem, network, unsafe +91 45.1 MB elliotpayload
npm/@payloadcms/payload-cloud@3.0.0 environment, filesystem, network Transitive: shell +170 24.7 MB elliotpayload
npm/@payloadcms/plugin-form-builder@3.0.0 None +1 178 kB elliotpayload
npm/@payloadcms/plugin-nested-docs@3.0.0 None 0 46.1 kB elliotpayload
npm/@payloadcms/plugin-redirects@3.0.0 None 0 16.4 kB elliotpayload
npm/@payloadcms/plugin-search@3.0.0 None 0 48.1 kB elliotpayload
npm/@payloadcms/plugin-seo@3.0.0 None +2 24.1 MB elliotpayload
npm/@payloadcms/richtext-lexical@3.0.0 environment +101 39 MB elliotpayload
npm/@payloadcms/storage-vercel-blob@3.0.0 network Transitive: environment, filesystem +25 848 kB elliotpayload
npm/@payloadcms/ui@3.0.0 environment, network Transitive: filesystem, unsafe +99 172 MB elliotpayload
npm/@radix-ui/react-checkbox@1.1.2 None +10 183 kB chancestrickland
npm/@radix-ui/react-label@2.1.0 None +1 30.3 kB vladmoroz
npm/@radix-ui/react-select@2.1.2 Transitive: environment +36 1.46 MB chancestrickland
npm/@radix-ui/react-slot@1.1.0 None +1 33.2 kB vladmoroz
npm/@tailwindcss/typography@0.5.15 None +5 376 kB adamwathan
npm/@types/escape-html@1.0.4 None 0 4.45 kB types
npm/@types/jsonwebtoken@9.0.7 None 0 13.8 kB types
npm/@types/node@22.5.4 None 0 2.2 MB types
npm/autoprefixer@10.4.20 environment Transitive: filesystem +8 2.71 MB ai
npm/class-variance-authority@0.7.0 None +1 15.7 kB joebell93
npm/copyfiles@2.4.1 filesystem Transitive: environment +15 259 kB cwmma
npm/cross-env@7.0.3 environment Transitive: filesystem, shell +2 49.7 kB kentcdodds
npm/eslint-config-next@15.0.0 unsafe Transitive: environment, eval, filesystem +137 20.6 MB timer, timneutkens, vercel-release-bot
npm/eslint@8.57.1 environment, filesystem Transitive: eval, shell, unsafe +80 9.73 MB eslintbot
npm/geist@1.3.1 None 0 3.11 MB johnphamous
npm/graphql@16.9.0 environment 0 1.36 MB benjie
npm/jsonwebtoken@9.0.2 None +13 201 kB charlesrea
npm/lucide-react@0.378.0 None 0 23.1 MB ericfennis
npm/next@15.0.3 environment, filesystem, network, shell, unsafe +8 121 MB vercel-release-bot
npm/payload-admin-bar@1.0.6 network 0 33.2 kB jacobsfletch
npm/payload@3.0.0 environment, eval, filesystem, network, shell, unsafe +59 135 MB elliotpayload
npm/postcss@8.4.49 environment, filesystem +2 232 kB ai
npm/prettier@3.3.3 environment, filesystem, unsafe 0 7.7 MB prettier-bot
npm/prism-react-renderer@2.4.0 None +1 758 kB formidablelabs
npm/react-dom@19.0.0-rc-65a56d0e-20241020 Transitive: environment +1 6.45 MB react-bot
npm/react-hook-form@7.45.4 network 0 853 kB bluebill1049
npm/react@19.0.0-rc-65a56d0e-20241020 environment 0 239 kB react-bot

🚮 Removed packages: npm/@apollo/client@3.10.4, npm/@faceless-ui/css-grid@1.2.1, npm/@faceless-ui/modal@2.0.2, npm/@lexical/list@0.14.5, npm/@lexical/react@0.14.5, npm/@lexical/rich-text@0.14.5, npm/@lexical/utils@0.14.5, npm/@next/eslint-plugin-next@13.5.6, npm/@payloadcms/db-mongodb@3.0.0-beta.32, npm/@payloadcms/plugin-cloud@3.0.0-beta.32, npm/@payloadcms/plugin-form-builder@3.0.0-beta.32, npm/@payloadcms/richtext-lexical@3.0.0-beta.32, npm/@types/node@20.12.12, npm/@types/react-dom@18.3.0, npm/@types/react@18.3.2, npm/eslint-config-next@12.3.1, npm/eslint-config-prettier@8.10.0, npm/eslint-plugin-filenames@1.3.2, npm/eslint-plugin-import@2.25.4, npm/eslint-plugin-prettier@4.2.1, npm/eslint-plugin-react-hooks@4.6.2, npm/eslint-plugin-simple-import-sort@10.0.0, npm/eslint@8.57.0, npm/graphql@16.8.1, npm/next@14.3.0-canary.63, npm/react-dom@18.3.1, npm/react-hook-form@7.51.4, npm/sass@1.77.1, npm/slate@0.84.0, npm/typescript@5.4.5

View full report↗︎

@AlessioGr AlessioGr merged commit 13fc94d into main Nov 23, 2024
57 checks passed
@AlessioGr AlessioGr deleted the chore/typescript-5.7 branch November 23, 2024 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants