-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rob Davis
committed
Dec 28, 2023
0 parents
commit 850c73a
Showing
32 changed files
with
9,279 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Drupal editor configuration normalization | ||
# @see http://editorconfig.org/ | ||
|
||
# This is the top-most .editorconfig file; do not search in parent directories. | ||
root = true | ||
|
||
# All files. | ||
[*] | ||
end_of_line = LF | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[composer.{json,lock}] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Drupal git normalization | ||
# @see https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html | ||
# @see https://www.drupal.org/node/1542048 | ||
|
||
# Normally these settings would be done with macro attributes for improved | ||
# readability and easier maintenance. However macros can only be defined at the | ||
# repository root directory. Drupal avoids making any assumptions about where it | ||
# is installed. | ||
|
||
# Define text file attributes. | ||
# - Treat them as text. | ||
# - Ensure no CRLF line-endings, neither on checkout nor on checkin. | ||
# - Detect whitespace errors. | ||
# - Exposed by default in `git diff --color` on the CLI. | ||
# - Validate with `git diff --check`. | ||
# - Deny applying with `git apply --whitespace=error-all`. | ||
# - Fix automatically with `git apply --whitespace=fix`. | ||
|
||
*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php | ||
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html | ||
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php | ||
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php | ||
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php | ||
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php | ||
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php | ||
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php | ||
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php | ||
*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 | ||
|
||
# Define binary file attributes. | ||
# - Do not treat them as text. | ||
# - Include binary diff in patches instead of "binary files differ." | ||
*.eot -text diff | ||
*.exe -text diff | ||
*.gif -text diff | ||
*.gz -text diff | ||
*.ico -text diff | ||
*.jpeg -text diff | ||
*.jpg -text diff | ||
*.otf -text diff | ||
*.phar -text diff | ||
*.png -text diff | ||
*.svgz -text diff | ||
*.ttf -text diff | ||
*.woff -text diff | ||
*.woff2 -text diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
# Ignore directories generated by Composer | ||
|
||
# in the case of /sync, we don't want to version control any files in it as sync is used for local exchange between host and guest VM (NFS sharing) | ||
# however, we do want to keep the sync folder itself, so we ignore everything inside sync, except for README.txt to ensure that git retains its parent folder - sync | ||
# /sync | ||
!share/ | ||
share/* | ||
!share/purpose.txt | ||
|
||
drush/contrib/ | ||
vendor | ||
web/core/ | ||
web/modules/contrib/ | ||
web/themes/contrib/ | ||
|
||
# lets retain node_modules due to variability of dev env meaning unpredictable breaking of gulp | ||
#web/themes/*/*/node_modules* | ||
web/profiles/contrib/ | ||
|
||
|
||
|
||
# Ignore sensitive information | ||
|
||
web/sites/*/settings.local.php | ||
|
||
# Ignore Drupal's file directory | ||
/web/sites/*/files | ||
|
||
# ignore local services.yml settings | ||
web/sites/default/services.yml | ||
|
||
# Ignore SimpleTest multi-site environment. | ||
/web/sites/simpletest | ||
|
||
# Ignore files generated by PhpStorm / IntelliJ | ||
**/.idea/ | ||
out/ | ||
*.iml | ||
*.iws | ||
*.ipr | ||
|
||
**/.csslintrc | ||
|
||
# Ignore .env files as they are personal | ||
**/.env | ||
|
||
# Non-drupal and platform development (IDE) artifacts | ||
|
||
### OSX template | ||
**/.DS_Store | ||
**/.AppleDouble | ||
**/.LSOverride | ||
|
||
# Icon must end with two \r | ||
**/Icon | ||
|
||
# Thumbnails | ||
**/._* | ||
|
||
# Files that might appear in the root of a volume | ||
**/.DocumentRevisions-V100 | ||
**/.fseventsd | ||
**/.Spotlight-V100 | ||
**/.TemporaryItems | ||
**/.Trashes | ||
**/.VolumeIcon.icns | ||
**/.com.apple.timemachine.donotpresent | ||
|
||
# Directories potentially created on remote AFP share | ||
**/.AppleDB | ||
**/.AppleDesktop | ||
**/Network Trash Folder | ||
**/Temporary Items | ||
**/.apdisk | ||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# activestate komodo ide | ||
**.komodoproject | ||
|
||
# eclipse project file | ||
**/.settings/ | ||
**/.classpath | ||
**/.project | ||
|
||
# NetBeans specific | ||
**/nbsite/private/ | ||
**/build/ | ||
**/nbbuild/ | ||
**/dist/ | ||
**/nbdist/ | ||
**/nbactions.xml | ||
**/nb-configuration.xml | ||
# may want to ignore css but scss setup with gulp has seemed to be a disproportionate challenge to setup so having the css in the event of issue could be handy | ||
# web/themes/custom/cityaction/css | ||
# web/themes/custom/cityaction/node_modules | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
**/com_crashlytics_export_strings.xml | ||
**/crashlytics.properties | ||
**/crashlytics-build.properties | ||
**/fabric.properties | ||
|
||
# Misc | ||
**/.swp | ||
**/release.properties | ||
**/pom.xml.releaseBackup | ||
**/pom.xml.tag | ||
|
||
# Binaries | ||
# exclude any downloaded libraries in their packaged form (when really they should be brought in by composer anyway) | ||
# exclude any file attachments to content in the CMS (these are not to be version controlled) | ||
# exclude any machine generated files, including those generated by compilers, run-timme bytecode VMs (e.g. in Java/JVM .class) | ||
**.7z | ||
**.dmg | ||
**.gz | ||
**.iso | ||
**.jar | ||
**.rar | ||
**.tar | ||
**.tar.gz | ||
**.zip | ||
**.war | ||
**.ear | ||
**.sar | ||
**.class | ||
|
||
# Maven | ||
# not ignored at this time, may ignore useful files by mistake | ||
#target/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# web-distro-instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tools/dev/phpcomposer/composer.phar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.1", | ||
"drupal/core-project-message": "^10.1", | ||
"drupal/core-recommended": "^10.1", | ||
"drush/drush": "^12.4" | ||
}, | ||
"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 | ||
}, | ||
"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" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.