Skip to:
Content

BuddyPress.org

Ticket #8317: 8317.2.patch

File 8317.2.patch, 1.7 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 93e123039..4c560c85e 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",
     
    4445                "build": "npm run build:components && parcel build src/js/bp-*/*s/blocks/*.js --out-dir build",
    4546                "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",
    4647                "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",
    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                "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",
     49                "wp-env": "wp-env"
    4850        },
    4951        "keywords": [
    5052                "activity",