1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/drupal_ynh.git synced 2024-09-03 18:35:53 +02:00
This commit is contained in:
Éric Gaspar 2023-05-23 15:56:27 +02:00
parent f0bc131cb0
commit 4f7f04f74d
2 changed files with 58 additions and 29 deletions

View file

@ -1,6 +1,6 @@
{
"name": "drupal/recommended-project",
"description": "Project template for Drupal 9 projects with a relocated document root",
"name": "drupal/legacy-project",
"description": "Project template for Drupal projects with composer following drupal/drupal layout",
"type": "project",
"license": "GPL-2.0-or-later",
"homepage": "https://www.drupal.org/project/drupal",
@ -15,21 +15,26 @@
}
],
"require": {
"composer/installers": "^1.9",
"drupal/core-composer-scaffold": "^9.3",
"drupal/core-project-message": "^9.3",
"drupal/core-recommended": "^9.3",
"drush/drush": "^11.0.0"
},
"require-dev": {
"drupal/core-dev": "^9.3"
"composer/installers": "^2.0",
"drupal/core-composer-scaffold": "^10.0",
"drupal/core-project-message": "^10.0",
"drupal/core-recommended": "^10.0",
"drupal/core-vendor-hardening": "^10.0"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"drupal/core-vendor-hardening": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"sort-packages": true
},
"extra": {
@ -39,26 +44,47 @@
}
},
"installer-paths": {
"__APP__/core": ["type:drupal-core"],
"__APP__/libraries/{$name}": ["type:drupal-library"],
"__APP__/modules/contrib/{$name}": ["type:drupal-module"],
"__APP__/profiles/contrib/{$name}": ["type:drupal-profile"],
"__APP__/themes/contrib/{$name}": ["type:drupal-theme"],
"drush/Commands/contrib/{$name}": ["type:drupal-drush"],
"__APP__/modules/custom/{$name}": ["type:drupal-custom-module"],
"__APP__/themes/custom/{$name}": ["type:drupal-custom-theme"]
"core": [
"type:drupal-core"
],
"libraries/{$name}": [
"type:drupal-library"
],
"modules/contrib/{$name}": [
"type:drupal-module"
],
"profiles/contrib/{$name}": [
"type:drupal-profile"
],
"themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"modules/custom/{$name}": [
"type:drupal-custom-module"
],
"profiles/custom/{$name}": [
"type:drupal-custom-profile"
],
"themes/custom/{$name}": [
"type:drupal-custom-theme"
]
},
"drupal-core-project-message": {
"include-keys": ["homepage", "support"],
"include-keys": [
"homepage",
"support"
],
"post-create-project-cmd-message": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Congratulations, youve installed the Drupal codebase </>",
"<bg=blue;fg=white> from the drupal/recommended-project template! </>",
"<bg=blue;fg=white> from the drupal/legacy-project template! </>",
"<bg=blue;fg=white> </>",
"",
"<bg=yellow;fg=black>Next steps</>:",
" * Install the site: https://www.drupal.org/docs/8/install",
" * Install the site: https://www.drupal.org/docs/installing-drupal",
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
" * Get support: https://www.drupal.org/support",
" * Get involved with the Drupal community:",
@ -68,4 +94,4 @@
]
}
}
}
}

View file

@ -5,7 +5,7 @@ name = "Drupal"
description.en = "Content management framework"
description.fr = "Système de gestion de contenu"
version = "10.0.0~ynh1"
version = "10.0.9~ynh1"
maintainers = ["yalh76"]
@ -59,10 +59,13 @@ ram.runtime = "50M"
[resources]
[resources.sources.main]
url = "https://github.com/drupal-composer/drupal-project/archive/a1bb2c4dd1e54ce6b9170dc666e6d543474dd57b.tar.gz"
sha256 = "992ae211565e8392910b58ddbd17aff7f9627430140d8c2134499a02a900cd57"
autoupdate.upstream = "https://github.com/drupal-composer/drupal-project"
autoupdate.strategy = "latest_github_commit"
#url = "https://github.com/drupal-composer/drupal-project/archive/a1bb2c4dd1e54ce6b9170dc666e6d543474dd57b.tar.gz"
#sha256 = "992ae211565e8392910b58ddbd17aff7f9627430140d8c2134499a02a900cd57"
#autoupdate.upstream = "https://github.com/drupal-composer/drupal-project"
#autoupdate.strategy = "latest_github_commit"
url = "https://ftp.drupal.org/files/projects/drupal-10.0.9.tar.gz"
sha256 = "fc456088ae680b99759eb1497c854f22f504b901a95e7510175b02b980fc1a7a"
[resources.system_user]