Commit 583a8bec 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 1ac1548a
Loading
Loading
Loading
Loading
+15 −9
Original line number Diff line number Diff line
@@ -93,19 +93,21 @@
    ]
  },
  "extra": {
    "drupal-scaffold": {
      "locations": {
        "web-root": "docroot/"
      }
    },
    "branch-alias": {
      "dev-4.0.x": "4.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"
      }
    },
    "installer-paths": {
      "docroot/core": ["type:drupal-core"],
      "docroot/profiles/{$name}": ["type:drupal-profile"],
@@ -124,6 +126,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": [