18F / assessment-review-tool

1 stars 0 forks source link

Replace `react-scripts` #28

Open kbighorse opened 10 months ago

kbighorse commented 10 months ago

The following dependency warnings/errors trace back to react-scripts, which is part of create-react-app, which is deprecated as of March 2023:

react-scripts > css-minimizer-webpack-plugin > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable
===========================
stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.

react-scripts > eslint-config-react-app > babel-preset-react-app > *
===========================
@babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
@babel/plugin-proposal-private-methods@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
@babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
@babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
@babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.

react-scripts > workbox-webpack-plugin > workbox-build > rollup-plugin-terser
react-scripts > workbox-webpack-plugin > workbox-build > @rollup/plugin-replace > magic-string > sourcemap-codec
===========================
sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0

react-scripts > jest > @jest/core > jest-runner > jest-environment-jsdom > jsdom > data-urls > abab
react-scripts > jest > @jest/core > jest-runner > jest-environment-jsdom > jsdom > domexception
react-scripts > jest > @jest/core > jest-runner > jest-environment-jsdom > jsdom > w3c-hr-time
===========================
abab@2.0.6: Use your platform's native atob() and btoa() methods instead
domexception@2.0.1: Use your platform's native DOMException instead
w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
kbighorse commented 10 months ago

next.js is a viable alternative: https://nextjs-ja-translation-docs.vercel.app/docs/migrating/from-create-react-app