Skip to content

Releases: sharetribe/create-react-app

Sharetribe-scripts v6.0.2

26 Sep 11:52
a140fbf
Compare
Choose a tag to compare

Changes

  • Update Loadable Components library: use "@loadable/component": "^5.16.4", "@loadable/server": "^5.16.5", on client app.
  • Remove warning when Custom CSS Properties are added to other scopes than :root. That was a bug in our custom PostCSS plugin.

[email protected]

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

[email protected]

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

[email protected]

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.

[email protected]

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

[email protected]

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

[email protected]

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).

[email protected]

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!

[email protected]

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

Update from upstream

[email protected]

23 Aug 12:03
Compare
Choose a tag to compare
[email protected] Pre-release
Pre-release

Testing v3.1.1