noriaki / bus-time-table-web Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://deux-tours-bus.com
Home Page: https://deux-tours-bus.com
hoge
SSIA
SSIA
Depends on #13
SSIA
応急処置として、ビルドコマンドにタイムゾーン環境変数を付け、Vercel上でも日本時間でビルドする。
"build": "TZ=\"Asia/Tokyo\" next build",
恒久対応は、dayjs
のtimezoneを正しく利用して実装する必要がある。
これをテストする方法としては、テスト時のタイムゾーンを日本時間以外に設定してテスト実行する。
"test:tz:jp": "TZ=\"Asia/Tokyo\" jest",
"test:tz:foreign": "TZ=\"Etc/GMT\" jest",
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
SSIA
SSIA
SSIA
ヒントの内容案
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@types/node
, prettier
, superjson
)@babel/core
, @babel/eslint-parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@types/react
, @types/react-dom
)@material-ui/core
, @material-ui/icons
, @material-ui/styles
)node
, @types/node
)@types/jest
, jest
, ts-jest
)@types/react
, @types/react-dom
, react
, react-dom
, react-test-renderer
).github/workflows/ci.yml
actions/checkout v2
actions/setup-node v2
package.json
@holiday-jp/holiday_jp 2.4.0
@material-ui/core 4.11.4
@material-ui/icons 4.11.2
@material-ui/styles 4.11.4
babel-plugin-module-resolver 4.1.0
clsx 1.2.1
dayjs 1.11.7
next 10.2.3
next-workbox-webpack-plugin 2.1.1
react 17.0.2
react-dom 17.0.2
superjson 1.12.2
unstated-next 1.1.0
@babel/core 7.21.3
@testing-library/react-hooks 5.1.3
@babel/eslint-parser 7.21.3
@cybozu/eslint-config 14.0.3
@types/jest 26.0.24
@types/node 14.18.41
@types/react 17.0.44
@types/react-dom 17.0.15
@wojtekmaj/enzyme-adapter-react-17 0.8.0
babel-plugin-superjson-next 0.4.5
enzyme 3.11.0
eslint 7.32.0
eslint-import-resolver-babel-module 5.3.2
jest 26.6.3
jest-enzyme 7.1.2
npm-run-all 4.1.5
prettier 2.8.7
react-test-renderer 17.0.2
ts-jest 26.5.6
typescript 4.9.5
node 14.x
mistake) DUEX TOURS
correct) DEUX TOURS
SSIA
SSIA
drawerメニューを閉じて、すぐにsnackbarを出す挙動に変える
libs/timeTableDataHandler.js
の.findNextTime
内のcurrentTime
時刻ずらしと、components/BoardingTimer.js
の.buildNextState
内のnextTime.diff(currentTime)
の不整合が原因
要調査。
ホーム画面に追加する方法は他にもあるのでwontfix
SSIA
SSIA
再実装。#8 も一緒に解決したい
SSIA
誤)DEUX TROUS
正)DEUX TOURS
.now
directory to .vercel
~/.now
directory to ~/.vercel
now.json
to vercel.json
.nowignore
to .vercelignore
NOW_
to VERCEL_
now.sh
to vercel.app
#withStyles(TimeTable)[Home]
-> Home
#withStyles(TimeTable)[HGinza]
-> HigashiGinza
#withStyles(TimeTable)[Shimbashi]
-> Shimbashi
state
に持たないようにするshouldComponentUpdate
で不要なstate
比較を避けるSSG -> SSR. Detects current time on server-side, and pass time prop to client-side.
isInactiveDays
, inactiveDay
, isClosedDay
の変数名・関数名を土日祝が休業前提ではない文言へ変更nextState.outOfService = null
となる条件から inactiveDay
を削除Timetable
classにデータと平日・土日祝を見分けられる property を持つClean Architectureにならう
Timetable
の配列をバス停毎にグループ化0
パディングDepends on #13
5/27 6時から運行再開
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.