Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsutakein authored Feb 28, 2024
0 parents commit f4d45a3
Show file tree
Hide file tree
Showing 33 changed files with 966 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true

[*.md]
indent_size = 2
trim_trailing_whitespace = false

[*.{cjs,mjs,js,ts,json,json5,yml,yaml}]
indent_size = 2
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto eol=lf
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @tatsutakein
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Bug Report
description: バグレポートを提出する
title: "[Bug]: "
labels: [ "bug", "triage me" ]
body:
- type: markdown
attributes:
value: |
この度はバグレポートにご協力いただき、ありがとうございます。
- type: checkboxes
attributes:
label: これに対する既存の課題はありますか?
description: あなたが遭遇したバグについて、すでに課題が存在しないかどうか検索してください。
options:
- label: 既存の問題を検索してみました
required: true

- type: checkboxes
attributes:
label: この問題についての StackOverflow の質問はありますか?
description: あなたが遭遇したバグについて、すでに回答がある問題が存在する場合は [StackOverflow](https://stackoverflow.com/questions/tagged/android-jetpack) を検索してください。
options:
- label: StackOverflow を検索してみました
required: true

- type: textarea
id: what-happened
attributes:
label: 何があったんですか?
description: また、どのようなことを期待していたのか、教えてください。
placeholder: あなたが見たものを教えてください
value: "バグが起きた!?"
validations:
required: true

- type: textarea
id: logs
attributes:
label: 関連する Log の出力
description: 関連する Logcat の出力をコピーして貼り付けてください。これは自動的にコードにフォーマットされますので、バックティックは必要ありません。
render: shell
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Feature request
description: 機能要望を出す
title: "[FR]: "
labels: [ "enhancement", "triage me" ]
body:
- type: markdown
attributes:
value: |
この度は機能要望にご協力いただき、ありがとうございます。
- type: checkboxes
attributes:
label: 既存の課題がありませんか?
description: この機能要求に対してすでに課題が存在するかどうか、検索してください。
options:
- label: 既存の課題を検索してみました
required: true

- type: textarea
id: describe-problem
attributes:
label: 問題を説明する
description: 機能要望は問題に関連するものですか?説明してください。
placeholder: いつも悔しい思いをするのは
validations:
required: false

- type: textarea
id: solution
attributes:
label: 解決策を説明する
description: ご希望の解決策をご記入ください。起こしてほしいことを明確に、簡潔に説明してください。
validations:
required: true

- type: textarea
id: context
attributes:
label: 追加コンテキスト
description: 機能リクエストに関する他のコンテキストやスクリーンショットをここに追加してください。
validations:
required: false
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: weekly
labels:
- 'dependencies'
- 'ignore for release'
84 changes: 84 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# noinspection YAMLSchemaValidation
version: 1

labels:
# Type labels
- label: "@type/build"
title: '^build(?:\(.+\))?\!?:'

- label: "@type/ci"
title: '^ci(?:\(.+\))?\!?:'
files:
- '\.github/.+'
- "scripts/.+"
- "tools/.+"

- label: "@type/docs"
title: '^docs(?:\(.+\))?\!?:'
files:
- "docs/.+"
- "**/README.md$"

- label: "@type/feature"
title: '^feat(?:\(.+\))?\!?:'

- label: "@type/fix"
title: '^fix(?:\(.+\))?\!?:'

- label: "@type/improve"
title: '^(style|refactor|perf)(?:\(.+\))?\!?:'

# Top Package labels
- label: "@apps/backend"
files:
- "apps/backend/.+"

- label: "@apps/frontend"
files:
- "apps/frontend/.+"

# Core Package labels
- label: "@core/common"
files:
- "core/common/.+"

- label: "@core/data"
files:
- "core/data/.+"

- label: "@core/database"
files:
- "core/database/.+"

- label: "@core/datastore"
files:
- "core/datastore/.+"

- label: "@core/designsystem"
files:
- "core/designsystem/.+"

- label: "@core/domain"
files:
- "core/domain/.+"

- label: "@core/model"
files:
- "core/model/.+"

- label: "@core/network"
files:
- "core/network/.+"

- label: "@core/testing"
files:
- "core/testing/.+"

# Feature Package labels
- label: "@feature/top"
files:
- "feature/top/.+"

- label: "@feature/auth"
files:
- "feature/auth/.+"
106 changes: 106 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# Default labels
- name: "breaking change"
color: "b60205"

- name: "bug"
color: "d73a4a"
description: "Something isn't working"

- name: "dependencies"
color: "1d76db"
description: "Pull requests that update a dependency file"

- name: "DO NOT MERGE"
color: "b60205"

- name: "documentation"
color: "0075ca"
description: "Improvements or additions to documentation"

- name: "duplicate"
color: "cfd8d7"
description: "This issue or pull request already exists"

- name: "enhancement"
color: "a2eeef"
description: "New feature or request"

- name: "good first issue"
color: "fe9b9c"
description: "Good for newcomers"

- name: "help wanted"
color: "008672"
description: "Extra attention is needed"

- name: "ignore for release"
color: "bfd4f2"
description: "Exclude from Release Notes"

- name: "wontfix"
color: "ffffff"
description: "This will not be worked on"

- name: "work in progress"
color: "e5d19e"

# Type labels
- name: "@type/ci"
color: "ededed"

- name: "@type/docs"
color: "ededed"
from_name: "documentation"

- name: "@type/feature"
color: "ededed"

- name: "@type/fix"
color: "ededed"

- name: "@type/improve"
color: "ededed"

# Top Package labels
- name: "@apps/backend"
color: "e261d6"
description: "Backend development"

- name: "@apps/frontend"
color: "f89c0f"
description: "Frontend development"

# Core Package labels
- name: "@core/common"
color: "e99695"

- name: "@core/data"
color: "50D413"

- name: "@core/database"
color: "88651D"

- name: "@core/datastore"
color: "1997D2"

- name: "@core/designsystem"
color: "936116"

- name: "@core/domain"
color: "DC79FD"

- name: "@core/model"
color: "D1A70E"

- name: "@core/network"
color: "630D81"

- name: "@core/testing"
color: "29033D"

# Feature Package labels
- name: "@feature/top"
color: "c22752"

- name: "@feature/auth"
color: "48360E"
47 changes: 47 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## Issue

- close #ISSUE_NUMBER 🦕

## 概要

<!-- 概要をここに記入してください。 -->



## レビュー観点

<!-- レビュアに確認してほしい事柄を記載してください -->
<!-- 特に、本 PR にてレビュー対象外の内容があれば合わせて記載してください -->

<!--
(例)
- warnings が出力されないこと
- デザインだけ組み込んだので、仕様についてはレビュー対象外として欲しい
- このコミット xxxxxxx ( commit hash ) を主にレビューして欲しい
-->

## レビューレベル

- [ ] Lv0: まったく見ないで Approve する
- [ ] Lv1: ぱっとみて違和感がないかチェックして Approve する
- [ ] Lv2: 仕様レベルまで理解して、仕様通りに動くかある程度検証して Approve する
- [ ] Lv3: 実際に環境で動作確認したうえで Approve する

## レビュー優先度

- [ ] すぐに見てもらいたい ( hotfix など ) 🚀
- [ ] 今日中に見てもらいたい 🚗
- [ ] 今日〜明日中で見てもらいたい 🚶
- [ ] 数日以内で見てもらいたい 🐢

## 参考リンク

<!-- 参考文献などがあればここに記入してください。 -->

-

## スクリーンショット

| Before | After |
|:--------------------------:|:--------------------------:|
| <img src="" width="300" /> | <img src="" width="300" /> |
7 changes: 7 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"include-component-in-tag": false,
"packages": {
".": {}
}
}
3 changes: 3 additions & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.1.0"
}
Loading

0 comments on commit f4d45a3

Please sign in to comment.