Releases: sharetribe/create-react-app
sharetribe-scripts@6.0.1
Bug fixes
PR: #25
Remove vendor code chunk
splitChunks was reintroduced prematurely.
CRA 5 is discussing reintroducing it, but the previous (CRA4) style does not work with 'async' marked thunk functions.
I.e. this was removed:
// Sharetribe custom: create vendor chunk
// CRA v5, removed this splitChunks feature, but they are planning to reintroduce it.
// https://github.com/facebook/create-react-app/pull/11763
splitChunks: isEnvDevelopment
? undefined
: {
chunks: 'all',
},
Error when using env variable: GENERATE_SOURCEMAP=false
GENERATE_SOURCEMAP=false caused an error since it modified the structure of webpack.config.js
sharetribe-scripts@6.0.0
This release updates Create React App from v4.0.2 to v5.0.1.
It includes major changes to several core dependencies.
Highlights from CRA update:
- webpack 5 (facebook#11201)
- Jest 27 (facebook#11338)
- ESLint 8 (facebook#11375)
- PostCSS 8 (facebook#11121)
- Fast Refresh improvements and bug fixes (facebook#11105)
- Support for Tailwind (facebook#11717)
- Improved package manager detection (facebook#11322)
- Unpinned all dependencies for better compatibility with other tools (facebook#11474)
- Dropped support for Node 10 and 12
Check #24 to see the changes.
NOTE: this means quite many changes to CSS files!
Read more from FTW-daily's PR:
sharetribe/ftw-daily#1531
sharetribe-scripts@5.0.1
This release improves the instructions show after running yarn build
. The default instructions are replaced with FTW specific instructions.
See PR #22 for changes.
sharetribe-scripts@5.0.0
This release adds support for code splitting for both client and the server.
The main idea is to split the build scripts into two: build for web and build-server for the server. They both use the same shared Webpack configuration file, but there are differences in what things are enabled in the configuration based on the build target. In general, we want to only have a minimal configuration that works to be able to take upstream updates from the original CRA project. This means for example that there are extra things in the server build that would only make sense for the original web build.
Check #20 to see the changes.
Note that using this version of sharetribe-scripts
together with Flex Template for Web (FTW) requires a recent version of FTW daily or FTW hourly. See the FTW release notes for more information:
https://github.com/sharetribe/ftw-daily/releases/tag/v8.0.0
https://github.com/sharetribe/ftw-hourly/releases/tag/v10.0.0
sharetribe-scripts@4.0.2
This release takes the 4.0.2 updates from the upstream CRA:
https://github.com/sharetribe/create-react-app/blob/master/CHANGELOG.md#402-2021-02-03
sharetribe-scripts@4.0.0
Changes:
- Updates from upstream: CRA v4.0.0.
- Allow vanilla CSS by removing CSS Modules enforcement from all the *.css files.
We start to use file naming pattern: vanilla CSS =>*.css
, CSS Modules =>*.module.css
. This has become a standard nowadays. - Start using live CSS Custom Properties (CSS Variables).
sharetribe-scripts@3.4.4
Update from upstream.
Note: CRA v3.3.0 (which is included in this release) added support for optional chaining!
sharetribe-scripts@3.1.1
Update from upstream
sharetribe-scripts@3.1.1-alpha2
Testing v3.1.1
sharetribe-scripts@3.0.1
Updating sharetribe-scripts aka CRA fork to v3.0.1
Read more from Changelog