Skip to content

Commit

Permalink
feat: create-t3-turbo で再作成
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsutakein committed Feb 21, 2024
1 parent f52d557 commit b08f516
Show file tree
Hide file tree
Showing 223 changed files with 12,755 additions and 2,855 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,tsx,css,json,json5,yml,yaml}]
indent_size = 2
31 changes: 31 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Since .env is gitignored, you can use .env.example to build a new `.env` file when you clone the repo.
# Keep this file up-to-date when you add new variables to \`.env\`.

# This file will be committed to version control, so make sure not to have any secrets in it.
# If you are cloning this repo, create a copy of this file named `.env` and populate it with your secrets.

# -----------------------------------------------------------------------------
# Shared
# -----------------------------------------------------------------------------
# The database URL is used to connect to your PlanetScale database.
DB_HOST='aws.connect.psdb.cloud'
DB_NAME='YOUR_DB_NAME'
DB_USERNAME=''
DB_PASSWORD='pscale_pw_'

# You can generate the secret via 'openssl rand -base64 32' on Unix
# @see https://next-auth.js.org/configuration/options#secret
AUTH_SECRET='supersecret'

# Preconfigured Discord OAuth provider, works out-of-the-box
# @see https://next-auth.js.org/providers/discord
AUTH_DISCORD_ID='supersecret'
AUTH_DISCORD_SECRET='supersecret'

# -----------------------------------------------------------------------------
# App
# -----------------------------------------------------------------------------
GOOGLE_ANALYTICS_ID="G-XXXXXXXXXX"
STRIPE_CHECKOUT_URL="https://donate.stripe.com/test_XXXXXXXXXXXXXXXXXX"
SITE_NAME="tatsutakein.jp"
SITE_URL="https://tatsutakein.jp"
18 changes: 0 additions & 18 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @tatsutakein @tatsutakein-bot[bot]
* @tatsutakein
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: |
この度はバグレポートにご協力いただき、ありがとうございました
この度はバグレポートにご協力いただき、ありがとうございます
- type: checkboxes
attributes:
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: |
この度は機能要望にご協力いただき、ありがとうございました
この度は機能要望にご協力いただき、ありがとうございます
- type: checkboxes
attributes:
Expand All @@ -23,7 +23,7 @@ body:
description: 機能要望は問題に関連するものですか?説明してください。
placeholder: いつも悔しい思いをするのは
validations:
required: true
required: false

- type: textarea
id: solution
Expand Down
2 changes: 0 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
- このコミット xxxxxxx ( commit hash ) を主にレビューして欲しい
-->



## レビューレベル

- [ ] Lv0: まったく見ないで Approve する
Expand Down
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'
94 changes: 67 additions & 27 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,84 @@
# noinspection YAMLSchemaValidation
version: 1

labels:
# Type labels
- label: "@type/feature"
title: '^(:sparkles:|:tada:|:art:).*'
- label: "@type/improve"
title: '^(:\+1:|:recycle:|:rocket:).*'
- label: "@type/fix"
title: '^:bug:.*'
- label: "@type/docs"
title: '^:books:.*'
files:
- "docs/.+"
- label: "@type/build"
title: '^(:wrench:|:up:).*'
files:
- "**/package.json"
- ".tool-versions"
- "tools/.+"
title: '^build(?:\(.+\))?\!?:'

- label: "@type/ci"
title: '^:green_heart:.*'
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/.+"

# Package labels
- label: "@apps/frontend"
files:
- "apps/frontend/.+"
- label: "@packages/eslint-config"

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

- label: "@core/data"
files:
- "packages/config/eslint/.+"
- label: "@packages/prettier-config"
- "core/data/.+"

- label: "@core/database"
files:
- "packages/config/prettier/.+"
- label: "@packages/tailwind-config"
- "core/database/.+"

- label: "@core/datastore"
files:
- "packages/config/tailwind/.+"
- label: "@packages/tsconfig"
- "core/datastore/.+"

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

- label: "@core/domain"
files:
- "packages/config/tsconfig/.+"
- label: "@packages/core/ui"
- "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:
- "packages/core/ui/.+"
- "feature/auth/.+"
103 changes: 103 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Default labels
- 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"
16 changes: 0 additions & 16 deletions .github/release.yml

This file was deleted.

9 changes: 5 additions & 4 deletions .github/workflows/assign-author-to-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Assign author to Pull request
name: "Assign author to Pull request"

on:
pull_request:
Expand All @@ -7,7 +7,8 @@ on:
jobs:
assignAuthor:
name: Assign author to PR
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Assign author to PR
uses: technote-space/assign-author@v1
# https://github.com/marketplace/actions/assign-author
- name: Assign Author
uses: technote-space/assign-author@9558557c5c4816f38bd06176fbc324ba14bb3160 # v1.6.2
Loading

0 comments on commit b08f516

Please sign in to comment.