- disable new
runtimeErrors
property in webpack-dev-server- this causes constant errors with ResizeObserver
- requires webpack-dev-server 4.13.0
- adding
dir
property to html element in layout.ejsdir
is set withlanguageDir
defined in snow's res-locals.js middleware
- allow fullySpecified: false for mjs files
- Brought about because of this issue we had with @react-spring.
- pmndrs/react-spring#2097
- pmndrs/react-spring#2097 (comment)
- It looks like @react-spring may be attempting to change their usage to not necesitate the fullySpecified: false
- we should look at removing this in the near-ish future
- Sync with v7 latest commits, restoring/updating Dynatrace RUM
- Bumping deps and releasing 8.0.0
- Update dynatrace RUM snippets to support multiple environments
- Add dynatrace RUM snippet behind feature flag
- CRA 5 changed the default behavior so both prod and dev builds go to the
build
dir, which breaks our Snow middleware, so restoring the CRA 4 behavior that prod goes tobuild
and dev goes todist
. We may revisit this later
- splitChunks was messing with output filename on development environment. Changing to use [file] instead of hardcoded filename
- Removing console.logs
- Tweaking/removing/adding a few deps
- Merged upstream master from facebook 5.0.1
- Making dependencies npm 8 compatible
- Bumped eslint-config-frontier-react dependency
- Don't run the IndexRevisionReplace webpack plugin if we are running storybook
- Add debounce of 250 to the coalesce-locales watch function (same as zion does it)
- Tweaked coalesce-locale watch to use process.exit() on SIGINT to actually kill the process. Otherwise Ctrl-c left zombie processes of storybook
- Fixed the jest config moduleNameMapper to resolve /coalesced-locales correctly
- Add the coalesce-locales functionality
- Utilize a different intersection-observer polyfill
- The changes from 6.3.0-alpha.0
- Telling the mini-css-extract-plugin to remove order warnings
- Adding an envvar to read maxSize for chunks in webpack
- 16 bit hashes in names to decrease chance of collision
Added support for .gql files Hard pin react-error-overlay to 6.0.9 to fix this issue: facebook#11773
Added polyfills for IntersectionObserver and ResizeObserver
CodeCoverage ignore the service-worker and serviceWorkerRegistration files
Remove "offline.html" from the additionalManifestEntries since we figured out how to precache the landing page in cra-template/service-worker.js
Updated InjectManifest to exclude _index.html in the injecting (like for precache part of service-worker)
Fixed the pathing to manifest.json so it doesn't just point to familysearch.org/manifest.json. Prepend appPath to /manifest.json now.
Put manifest link in head in the layout.ejs file
Updated the proxies.js file to have "/service/" so the proxy won't intercept service-worker urls
Merged upstream master to get cra v4 changes.
- we put resetMocks back to false in createJestConfig
- we hard code eslint failOnError to false in webpack.config.js
- eslint-config-frontier is setup and being used in the template for new react apps
- Explicitly stating the version of webpack to use cause create-react-app expects a certain version
- Fixed the scoped name for react-scripts to @fs/react-scripts
- Incorporated Styleguidist by default into the app template
- Fixed a bug in the frontierInit.js file dealing with package.json not having the correct dependencies after an npm install
- published to
@familysearch/react-scripts
- Update to create-react-app@2.1.2
Forked Create React App@2.1.0
- webpack-wci18n support
- Got travis to automatically make the tar file and upload it to the github release when a new tag is made (and pushed)
- Added a way to get User Input if they want their react app to have support for Polymer or Redux
- Added new jest configuration option
transformIgnorePatterns
- Changed the React Template to say "Frontier" instead of "React" in the App.js template
- Added a README-FRONTIER.md and a CHANGELOG-FRONTIER.md