Oliver Davies
dcf180a651
Return early within the Plausible if the user is authenticated so that it doesn't pick up when I'm adding or editing content on the site. Though the role is configured in the Plausible module's admin form, the conditions in the code don't exclude it. I'll look into this further and submit a patch upstream along with some tests. References #350
123 lines
3.9 KiB
JSON
123 lines
3.9 KiB
JSON
{
|
|
"name": "opdavies/oliverdavies-uk",
|
|
"description": "The source code for my personal website, oliverdavies.uk.",
|
|
"type": "project",
|
|
"license": "GPL-2.0-or-later",
|
|
"homepage": "https://www.drupal.org/project/drupal",
|
|
"repositories": [
|
|
{
|
|
"type": "composer",
|
|
"url": "https://packages.drupal.org/8"
|
|
}
|
|
],
|
|
"require": {
|
|
"beberlei/assert": "^3.2",
|
|
"composer/installers": "^1.2",
|
|
"cweagans/composer-patches": "^1.6",
|
|
"drupal/admin_toolbar": "^2.0",
|
|
"drupal/config_ignore": "^2.2",
|
|
"drupal/config_split": "^1.4",
|
|
"drupal/core-composer-scaffold": "^8.8",
|
|
"drupal/core-recommended": "^8.8",
|
|
"drupal/discoverable_entity_bundle_classes": "^1.0",
|
|
"drupal/gin": "^3.0",
|
|
"drupal/gin_toolbar": "^1.0",
|
|
"drupal/honeypot": "^2.0",
|
|
"drupal/hook_event_dispatcher": "^2",
|
|
"drupal/hreflang": "^1.3",
|
|
"drupal/markdown": "^1.3",
|
|
"drupal/menu_trail_by_path": "^1.3",
|
|
"drupal/metatag": "^1.11",
|
|
"drupal/migrate_plus": "^5.0",
|
|
"drupal/migrate_source_yaml": "^1.2",
|
|
"drupal/migrate_tools": "^4.5",
|
|
"drupal/paragraphs": "^1.10",
|
|
"drupal/pathauto": "^1.8",
|
|
"drupal/plausible": "1.x-dev",
|
|
"drupal/redirect": "^1.5",
|
|
"drupal/scheduler": "^1.3",
|
|
"drupal/simple_sitemap": "^3.6",
|
|
"drupal/speakerdeck_field": "^2.0",
|
|
"drupal/stage_file_proxy": "^1.0",
|
|
"drush/drush": "^10",
|
|
"nesbot/carbon": "^2.33",
|
|
"symfony/config": "^3.4",
|
|
"tightenco/collect": "^8.17"
|
|
},
|
|
"require-dev": {
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
|
|
"drupal/coder": "^8.3",
|
|
"drupal/core-dev": "^8.8",
|
|
"mglaman/phpstan-drupal": "^0.12.3",
|
|
"phpstan/phpstan": "^0.12.19",
|
|
"phpstan/phpstan-deprecation-rules": "^0.12.2"
|
|
},
|
|
"conflict": {
|
|
"drupal/drupal": "*"
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"rm -fr web/modules/contrib/*/.git"
|
|
],
|
|
"post-update-cmd": [
|
|
"rm -fr web/modules/contrib/*/.git"
|
|
]
|
|
},
|
|
"config": {
|
|
"bin-dir": "bin",
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"drupal-scaffold": {
|
|
"file-mapping": {
|
|
"[web-root]/.htaccess": false,
|
|
"[web-root]/.ht.router.php": false,
|
|
"[web-root]/sites/README.txt": false,
|
|
"[web-root]/modules/README.txt": false,
|
|
"[web-root]/profiles/README.txt": false,
|
|
"[web-root]/robots.txt": {
|
|
"append": "assets/robots-additions.txt"
|
|
},
|
|
"[web-root]/themes/README.txt": false,
|
|
"[web-root]/web.config": false
|
|
},
|
|
"locations": {
|
|
"web-root": "web/"
|
|
}
|
|
},
|
|
"installer-paths": {
|
|
"web/core": [
|
|
"type:drupal-core"
|
|
],
|
|
"web/libraries/{$name}": [
|
|
"type:drupal-library"
|
|
],
|
|
"web/modules/contrib/{$name}": [
|
|
"type:drupal-module"
|
|
],
|
|
"web/profiles/contrib/{$name}": [
|
|
"type:drupal-profile"
|
|
],
|
|
"web/themes/contrib/{$name}": [
|
|
"type:drupal-theme"
|
|
],
|
|
"drush/Commands/contrib/{$name}": [
|
|
"type:drupal-drush"
|
|
],
|
|
"web/modules/custom/{$name}": [
|
|
"type:drupal-custom-module"
|
|
],
|
|
"web/themes/custom/{$name}": [
|
|
"type:drupal-custom-theme"
|
|
]
|
|
},
|
|
"patches": {
|
|
"drupal/plausible": {
|
|
"Return early if user is not anonymous": "tools/patches/plausible/return-if-authenticated.patch"
|
|
}
|
|
}
|
|
}
|
|
}
|