Browse Source

installed and activated webprofiler

Bachir Soussi Chiadmi 5 years ago
parent
commit
7b69f024c1

+ 1 - 0
.gitignore

@@ -18,6 +18,7 @@ core
 /vendor/
 /modules/contrib/
 /themes/contrib/
+/libraries/
 
 # Ignore configuration files that may contain sensitive information.
 sites/*/settings*.php

+ 30 - 3
composer.json

@@ -4,7 +4,7 @@
     "type": "project",
     "license": "GPL-2.0-or-later",
     "require": {
-        "composer/installers": "^1.0.24",
+        "composer/installers": "^1.6",
         "wikimedia/composer-merge-plugin": "^1.4",
         "drupal/migrate_plus": "^4.0",
         "drupal/migrate_tools": "4.x-dev",
@@ -18,7 +18,9 @@
         "drupal/computed_field": "^2.0@alpha",
         "drupal/cshs": "1.x-dev",
         "drupal/views_ef_fieldset": "1.x-dev",
-        "drupal/pagerer": "^1.4"
+        "drupal/pagerer": "^1.4",
+        "d3/d3": "3.5.*",
+        "components/highlightjs": "9.7.*"
     },
     "replace": {
         "drupal/core": "^8.6"
@@ -53,7 +55,8 @@
             "themes/contrib/{$name}": ["type:drupal-theme"],
             "drush/contrib/{$name}": ["type:drupal-drush"],
             "modules/custom/{$name}": ["type:drupal-custom-module"],
-            "themes/custom/{$name}": ["type:drupal-custom-theme"]
+            "themes/custom/{$name}": ["type:drupal-custom-theme"],
+            "libraries/{$name}": ["type:drupal-library"]
         }
     },
     "autoload": {
@@ -75,6 +78,30 @@
         {
             "type": "composer",
             "url": "https://packages.drupal.org/8"
+        },
+        {
+            "type": "package",
+            "package": {
+                "name": "d3/d3",
+                "version": "v3.5.17",
+                "type": "drupal-library",
+                "dist": {
+                    "url": "https://github.com/d3/d3/archive/v3.5.17.zip",
+                    "type": "zip"
+                }
+            }
+        },
+        {
+            "type": "package",
+            "package": {
+                "name": "components/highlightjs",
+                "version": "9.7.0",
+                "type": "drupal-library",
+                "dist": {
+                    "url": "https://github.com/components/highlightjs/archive/9.7.0.zip",
+                    "type": "zip"
+                }
+            }
         }
     ]
 }

+ 23 - 1
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "feb474307bb454795da76ad5e40b4825",
+    "content-hash": "e5c93550d2c4086fc08a14ecabccb564",
     "packages": [
         {
             "name": "alchemy/zippy",
@@ -226,6 +226,17 @@
             ],
             "time": "2018-10-21T23:38:05+00:00"
         },
+        {
+            "name": "components/highlightjs",
+            "version": "9.7.0",
+            "dist": {
+                "type": "zip",
+                "url": "https://github.com/components/highlightjs/archive/9.7.0.zip",
+                "reference": null,
+                "shasum": null
+            },
+            "type": "drupal-library"
+        },
         {
             "name": "composer/installers",
             "version": "v1.6.0",
@@ -881,6 +892,17 @@
             "description": "Provides a way to patch Composer packages.",
             "time": "2018-05-11T18:00:16+00:00"
         },
+        {
+            "name": "d3/d3",
+            "version": "v3.5.17",
+            "dist": {
+                "type": "zip",
+                "url": "https://github.com/d3/d3/archive/v3.5.17.zip",
+                "reference": null,
+                "shasum": null
+            },
+            "type": "drupal-library"
+        },
         {
             "name": "dflydev/dot-access-configuration",
             "version": "v1.0.3",

+ 1 - 0
sites/default/config/sync/core.extension.yml

@@ -112,6 +112,7 @@ module:
   views_bulk_operations: 0
   views_ef_fieldset: 0
   views_ui: 0
+  webprofiler: 0
   workflow: 0
   workflow_access: 0
   workflow_operations: 0

+ 30 - 0
sites/default/config/sync/webprofiler.config.yml

@@ -0,0 +1,30 @@
+purge_on_cache_clear: true
+storage: profiler.database_storage
+exclude: "/contextual/*\r\n/toolbar/*\r\n/edit/*\r\n*.js\r\n*.css"
+ide_link: 'txmt://open?url=file://@file&line=@line'
+ide_link_remote: ''
+ide_link_local: ''
+active_toolbar_items:
+  devel: devel
+  assets: assets
+  blocks: blocks
+  cache: cache
+  database: database
+  drupal_extension: drupal_extension
+  forms: forms
+  performance_timing: performance_timing
+  php_config: php_config
+  request: request
+  time: time
+  user: user
+  views: views
+  config: '0'
+  events: '0'
+  http: '0'
+  routing: '0'
+  services: '0'
+  state: '0'
+query_sort: source
+query_highlight: 5
+_core:
+  default_config_hash: w1Hg1sJmlqc38y_J-HQH8kLDLRH3wuEhx-Fkwz7m-SI