Add Drupal
This commit is contained in:
parent
c664b3e26b
commit
5eec3df340
49
.gitignore
vendored
Normal file
49
.gitignore
vendored
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# This file contains default .gitignore rules. To use it, copy it to .gitignore,
|
||||||
|
# and it will cause files like your settings.php and user-uploaded files to be
|
||||||
|
# excluded from Git version control. This is a common strategy to avoid
|
||||||
|
# accidentally including private information in public repositories and patch
|
||||||
|
# files.
|
||||||
|
#
|
||||||
|
# Because .gitignore can be specific to your site, this file has a different
|
||||||
|
# name; updating Drupal core will not override your custom .gitignore file.
|
||||||
|
|
||||||
|
# Ignore core when managing all of a project's dependencies with Composer
|
||||||
|
# including Drupal core.
|
||||||
|
/web/
|
||||||
|
!/web/modules/custom/
|
||||||
|
|
||||||
|
# Ignore dependencies that are managed with Composer.
|
||||||
|
# Generally you should only ignore the root vendor directory. It's important
|
||||||
|
# that core/assets/vendor and any other vendor directories within contrib or
|
||||||
|
# custom module, theme, etc., are not ignored unless you purposely do so.
|
||||||
|
/vendor/
|
||||||
|
|
||||||
|
# Ignore configuration files that may contain sensitive information.
|
||||||
|
/web/*/settings*.php
|
||||||
|
/web/*/services*.yml
|
||||||
|
|
||||||
|
# Ignore paths that contain user-generated content.
|
||||||
|
/web/*/files
|
||||||
|
/web/*/private
|
||||||
|
|
||||||
|
# Ignore multi-site test environment.
|
||||||
|
/web/simpletest
|
||||||
|
|
||||||
|
# If you prefer to store your .gitignore file in the sites/ folder, comment
|
||||||
|
# or delete the previous settings and uncomment the following ones, instead.
|
||||||
|
|
||||||
|
# Ignore configuration files that may contain sensitive information.
|
||||||
|
# */settings*.php
|
||||||
|
|
||||||
|
# Ignore paths that contain user-generated content.
|
||||||
|
# */files
|
||||||
|
# */private
|
||||||
|
|
||||||
|
# Ignore multi-site test environment.
|
||||||
|
# simpletest
|
||||||
|
|
||||||
|
# Nix.
|
||||||
|
/.direnv/
|
||||||
|
|
||||||
|
/.editorconfig
|
||||||
|
/.gitattributes
|
96
composer.json
Normal file
96
composer.json
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
{
|
||||||
|
"name": "drupal/recommended-project",
|
||||||
|
"description": "Project template for Drupal projects with a relocated document root",
|
||||||
|
"type": "project",
|
||||||
|
"license": "GPL-2.0-or-later",
|
||||||
|
"homepage": "https://www.drupal.org/project/drupal",
|
||||||
|
"support": {
|
||||||
|
"docs": "https://www.drupal.org/docs/user_guide/en/index.html",
|
||||||
|
"chat": "https://www.drupal.org/node/314178"
|
||||||
|
},
|
||||||
|
"repositories": [
|
||||||
|
{
|
||||||
|
"type": "composer",
|
||||||
|
"url": "https://packages.drupal.org/8"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"require": {
|
||||||
|
"composer/installers": "^2.0",
|
||||||
|
"drupal/core-composer-scaffold": "^10.2",
|
||||||
|
"drupal/core-project-message": "^10.2",
|
||||||
|
"drupal/core-recommended": "^10.2"
|
||||||
|
},
|
||||||
|
"conflict": {
|
||||||
|
"drupal/drupal": "*"
|
||||||
|
},
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"prefer-stable": true,
|
||||||
|
"config": {
|
||||||
|
"allow-plugins": {
|
||||||
|
"composer/installers": true,
|
||||||
|
"drupal/core-composer-scaffold": true,
|
||||||
|
"drupal/core-project-message": true,
|
||||||
|
"phpstan/extension-installer": true,
|
||||||
|
"dealerdirect/phpcodesniffer-composer-installer": true,
|
||||||
|
"php-http/discovery": true
|
||||||
|
},
|
||||||
|
"sort-packages": true
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"drupal-scaffold": {
|
||||||
|
"locations": {
|
||||||
|
"web-root": "web/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"installer-paths": {
|
||||||
|
"web/core": [
|
||||||
|
"type:drupal-core"
|
||||||
|
],
|
||||||
|
"web/libraries/{$name}": [
|
||||||
|
"type:drupal-library"
|
||||||
|
],
|
||||||
|
"web/modules/contrib/{$name}": [
|
||||||
|
"type:drupal-module"
|
||||||
|
],
|
||||||
|
"web/profiles/contrib/{$name}": [
|
||||||
|
"type:drupal-profile"
|
||||||
|
],
|
||||||
|
"web/themes/contrib/{$name}": [
|
||||||
|
"type:drupal-theme"
|
||||||
|
],
|
||||||
|
"drush/Commands/contrib/{$name}": [
|
||||||
|
"type:drupal-drush"
|
||||||
|
],
|
||||||
|
"web/modules/custom/{$name}": [
|
||||||
|
"type:drupal-custom-module"
|
||||||
|
],
|
||||||
|
"web/profiles/custom/{$name}": [
|
||||||
|
"type:drupal-custom-profile"
|
||||||
|
],
|
||||||
|
"web/themes/custom/{$name}": [
|
||||||
|
"type:drupal-custom-theme"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"drupal-core-project-message": {
|
||||||
|
"include-keys": [
|
||||||
|
"homepage",
|
||||||
|
"support"
|
||||||
|
],
|
||||||
|
"post-create-project-cmd-message": [
|
||||||
|
"<bg=blue;fg=white> </>",
|
||||||
|
"<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
|
||||||
|
"<bg=blue;fg=white> from the drupal/recommended-project template! </>",
|
||||||
|
"<bg=blue;fg=white> </>",
|
||||||
|
"",
|
||||||
|
"<bg=yellow;fg=black>Next steps</>:",
|
||||||
|
" * 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:",
|
||||||
|
" https://www.drupal.org/getting-involved",
|
||||||
|
" * Remove the plugin that prints this message:",
|
||||||
|
" composer remove drupal/core-project-message"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
4712
composer.lock
generated
Normal file
4712
composer.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue