updated for D9
This commit is contained in:
parent
e3c88f4acc
commit
bf7a51f91c
@ -1,40 +1,38 @@
|
|||||||
{
|
{
|
||||||
"name": "bachir/d8_starterkit_profile",
|
"name": "bachir/d9_starterkit_profile",
|
||||||
"type": "drupal-profile",
|
"type": "drupal-profile",
|
||||||
"description": "Starter kit install profil by figureslibres",
|
"description": "Starter kit install profil by figureslibres",
|
||||||
"keywords": ["Drupal","FiguresLibres", "StarterKit"],
|
"keywords": ["Drupal","FiguresLibres", "StarterKit"],
|
||||||
"require": {
|
"require": {
|
||||||
"drupal/core": "8.*",
|
|
||||||
"components/highlightjs": "9.7.*",
|
"components/highlightjs": "9.7.*",
|
||||||
"cweagans/composer-patches": "^1.6",
|
"cweagans/composer-patches": "^1.6",
|
||||||
"d3/d3": "3.5.*",
|
"d3/d3": "3.5.*",
|
||||||
"drush/drush": "^9.5",
|
"drush/drush": "^10",
|
||||||
"drupal/console": "^1.8",
|
"drupal/console": "^1.8",
|
||||||
"drupal/adminimal_theme": "^1.3",
|
"drupal/adminimal_theme": "^1.3",
|
||||||
"drupal/admin_toolbar": "^2",
|
"drupal/admin_toolbar": "^2",
|
||||||
"drupal/address": "^1.4",
|
"drupal/address": "^1.4",
|
||||||
"drupal/advanced_text_formatter": "^1.0@beta",
|
"drupal/advanced_text_formatter": "^2.0",
|
||||||
"drupal/audiofield": "^1.6",
|
"drupal/audiofield": "^1.6",
|
||||||
"drupal/autocomplete_deluxe": "^2.0@RC",
|
"drupal/autocomplete_deluxe": "^2.0@RC",
|
||||||
"drupal/autologout": "^1.0",
|
"drupal/autologout": "^1.0",
|
||||||
"drupal/betterlogin": "^1.2",
|
"drupal/betterlogin": "^1.2",
|
||||||
"drupal/better_exposed_filters": "^5.0@beta",
|
"drupal/better_exposed_filters": "^5.0@beta",
|
||||||
"drupal/better_messages": "^1.0@alpha",
|
|
||||||
"drupal/block_class": "^1.0",
|
"drupal/block_class": "^1.0",
|
||||||
"drupal/bulkdelete": "1.x-dev",
|
"drupal/bulkdelete": "1.x-dev",
|
||||||
"drupal/cshs": "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_filter": "^1.0",
|
||||||
"drupal/config_devel": "^1.2",
|
"drupal/config_devel": "^1.x-dev@dev",
|
||||||
"drupal/config_update": "^1.5",
|
"drupal/config_update": "^1.5",
|
||||||
"drupal/content_lock": "^2.1",
|
"drupal/content_lock": "^2.1",
|
||||||
"drupal/context": "^4.0@beta",
|
"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/devel": "^4.0",
|
||||||
"drupal/domain": "dev-1.x",
|
"drupal/domain": "dev-1.x",
|
||||||
"drupal/domain_alias": "dev-1.x",
|
"drupal/domain_alias": "dev-1.x",
|
||||||
"drupal/domain_config": "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/email_registration": "^1.0@RC",
|
||||||
"drupal/embed": "^1.0",
|
"drupal/embed": "^1.0",
|
||||||
"drupal/entity_browser": "^2.0",
|
"drupal/entity_browser": "^2.0",
|
||||||
@ -47,9 +45,9 @@
|
|||||||
"drupal/honeypot": "^2.0",
|
"drupal/honeypot": "^2.0",
|
||||||
"drupal/imagemagick": "^3.1",
|
"drupal/imagemagick": "^3.1",
|
||||||
"drupal/inline_entity_form": "^1.0@RC",
|
"drupal/inline_entity_form": "^1.0@RC",
|
||||||
"drupal/linkit": "^4.3",
|
"drupal/linkit": "^5.0@beta",
|
||||||
"drupal/link_attributes": "^1.5",
|
"drupal/link_attributes": "^1.5",
|
||||||
"drupal/login_destination": "1.x-dev",
|
"drupal/login_destination": "2.x-dev@dev",
|
||||||
"drupal/maillog": "1.x-dev",
|
"drupal/maillog": "1.x-dev",
|
||||||
"drupal/mailsystem": "^4.1",
|
"drupal/mailsystem": "^4.1",
|
||||||
"drupal/matomo": "^1.7",
|
"drupal/matomo": "^1.7",
|
||||||
@ -69,17 +67,15 @@
|
|||||||
"drupal/search_api_db": "^1.10",
|
"drupal/search_api_db": "^1.10",
|
||||||
"drupal/smart_trim": "^1.1",
|
"drupal/smart_trim": "^1.1",
|
||||||
"drupal/smtp": "^1.0@beta",
|
"drupal/smtp": "^1.0@beta",
|
||||||
"drupal/synonyms": "^1.0@alpha",
|
"drupal/synonyms": "1.x-dev@dev",
|
||||||
"drupal/translation_views": "^1.0@alpha",
|
"drupal/translation_views": "^1.0@alpha",
|
||||||
"drupal/token": "^1.5",
|
"drupal/token": "^1.5",
|
||||||
"drupal/toolbar_themes": "^1.0@alpha",
|
|
||||||
"drupal/ultimate_cron": "^2.0@alpha",
|
"drupal/ultimate_cron": "^2.0@alpha",
|
||||||
"drupal/url_to_video_filter": "^2.0",
|
"drupal/url_to_video_filter": "^2.0",
|
||||||
"drupal/video_embed_field": "^2.0",
|
"drupal/video_embed_field": "^2.0",
|
||||||
"drupal/views_bulk_operations": "^3.9",
|
"drupal/views_bulk_operations": "^3.9",
|
||||||
"drupal/views_bulk_edit": "^2.2",
|
"drupal/views_bulk_edit": "^2.2",
|
||||||
"drupal/views_ef_fieldset": "^1.2",
|
"drupal/views_ef_fieldset": "^1.2"
|
||||||
"drupal/workflow": "1.x-dev"
|
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
@ -112,7 +108,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"extra": {
|
"extra": {
|
||||||
"patches": {
|
"patches": {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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,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
|
name: figli starter kit
|
||||||
type: profile
|
type: profile
|
||||||
description: 'Figli Starter kit install Profile'
|
description: 'Figli Starter kit install Profile'
|
||||||
core: 8.x
|
core_version_requirement: ^8 || ^9
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
# Drupal core
|
# Drupal core
|
||||||
@ -52,12 +52,10 @@ dependencies:
|
|||||||
- 'autologout'
|
- 'autologout'
|
||||||
- 'better_exposed_filters'
|
- 'better_exposed_filters'
|
||||||
- 'betterlogin'
|
- 'betterlogin'
|
||||||
- 'better_messages'
|
|
||||||
- 'block_class'
|
- 'block_class'
|
||||||
- 'bulkdelete'
|
- 'bulkdelete'
|
||||||
- 'cshs'
|
- 'cshs'
|
||||||
- 'config_devel'
|
- 'config_devel'
|
||||||
- 'config_filter'
|
|
||||||
- 'config_ignore'
|
- 'config_ignore'
|
||||||
- 'config_translation'
|
- 'config_translation'
|
||||||
- 'config_update'
|
- 'config_update'
|
||||||
@ -69,7 +67,6 @@ dependencies:
|
|||||||
- 'ctools'
|
- 'ctools'
|
||||||
- 'ctools_block'
|
- 'ctools_block'
|
||||||
- 'ctools_views'
|
- 'ctools_views'
|
||||||
- 'date_range_formatter'
|
|
||||||
- 'devel'
|
- 'devel'
|
||||||
- 'devel_generate'
|
- 'devel_generate'
|
||||||
- 'domain'
|
- 'domain'
|
||||||
@ -86,7 +83,6 @@ dependencies:
|
|||||||
- 'filter_perms'
|
- 'filter_perms'
|
||||||
- 'honeypot'
|
- 'honeypot'
|
||||||
- 'inline_entity_form'
|
- 'inline_entity_form'
|
||||||
- 'kint'
|
|
||||||
- 'link_attributes'
|
- 'link_attributes'
|
||||||
- 'linkit'
|
- 'linkit'
|
||||||
- 'maillog'
|
- 'maillog'
|
||||||
@ -102,24 +98,18 @@ dependencies:
|
|||||||
- 'persistent_login'
|
- 'persistent_login'
|
||||||
- 'redirect'
|
- 'redirect'
|
||||||
- 'token'
|
- 'token'
|
||||||
- 'toolbar_themes'
|
|
||||||
- 'translation_views'
|
- 'translation_views'
|
||||||
- 'redis'
|
- 'redis'
|
||||||
- 'search_api'
|
- 'search_api'
|
||||||
- 'search_api_db'
|
- 'search_api_db'
|
||||||
- 'smart_trim'
|
- 'smart_trim'
|
||||||
- 'smtp'
|
- 'smtp'
|
||||||
- 'synonyms'
|
|
||||||
- 'url_to_video_filter'
|
- 'url_to_video_filter'
|
||||||
- 'ultimate_cron'
|
- 'ultimate_cron'
|
||||||
- 'video_embed_field'
|
- 'video_embed_field'
|
||||||
- 'views_bulk_edit'
|
- 'views_bulk_edit'
|
||||||
- 'views_bulk_operations'
|
- 'views_bulk_operations'
|
||||||
- 'views_ef_fieldset'
|
- 'views_ef_fieldset'
|
||||||
- 'workflow'
|
|
||||||
- 'workflow_access'
|
|
||||||
- 'workflow_operations'
|
|
||||||
- 'workflow_ui'
|
|
||||||
|
|
||||||
themes:
|
themes:
|
||||||
- 'adminimal_theme'
|
- 'adminimal_theme'
|
||||||
|
30
readme.md
30
readme.md
@ -6,41 +6,37 @@
|
|||||||
### install drupal with composer
|
### install drupal with composer
|
||||||
```
|
```
|
||||||
cd public_html
|
cd public_html
|
||||||
composer create-project drupal/drupal .
|
composer create-project drupal/recommended-project .
|
||||||
```
|
```
|
||||||
|
|
||||||
### clone this profile into profiles folder
|
### clone this profile into profiles folder
|
||||||
```
|
```
|
||||||
cd profiles
|
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
|
### include the profile's composer file to the main drupal's composer file
|
||||||
in composer.js replace
|
install composer-merge-plugin
|
||||||
```
|
```
|
||||||
|
composer require wikimedia/composer-merge-plugin
|
||||||
|
```
|
||||||
|
then in main drupal's composer.js file add this in extra
|
||||||
|
```
|
||||||
|
"extra": {
|
||||||
|
...
|
||||||
"merge-plugin": {
|
"merge-plugin": {
|
||||||
"include": [
|
"include": [
|
||||||
"core/composer.json"
|
"web/profiles/d8-starterkit-profile/composer.json"
|
||||||
],
|
|
||||||
"recurse": true,
|
|
||||||
"replace": false,
|
|
||||||
"merge-extra": false
|
|
||||||
}
|
|
||||||
```
|
|
||||||
by
|
|
||||||
```
|
|
||||||
"merge-plugin": {
|
|
||||||
"include": [
|
|
||||||
"core/composer.json",
|
|
||||||
"profiles/d8-starterkit-profile/composer.json"
|
|
||||||
],
|
],
|
||||||
"recurse": true,
|
"recurse": true,
|
||||||
"replace": false,
|
"replace": false,
|
||||||
"merge-extra": true
|
"merge-extra": true
|
||||||
}
|
}
|
||||||
|
...
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### install dependencies with composer
|
### install the profile's merged dependencies with composer
|
||||||
```
|
```
|
||||||
cd ../
|
cd ../
|
||||||
composer update
|
composer update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user