Skip to content

Releases: sharetribe/create-react-app

sharetribe-scripts@6.0.1

30 Aug 15:33
7acd49b
Compare
Choose a tag to compare

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

07 Jul 13:43
e25d807
Compare
Choose a tag to compare

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:

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

04 Aug 10:33
2d61a9d
Compare
Choose a tag to compare

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

17 Feb 14:20
9d925dd
Compare
Choose a tag to compare

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

10 Feb 12:11
3739db0
Compare
Choose a tag to compare

sharetribe-scripts@4.0.0

17 Nov 14:48
5125168
Compare
Choose a tag to compare

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

26 Oct 16:54
67e7b99
Compare
Choose a tag to compare

Update from upstream.

Note: CRA v3.3.0 (which is included in this release) added support for optional chaining!

sharetribe-scripts@3.1.1

23 Aug 13:40
53fe322
Compare
Choose a tag to compare

Update from upstream

sharetribe-scripts@3.1.1-alpha2

23 Aug 12:03
Compare
Choose a tag to compare
Pre-release

Testing v3.1.1

sharetribe-scripts@3.0.1

16 Jul 18:05
0fe17fe
Compare
Choose a tag to compare

Updating sharetribe-scripts aka CRA fork to v3.0.1
Read more from Changelog