Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
##
# @file
# Browsers supported by this project.
#
# @see https://github.com/browserslist/browserslist

Explorer 11
last 2 Chrome versions
last 2 ChromeAndroid versions
last 2 Edge versions
last 2 Firefox versions
last 2 Safari versions
last 2 iOS versions
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"root": true,
"extends": "drupal",
"globals": {}
}
26 changes: 26 additions & 0 deletions .github/workflows/scheduled_sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Merge upstream branches

on:
schedule:
- cron: '0 0,12 * * *'

jobs:
merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Merge upstream
run: |
git config --global user.name ${NAME}
git config --global user.email ${EMAIL}
git config --global pull.rebase merges
git pull --unshallow
git remote add upstream ${REPO_FORK}
git fetch upstream
git checkout 8.x
git merge --no-edit upstream/8.x
git push origin 8.x
env:
NAME: studioumi
EMAIL: motoki.kobayashi+github@studio-umi.jp
REPO_FORK: 'https://github.com/drupal-composer/drupal-project.git'
30 changes: 20 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
# Ignore directories generated by Composer
/drush/contrib/
/vendor/
/web/core/
/web/modules/contrib/
/web/themes/contrib/
/web/profiles/contrib/
/web/libraries/
/app/core/
/app/modules/contrib/
/app/themes/contrib/
/app/profiles/contrib/
/app/libraries/

# Ignore sensitive information
/web/sites/*/settings.php
/web/sites/*/settings.local.php
/app/sites/*/settings.local.php
/app/sites/*/services.local.yml

# Ignore Drupal's file directory
/web/sites/*/files/
/app/sites/*/files/

# Ignore SimpleTest multi-site environment.
/web/sites/simpletest
# Ignore SimpleTest multi-site environment
/app/sites/simpletest

# Ignore files generated by PhpStorm
/.idea/

# Ignore .env files as they are personal
/.env

# Ignore files generated by Drupal Paranoia
/web/

# Ignore directory generated by Node.js
/node_modules/

# Ignore files generated by Drupal scaffold
/.editorconfig
/.gitattributes
27 changes: 27 additions & 0 deletions .lando.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: d9
recipe: drupal9
config:
webroot: web
php: 7.3
via: apache:2.4
database: mysql:5.7
proxy:
phpmyadmin:
- pma.lndo.site
mailhog:
- mailhog.lndo.site
services:
appserver:
build:
- composer install
build_as_root:
- pecl install uploadprogress
- docker-php-ext-enable uploadprogress
phpmyadmin:
type: phpmyadmin
hosts:
- database
mailhog:
type: mailhog
hogfrom:
- appserver
1 change: 1 addition & 0 deletions .prettierrc.json
36 changes: 36 additions & 0 deletions .stylelintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
##
# @file
# stylelint configuration.
#
# @see https://stylelint.io/user-guide/configure

# Extends Drupal default stylelint settings.
extends: stylelint-config-drupal

plugins:
- stylelint-scss

rules:
at-rule-empty-line-before:
- always
- ignore:
- after-comment
- blockless-after-same-name-blockless
- first-nested
- inside-block
# scss/at-rule-no-unknown を利用するため無効化
at-rule-no-unknown: null
comment-empty-line-before: always
font-family-no-missing-generic-family-keyword:
- true
- ignoreFontFamilies: ["Material Icons", "FontAwesome"]
max-nesting-depth: 3
# Drupal コアで設定される no-browser-hacks は SCSS の変数まで対象となってしまうため
# 無効にする
plugin/no-browser-hacks: null
scss/at-rule-no-unknown: true
scss/dollar-variable-colon-space-after: always
scss/dollar-variable-colon-space-before: never
scss/at-import-partial-extension: never
scss/at-mixin-parentheses-space-before: never
scss/no-duplicate-mixins: true
Loading