Commit 263702de authored by Rajab Natshah's avatar Rajab Natshah 💬
Browse files

Issue #3301450: Have drupal-scaffold locations web-root for Vardoc as docroot ...

Issue #3301450: Have drupal-scaffold locations web-root for Vardoc as docroot  to fix composer web-root folder in projects
parent b9cec0e5
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -111,13 +111,15 @@
      "dev-5.0.x": "5.0.x-dev",
      "dev-9.0.x": "9.0.x-dev"
    },
    "installer-types": [
      "bower-asset",
      "npm-asset"
    ],
    "drupal-scaffold": {
      "allowed-packages": [
        "drupal/core",
        "vardot/varbase",
        "vardot/vardoc"
      ],
      "gitignore": true,
      "locations": {
        "web-root": "docroot/"
        "web-root": "./docroot"
      }
    },
    "installer-paths": {
@@ -138,6 +140,10 @@
      "docroot/themes/custom/{$name}": ["type:drupal-custom-theme"],
      "drush/contrib/{$name}": ["type:drupal-drush"]
    },
    "installer-types": [
      "bower-asset",
      "npm-asset"
    ],
    "drupal-libraries": {
      "library-directory": "docroot/libraries",
      "libraries": [