diff --git a/conf/composer.json b/conf/composer.json index e5d85f0..c9ec4a3 100644 --- a/conf/composer.json +++ b/conf/composer.json @@ -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": [ " ", " Congratulations, you’ve installed the Drupal codebase ", - " from the drupal/recommended-project template! ", + " from the drupal/legacy-project template! ", " ", "", "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 @@ ] } } -} +} \ No newline at end of file diff --git a/manifest.toml b/manifest.toml index 7ae6d0e..f39024f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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]