Ticket #7791: 7791.patch
File 7791.patch, 10.7 KB (added by , 6 years ago) |
---|
-
Gruntfile.js
27 27 '!bp-core/admin/css/hello.css' 28 28 ], 29 29 30 autoprefixer = require('autoprefixer'), 30 31 stylelintConfigCss = require('stylelint-config-wordpress/index.js'), 31 32 stylelintConfigScss = require('stylelint-config-wordpress/scss.js'); 32 33 … … 240 241 src: [ '**/*.scss' ] 241 242 } 242 243 }, 244 postcss: { 245 options: { 246 map: false, 247 processors: [ 248 autoprefixer({ 249 browsers: ['extends @wordpress/browserslist-config'], 250 cascade: false 251 }) 252 ], 253 failOnError: false 254 }, 255 css: { 256 expand: true, 257 cwd: SOURCE_DIR, 258 dest: SOURCE_DIR, 259 src: BP_CSS.concat( BP_EXCLUDED_CSS, BP_EXCLUDED_MISC ) 260 } 261 }, 243 262 cssmin: { 244 263 minify: { 245 264 cwd: BUILD_DIR, … … 309 328 /** 310 329 * Register tasks. 311 330 */ 312 grunt.registerTask( 'src', ['checkDependencies', 'jsvalidate:src', 'jshint', 'stylelint', 'sass', ' rtlcss'] );331 grunt.registerTask( 'src', ['checkDependencies', 'jsvalidate:src', 'jshint', 'stylelint', 'sass', 'postcss', 'rtlcss'] ); 313 332 grunt.registerTask( 'commit', ['src', 'checktextdomain', 'imagemin'] ); 314 333 grunt.registerTask( 'build', ['commit', 'clean:all', 'copy:files', 'uglify', 'jsvalidate:build', 'cssmin', 'makepot', 'exec:bpdefault', 'exec:cli'] ); 315 334 grunt.registerTask( 'release', ['build'] ); -
npm-shrinkwrap.json
4 4 "lockfileVersion": 1, 5 5 "requires": true, 6 6 "dependencies": { 7 "@wordpress/browserslist-config": { 8 "version": "2.1.3", 9 "resolved": "https://registry.npmjs.org/@wordpress/browserslist-config/-/browserslist-config-2.1.3.tgz", 10 "integrity": "sha512-I8xUK/oqxI0LYoTar2U/vvQS78pWnEXWqClyhzmQ53NfWWaGydYgNdH3X2+oCGZjNUtdEkXuhjnyAwSZ12h0HQ==", 11 "dev": true 12 }, 7 13 "JSONStream": { 8 14 "version": "0.8.4", 9 15 "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-0.8.4.tgz", … … 215 221 "dev": true 216 222 }, 217 223 "autoprefixer": { 218 "version": " 6.7.7",219 "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer- 6.7.7.tgz",220 "integrity": "sha 1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=",224 "version": "8.4.1", 225 "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-8.4.1.tgz", 226 "integrity": "sha512-YqUclCBDXUT9Y7aQ8Xv+ja8yhTZYJoMsOD7WS++gZIJLCpCu+gPcKGDlhk6S3WxhLkTcNVdaMZAWys2nzZCH7g==", 221 227 "dev": true, 222 228 "requires": { 223 "browserslist": " 1.7.7",224 "caniuse- db": "1.0.30000676",229 "browserslist": "3.2.6", 230 "caniuse-lite": "1.0.30000836", 225 231 "normalize-range": "0.1.2", 226 232 "num2fraction": "1.2.2", 227 "postcss": " 5.2.17",233 "postcss": "6.0.22", 228 234 "postcss-value-parser": "3.3.0" 229 235 }, 230 236 "dependencies": { 237 "ansi-styles": { 238 "version": "3.2.1", 239 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 240 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 241 "dev": true, 242 "requires": { 243 "color-convert": "1.9.1" 244 } 245 }, 246 "browserslist": { 247 "version": "3.2.6", 248 "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.6.tgz", 249 "integrity": "sha512-XCsMSg9V4S1VRdcp265dJ+8kBRjfuFXcavbisY7G6T9QI0H1Z24PP53vvs0WDYWqm38Mco1ILDtafcS8ZR4xiw==", 250 "dev": true, 251 "requires": { 252 "caniuse-lite": "1.0.30000836", 253 "electron-to-chromium": "1.3.45" 254 } 255 }, 256 "chalk": { 257 "version": "2.4.1", 258 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", 259 "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", 260 "dev": true, 261 "requires": { 262 "ansi-styles": "3.2.1", 263 "escape-string-regexp": "1.0.5", 264 "supports-color": "5.4.0" 265 } 266 }, 267 "electron-to-chromium": { 268 "version": "1.3.45", 269 "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.45.tgz", 270 "integrity": "sha1-RYrBscXHYM6IEaFtK/vZfsMLr7g=", 271 "dev": true 272 }, 273 "has-flag": { 274 "version": "3.0.0", 275 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 276 "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 277 "dev": true 278 }, 231 279 "postcss": { 232 "version": " 5.2.17",233 "resolved": "https://registry.npmjs.org/postcss/-/postcss- 5.2.17.tgz",234 "integrity": "sha 1-z09Ze4ZNZcikkrLqvp1wbIecOIs=",280 "version": "6.0.22", 281 "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.22.tgz", 282 "integrity": "sha512-Toc9lLoUASwGqxBSJGTVcOQiDqjK+Z2XlWBg+IgYwQMY9vA2f7iMpXVc1GpPcfTSyM5lkxNo0oDwDRO+wm7XHA==", 235 283 "dev": true, 236 284 "requires": { 237 "chalk": "1.1.3", 238 "js-base64": "2.1.9", 239 "source-map": "0.5.6", 240 "supports-color": "3.2.3" 285 "chalk": "2.4.1", 286 "source-map": "0.6.1", 287 "supports-color": "5.4.0" 241 288 } 242 289 }, 243 290 "source-map": { 244 "version": "0. 5.6",245 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0. 5.6.tgz",246 "integrity": "sha 1-dc449SvwczxafwwRjYEzSiu19BI=",291 "version": "0.6.1", 292 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 293 "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 247 294 "dev": true 248 295 }, 249 296 "supports-color": { 250 "version": " 3.2.3",251 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color- 3.2.3.tgz",252 "integrity": "sha 1-ZawFBLOVQXHYpklGsq48u4pfVPY=",297 "version": "5.4.0", 298 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", 299 "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", 253 300 "dev": true, 254 301 "requires": { 255 "has-flag": " 1.0.0"302 "has-flag": "3.0.0" 256 303 } 257 304 } 258 305 } … … 528 575 "integrity": "sha1-gupXgjdjfI/zSiisqt43O2JMTqg=", 529 576 "dev": true 530 577 }, 578 "caniuse-lite": { 579 "version": "1.0.30000836", 580 "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000836.tgz", 581 "integrity": "sha512-DlVR8sVTKDgd7t95U0shX3g7MeJ/DOjKOhUcaiXqnVmnO5sG4Tn2rLVOkVfPUJgnQNxnGe8/4GK0dGSI+AagQw==", 582 "dev": true 583 }, 531 584 "capture-stack-trace": { 532 585 "version": "1.0.0", 533 586 "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", … … 1288 1341 "fs-exists-sync": "0.1.0" 1289 1342 } 1290 1343 }, 1344 "diff": { 1345 "version": "3.5.0", 1346 "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", 1347 "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", 1348 "dev": true 1349 }, 1291 1350 "doiuse": { 1292 1351 "version": "2.6.0", 1293 1352 "resolved": "https://registry.npmjs.org/doiuse/-/doiuse-2.6.0.tgz", … … 2666 2725 } 2667 2726 } 2668 2727 }, 2728 "grunt-postcss": { 2729 "version": "0.9.0", 2730 "resolved": "https://registry.npmjs.org/grunt-postcss/-/grunt-postcss-0.9.0.tgz", 2731 "integrity": "sha512-lglLcVaoOIqH0sFv7RqwUKkEFGQwnlqyAKbatxZderwZGV1nDyKHN7gZS9LUiTx1t5GOvRBx0BEalHMyVwFAIA==", 2732 "dev": true, 2733 "requires": { 2734 "chalk": "2.4.1", 2735 "diff": "3.5.0", 2736 "postcss": "6.0.22" 2737 }, 2738 "dependencies": { 2739 "ansi-styles": { 2740 "version": "3.2.1", 2741 "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 2742 "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 2743 "dev": true, 2744 "requires": { 2745 "color-convert": "1.9.1" 2746 } 2747 }, 2748 "chalk": { 2749 "version": "2.4.1", 2750 "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", 2751 "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", 2752 "dev": true, 2753 "requires": { 2754 "ansi-styles": "3.2.1", 2755 "escape-string-regexp": "1.0.5", 2756 "supports-color": "5.4.0" 2757 } 2758 }, 2759 "has-flag": { 2760 "version": "3.0.0", 2761 "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 2762 "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 2763 "dev": true 2764 }, 2765 "postcss": { 2766 "version": "6.0.22", 2767 "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.22.tgz", 2768 "integrity": "sha512-Toc9lLoUASwGqxBSJGTVcOQiDqjK+Z2XlWBg+IgYwQMY9vA2f7iMpXVc1GpPcfTSyM5lkxNo0oDwDRO+wm7XHA==", 2769 "dev": true, 2770 "requires": { 2771 "chalk": "2.4.1", 2772 "source-map": "0.6.1", 2773 "supports-color": "5.4.0" 2774 } 2775 }, 2776 "source-map": { 2777 "version": "0.6.1", 2778 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 2779 "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 2780 "dev": true 2781 }, 2782 "supports-color": { 2783 "version": "5.4.0", 2784 "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", 2785 "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", 2786 "dev": true, 2787 "requires": { 2788 "has-flag": "3.0.0" 2789 } 2790 } 2791 } 2792 }, 2669 2793 "grunt-rtlcss": { 2670 2794 "version": "2.0.1", 2671 2795 "resolved": "https://registry.npmjs.org/grunt-rtlcss/-/grunt-rtlcss-2.0.1.tgz", … … 5582 5706 "integrity": "sha1-IJp85eeB/CpiSJ+7MewCAexnXbI=", 5583 5707 "dev": true, 5584 5708 "requires": { 5585 "autoprefixer": "6.7.7",5586 5709 "balanced-match": "0.4.2", 5587 5710 "chalk": "1.1.3", 5588 5711 "colorguard": "1.2.0", -
package.json
5 5 }, 6 6 "description": "BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!", 7 7 "devDependencies": { 8 "@wordpress/browserslist-config": "2.1.3", 9 "autoprefixer": "8.4.1", 8 10 "grunt": "^1.0.2", 9 11 "grunt-check-dependencies": "~1.0.0", 10 12 "grunt-checktextdomain": "~1.0.1", … … 19 21 "grunt-jsvalidate": "~0.2.2", 20 22 "grunt-legacy-util": "^1.0.0", 21 23 "grunt-patch-wordpress": "~0.4.2", 24 "grunt-postcss": "~0.9.0", 22 25 "grunt-rtlcss": "~2.0.1", 23 26 "grunt-sass": "~2.0.0", 24 27 "grunt-stylelint": "^0.8.0", 25 28 "grunt-wp-i18n": "^1.0.2", 26 29 "matchdep": "~1.0.1", 27 "postcss-scss": " ^1.0.5",30 "postcss-scss": "~1.0.5", 28 31 "stylelint": "~7.10.1", 29 32 "stylelint-config-wordpress": "~11.0.0" 30 33 }, … … 49 52 "url": "https://buddypress.svn.wordpress.org/trunk/" 50 53 }, 51 54 "version": "3.0.0-beta2", 52 "dependencies": {} 55 "dependencies": {}, 56 "browserslist": [ 57 "extends @wordpress/browserslist-config" 58 ] 53 59 }