Skip to content

Commit

Permalink
Update all style packages to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
noahtallen committed May 20, 2021
1 parent 60f28ec commit 78ed703
Show file tree
Hide file tree
Showing 13 changed files with 197 additions and 207 deletions.
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
"redux-thunk": "^2.3.0",
"refx": "^3.1.1",
"resize-observer-polyfill": "^1.5.1",
"rtlcss": "^2.4.0",
"rtlcss": "^3.1.2",
"semver": "^7.3.2",
"sinon": "^10.0.0",
"social-logos": "^2.1.0",
Expand Down Expand Up @@ -236,7 +236,7 @@
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/react-hooks": "5.1.2",
"autoprefixer": "^9.7.3",
"autoprefixer": "^10.2.5",
"component-event": "^0.2.0",
"component-query": "^0.0.3",
"react-test-renderer": "^16.12.0",
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@
"@babel/register": "^7.13.16",
"@babel/runtime": "^7.14.0",
"@signal-noise/stylelint-scales": "^2.0.0",
"@storybook/addon-actions": "^6.1.10",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.1.10",
"@types/classnames": "^2.3.0",
"@types/cookie": "^0.4.0",
Expand Down Expand Up @@ -218,7 +216,7 @@
"@wordpress/jest-preset-default": "^7.0.3",
"@wordpress/npm-package-json-lint-config": "^4.0.3",
"@wordpress/url": "^2.22.2",
"autoprefixer": "^9.7.3",
"autoprefixer": "^10.2.5",
"babel-jest": "^26.3.0",
"babel-loader": "^8.2.2",
"babel-plugin-dynamic-import-node": "^2.3.0",
Expand Down Expand Up @@ -277,17 +275,17 @@
"loader-utils": "^1.2.3",
"lodash": "^4.17.21",
"lunr": "^2.3.8",
"mini-css-extract-plugin": "^1.3.5",
"mini-css-extract-plugin": "^1.6.0",
"mixedindentlint": "^1.2.0",
"mkdirp": "^1.0.4",
"ncp": "^2.0.0",
"nock": "^12.0.3",
"node-sass": "^4.13.0",
"node-sass": "^6.0.0",
"node-sass-package-importer": "^5.3.2",
"npm-merge-driver": "^2.3.5",
"npm-run-all": "^4.1.5",
"photon": "^4.0.0",
"postcss": "^8.2.6",
"postcss": "^8.2.15",
"postcss-cli": "^8.3.1",
"postcss-custom-properties": "^11.0.0",
"prettier": "npm:[email protected]",
Expand Down
7 changes: 7 additions & 0 deletions packages/calypso-build/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
## trunk

- Updated dependencies
- autoprefixer to ^10.2.5
- css-loader to ^5.2.4
- mini-css-extract-plugin to ^1.6.0
- node-sass to ^6.0.0
- postcss to ^8.2.15
- postcss-loader to ^5.3.0
- sass-loader to ^11.1.1
- thread-loader to ^3.0.4

## 8.0.0
Expand Down
14 changes: 7 additions & 7 deletions packages/calypso-build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
"@wordpress/babel-plugin-import-jsx-pragma": "^3.0.3",
"@wordpress/browserslist-config": "^3.0.3",
"@wordpress/dependency-extraction-webpack-plugin": "^3.1.2",
"autoprefixer": "^9.7.3",
"autoprefixer": "^10.2.5",
"babel-jest": "^26.3.0",
"babel-loader": "^8.2.2",
"browserslist": "^4.8.2",
"cache-loader": "^4.1.0",
"css-loader": "^3.4.2",
"css-loader": "^5.2.4",
"css-minimizer-webpack-plugin": "^1.3.0",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"enzyme-adapter-react-16": "^1.15.1",
Expand All @@ -63,12 +63,12 @@
"jest-config": "^26.4.0",
"jest-emotion": "^10.0.27",
"jest-enzyme": "^7.1.2",
"mini-css-extract-plugin": "^1.3.5",
"node-sass": "^4.13.0",
"mini-css-extract-plugin": "^1.6.0",
"node-sass": "^6.0.0",
"postcss-custom-properties": "^11.0.0",
"postcss-loader": "^5.0.0",
"postcss-loader": "^5.3.0",
"recursive-copy": "^2.0.10",
"sass-loader": "^8.0.0",
"sass-loader": "^11.1.1",
"semver": "^7.3.2",
"terser-webpack-plugin": "^5.1.1",
"thread-loader": "^3.0.4",
Expand All @@ -78,7 +78,7 @@
"peerDependencies": {
"enzyme": "^3.11.0",
"jest": ">=26.4.0",
"postcss": "^8.2.6",
"postcss": "^8.2.15",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"webpack": "^5.36.2"
Expand Down
10 changes: 8 additions & 2 deletions packages/calypso-build/webpack/sass.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const MiniCssExtractPlugin = require( 'mini-css-extract-plugin' );
const WebpackRTLPlugin = require( '@automattic/webpack-rtl-plugin' );

/**
* Internal dependnecies
* Internal dependencies
*/
const MiniCSSWithRTLPlugin = require( './mini-css-with-rtl' );

Expand Down Expand Up @@ -38,6 +38,11 @@ module.exports.loader = ( { includePaths, prelude, postCssOptions, cacheDirector
loader: require.resolve( 'css-loader' ),
options: {
importLoaders: 2,
// We do not want css-loader to resolve absolute paths. We
// typically use `/` to indicate the start of the base URL,
// but starting with css-loader v4, it started trying to handle
// absolute paths itself.
url: ( path ) => ! path.startsWith( '/' ),
},
},
{
Expand All @@ -49,14 +54,15 @@ module.exports.loader = ( { includePaths, prelude, postCssOptions, cacheDirector
{
loader: require.resolve( 'sass-loader' ),
options: {
prependData: prelude,
additionalData: prelude,
sassOptions: {
includePaths,
},
},
},
],
} );

/**
* Return an array of styling relevant webpack plugin objects.
*
Expand Down
6 changes: 6 additions & 0 deletions packages/calypso-color-schemes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes

## trunk

- Updated dependencies:
- postcss to ^8.2.15
- node-sass to ^6.0.0

## 2.1.1

- Updated the color palette to the most recent version.
Expand Down
4 changes: 2 additions & 2 deletions packages/calypso-color-schemes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"prepare": "node bin/prepare-sass-assets.js && node bin/build-css.js"
},
"devDependencies": {
"postcss": "^8.2.6",
"postcss": "^8.2.15",
"postcss-custom-properties": "^11.0.0",
"node-sass": "^4.13.0"
"node-sass": "^6.0.0"
}
}
2 changes: 2 additions & 0 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
},
"devDependencies": {
"@storybook/addon-actions": "^6.1.10",
"@storybook/preset-scss": "^1.0.3",
"sass-loader": "^10.1.1",
"enzyme": "^3.11.0"
},
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion packages/composite-checkout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,16 @@
"devDependencies": {
"@automattic/calypso-build": "^8.0.0",
"@automattic/calypso-polyfills": "^1.0.0",
"@storybook/addon-actions": "^6.1.10",
"@storybook/preset-scss": "^1.0.3",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"enzyme": "^3.11.0",
"jest": "^26.4.0",
"postcss": "^8.2.6",
"postcss": "^8.2.15",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"sass-loader": "^10.1.1",
"webpack": "^5.36.2"
},
"peerDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@
},
"devDependencies": {
"@storybook/addon-actions": "^6.1.10",
"@storybook/preset-scss": "^1.0.3",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
"@testing-library/dom": "^7.28.1",
"react": "^16.12.0",
"react-dom": "^16.12.0"
"react-dom": "^16.12.0",
"sass-loader": "^10.1.1"
},
"scripts": {
"clean": "tsc --build ./tsconfig.json ./tsconfig-cjs.json --clean && npx rimraf dist",
Expand Down
6 changes: 6 additions & 0 deletions packages/webpack-rtl-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Updated dependencies:
- css-loader to ^5.2.4
- mini-css-extract-plugin to ^1.6.0
- rtlcss to ^3.1.2
- Removed unused dependency cssnano.

## 5.0.0 - 2021-03-26

### Breaking
Expand Down
7 changes: 3 additions & 4 deletions packages/webpack-rtl-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
],
"license": "GPL-2.0-or-later",
"devDependencies": {
"css-loader": "^3.4.2",
"mini-css-extract-plugin": "^1.3.5",
"css-loader": "^5.2.4",
"mini-css-extract-plugin": "^1.6.0",
"webpack": "^5.36.2"
},
"peerDependencies": {
Expand All @@ -35,7 +35,6 @@
"dependencies": {
"@romainberger/css-diff": "^1.0.3",
"async": "^2.0.0",
"cssnano": "^4.1.10",
"rtlcss": "^2.4.0"
"rtlcss": "^3.1.2"
}
}
Loading

0 comments on commit 78ed703

Please sign in to comment.