Releases: Sage/carbon-factory
v4.2.0
v4.1.0
Webpack Support
We now provide a preconfigured setup for using Webpack to build assets.
Please see the Webpack guide for more information on setting up your project or for migrating to using Webpack.
v4.0.1
Hoists @import
CSS rules to the top of the CSS file.
v4.0.0
Updated versions of packages. Please see commit for all changes. Build tasks should still work, however some tests may need updating.
Assets URL
You can now prepend the assets URL with a different address.
By default assets are rendered in the CSS file with /assets/my-file
. You can now pass gulp build --assetsUrl /custom-url
and the output will be /custom-url/assets/my-file
.
v3.3.3
Ported Forward from v3.2.1
- Update eslint from 4.16.0 to 4.17.0
- Update gulp-eslint from 3.0.0 to 4.0.2
- Update babel-eslint from 6.1.2 to 8.2.1
- Update eslint-config-airbnb from 13.0.0 to 16.10
- Update eslint-plugin-import from 2.2.0 to 2.8.0
- Update eslint-plugin-jsx-a11y from 2.2.3 to 6.0.3
- Update eslint-plugin-react from 6.8.0 to 7.6.1
:note: Upgrading these dependencies updates some rules and introduces some new ones. You may need to resolve these issues or you can configure your application's .eslintrc
file to turn them down to warnings. Using --fix
may be the easiest solution. We do not recommend turning these rules off entirely.
v3.2.1
- Update eslint from 4.16.0 to 4.17.0
- Update gulp-eslint from 3.0.0 to 4.0.2
- Update babel-eslint from 6.1.2 to 8.2.1
- Update eslint-config-airbnb from 13.0.0 to 16.10
- Update eslint-plugin-import from 2.2.0 to 2.8.0
- Update eslint-plugin-jsx-a11y from 2.2.3 to 6.0.3
- Update eslint-plugin-react from 6.8.0 to 7.6.1
:note: Upgrading these dependencies updates some rules and introduces some new ones. You may need to resolve these issues or you can configure your application's .eslintrc
file to turn them down to warnings. Using --fix
may be the easiest solution. We do not recommend turning these rules off entirely.
v3.3.2
The dir
option for the spec task uses Jest's rootDir
instead of roots
.
v3.3.1
Gzipped assets are no longer created with a .gz
extension.
v3.3.0
v3.2.0
dir
option for Build and Lint tasks. Settings this value allows you to control which directory to search in to run tests.- Update eslint from 3.19 to 4.16