Babel 7, TypeScript 3, PostCSS 7
Highlights
- Update to final version of Babel 7
- Update to TypeScript 3
- Update to PostCSS 7, update plugins accordingly
- Add extension to allow the modification of PostCSS plugins configuration
Changes
crafty-preset-babel
For some time we provided Babel 7.0 in beta, we are now providing the stable version.
crafty-preset-typescript
We updated TypeScript to version 3.0.0, you can now benefit from the latest features out of the box.
You don't need to update your tsconfig.json
to benefit from the improvements but we recommend you check out the annoucement. As some of the new features might require explicit enabling in your configuration.
crafty-preset-postcss
There is now an API to change the configuration of the PostCSS plugins, check out the documentation
postcss-swissquote-preset
Due to the deprecation of postcss-cssnext
we integrated all dependencies from it directly into postcss-swissquote-preset
this allows us to update and maintain them easily.
A future update will go towards something similar to postcss-preset-env
. But currently all features remained identical to the previous version.
stylelint-config-swissquote
We changed the stylelint configuration to allow for :global
pseudo selector for css modules
Internal Changes
- Update Travis configuration to deploy documentation only once
Version updates
[babel-preset-swissquote, crafty-preset-babel, crafty-preset-typescript] Update @babel/*
to 7.0.0
[babel-preset-swissquote] Update babel-plugin-transform-react-remove-prop-types
to 0.4.15
[babel-preset-swissquote, babel-preset-babel, crafty-runner-gulp, crafty-runner-rollup, crafty-runner-webpack, crafty, postcss-swissquote-preset] Update debug
to ^4.0.0
[babel-preset-babel, crafty-preset-typescript] Update babel-loader
to 8.0.2
[babel-preset-babel] Update babel-plugin-istanbul
to 5.0.1
[babel-preset-babel] Update eslint
to 5.5.0
[babel-preset-babel] Update gulp-babel
to 8.0.0
[babel-preset-babel] Update gulp-uglify
to 3.0.1
[babel-preset-babel] Update rollup-plugin-babel
to 4.0.3
[crafty-preset-images] Update gulp-svgmin
to 2.0.0
[crafty-preset-jest] Update jest-cli
to 23.6.0
[crafty-preset-postcss] Update gulp-postcss
to 8.0.0
[crafty-preset-postcss] Update gulp-rename
to 1.4.0
[crafty-preset-postcss] Update mini-css-extract-plugin
to ^0.4.2
[crafty-preset-postcss] Update postcss
to 7.0.2
[crafty-preset-postcss] Update postcss-loader
to 3.0.0
[crafty-preset-postcss] Update postcss-scss
to 2.0.0
[crafty-preset-postcss] Update style-loader
to 0.23.0
[crafty-preset-postcss] Update stylelint
to 9.5.0
[crafty-preset-react] Update enzyme
to 3.6.0
[crafty-preset-react] Update enzyme-adapter-react-16
to 1.5.0
[crafty-preset-react] Update react-hot-loader
to 4.3.7
[crafty-preset-react] Update react-test-renderer
to 16.5.0
[crafty-preset-typescript] Update gulp-typescript
to 5.0.0-alpha.3
[crafty-preset-typescript] Update rollup-plugin-typescript2
to 0.17.0
[crafty-preset-typescript] Update ts-jest
to 23.1.4
[crafty-preset-typescript] Update ts-loader
to 5.1.0
[crafty-preset-typescript] Update tslint-eslint-rules
to 5.4.0
[crafty-preset-typescript] Update typescript
to 3.0.3
[crafty-runner-rollup] Update rollup
to 0.65.2
[crafty-runner-rollup] Update rollup-plugin-commonjs
to 9.1.6
[crafty-runner-rollup] Update rollup-plugin-node-resolve
to 3.4.0
[crafty-preset-postcss, crafty-runner-webpack] Update webpack
to 4.18.1
[crafty-runner-webpack] Update uglifyjs-webpack-plugin
to 1.3.0
[crafty-runner-webpack] Update webpack-chain
to 4.10.0
[crafty-runner-webpack] Update webpack-dev-server
to 3.1.8
[crafty-runner-webpack] Update webpack-merge
to 4.1.4
[crafty] Update browserslist
to 4.1.1
[eslint-plugin-swissquote] Update babel-eslint
to 9.0.0
[eslint-plugin-swissquote] Update eslint-plugin-import
to 2.14.0
[eslint-plugin-swissquote] Update eslint-plugin-react
to 7.11.1
[eslint-plugin-swissquote] Update eslint-plugin-sonarjs
to 0.1.1
[eslint-plugin-swissquote] Update eslint
to 5.5.0
[postcss-swissquote-preset] Update autoprefixer
to 9.1.5
[postcss-swissquote-preset] Update browserslist
to 4.1.1
[postcss-swissquote-preset] Added caniuse-api
^3.0.0
[postcss-swissquote-preset] Added chalk
^2.0.1
[postcss-swissquote-preset] Added pixrem
^4.0.0
[postcss-swissquote-preset] Added pleeease-filters
^4.0.0
[postcss-swissquote-preset] Updated postcss
to 7.0.2
[postcss-swissquote-preset] Added postcss-attribute-case-insensitive
3.0.1
[postcss-swissquote-preset] Added postcss-calc
6.0.1
[postcss-swissquote-preset] Added postcss-color-function
4.0.1
[postcss-swissquote-preset] Added postcss-color-gray
4.1.0
[postcss-swissquote-preset] Added postcss-color-hex-alpha
3.0.0
[postcss-swissquote-preset] Added postcss-color-hsl
2.0.0
[postcss-swissquote-preset] Added postcss-color-hwb
3.0.0
[postcss-swissquote-preset] Added postcss-color-rebeccapurple
3.1.0
[postcss-swissquote-preset] Added postcss-color-rgb
2.0.0
[postcss-swissquote-preset] Added postcss-color-rgba-fallback
3.0.0
[postcss-swissquote-preset] Added postcss-custom-media
6.0.0
[postcss-swissquote-preset] Added postcss-custom-properties
7.0.0
[postcss-swissquote-preset] Added postcss-custom-selectors
5.0.0
[postcss-swissquote-preset] Added postcss-font-family-system-ui
4.1.0
[postcss-swissquote-preset] Added postcss-font-variant
3.0.0
[postcss-swissquote-preset] Added postcss-image-set-polyfill
0.4.4
[postcss-swissquote-preset] Updated postcss-import
to 12.0.0
[postcss-swissquote-preset] Added postcss-initial
3.0.0
[postcss-swissquote-preset] Updated postcss-logical
to 1.1.1
[postcss-swissquote-preset] Added postcss-media-minmax
3.0.0
[postcss-swissquote-preset] Updated postcss-nested
to 4.1.0
[postcss-swissquote-preset] Added postcss-nesting
6.0.0
[postcss-swissquote-preset] Added postcss-pseudo-class-any-link
5.0.0
[postcss-swissquote-preset] Added postcss-pseudoelements
5.0.0
[postcss-swissquote-preset] Added postcss-replace-overflow-wrap
3.0.0
[postcss-swissquote-preset] Updated postcss-reporter
to 6.0.0
[postcss-swissquote-preset] Added postcss-selector-matches
3.0.1
[postcss-swissquote-preset] Added postcss-selector-not
3.0.1
[postcss-swissquote-preset] Updated postcss-url
to 7.3.2
[stylelint-config-swissquote] Updated stylelint
to 9.5.0
[stylelint-config-swissquote] Updated stylelint-scss
to 3.3.0