Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
Merge branch 'development' into feat/shinjuku-graph
Browse files Browse the repository at this point in the history
  • Loading branch information
shgtkshruch committed Mar 19, 2020
2 parents 73e3d47 + a68bf1e commit e10f1e5
Show file tree
Hide file tree
Showing 282 changed files with 10,172 additions and 8,170 deletions.
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "covid19",
"dockerComposeFile": [
"../docker-compose.yml"
],
"appPort": [
3000
],
"service": "app",
"extensions": [
"dbaeumer.vscode-eslint"
],
"postCreateCommand": "yarn install",
"workspaceFolder": "/app",
"shutdownAction": "stopCompose"
}
1 change: 1 addition & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GENERATE_ENV=development
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GENERATE_ENV=production
25 changes: 0 additions & 25 deletions .eslintrc

This file was deleted.

26 changes: 26 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
plugins: [
'eslint-plugin-tsdoc'
],
extends: [
'@nuxtjs/eslint-config-typescript',
"prettier/vue",
'prettier',
'plugin:prettier/recommended'
],
rules: {
'vue/max-attributes-per-line': 'off',
'vue/html-self-closing': ['error', {
'html': {
'void': 'always'
}
}],
'prettier/prettier': [
'error', {
'semi': false,
'singleQuote': true
}
],
'tsdoc/syntax': 'error'
}
}
35 changes: 0 additions & 35 deletions .github/CODE_OF_CONDUCT_KO.md

This file was deleted.

Binary file added .github/img/2020-03-16-16-05-37.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/img/2020-03-16-16-09-47.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/img/2020-03-16-16-11-14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn run test
- run: yarn run generate:deploy --fail-on-page-error
- run: yarn run generate:dev --fail-on-page-error
- run: "echo \"User-agent: *\nDisallow: /\" > ./dist/robots.txt"

- name: deploy
Expand Down
29 changes: 27 additions & 2 deletions .github/workflows/ogp_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- staging
- fix-ogp-size

jobs:
build:
Expand Down Expand Up @@ -32,4 +31,30 @@ jobs:
uses: actions/upload-artifact@v1
with:
name: ogp
path: ogp
path: ogp
upload:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
ref: staging
- name: Download ogp images
uses: actions/download-artifact@v1
with:
name: ogp
- name: Commit files
run: |
mkdir -p static/ogp/
rm -rf static/ogp
mv ogp static/
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add static
git commit -m "Add changes"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: deploy/new_ogp
force: true
11 changes: 11 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,14 @@ jobs:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
eslint_flags: './**/*.{vue,ts,js}'
stylelint:
name: check_stylelint_error
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: stylelint review
uses: reviewdog/action-stylelint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
stylelint_input: '**/*.{css,scss,vue}'
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn run test
- run: yarn run generate:deploy --fail-on-page-error
- run: yarn run generate:dev --fail-on-page-error
- run: "echo \"User-agent: *\nDisallow: /\" > ./dist/robots.txt"

- name: deploy
Expand Down
File renamed without changes.
7 changes: 5 additions & 2 deletions .github/CONTRIBUTING.md → CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@
* Issue へのコメントはご自由にどうぞ!新しい質問や提案なども受け付けます。
* Issue を追加する場合、必ず既に同様の Issue が無いか検索をしてから作成してください。
* Pull Request を送る場合、必ず対応する Issue 番号を追記してください。単独の Pull Request は受け付けません。
* improve(改善提案)がついたIssueについては必ず反映できると限りませんのでご了承ください(特にUI系について)
* improve(改善提案)がついたIssueについては必ず反映できると限りませんのでご了承ください
* 文言変更や見た目の大幅な変更といった、コンテンツの意味を変えるものについては、関係者の確認が必要です。採用される可能性もあまり高くないことをご了承ください。
* `waiting` ラベルがついた Issue は関係者の確認中ですので、内容が固まるまで実装するのは避けていただく方が無難です。
* good first issue / help wanted / bug を優先して対応いただけると助かります

## コミュニケーションへの参加方法
* Code for Japan の Slack アカウントを持っていない場合、[こちらから登録](https://cfjslackin.herokuapp.com/)してください
* `#covid19` チャンネルにご参加ください。

## 参加にあたって
* 開発に参加する前に、[Principle/行動規範](CODE_OF_CONDUCT.md) をご一読ください。
* 開発に参加する前に、[Principle/行動規範](./CODE_OF_CONDUCT.md) をご一読ください。
* コミュニケーションにあたっては、Code for Japan の [行動規範](https://github.com/codeforjapan/codeofconduct) もご確認ください。
* 自分ができそうな Issue に誰もアサインされていない場合、Issueに「やります!」等とコメントしてから開発をはじめてください。
* [good first issue ラベルのついたもの](https://github.com/tokyo-metropolitan-gov/covid19/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)は初心者におすすめです
Expand All @@ -40,5 +42,6 @@
* ステージングサイト https://stg-covid19-tokyo.netlify.com/
* 本番サイト https://stopcovid19.metro.tokyo.lg.jp/
* [デザイン](https://www.figma.com/file/V7vt80p2gauhdgTZeVNbgj/UI%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3?node-id=121%3A156)
* [翻訳スプレッドシート](https://docs.google.com/spreadsheets/d/1avT6QGInyQseYjoc_TxL8RPZfutyvrv4BtJkXfk1Nko)

本 ドキュメント の更新も大歓迎です!
Loading

0 comments on commit e10f1e5

Please sign in to comment.