Skip to content

Commit

Permalink
コードの変更を記述するための短く簡潔なコミットメッセージを提案します。***
Browse files Browse the repository at this point in the history
***コミットメッセージは、以下のロケールに翻訳される必要があります: ja***

.gitignoreとAppEntry.tsxおよびfirebase.jsonの変更を含むコミットメッセージの例:

***.gitignoreとAppEntry.tsxおよびfirebase.jsonの変更を追加***

ご参考までに、上記のコミットメッセージは英語で以下のようになります:

***Add changes to .gitignore, AppEntry.tsx, and firebase.json
  • Loading branch information
Jun-Murakami committed Feb 23, 2024
1 parent 533cd20 commit d7ac015
Show file tree
Hide file tree
Showing 6 changed files with 286 additions and 271 deletions.
480 changes: 240 additions & 240 deletions .firebase/hosting.ZGlzdA.cache

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TASKTREES_FB }}'
channelId: live
projectId: tasktrees-fb
21 changes: 21 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
'on': pull_request
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TASKTREES_FB }}'
projectId: tasktrees-fb
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@ yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
vite.config.ts.timestamp-*

node_modules
dist
dist-ssr
.firebase
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
.firebase/*
*.suo
*.ntvs*
*.njsproj
Expand Down
31 changes: 1 addition & 30 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,5 @@
"destination": "/index.html"
}
]
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
],
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
},
{
"source": "index",
"codebase": "index",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
],
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run build"
]
}
]
}
}
2 changes: 1 addition & 1 deletion src/conponents/AppEntry.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState, useEffect } from 'react';
import { useState } from 'react';
import AppMain from './AppMain';
import { TreeItem, TreesList } from './Tree/types.ts';
import { useAppStateSync } from '../hooks/useAppStateSync';
Expand Down

0 comments on commit d7ac015

Please sign in to comment.