vercel / next.js

The React Framework
https://nextjs.org
MIT License
124.7k stars 26.62k forks source link

Add tests for ecosystem packages #31690

Open timneutkens opened 2 years ago

timneutkens commented 2 years ago

In order to ensure stable releases don't break the wider ecosystem it'd be beneficial to have tests running for all libraries used with Next.js so that we can catch potential bugs early.

Non-exhaustive list of libraries used with Next.js:

list ``` axios prettier styled-components lodash react-redux @material-ui/core redux uuid graphql date-fns prop-types moment dotenv classnames @apollo/client tailwindcss redux-thunk react-icons bootstrap redux-devtools-extension swiper yup js-cookie @material-ui/icons react-hook-form '@svgr/webpack react-bootstrap react-slick react-scroll dayjs @material-ui/lab swr isomorphic-unfetch jsonwebtoken react-select formik react-markdown next-i18next @emotion/styled nprogress framer-motion redux-persist slick-carousel @sentry/node @emotion/react next-redux-wrapper cors react-id-swiper core-js body-parser react-multi-carousel react-google-maps graphql-tag cookie-parser react-countdown react-modal-video node-fetch react-router-dom nookies cookie @sentry/browser next-auth i18next @fortawesome/fontawesome-svg-core @fortawesome/react-fontawesome react-toast-notifications react-toastify react-modal clsx query-string @googlemaps/js-api-loader react-sticky-box @fortawesome/free-solid-svg-icons react-mailchimp-subscribe next-seo react-parallax html-react-parser react-dropzone jwt-decode @sentry/nextjs react-tippy react-slidedown react-lightgallery react-custom-scroll react-hooks-paginator firebase react-query sharp react-share http-proxy-middleware qs chalk react-transition-group react-intersection-observer @material-ui/pickers @date-io/date-fns file-loader @graphql-codegen/typescript react-datepicker @stripe/stripe-js @sentry/webpack-plugin nodemailer @sentry/integrations @graphql-codegen/typescript-operations react-gtm-module @reduxjs/toolkit antd react-ga babel-plugin-import gray-matter react-player polished dompurify @headlessui/react react-intl react-is @apollo/react-hooks @stripe/react-stripe-js react-table regenerator-runtime helmet @tailwindcss/forms styled-reset @hookform/resolvers next-sitemap stylelint-config-standard react-device-detect socket.io-client @fortawesome/free-brands-svg-icons react-infinite-scroll-component react-i18next next-pwa file-saver aws-sdk react-copy-to-clipboard react-use react-lazyload react-number-format @heroicons/react ramda graphql-request stripe @chakra-ui/react react-beautiful-dnd validator eslint-plugin-node @material-ui/styles glob react-helmet react-spring intersection-observer react-html-parser redis redux-mock-store @sentry/tracing moment-timezone react-chartjs-2 react-google-recaptcha react-scripts faker deepmerge react-cookie jest-junit @fortawesome/free-regular-svg-icons chart.js raw-loader isomorphic-fetch @popperjs/core enzyme-to-json nanoid webpack-cli libphonenumber-js react-onclickoutside '@graphql-codegen/typescript-react-apollo '@storybook/addon-a11y '@sentry/react styled-system react-tooltip next-page-transitions concurrently next-cookies react-window smoothscroll-polyfill react-dfp ```
mertcanaltin commented 1 year ago

@timneutkens I want to do this :guitar: :man_astronaut:

pophero110 commented 1 year ago

I want to help to write some tests. .🤓

danielbom commented 1 year ago

Does anyone see this kind of thing in other projects? I want to look for references of how to be done here.