Skip to content

Commit a6504c6

Browse files
authored
Merge branch 'development' into translations_src-assets-locales-ja-json--development_en
2 parents 3e28603 + 916edc8 commit a6504c6

Some content is hidden

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

72 files changed

+1920
-1633
lines changed

.eslintrc.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
'@nuxtjs/eslint-config-typescript',
66
'plugin:prettier/recommended',
77
'prettier',
8-
'prettier/vue'
8+
'prettier/vue',
99
],
1010
rules: {
1111
'require-await': 'off',
@@ -15,17 +15,17 @@ module.exports = {
1515
'error',
1616
{
1717
html: {
18-
void: 'always'
19-
}
20-
}
18+
void: 'always',
19+
},
20+
},
2121
],
2222
'prettier/prettier': [
2323
'error',
2424
{
2525
semi: false,
26-
singleQuote: true
27-
}
26+
singleQuote: true,
27+
},
2828
],
29-
'tsdoc/syntax': 'error'
30-
}
29+
'tsdoc/syntax': 'error',
30+
},
3131
}

.github/ISSUE_TEMPLATE/-------bug-report.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,28 @@ about: Create a report to help us improve
44
title: ''
55
labels: bug
66
assignees: ''
7-
87
---
98

109
## 起こっている問題 / The Problem
10+
1111
- xxxx(できるだけ簡潔に/as concise as possible)
1212

1313
## スクリーンショット / Screenshot
14+
1415
<!-- バグであればdeveloper toolからコンソールも合わせて添付 -->
1516
<!-- If it's a bug, attach a screenshot of the developer tool console -->
1617

1718
## 期待する見せ方・挙動 / Expected Behavior
18-
- xxxx(できるだけ簡潔に/as concise as possible)
1919

20+
- xxxx(できるだけ簡潔に/as concise as possible)
2021

2122
## 起こっている問題の再現手段 / Steps to Reproduce
23+
2224
1. xxx
2325
2. xxx
2426
3. xxx
2527

2628
## 動作環境・ブラウザ / Environment
29+
2730
- macOS / Windows / Linux / iOS / Android
2831
- Chrome / Safari / Firefox / Edge / Internet Explorer

.github/ISSUE_TEMPLATE/-------improvement-suggestions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,22 @@ about: Suggest an idea for this project
44
title: ''
55
labels: ''
66
assignees: ''
7-
87
---
98

109
## 改善詳細 / Details of Improvement
10+
1111
- xxxx(できるだけ簡潔に/as concise as possible)
1212

1313
## スクリーンショット / Screenshot
14+
1415
<!-- バグであればdeveloper toolからコンソールも合わせて添付 -->
1516
<!-- If it's a bug, attach a screenshot of the developer tool console -->
1617

1718
## 期待する見せ方・挙動 / Expected behavior
19+
1820
- xxxx(できるだけ簡潔に/as concise as possible)
1921

2022
## 動作環境・ブラウザ / Environment
23+
2124
- macOS / Windows / Linux / iOS / Android
2225
- Chrome / Safari / Firefox / Edge / Internet Explorer

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
version 0.1 2020/05/15
44

5-
当リポジトリの行動規範はCode For Japanの行動規範と同様です
5+
当リポジトリの行動規範は Code For Japan の行動規範と同様です
66
[codeforjapan/codeofconduct](https://github.com/codeforjapan/codeofconduct)

CONTRIBUTING.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,38 @@
88

99
## Issue へのコメントや Pull Request について
1010

11-
* Issue へのコメントはご自由にどうぞ!新しい質問や提案なども受け付けます。
12-
* Issue を追加する場合、必ず既に同様の Issue が無いか検索をしてから作成してください。
13-
* Pull Request を送る場合、なるべく対応する Issue 番号を追記してください。
14-
* improve(改善提案)がついたIssueについては必ず反映できると限りませんのでご了承ください
15-
* good first issue / help wanted / bug を優先して対応いただけると助かります
16-
* Priority: Highest, Highのものも優先して対応いただけると助かります
11+
- Issue へのコメントはご自由にどうぞ!新しい質問や提案なども受け付けます。
12+
- Issue を追加する場合、必ず既に同様の Issue が無いか検索をしてから作成してください。
13+
- Pull Request を送る場合、なるべく対応する Issue 番号を追記してください。
14+
- improve(改善提案)がついた Issue については必ず反映できると限りませんのでご了承ください
15+
- good first issue / help wanted / bug を優先して対応いただけると助かります
16+
- Priority: Highest, High のものも優先して対応いただけると助かります
1717

1818
## コミュニケーションへの参加方法
1919

20-
* Code for Japan の Slack アカウントを持っていない場合、[こちらから登録](https://cfjslackin.herokuapp.com/) してください
21-
* `#covid19_edu`, `#covid19_impl` チャンネルにご参加ください。
20+
- Code for Japan の Slack アカウントを持っていない場合、[こちらから登録](https://cfjslackin.herokuapp.com/) してください
21+
- `#covid19_edu`, `#covid19_impl` チャンネルにご参加ください。
2222

2323
## 参加にあたって
2424

25-
* 開発に参加する前に、[Principle/行動規範](./CODE_OF_CONDUCT.md) をご一読ください。
26-
* コミュニケーションにあたっては、Code for Japan の [行動規範](https://github.com/codeforjapan/codeofconduct) もご確認ください。
27-
* 自分ができそうな Issue に誰もアサインされていない場合、Issueに「やります!」等とコメントしてから開発をはじめてください。権限のあるものが順次assignいたします
28-
* [good first issue ラベルのついたもの](https://github.com/codeforjapan/studyathome/issues?q=is%3Aopen+is%3Aissue+label%3Agood-first-issue) は初心者におすすめです
29-
* 半日以上作業から離れそうな場合は、他の人が作業を引き継げるようにしておいてください。(Issue を抱えたまま長時間オフになると、そのIssueがブロックされてしまいます。)
30-
* 1日以上更新されない Issue については、当方で assign を外させていただくことがあります。作業途中でも、[Draft Pull Request](https://qiita.com/tatane616/items/13da1b6797a7b871ad58) を送ってもらえると、動きが把握しやすくなります。
31-
* Issue に関連した質問等は、Slack より Issue 内のコメントを活用しましょう
32-
* 提案なども受け付けます!積極的に新しく Issue を作ってください。
25+
- 開発に参加する前に、[Principle/行動規範](./CODE_OF_CONDUCT.md) をご一読ください。
26+
- コミュニケーションにあたっては、Code for Japan の [行動規範](https://github.com/codeforjapan/codeofconduct) もご確認ください。
27+
- 自分ができそうな Issue に誰もアサインされていない場合、Issue に「やります!」等とコメントしてから開発をはじめてください。権限のあるものが順次 assign いたします
28+
- [good first issue ラベルのついたもの](https://github.com/codeforjapan/studyathome/issues?q=is%3Aopen+is%3Aissue+label%3Agood-first-issue) は初心者におすすめです
29+
- 半日以上作業から離れそうな場合は、他の人が作業を引き継げるようにしておいてください。(Issue を抱えたまま長時間オフになると、その Issue がブロックされてしまいます。)
30+
- 1 日以上更新されない Issue については、当方で assign を外させていただくことがあります。作業途中でも、[Draft Pull Request](https://qiita.com/tatane616/items/13da1b6797a7b871ad58) を送ってもらえると、動きが把握しやすくなります。
31+
- Issue に関連した質問等は、Slack より Issue 内のコメントを活用しましょう
32+
- 提案なども受け付けます!積極的に新しく Issue を作ってください。
3333

3434
## CONTRIBUTORS.md への追加について
3535

3636
今後追加方法などを記載いたしますのでお待ちください。
3737

3838
## 開発に関する情報
3939

40-
* 開発サイト https://dev.studyathome.jp/
41-
* 本番サイト https://studyathome.jp/
42-
* デザイン
43-
* [covid-edu – Figma](https://www.figma.com/file/JBcf0nDLMqOyS5vffbZtvw/covid-edu)
40+
- 開発サイト https://dev.studyathome.jp/
41+
- 本番サイト https://studyathome.jp/
42+
- デザイン
43+
- [covid-edu – Figma](https://www.figma.com/file/JBcf0nDLMqOyS5vffbZtvw/covid-edu)
4444

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

FOR_DEVELOPERS.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
11
# 開発者向け情報
22

3-
Nuxt.jsに関する内容、Firebaseに関する内容は各ドキュメントを参照してください
4-
詳しい内容は下記のURLを参照ください
3+
Nuxt.js に関する内容、Firebase に関する内容は各ドキュメントを参照してください
4+
詳しい内容は下記の URL を参照ください
55

6-
[おうちで時間割 Nuxt版 仕様書 \- HackMD](https://hackmd.io/hltUcnt2S0eQEv1Heif7zw?both)
6+
[おうちで時間割 Nuxt 版 仕様書 \- HackMD](https://hackmd.io/hltUcnt2S0eQEv1Heif7zw?both)
77

88
## 1. 環境構築
99

1010
以下のアプリケーションを開発をおこなう環境へインストールします。
1111

12-
| アプリケーション名 | バージョン<br>(指定がある場合のみ記載) | インストール条件 |
13-
| ------- | ------- | ------- |
14-
|[Node.js](https://nodejs.org/ja/)|10.19.0以上|必須|
15-
|[Visual Studio Code](https://code.visualstudio.com/)| |Visual Studio Codeを利用する場合|
16-
|[Yarn](https://classic.yarnpkg.com/ja/)| |本プログラムをyarnで実行する場合|
17-
|[Docker Engine](https://docs.docker.com/engine/install/),[Docker Compose](https://docs.docker.com/compose/install/)| |本プログラムをdocker composeで実行する場合|
12+
| アプリケーション名 | バージョン<br>(指定がある場合のみ記載) | インストール条件 |
13+
| ------------------------------------------------------------------------------------------------------------------- | -------------------------------------- | -------------------------------------------- |
14+
| [Node.js](https://nodejs.org/ja/) | 10.19.0 以上 | 必須 |
15+
| [Visual Studio Code](https://code.visualstudio.com/) | | Visual Studio Code を利用する場合 |
16+
| [Yarn](https://classic.yarnpkg.com/ja/) | | 本プログラムを yarn で実行する場合 |
17+
| [Docker Engine](https://docs.docker.com/engine/install/),[Docker Compose](https://docs.docker.com/compose/install/) | | 本プログラムを docker compose で実行する場合 |
1818

19-
### 1-1. Visual Studio Codeの拡張機能
19+
### 1-1. Visual Studio Code の拡張機能
2020

21-
Visual Studio Codeを利用する場合は、以下の拡張機能をインストールします。
21+
Visual Studio Code を利用する場合は、以下の拡張機能をインストールします。
2222

23-
| 拡張機能 | インストール条件 |
24-
| ------- | ------- |
25-
|[ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)|任意|
26-
|[Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur)|任意|
27-
|[TSLint](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin)|任意|
28-
|[Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)|任意|
29-
|[Remote Development](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack)|Visual Studio CodeでRemote Developmentを利用する場合|
23+
| 拡張機能 | インストール条件 |
24+
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
25+
| [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) | 任意 |
26+
| [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) | 任意 |
27+
| [TSLint](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin) | 任意 |
28+
| [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) | 任意 |
29+
| [Remote Development](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack) | Visual Studio Code で Remote Development を利用する場合 |
3030

3131
---
3232

3333
## 2. 実行
3434

35-
コマンドの実行は、WorkingCopyのルートディレクトリでおこないます
35+
コマンドの実行は、WorkingCopy のルートディレクトリでおこないます
3636

3737
### 2-1. `yarn` を使う場合
3838

@@ -89,12 +89,12 @@ $ docker-compose run --rm app yarn install
8989

9090
## 4. ステージング・本番環境への反映
9191

92-
下表の左列に記載されたブランチが更新されると、ブランチとWebサイトの更新が自動的におこなわれます
92+
下表の左列に記載されたブランチが更新されると、ブランチと Web サイトの更新が自動的におこなわれます
9393

94-
| 更新対象 | 自動的に更新されるブランチ | 更新されるWebサイト |
95-
| ---- | ---- | ---- |
96-
|`master`| 無し |本番サイト https://studyathome.web.app/|
97-
|`development`| 無し |開発用サイト https://studyathome-dev.web.app/|
94+
| 更新対象 | 自動的に更新されるブランチ | 更新される Web サイト |
95+
| ------------- | -------------------------- | --------------------------------------------- |
96+
| `master` | 無し | 本番サイト https://studyathome.web.app/ |
97+
| `development` | 無し | 開発用サイト https://studyathome-dev.web.app/ |
9898

9999
---
100100

@@ -103,15 +103,15 @@ $ docker-compose run --rm app yarn install
103103
development 以外は、Pull Request は禁止です。
104104
Pull Request を送る際のブランチは、以下のネーミングルールに従ったブランチにしてください。
105105

106-
| 種類 | ブランチのネーミングルール |
107-
| ---- | ---- |
108-
|機能追加系|`feature/#{ISSUE_ID}-#{branch_title_name}`|
109-
|フィックス系|`fix/#{ISSUE_ID}-#{branch_title_name}`|
110-
|ホットフィックス系|`hotfix/#{ISSUE_ID}-#{branch_title_name}`|
106+
| 種類 | ブランチのネーミングルール |
107+
| ------------------ | ------------------------------------------ |
108+
| 機能追加系 | `feature/#{ISSUE_ID}-#{branch_title_name}` |
109+
| フィックス系 | `fix/#{ISSUE_ID}-#{branch_title_name}` |
110+
| ホットフィックス系 | `hotfix/#{ISSUE_ID}-#{branch_title_name}` |
111111

112112
### 5-1. 基本的なブランチ
113113

114-
| 目的 | ブランチ | 確認URL | Pull requestsを出せる人 | 備考 |
115-
| ---- | ---- | ---- | ---- | ---- |
116-
| 開発 | development | https://studyathome-dev.web.app/ | 全開発者 | base branch。基本は、この`development`ブランチに Pull Requestを送ってください|
117-
| 本番 | master | https://studyathome.web.app/ | 管理者のみ | 管理者以外の Pull Request は禁止です。 |
114+
| 目的 | ブランチ | 確認 URL | Pull requests を出せる人 | 備考 |
115+
| ---- | ----------- | -------------------------------- | ------------------------ | -------------------------------------------------------------------------------- |
116+
| 開発 | development | https://studyathome-dev.web.app/ | 全開発者 | base branch。基本は、この`development`ブランチに Pull Request を送ってください|
117+
| 本番 | master | https://studyathome.web.app/ | 管理者のみ | 管理者以外の Pull Request は禁止です。 |

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
# おうちで時間割
22

33
## 貢献の仕方
4+
45
Issues にあるいろいろな修正にご協力いただけると嬉しいです。
56

67
詳しくは[貢献の仕方](./CONTRIBUTING.md)を御覧ください。
78

89
## 行動原則
10+
911
詳しくは[サイト構築にあたっての行動原則](./CODE_OF_CONDUCT.md)を御覧ください。
1012

1113
## ライセンス
12-
本ソフトウェアは、[MITライセンス](./LICENSE.txt)の元提供されています。
1314

15+
本ソフトウェアは、[MIT ライセンス](./LICENSE.txt)の元提供されています。
1416

1517
## 開発者向け情報
1618

docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.7"
1+
version: '3.7'
22
services:
33
studyathome:
44
image: node:12.18.1-alpine
@@ -11,4 +11,3 @@ services:
1111
environment:
1212
- HOST=0.0.0.0
1313
- NODE_ENV=development
14-

jest.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ module.exports = {
33
// setupFiles: ['<rootDir>/test/jest.setup.ts'],
44
moduleNameMapper: {
55
'^@/(.*)$': '<rootDir>/$1',
6-
'^~/(.*)$': '<rootDir>/$1'
6+
'^~/(.*)$': '<rootDir>/$1',
77
},
88
transform: {
99
'.*\\.(vue)$': 'vue-jest',
10-
'^.+\\.tsx?$': 'ts-jest'
10+
'^.+\\.tsx?$': 'ts-jest',
1111
},
1212
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
1313
moduleFileExtensions: ['ts', 'js', 'json', 'vue'],
1414
collectCoverage: false,
15-
collectCoverageFrom: ['**/*.{tes,js,vue}', '!**/node_modules/**']
15+
collectCoverageFrom: ['**/*.{tes,js,vue}', '!**/node_modules/**'],
1616
}

nuxt-i18n.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ const options = {
66
defaultLocale,
77
vueI18n: {
88
fallbackLocale: defaultLocale,
9-
formatFallbackMessages: true
9+
formatFallbackMessages: true,
1010
},
1111
lazy: true,
1212
langDir: 'assets/locales/',
1313
locales: [
1414
{
1515
code: 'ja',
1616
displayName: '日本語',
17-
file: 'ja.json'
17+
file: 'ja.json',
1818
},
1919
{
2020
code: 'en',
2121
displayName: 'English',
22-
file: 'en.json'
22+
file: 'en.json',
2323
},
2424
{
2525
code: 'zh-goyu',
2626
displayName: '台灣華語',
27-
file: 'zh_TW.json'
28-
}
29-
]
27+
file: 'zh_TW.json',
28+
},
29+
],
3030
}
3131

3232
export default options

0 commit comments

Comments
 (0)