Merge branch 'master' of gogs-figureslibres.io:bachir/d8-starterkit-profile
This commit is contained in:
		@@ -1,40 +1,38 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "bachir/d8_starterkit_profile",
 | 
			
		||||
  "name": "bachir/d9_starterkit_profile",
 | 
			
		||||
  "type": "drupal-profile",
 | 
			
		||||
  "description": "Starter kit install profil by figureslibres",
 | 
			
		||||
  "keywords": ["Drupal","FiguresLibres", "StarterKit"],
 | 
			
		||||
  "require": {
 | 
			
		||||
    "drupal/core": "8.*",
 | 
			
		||||
    "components/highlightjs": "9.7.*",
 | 
			
		||||
    "cweagans/composer-patches": "^1.6",
 | 
			
		||||
    "d3/d3": "3.5.*",
 | 
			
		||||
    "drush/drush": "^9.5",
 | 
			
		||||
    "drush/drush": "^10",
 | 
			
		||||
    "drupal/console": "^1.8",
 | 
			
		||||
    "drupal/adminimal_theme": "^1.3",
 | 
			
		||||
    "drupal/admin_toolbar": "^3",
 | 
			
		||||
    "drupal/address": "^1.4",
 | 
			
		||||
    "drupal/advanced_text_formatter": "^1.0@beta",
 | 
			
		||||
    "drupal/advanced_text_formatter": "^2.0",
 | 
			
		||||
    "drupal/audiofield": "^1.6",
 | 
			
		||||
    "drupal/autocomplete_deluxe": "^2.0@RC",
 | 
			
		||||
    "drupal/autologout": "^1.0",
 | 
			
		||||
    "drupal/betterlogin": "^1.2",
 | 
			
		||||
    "drupal/better_exposed_filters": "^5.0@beta",
 | 
			
		||||
    "drupal/better_messages": "^1.0@alpha",
 | 
			
		||||
    "drupal/block_class": "^1.0",
 | 
			
		||||
    "drupal/bulkdelete": "1.x-dev",
 | 
			
		||||
    "drupal/cshs": "1.x-dev",
 | 
			
		||||
    "drupal/config_ignore": "^2.1",
 | 
			
		||||
    "drupal/config_ignore": "^2.3@RC",
 | 
			
		||||
    "drupal/config_filter": "^1.0",
 | 
			
		||||
    "drupal/config_devel": "^1.2",
 | 
			
		||||
    "drupal/config_devel": "^1.x-dev@dev",
 | 
			
		||||
    "drupal/config_update": "^1.5",
 | 
			
		||||
    "drupal/content_lock": "^2.1",
 | 
			
		||||
    "drupal/context": "^4.0@beta",
 | 
			
		||||
    "drupal/date_range_formatter": "^3.1",
 | 
			
		||||
    "drupal/date_range_formatter": "9.0.x-dev@dev",
 | 
			
		||||
    "drupal/devel": "^4.0",
 | 
			
		||||
    "drupal/domain": "dev-1.x",
 | 
			
		||||
    "drupal/domain_alias": "dev-1.x",
 | 
			
		||||
    "drupal/domain_config": "dev-1.x",
 | 
			
		||||
    "drupal/domain_site_settings": "^1.3",
 | 
			
		||||
    "drupal/domain_site_settings": "1.x-dev@dev",
 | 
			
		||||
    "drupal/email_registration": "^1.0@RC",
 | 
			
		||||
    "drupal/embed": "^1.0",
 | 
			
		||||
    "drupal/entity_browser": "^2.0",
 | 
			
		||||
@@ -47,15 +45,15 @@
 | 
			
		||||
    "drupal/honeypot": "^2.0",
 | 
			
		||||
    "drupal/imagemagick": "^3.1",
 | 
			
		||||
    "drupal/inline_entity_form": "^1.0@RC",
 | 
			
		||||
    "drupal/linkit": "^4.3",
 | 
			
		||||
    "drupal/linkit": "^5.0@beta",
 | 
			
		||||
    "drupal/link_attributes": "^1.5",
 | 
			
		||||
    "drupal/login_destination": "1.x-dev",
 | 
			
		||||
    "drupal/login_destination": "2.x-dev@dev",
 | 
			
		||||
    "drupal/maillog": "1.x-dev",
 | 
			
		||||
    "drupal/mailsystem": "^4.1",
 | 
			
		||||
    "drupal/matomo": "^1.7",
 | 
			
		||||
    "drupal/maxlength": "^1.0@beta",
 | 
			
		||||
    "drupal/menu_admin_per_menu": "^1.0",
 | 
			
		||||
    "drupal/menu_block": "^1.5",
 | 
			
		||||
    "drupal/menu_block": "1.x-dev@dev",
 | 
			
		||||
    "drupal/menu_position": "1.x-dev",
 | 
			
		||||
    "drupal/pagerer": "^2.0",
 | 
			
		||||
    "drupal/pathauto": "^1.3",
 | 
			
		||||
@@ -72,14 +70,14 @@
 | 
			
		||||
    "drupal/synonyms": "^2.0.0-beta2",
 | 
			
		||||
    "drupal/translation_views": "^1.0@alpha",
 | 
			
		||||
    "drupal/token": "^1.5",
 | 
			
		||||
    "drupal/toolbar_themes": "^1.0@alpha",
 | 
			
		||||
    "drupal/ultimate_cron": "^2.0@alpha",
 | 
			
		||||
    "drupal/url_to_video_filter": "^2.0",
 | 
			
		||||
    "drupal/video_embed_field": "^2.0",
 | 
			
		||||
    "drupal/views_bulk_operations": "^4.0",
 | 
			
		||||
    "drupal/views_bulk_edit": "^2.2",
 | 
			
		||||
    "drupal/views_ef_fieldset": "^1.2",
 | 
			
		||||
    "drupal/workflow": "1.x-dev"
 | 
			
		||||
    "kint-php/kint": "^3.3",
 | 
			
		||||
    "drupal/devel_kint_extras": "^1.0"
 | 
			
		||||
  },
 | 
			
		||||
  "repositories": [
 | 
			
		||||
    {
 | 
			
		||||
@@ -112,7 +110,6 @@
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "extra": {
 | 
			
		||||
      "patches": {
 | 
			
		||||
      }
 | 
			
		||||
      "patches": {}
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,21 +0,0 @@
 | 
			
		||||
browser_sync:
 | 
			
		||||
  enabled: false
 | 
			
		||||
  host: localhost
 | 
			
		||||
  port: 3000
 | 
			
		||||
clear_registry: false
 | 
			
		||||
ie_enabled: false
 | 
			
		||||
ie_enabled_versions:
 | 
			
		||||
  ie8: false
 | 
			
		||||
  ie9: false
 | 
			
		||||
langcode: fr
 | 
			
		||||
features:
 | 
			
		||||
  node_user_picture: false
 | 
			
		||||
  comment_user_picture: true
 | 
			
		||||
  comment_user_verification: true
 | 
			
		||||
  favicon: true
 | 
			
		||||
logo:
 | 
			
		||||
  use_default: false
 | 
			
		||||
  path: ''
 | 
			
		||||
favicon:
 | 
			
		||||
  use_default: false
 | 
			
		||||
  path: ''
 | 
			
		||||
@@ -1,61 +0,0 @@
 | 
			
		||||
position: tr
 | 
			
		||||
vertical: 50
 | 
			
		||||
horizontal: 5
 | 
			
		||||
fixed: 1
 | 
			
		||||
width: 600px
 | 
			
		||||
autoclose: 4
 | 
			
		||||
opendelay: 0.3
 | 
			
		||||
disable_autoclose: 1
 | 
			
		||||
show_countdown: 0
 | 
			
		||||
hover_autoclose: 1
 | 
			
		||||
popin:
 | 
			
		||||
  effect: fadeIn
 | 
			
		||||
  duration: normal
 | 
			
		||||
popout:
 | 
			
		||||
  effect: fadeIn
 | 
			
		||||
  duration: fast
 | 
			
		||||
jquery_ui:
 | 
			
		||||
  draggable: 1
 | 
			
		||||
  resizable: 1
 | 
			
		||||
visibility:
 | 
			
		||||
  message_type:
 | 
			
		||||
    id: message_type
 | 
			
		||||
    message_types: {  }
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping:
 | 
			
		||||
      better_messages: '@better_messages.context:better_messages'
 | 
			
		||||
  'entity_bundle:node':
 | 
			
		||||
    id: 'entity_bundle:node'
 | 
			
		||||
    bundles: {  }
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping:
 | 
			
		||||
      node: '@node.node_route_context:node'
 | 
			
		||||
  domain:
 | 
			
		||||
    id: domain
 | 
			
		||||
    domains: {  }
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping:
 | 
			
		||||
      'entity:domain': '@domain.current_domain_context:entity:domain'
 | 
			
		||||
  language:
 | 
			
		||||
    id: language
 | 
			
		||||
    langcodes: {  }
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping:
 | 
			
		||||
      language: '@language.current_language_context:language_interface'
 | 
			
		||||
  node_type:
 | 
			
		||||
    id: node_type
 | 
			
		||||
    bundles: {  }
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping:
 | 
			
		||||
      node: '@node.node_route_context:node'
 | 
			
		||||
  request_path:
 | 
			
		||||
    id: request_path
 | 
			
		||||
    pages: ''
 | 
			
		||||
    negate: false
 | 
			
		||||
  user_role:
 | 
			
		||||
    id: user_role
 | 
			
		||||
    roles: {  }
 | 
			
		||||
    negate: false
 | 
			
		||||
    context_mapping:
 | 
			
		||||
      user: '@user.current_user_context:current_user'
 | 
			
		||||
langcode: fr
 | 
			
		||||
@@ -1,5 +0,0 @@
 | 
			
		||||
ignored_config_entities:
 | 
			
		||||
  0: system.performance
 | 
			
		||||
  2: devel.settings
 | 
			
		||||
  4: piwik.settings
 | 
			
		||||
langcode: fr
 | 
			
		||||
@@ -1,5 +0,0 @@
 | 
			
		||||
allow_non_ascii: false
 | 
			
		||||
www_prefix: false
 | 
			
		||||
login_paths: /user/login\r\n/user/password
 | 
			
		||||
css_classes: ''
 | 
			
		||||
langcode: fr
 | 
			
		||||
@@ -1,7 +0,0 @@
 | 
			
		||||
environments:
 | 
			
		||||
  - default
 | 
			
		||||
  - local
 | 
			
		||||
  - development
 | 
			
		||||
  - staging
 | 
			
		||||
  - testing
 | 
			
		||||
langcode: fr
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
domain_site_settings: null
 | 
			
		||||
@@ -1,7 +0,0 @@
 | 
			
		||||
default_theme: toolbar_admin_menu
 | 
			
		||||
icons: 1
 | 
			
		||||
tabs: 0
 | 
			
		||||
langcode: fr
 | 
			
		||||
actions:
 | 
			
		||||
  submit: Submit
 | 
			
		||||
font_size: '10'
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
name: figli starter kit
 | 
			
		||||
type: profile
 | 
			
		||||
description: 'Figli Starter kit install Profile'
 | 
			
		||||
core: 8.x
 | 
			
		||||
core_version_requirement: ^8 || ^9
 | 
			
		||||
 | 
			
		||||
dependencies:
 | 
			
		||||
  # Drupal core
 | 
			
		||||
@@ -52,12 +52,10 @@ dependencies:
 | 
			
		||||
  - 'autologout'
 | 
			
		||||
  - 'better_exposed_filters'
 | 
			
		||||
  - 'betterlogin'
 | 
			
		||||
  - 'better_messages'
 | 
			
		||||
  - 'block_class'
 | 
			
		||||
  - 'bulkdelete'
 | 
			
		||||
  - 'cshs'
 | 
			
		||||
  - 'config_devel'
 | 
			
		||||
  - 'config_filter'
 | 
			
		||||
  - 'config_ignore'
 | 
			
		||||
  - 'config_translation'
 | 
			
		||||
  - 'config_update'
 | 
			
		||||
@@ -69,13 +67,12 @@ dependencies:
 | 
			
		||||
  - 'ctools'
 | 
			
		||||
  - 'ctools_block'
 | 
			
		||||
  - 'ctools_views'
 | 
			
		||||
  - 'date_range_formatter'
 | 
			
		||||
  - 'devel'
 | 
			
		||||
  - 'devel_generate'
 | 
			
		||||
  - 'domain'
 | 
			
		||||
  - 'domain_alias'
 | 
			
		||||
  - 'domain_config'
 | 
			
		||||
  - 'domain_site_settings'
 | 
			
		||||
  # - 'domain'
 | 
			
		||||
  # - 'domain_alias'
 | 
			
		||||
  # - 'domain_config'
 | 
			
		||||
  # - 'domain_site_settings'
 | 
			
		||||
  - 'email_registration'
 | 
			
		||||
  - 'embed'
 | 
			
		||||
  - 'entity_browser'
 | 
			
		||||
@@ -86,7 +83,6 @@ dependencies:
 | 
			
		||||
  - 'filter_perms'
 | 
			
		||||
  - 'honeypot'
 | 
			
		||||
  - 'inline_entity_form'
 | 
			
		||||
  - 'kint'
 | 
			
		||||
  - 'link_attributes'
 | 
			
		||||
  - 'linkit'
 | 
			
		||||
  - 'maillog'
 | 
			
		||||
@@ -102,24 +98,18 @@ dependencies:
 | 
			
		||||
  - 'persistent_login'
 | 
			
		||||
  - 'redirect'
 | 
			
		||||
  - 'token'
 | 
			
		||||
  - 'toolbar_themes'
 | 
			
		||||
  - 'translation_views'
 | 
			
		||||
  - 'redis'
 | 
			
		||||
  - 'search_api'
 | 
			
		||||
  - 'search_api_db'
 | 
			
		||||
  - 'smart_trim'
 | 
			
		||||
  - 'smtp'
 | 
			
		||||
  - 'synonyms'
 | 
			
		||||
  - 'url_to_video_filter'
 | 
			
		||||
  - 'ultimate_cron'
 | 
			
		||||
  # - 'ultimate_cron'
 | 
			
		||||
  - 'video_embed_field'
 | 
			
		||||
  - 'views_bulk_edit'
 | 
			
		||||
  - 'views_bulk_operations'
 | 
			
		||||
  - 'views_ef_fieldset'
 | 
			
		||||
  - 'workflow'
 | 
			
		||||
  - 'workflow_access'
 | 
			
		||||
  - 'workflow_operations'
 | 
			
		||||
  - 'workflow_ui'
 | 
			
		||||
 | 
			
		||||
themes:
 | 
			
		||||
  - 'adminimal_theme'
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										42
									
								
								readme.md
									
									
									
									
									
								
							
							
						
						
									
										42
									
								
								readme.md
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
# Figli Drupal 8 Starterkit Profile
 | 
			
		||||
# Figli Drupal 9 Starterkit Profile
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## install
 | 
			
		||||
@@ -6,41 +6,37 @@
 | 
			
		||||
### install drupal with composer
 | 
			
		||||
```
 | 
			
		||||
cd public_html
 | 
			
		||||
composer create-project drupal/drupal .
 | 
			
		||||
composer create-project drupal/recommended-project .
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### clone this profile into profiles folder
 | 
			
		||||
```
 | 
			
		||||
cd profiles
 | 
			
		||||
git clone -o figli https://figureslibres.io/gogs/bachir/d8-starterkit-profile.git
 | 
			
		||||
git clone -o figli https://figureslibres.io/gogs/bachir/drupal-starterkit-profile.git
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### include the profile's composer file to the main drupal's composer file
 | 
			
		||||
in composer.js replace
 | 
			
		||||
install composer-merge-plugin
 | 
			
		||||
```
 | 
			
		||||
"merge-plugin": {
 | 
			
		||||
    "include": [
 | 
			
		||||
        "core/composer.json"
 | 
			
		||||
    ],
 | 
			
		||||
    "recurse": true,
 | 
			
		||||
    "replace": false,
 | 
			
		||||
    "merge-extra": false
 | 
			
		||||
}
 | 
			
		||||
composer require wikimedia/composer-merge-plugin
 | 
			
		||||
```
 | 
			
		||||
by
 | 
			
		||||
then in main drupal's composer.js file add this in extra
 | 
			
		||||
```
 | 
			
		||||
"merge-plugin": {
 | 
			
		||||
    "include": [
 | 
			
		||||
        "core/composer.json",
 | 
			
		||||
        "profiles/d8-starterkit-profile/composer.json"
 | 
			
		||||
    ],
 | 
			
		||||
    "recurse": true,
 | 
			
		||||
    "replace": false,
 | 
			
		||||
    "merge-extra": true
 | 
			
		||||
"extra": {
 | 
			
		||||
  ...
 | 
			
		||||
  "merge-plugin": {
 | 
			
		||||
      "include": [
 | 
			
		||||
          "web/profiles/d8-starterkit-profile/composer.json"
 | 
			
		||||
      ],
 | 
			
		||||
      "recurse": true,
 | 
			
		||||
      "replace": false,
 | 
			
		||||
      "merge-extra": true
 | 
			
		||||
  }
 | 
			
		||||
  ...
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### install dependencies with composer
 | 
			
		||||
### install the profile's merged dependencies with composer
 | 
			
		||||
```
 | 
			
		||||
cd ../
 | 
			
		||||
composer update
 | 
			
		||||
@@ -57,4 +53,4 @@ chmod g+r sites/default/settings.php
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### run drupal install as usual
 | 
			
		||||
by accessing your site and choosing the figli_starter_kit profile 
 | 
			
		||||
by accessing your site and choosing the figli_starter_kit profile
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user