Skip to content

Commit 76af0dc

Browse files
authored
🌸 feat: major update #50 (#56)
* install vite react typescript * implement ui #51 (#52) * npm install * remove unnecessary text * install tailwind css * implement ui * 🌸 feat: create basic logic #53 (#55) * add data.json * wip * useRef * onClick to Button * set prefix initial selected * set generated commit message * isFirstRender * control first load * refactor formPrefixOption * todo matome * recreate #53 * set tiloption * delete console.log * rafactor * create basic except reset btn, copy btn * fix details * done * 📖 docs: update README.md * :octocat: github: set GitHub Actions for deploy
1 parent b80897b commit 76af0dc

Some content is hidden

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

57 files changed

+3569
-6066
lines changed

.github/workflows/vite.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow one concurrent deployment
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: true
22+
23+
jobs:
24+
# Single deploy job since we're just deploying
25+
deploy:
26+
environment:
27+
name: github-pages
28+
url: ${{ steps.deployment.outputs.page_url }}
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
- name: Set up Node
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 20
37+
cache: "npm"
38+
- name: Install dependencies
39+
run: npm ci
40+
- name: Build
41+
run: npm run build
42+
- name: Setup Pages
43+
uses: actions/configure-pages@v4
44+
- name: Upload artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
# Upload dist folder
48+
path: "./dist"
49+
- name: Deploy to GitHub Pages
50+
id: deployment
51+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1-
node_modules
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

.prettierrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,46 @@
1-
![Commit Easily](_project/images/image-screen.jpg)
1+
<!-- ![Commit Easily](_project/images/image-screen.jpg) -->
22

3-
# Commit Easily
4-
Commit Easilyはコミットメッセージを簡単に何も考えずに作成できるWebアプリです。
5-
[Version 3.0.0]からforkして、ご自身に合ったprefixを簡単に作成することができます。
3+
# Commit Easily
64

5+
Commit Easily はコミットメッセージを簡単に何も考えずに作成できる Web アプリです。
6+
[Version 3.0.0]から fork して、ご自身に合った prefix を簡単に作成することができます。
77

88
## 概要
9-
- prefixの入力を簡単にしたい
10-
- プロジェクトごとのprefixを簡単に取得、閲覧したい
11-
- 何のためのprefixかの解説も同時に見たい
9+
10+
- prefix の入力を簡単にしたい
11+
- プロジェクトごとの prefix を簡単に取得、閲覧したい
12+
- 何のための prefix かの解説も同時に見たい
1213
- スペースの開け方を統一したい
1314
- ターミナルの入力途中に間違ってエンターキーを押してやりなおしたくない
1415
- とにかく頭を無にして何も考えることなくコミットメッセージを考えたい
1516

16-
そんな人(自分)の悩みを解決するWebアプリです
17+
そんな人(自分)の悩みを解決する Web アプリです
1718

1819
URL: https://pss-aileen.github.io/project-github-commit-message/
1920

20-
2121
## 使い方
22-
1. prefixのタイプを選択
23-
1. prefixを選択
22+
23+
1. prefix のタイプを選択
24+
1. prefix を選択
2425
1. 変更内容の概要を入力
2526
1. 詳細を書く(必要であれば)
26-
1. issue番号を書く(必要であれば)
27-
1. GENERATEをクリックしてコミットメッセージを生成
28-
1. COPYをクリックしてターミナルに貼り付け
29-
27+
1. issue 番号を書く(必要であれば)
28+
1. GENERATE をクリックしてコミットメッセージを生成
29+
1. COPY をクリックしてターミナルに貼り付け
3030

3131
## 使用技術
32+
3233
- HTML/CSS
33-
- JavaScript
34+
- React
35+
- TypeScript
3436
- Tailwind CSS
3537
- その他
36-
- jsonにprefixを保管し、オブジェクト指向をでプログラムを書きました(Version 3から
38+
- json に prefix を保管し、オブジェクト指向をでプログラムを書きました(Version 3 から
3739

3840
## 制作について
39-
- 制作期間
40-
- 3日
41+
42+
- 制作期間(初回リリース)
43+
- 3 日
4144
- こだわり
4245
- 気分が上がるように可愛いアイコンを使ってデザインをまとめました
4346

@@ -49,52 +52,50 @@ URL: https://pss-aileen.github.io/project-github-commit-message/
4952

5053
<summary>show detail</summary>
5154

55+
- **[Version 4.0.0] 2024/09/07**
56+
- 改修
57+
- React で全面的に改修
58+
- git コマンドの生成を廃止 -> GitHub Desktop 用のメッセージ生成に変更
5259
- **[Version 3.0.2] 2024/03/23**
5360
- 修正
5461
- NORMAL の PREFIX を変更
5562
- **[Version 3.0.1] 2024/03/10**
5663
- 修正
5764
- TYPE PRACTICE PROJECT に WATCH を追加
58-
- Udemy講座を視聴して、見た動画ごとにコミットする場合のprefix
65+
- Udemy 講座を視聴して、見た動画ごとにコミットする場合の prefix
5966
- **[Version 3.0.0] 2024/02/24**
6067
- 内部構造作り替え
6168
- オブジェクト指向でプログラムを組み直し
62-
- prefixの情報をjsonで管理するように変更
69+
- prefix の情報を json で管理するように変更
6370
- **[Version 2.0.7] 2024/01/30**
6471
- 修正
6572
- 選択肢にアイコン追加
66-
- PAIZAの選択肢の順番変更
73+
- PAIZA の選択肢の順番変更
6774
- **[Version 2.0.6]**
6875
- skip
6976
- **[Version 2.0.5] 2024/01/03**
7077
- 新機能
7178
- ダークモードに対応
7279
- 修正
73-
- RELEASE、NEWの時、SUBJECTを自動的に出力
80+
- RELEASE、NEW の時、SUBJECT を自動的に出力
7481
- **[Version 2.0.4] 2024/01/01**
7582
- 修正
76-
- UPDATEの日付を2411→240101になるよう変更
83+
- UPDATE の日付を 2411→240101 になるよう変更
7784
- **[Version 2.0.3] 2023/12/23**
7885
- 修正
79-
- UPDATEの自動日付を20231223から231223になるように変更
86+
- UPDATE の自動日付を 20231223 から 231223 になるように変更
8087
- **[Version 2.0.2] 2023/12/22**
8188
- 新機能
82-
- prefixでUPDATEを選んだ時、日付が自動でSUBJECTに入るようにした
89+
- prefix で UPDATE を選んだ時、日付が自動で SUBJECT に入るようにした
8390
- **[Version 2.0.1] 2023/12/17**
8491
- 新機能
8592
- リセットボタン: 自分のインターネット回線が遅くでリロードして書いた内容を消していると面倒だったので、リセットボタンを作成
86-
- practice-project用のprefixの追加
93+
- practice-project 用の prefix の追加
8794
- **[Version 2.0.0] 2023/12/13**
8895
- 新機能
89-
- プロジェクトごとにprefixを切り替えられる機能を追加
96+
- プロジェクトごとに prefix を切り替えられる機能を追加
9097
- 修正
91-
- prefixが複数選択できる問題を解決(HTMLのSelectからmultipleを削除
98+
- prefix が複数選択できる問題を解決(HTML の Select から multiple を削除
9299
- **[Version 1.0.0] 2023/12/03**
93100

94101
</details>
95-
96-
---
97-
98-
- `npm run dev`: 開発
99-
- `npm run deploy`: deployブランチにアップ→publicフォルダとして生成される
100-

_bk.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

_project/0_todo.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

_project/images/image-screen.jpg

-194 KB
Binary file not shown.
-142 KB
Binary file not shown.

0 commit comments

Comments
 (0)