From 7fca86a3f4dbee905256cb4839dae969f4f0c763 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 4 Jun 2020 01:23:33 +0100 Subject: [PATCH] Add Gin and use as the admin theme --- composer.json | 1 + composer.lock | 206 +++++++++++++++++++++++------- config/default/core.extension.yml | 1 + config/default/system.theme.yml | 2 +- 4 files changed, 161 insertions(+), 49 deletions(-) diff --git a/composer.json b/composer.json index 2838552..eb1b0a7 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,7 @@ "drupal/core-recommended": "^8.8", "drupal/discoverable_entity_bundle_classes": "^1.0", "drupal/fathom_analytics": "^2.1", + "drupal/gin": "^3.0", "drupal/google_analytics": "^2.4", "drupal/honeypot": "^2.0", "drupal/hook_event_dispatcher": "^1.28", diff --git a/composer.lock b/composer.lock index 982bbbd..8d74148 100644 --- a/composer.lock +++ b/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": "420b3eb8a3e6c4aebb7db61ec3a60a1e", + "content-hash": "3d5af6646a41b9fc61c466fac62d81a9", "packages": [ { "name": "asm89/stack-cors", @@ -2482,6 +2482,55 @@ "issues": "http://drupal.org/project/issues/fathom_analytics" } }, + { + "name": "drupal/gin", + "version": "3.0.0-alpha16", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/gin.git", + "reference": "8.x-3.0-alpha16" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/gin-8.x-3.0-alpha16.zip", + "reference": "8.x-3.0-alpha16", + "shasum": "dcb875f287f14d1b2d0faadc677b347c32bafc76" + }, + "require": { + "drupal/core": "^8.8 || ^9" + }, + "type": "drupal-theme", + "extra": { + "drupal": { + "version": "8.x-3.0-alpha16", + "datestamp": "1591188802", + "security-coverage": { + "status": "not-covered", + "message": "Alpha releases are not covered by Drupal security advisories." + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "dermario", + "homepage": "https://www.drupal.org/user/241276" + }, + { + "name": "saschaeggi", + "homepage": "https://www.drupal.org/user/1999056" + } + ], + "description": "For a better Content Editor Experience on top of Claro.", + "homepage": "https://www.drupal.org/project/gin", + "support": { + "source": "https://git.drupalcode.org/project/gin", + "issues": "https://www.drupal.org/project/issues/gin" + } + }, { "name": "drupal/google_analytics", "version": "2.4.0", @@ -4094,6 +4143,114 @@ "homepage": "https://laravel.com", "time": "2020-05-05T16:21:56+00:00" }, + { + "name": "laminas/laminas-stdlib", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-stdlib.git", + "reference": "2b18347625a2f06a1a485acfbc870f699dbe51c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-stdlib/zipball/2b18347625a2f06a1a485acfbc870f699dbe51c6", + "reference": "2b18347625a2f06a1a485acfbc870f699dbe51c6", + "shasum": "" + }, + "require": { + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^5.6 || ^7.0" + }, + "replace": { + "zendframework/zend-stdlib": "self.version" + }, + "require-dev": { + "laminas/laminas-coding-standard": "~1.0.0", + "phpbench/phpbench": "^0.13", + "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2.x-dev", + "dev-develop": "3.3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Laminas\\Stdlib\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "SPL extensions, array utilities, error handlers, and more", + "homepage": "https://laminas.dev", + "keywords": [ + "laminas", + "stdlib" + ], + "time": "2019-12-31T17:51:15+00:00" + }, + { + "name": "laminas/laminas-zendframework-bridge", + "version": "1.0.4", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-zendframework-bridge.git", + "reference": "fcd87520e4943d968557803919523772475e8ea3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-zendframework-bridge/zipball/fcd87520e4943d968557803919523772475e8ea3", + "reference": "fcd87520e4943d968557803919523772475e8ea3", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.1", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev", + "dev-develop": "1.1.x-dev" + }, + "laminas": { + "module": "Laminas\\ZendFrameworkBridge" + } + }, + "autoload": { + "files": [ + "src/autoload.php" + ], + "psr-4": { + "Laminas\\ZendFrameworkBridge\\": "src//" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Alias legacy ZF class names to Laminas Project equivalents.", + "keywords": [ + "ZendFramework", + "autoloading", + "laminas", + "zf" + ], + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2020-05-20T16:45:56+00:00" + }, { "name": "league/commonmark", "version": "0.18.5", @@ -7195,53 +7352,6 @@ ], "abandoned": "laminas/laminas-feed", "time": "2019-03-05T20:08:49+00:00" - }, - { - "name": "zendframework/zend-stdlib", - "version": "3.2.1", - "source": { - "type": "git", - "url": "https://github.com/zendframework/zend-stdlib.git", - "reference": "66536006722aff9e62d1b331025089b7ec71c065" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-stdlib/zipball/66536006722aff9e62d1b331025089b7ec71c065", - "reference": "66536006722aff9e62d1b331025089b7ec71c065", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "phpbench/phpbench": "^0.13", - "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2", - "zendframework/zend-coding-standard": "~1.0.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2.x-dev", - "dev-develop": "3.3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Zend\\Stdlib\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "SPL extensions, array utilities, error handlers, and more", - "keywords": [ - "ZendFramework", - "stdlib", - "zf" - ], - "abandoned": "laminas/laminas-stdlib", - "time": "2018-08-28T21:34:05+00:00" } ], "packages-dev": [ diff --git a/config/default/core.extension.yml b/config/default/core.extension.yml index b91cee7..916f744 100644 --- a/config/default/core.extension.yml +++ b/config/default/core.extension.yml @@ -64,6 +64,7 @@ theme: classy: 0 claro: 0 opdavies: 0 + gin: 0 profile: minimal _core: default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc diff --git a/config/default/system.theme.yml b/config/default/system.theme.yml index 755c3e3..983cab3 100644 --- a/config/default/system.theme.yml +++ b/config/default/system.theme.yml @@ -1,4 +1,4 @@ -admin: claro +admin: gin default: opdavies _core: default_config_hash: 6lQ55NXM9ysybMQ6NzJj4dtiQ1dAkOYxdDompa-r_kk