Skip to content

Commit d26d3d6

Browse files
committed
initial
0 parents  commit d26d3d6

File tree

233 files changed

+21695
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+21695
-0
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Drupal editor configuration normalization
2+
# @see http://editorconfig.org/
3+
4+
# This is the top-most .editorconfig file; do not search in parent directories.
5+
root = true
6+
7+
# All files.
8+
[*]
9+
end_of_line = LF
10+
indent_style = space
11+
indent_size = 2
12+
charset = utf-8
13+
trim_trailing_whitespace = true
14+
insert_final_newline = true
15+
16+
[composer.{json,lock}]
17+
indent_size = 4

.gitattributes

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Drupal git normalization
2+
# @see https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
# @see https://www.drupal.org/node/1542048
4+
5+
# Normally these settings would be done with macro attributes for improved
6+
# readability and easier maintenance. However macros can only be defined at the
7+
# repository root directory. Drupal avoids making any assumptions about where it
8+
# is installed.
9+
10+
# Define text file attributes.
11+
# - Treat them as text.
12+
# - Ensure no CRLF line-endings, neither on checkout nor on checkin.
13+
# - Detect whitespace errors.
14+
# - Exposed by default in `git diff --color` on the CLI.
15+
# - Validate with `git diff --check`.
16+
# - Deny applying with `git apply --whitespace=error-all`.
17+
# - Fix automatically with `git apply --whitespace=fix`.
18+
19+
*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
20+
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
21+
*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
22+
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
23+
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html
24+
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
25+
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
26+
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
27+
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
28+
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
29+
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
30+
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
31+
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
32+
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
33+
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
34+
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
35+
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
36+
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
37+
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
38+
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
39+
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
40+
*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
41+
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
42+
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
43+
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
44+
45+
# Define binary file attributes.
46+
# - Do not treat them as text.
47+
# - Include binary diff in patches instead of "binary files differ."
48+
*.eot -text diff
49+
*.exe -text diff
50+
*.gif -text diff
51+
*.gz -text diff
52+
*.ico -text diff
53+
*.jpeg -text diff
54+
*.jpg -text diff
55+
*.otf -text diff
56+
*.phar -text diff
57+
*.png -text diff
58+
*.svgz -text diff
59+
*.ttf -text diff
60+
*.woff -text diff
61+
*.woff2 -text diff

.gitignore

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Ignore directories generated by Composer
2+
/drush/contrib/
3+
/vendor/
4+
/sync/
5+
/web/core/
6+
/web/modules/contrib/
7+
#/web/modules/custom/
8+
/web/themes/contrib/
9+
/web/profiles/contrib/
10+
/web/profiles/custom/
11+
/web/libraries/
12+
13+
# Ignore all site specific data
14+
/web/sites/*
15+
/web/sites/default/files
16+
/web/sites/default/settings.php
17+
/web/sites/default/services.yml
18+
!/web/sites/default/
19+
!/web/sites/example.sites.php
20+
!/web/sites/example.settings.local.php
21+
22+
# Ignore IDE files
23+
/.idea/
24+
/.vscode/
25+
*.iml
26+
*.code-workspace
27+
28+
# Ignore all log files
29+
*.log
30+
31+
# Ignore node modules
32+
node_modules
33+
34+
# Ignore some css related stuff
35+
*.css.map
36+
*.css.map.map
37+
38+
# Ignore default text files
39+
/CHANGELOG.txt
40+
/COPYRIGHT.txt
41+
/INSTALL*.txt
42+
/LICENSE.txt
43+
/MAINTAINERS.txt
44+
/UPGRADE.txt
45+
/README.txt
46+
sites/README.txt
47+
sites/all/modules/README.txt
48+
sites/all/themes/README.txt

composer.json

+101
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
{
2+
"name": "drupal/recommended-project",
3+
"description": "Project template for Drupal 8 projects with a relocated document root",
4+
"type": "project",
5+
"license": "GPL-2.0-or-later",
6+
"homepage": "https://www.drupal.org/project/drupal",
7+
"support": {
8+
"docs": "https://www.drupal.org/docs/user_guide/en/index.html",
9+
"chat": "https://www.drupal.org/node/314178"
10+
},
11+
"repositories": [
12+
{
13+
"type": "composer",
14+
"url": "https://packages.drupal.org/8"
15+
}
16+
],
17+
"require": {
18+
"composer/installers": "^1.2",
19+
"cweagans/composer-patches": "^1.7",
20+
"drupal/core-composer-scaffold": "^8.8",
21+
"drupal/core-project-message": "^8.8",
22+
"drupal/core-recommended": "^8.8",
23+
"drupal/ds": "^3.13",
24+
"drupal/entity_browser": "^2.6",
25+
"drupal/entity_browser_table": "^1.2",
26+
"drupal/form_display_field_machine_name": "^1.3",
27+
"drupal/h5p": "^1.0@RC",
28+
"drupal/token": "^1.9",
29+
"drush/drush": "^10.6"
30+
},
31+
"conflict": {
32+
"drupal/drupal": "*"
33+
},
34+
"minimum-stability": "dev",
35+
"prefer-stable": true,
36+
"config": {
37+
"sort-packages": true
38+
},
39+
"extra": {
40+
"patches": {
41+
"drupal/h5p": {
42+
"#3114732": "https://www.drupal.org/files/issues/2020-02-20/3114732-library-name-in-views.patch"
43+
},
44+
"drupal/entity_browser_table": {
45+
"#3118941": "https://www.drupal.org/files/issues/2020-09-02/entity_browser_table-3118941-4.patch"
46+
}
47+
},
48+
"drupal-scaffold": {
49+
"locations": {
50+
"web-root": "web/"
51+
}
52+
},
53+
"installer-paths": {
54+
"web/core": [
55+
"type:drupal-core"
56+
],
57+
"web/libraries/{$name}": [
58+
"type:drupal-library"
59+
],
60+
"web/modules/contrib/{$name}": [
61+
"type:drupal-module"
62+
],
63+
"web/profiles/contrib/{$name}": [
64+
"type:drupal-profile"
65+
],
66+
"web/themes/contrib/{$name}": [
67+
"type:drupal-theme"
68+
],
69+
"drush/Commands/contrib/{$name}": [
70+
"type:drupal-drush"
71+
],
72+
"web/modules/custom/{$name}": [
73+
"type:drupal-custom-module"
74+
],
75+
"web/themes/custom/{$name}": [
76+
"type:drupal-custom-theme"
77+
]
78+
},
79+
"drupal-core-project-message": {
80+
"include-keys": [
81+
"homepage",
82+
"support"
83+
],
84+
"post-create-project-cmd-message": [
85+
"<bg=blue;fg=white> </>",
86+
"<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
87+
"<bg=blue;fg=white> from the drupal/recommended-project template! </>",
88+
"<bg=blue;fg=white> </>",
89+
"",
90+
"<bg=yellow;fg=black>Next steps</>:",
91+
" * Install the site: https://www.drupal.org/docs/8/install",
92+
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
93+
" * Get support: https://www.drupal.org/support",
94+
" * Get involved with the Drupal community:",
95+
" https://www.drupal.org/getting-involved",
96+
" * Remove the plugin that prints this message:",
97+
" composer remove drupal/core-project-message"
98+
]
99+
}
100+
}
101+
}

0 commit comments

Comments
 (0)