Skip to:
Content

BuddyPress.org

Ticket #8317: 8317.patch

File 8317.patch, 2.1 KB (added by imath, 4 years ago)
  • .gitignore

    diff --git .gitignore .gitignore
    index f26f47fbd..cc3f92c79 100644
    npm-debug.log 
    2323
    2424# The build directory.
    2525build
     26
     27# The custom Docker config file.
     28.wp-env.override.json
  • new file .wp-env.json

    diff --git .wp-env.json .wp-env.json
    new file mode 100644
    index 000000000..895138097
    - +  
     1{
     2        "core": null,
     3        "plugins": [ ".", "buddypress/BP-REST#master" ],
     4        "config": { "WP_DEBUG": true, "SCRIPT_DEBUG": true }
     5}
  • package.json

    diff --git package.json package.json
    index ab5941fea..895d163e3 100644
     
    88                "@babel/core": "~7.8.7",
    99                "@wordpress/babel-preset-default": "~4.10.0",
    1010                "@wordpress/browserslist-config": "~2.1.4",
     11                "@wordpress/env": "~1.4.0",
    1112                "autoprefixer": "~8.5.2",
    1213                "grunt": "~1.1.0",
    1314                "grunt-check-dependencies": "~1.0.0",
     
    2324                "grunt-jsvalidate": "~0.2.2",
    2425                "grunt-legacy-util": "~1.1.1",
    2526                "grunt-patch-wordpress": "~1.0.0",
    26                 "phplint": "^2.0.1",
    2727                "grunt-postcss": "~0.9.0",
    2828                "grunt-rtlcss": "~2.0.1",
    2929                "grunt-sass": "~2.0.0",
    3030                "grunt-stylelint": "~0.12.0",
    3131                "matchdep": "~2.0.0",
    3232                "parcel-bundler": "~1.12.4",
     33                "phplint": "^2.0.1",
    3334                "postcss-scss": "~2.0.0",
    3435                "stylelint": "~11.0.0",
    3536                "stylelint-config-wordpress": "~16.0.0"
     
    4344                "build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build",
    4445                "watch:components": "parcel watch src/js/bp-core/js/block-components/block-components.js --out-dir src/bp-core/js --out-file block-components.js --no-source-maps --global bp",
    4546                "dev:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir src/bp-core/js --out-file block-components.js --no-source-maps --no-minify --global bp",
    46                 "build:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir build/bp-core/js --out-file block-components.js --global bp"
     47                "build:components": "parcel build src/js/bp-core/js/block-components/block-components.js --out-dir build/bp-core/js --out-file block-components.js --global bp",
     48                "wp-env": "wp-env"
    4749        },
    4850        "keywords": [
    4951                "activity",