diff --git .stylelintrc .stylelintrc
index df8a6763d..47db18561 100644
|
|
|
|
| 1 | 1 | { |
| 2 | | "extends": "stylelint-config-wordpress/scss", |
| | 2 | "extends": "@wordpress/stylelint-config/scss", |
| 3 | 3 | "rules": { |
| 4 | 4 | "no-descending-specificity": null, |
| 5 | 5 | "selector-pseudo-element-colon-notation": null, |
diff --git Gruntfile.js Gruntfile.js
index 274d48853..700921844 100644
|
|
|
module.exports = function( grunt ) {
|
| 54 | 54 | '!bp-members/css/blocks/member-avatar-blocks.css' |
| 55 | 55 | ], |
| 56 | 56 | |
| 57 | | autoprefixer = require('autoprefixer'); |
| | 57 | sass = require('node-sass'); |
| 58 | 58 | |
| 59 | 59 | require( 'matchdep' ).filterDev( ['grunt-*', '!grunt-legacy-util'] ).forEach( grunt.loadNpmTasks ); |
| 60 | 60 | grunt.util = require( 'grunt-legacy-util' ); |
| … |
… |
module.exports = function( grunt ) {
|
| 113 | 113 | }, |
| 114 | 114 | sass: { |
| 115 | 115 | options: { |
| | 116 | implementation: sass, |
| 116 | 117 | outputStyle: 'expanded', |
| 117 | 118 | indentType: 'tab', |
| 118 | 119 | indentWidth: '1' |
| … |
… |
module.exports = function( grunt ) {
|
| 356 | 357 | options: { |
| 357 | 358 | map: false, |
| 358 | 359 | processors: [ |
| 359 | | autoprefixer({ |
| 360 | | browsers: ['extends @wordpress/browserslist-config'], |
| | 360 | require('autoprefixer')( { |
| 361 | 361 | cascade: false |
| 362 | | }) |
| | 362 | } ) |
| 363 | 363 | ], |
| 364 | 364 | failOnError: false |
| 365 | 365 | }, |
diff --git package.json package.json
index 88521d035..1623fbf41 100644
|
|
|
|
| 5 | 5 | }, |
| 6 | 6 | "description": "BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!", |
| 7 | 7 | "devDependencies": { |
| 8 | | "@babel/core": "~7.13.14", |
| 9 | | "@wordpress/babel-preset-default": "~5.1.0", |
| 10 | | "@wordpress/browserslist-config": "~3.0.1", |
| 11 | | "@wordpress/env": "^4.0.0", |
| 12 | | "autoprefixer": "~8.5.2", |
| 13 | | "grunt": "~1.3.0", |
| | 8 | "@babel/core": "~7.15.5", |
| | 9 | "@wordpress/babel-preset-default": "~6.3.2", |
| | 10 | "@wordpress/browserslist-config": "~4.1.0", |
| | 11 | "@wordpress/env": "^4.1.1", |
| | 12 | "@wordpress/stylelint-config": "~19.1.0", |
| | 13 | "autoprefixer": "^9.8.6", |
| | 14 | "grunt": "~1.4.1", |
| 14 | 15 | "grunt-check-dependencies": "~1.0.0", |
| 15 | 16 | "grunt-checktextdomain": "~1.0.1", |
| 16 | 17 | "grunt-contrib-clean": "~2.0.0", |
| 17 | 18 | "grunt-contrib-copy": "~1.0.0", |
| 18 | | "grunt-contrib-cssmin": "^3.0.0", |
| | 19 | "grunt-contrib-cssmin": "^4.0.0", |
| 19 | 20 | "grunt-contrib-imagemin": "~4.0.0", |
| 20 | | "grunt-contrib-jshint": "^2.1.0", |
| | 21 | "grunt-contrib-jshint": "^3.0.0", |
| 21 | 22 | "grunt-contrib-uglify": "~5.0.1", |
| 22 | 23 | "grunt-contrib-watch": "~1.1.0", |
| 23 | 24 | "grunt-exec": "^3.0.0", |
| 24 | 25 | "grunt-jsvalidate": "~0.2.2", |
| 25 | | "grunt-legacy-util": "^2.0.0", |
| | 26 | "grunt-legacy-util": "^2.0.1", |
| 26 | 27 | "grunt-patch-wordpress": "~3.0.1", |
| 27 | 28 | "grunt-postcss": "~0.9.0", |
| 28 | 29 | "grunt-rtlcss": "~2.0.2", |
| 29 | | "grunt-sass": "~2.0.0", |
| 30 | | "grunt-stylelint": "~0.15.0", |
| | 30 | "grunt-sass": "~3.1.0", |
| | 31 | "grunt-stylelint": "~0.16.0", |
| 31 | 32 | "matchdep": "~2.0.0", |
| | 33 | "node-sass": "~6.0.1", |
| 32 | 34 | "parcel-bundler": "~1.12.5", |
| 33 | 35 | "phplint": "~2.0.5", |
| 34 | | "postcss-scss": "~2.0.0", |
| 35 | | "stylelint": "~13.13.1", |
| 36 | | "stylelint-config-wordpress": "~17.0.0" |
| | 36 | "postcss": "~8.3.6", |
| | 37 | "postcss-scss": "~4.0.0", |
| | 38 | "stylelint": "~13.13.1" |
| 37 | 39 | }, |
| 38 | 40 | "engines": { |
| 39 | 41 | "node": ">=14.15.0", |
| … |
… |
|
| 77 | 79 | "version": "10.0.0-alpha", |
| 78 | 80 | "browserslist": [ |
| 79 | 81 | "extends @wordpress/browserslist-config" |
| 80 | | ], |
| 81 | | "dependencies": { |
| 82 | | "postcss": "~7.0.35" |
| 83 | | } |
| | 82 | ] |
| 84 | 83 | } |