- Changed format of
babel.config.jsfrom plain object export to function export (potentially breaking!) - Modularized Babel config to use a slightly different config for
webandnodeas target - Added React Fast Refresh using @pmmmwh/react-refresh-webpack-plugin (Thanks to @Ephem!)
- Added
typed-css-modules-pluginto generate.d.tsfiles for CSS Modules on the fly - Updated dependencies
- Added simple 404 route
- Test everything
- Updated all dependencies to their most recent major version
- Use @werkzeugkiste lint/prettier configs instead of own custom configs
- Remove .mjs from the list of resolver extensions since that needs some more investigation first
- Going all in on TypeScript: all files including config files are now TypeScript (Webpack, i18next scanner, postcss, eslint)
- Cleanup several minor things
- Increase minimum Node and Yarn versions to 10.15.0 and 1.17.0 for no really obvious reason (try lower versions at your own risk)
- Increase minimum version for IE in .browserslistrc from IE 9 to IE 11
- Added
i18n:pull,i18n:pushandi18n:scannpm run scripts - Added
i18next-xhr-backendto load translation files on demand - Dropped remaining classes and replaced them with hooks
- Updated dependencies
- Use
react-helmet-asyncinstead ofreact-helmetas it is maintained more actively and does not throw deprecation warnings. (fixes #58) - Added aliases in webpack resolvers config for most common packages to avoid bundling it when working with locally linked packages
- Added @babel/plugin-transform-runtime to allow async/await in tests (more info)
- BREAKING: Replaced Enzyme with @testing-library/react
- BREAKING: updated lint-staged to 9.x
- Removed moduleRoots from package.json
- Fixed bug when working with plain CSS files (https://github.com/manuelbieh/react-ssr-setup/issues/69)
- Removed
connected-react-routeras it causes more trouble than anything else. - Updated dependencies
- Added
delayoption to Nodemon to prevent unnecessary server restarts on file change
TypeScript was used in production for over a month now and would consider it stable 🎉
- Updated dependencies
- Added TypesSript support for Storybook
- Fix #48. Create a single history for the store and pass initial request so SSR works for routes
- Dropped Flow Type in favor of TypeScript (sorry Flow, but the battle is lost)
- Experimentally added dependency-cruiser
- Updated dependencies to their most recent versions
- Regular depdency update (noteworthy: react-redux v7!)
- Dropping @babel/polyfill in favor of core-js 3 since @babel/polyfill is now deprecated
- Regular dependency update
- Updated dependencies. Noteworthy update: React Router v5!
- Using TerserPlugin for minification for more reliability
- Removed duplicate use of
postcss-custom-properties - Fixed a few issues with Plop and Plop templates
- Using
pretty-addwhen adding new Plop generated files (still buggy)
- Added a stylelint warning for css shorthand properties which override no-shorthand properties
- Re-added ejs to
file-loaderexclusion list because it otherwise breaks HTMLWebpackPlugin - Added
HOSTandDEVSERVER_HOSTto use a different host thanhttp://localhost
- Upgraded to React and ReactDOM 16.8.0 (with official Hooks support)
- Upgraded to immer 2.0.0
- Increased minimum required version for Node (now: >=8.11.3) and Yarn (now: 1.12.3) since earlier versions might cause problems under certain circumstances
- Added
concurrentlyfor script concurrency andyarn-or-npm - Added
stylelintand a (yet) minimalistic stylelint config
- Temporarily(?) dropped express-manifest-helpers dependency due to unresolved security issue
- Changed case of translations from kebab-case to snake_case (en-US ➡ en_US)
- Added
immeras dependency - Updated Jest to Jest 24 and dropped babel-core@7.0.0-bridge.0 as it is no longer needed in Jest 24
- Added @babel/plugin-proposal-optional-chaining
- Switched to using a project-wide Babel config
- Replaced deprecated
react-router-reduxwithconnected-react-router - Update all dependencies to their most recent version
- Renamed
__CLIENT__global to__BROWSER__ - Added missing
__SERVER__and__BROWSER__globals to ESLint config - Using
exportOnlyLocals: trueinstead ofrequire('css-loader/locals')inloaders.jssince it was changed in css-loader - Fixed an incorrect babel-plugin (182d46f thanks andriibyk)
- Removed an unnecessary double
require.resolve(ea2dfdd thanks andriibyk) - Fixed #26 (thanks gswirrl)
- Added eslint-plugin-react-hooks
- Updated React + React DOM to 16.6.0
- Updated all other dependencies to their most recent version
- ESLint config has been cleaned up a bit
- Moved Husky config to its own .huskyrc file
- BREAKING: files containing css modules must now be named
.module.css(Tweet) - Added
.mjsto the include list forbabel-loader - Removed
.ejsfrom the exclude list in thefile-loaderconfig (why was it even there?) - Removed the
externalCssLoaderas css files can now be loaded from everywhere - Added
OMIT_SOURCEMAPenvironment variable to disable generation of source maps (no matter what env you are working in) - Updated all dependencies to their most recent versions
- Configured
babel-loaderso SVGs can be imported as React component
- Added CaseSensitivePathsPlugin to Webpack config
- Added Plop as CLI tool to create new components and reducers.
- Updated Babel to v 7.0.0 final 🎉
- Added install-deps-postmerge as postmerge hook so changed dependencies get installed (or removed) automatically
- Large dependency update. Everything should be up-to-date again. React 16.4.2, Webpack 4.16.5, ESlint 5.
- Updated React to 16.4.0
- Added a basic Webpack config to support Storybook integration.
- Added opt-in solution for serving a client side only version
- Writing client build files to
build/client/staticinstead ofbuild/client - Bugfix: added missing
<!doctype html>to the server response
- Updated Webpack to 4.8.3
- Updated React and ReactDOM to 16.3.2
- Updated all other deps to their most recent version
- Fixed some annoyances with HMR in combination with Redux and React Router
- Updated Webpack to 4.6.0
- Updated Redux to 4.0.0
- Added Jest
- Replaced ExtractTextWebpackPlugin with (now working) MiniCSSExtractPlugin
- Added script to generate production build and made some improvements to the development script
- Added React-Helmet
- Improved server side rendering by using a configurable HTML component
- Webpack updated to ^4.4.1
- React + React-DOM updated to ^16.3.0
- Allowed configuration of webpack stats in
config/webpack.config.js - Several minor improvements, cleanups and fixes
Initial release