Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Release/v1.0.0 #160

Merged
merged 134 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from 133 commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
8689b58
Update dependency next to v12.2.1
renovate[bot] Jul 9, 2022
0f8c7d7
Update devDependencies
renovate[bot] Jul 9, 2022
77174e4
Merge pull request #50 from suzuka-kosen-festa/renovate/devdependencies
re-taro Jul 9, 2022
ad6d73c
Merge pull request #49 from suzuka-kosen-festa/renovate/dependencies-…
re-taro Jul 9, 2022
c9066ce
Update dependency eslint-plugin-storybook to v0.6.0
renovate[bot] Jul 10, 2022
d03bc29
Merge pull request #51 from suzuka-kosen-festa/renovate/devdependencies
re-taro Jul 11, 2022
7ce0f22
Update dependency jest-extended to v3
renovate[bot] Jul 11, 2022
7508b8a
Merge pull request #52 from suzuka-kosen-festa/renovate/major-devdepe…
re-taro Jul 11, 2022
36b4845
Update dependency next to v12.2.2
renovate[bot] Jul 12, 2022
8e38124
Update devDependencies
renovate[bot] Jul 12, 2022
76c3f9b
Merge pull request #53 from suzuka-kosen-festa/renovate/dependencies-…
re-taro Jul 12, 2022
e0b3cb6
Merge pull request #54 from suzuka-kosen-festa/renovate/devdependencies
re-taro Jul 12, 2022
5eb51f5
✨ style-dictionaryをTailwind CSSに対応させた
re-taro Jul 14, 2022
5636777
👷 5eb51f5 に伴ってCIを変更した。
re-taro Jul 14, 2022
bf196f1
🔧 scripts/ をeslintからignoreした。tailwind.config内のwildcardが冗長だったので修正
re-taro Jul 14, 2022
59da34f
🎨 コードを整形した
re-taro Jul 14, 2022
97aa802
Merge pull request #59 from suzuka-kosen-festa/feature/#57
re-taro Jul 15, 2022
b670094
Merge pull request #67 from suzuka-kosen-festa/dev
re-taro Jul 15, 2022
ca9d410
🍱 協賛企業の情報を載せるファイルを作成した
re-taro Jul 15, 2022
0a1f366
Merge pull request #68 from suzuka-kosen-festa/feature/#55
re-taro Jul 15, 2022
8a97edd
Merge pull request #69 from suzuka-kosen-festa/dev
re-taro Jul 16, 2022
2a1b106
➕ yamlパーサを追加した
re-taro Jul 16, 2022
f93a61a
🔨 yarn@3.2.1の更新
re-taro Jul 16, 2022
3684674
🏷️ yamlパーサのparse関数の返り値をジェネリックにした
re-taro Jul 16, 2022
34af6de
🔥 gitkeepの削除
re-taro Jul 16, 2022
f6e3fd1
🏷️ modelを追加
re-taro Jul 16, 2022
3329ddc
💩 yamlをパースする関数とfieldの配列からRYamlの配列を返す関数を定義
re-taro Jul 16, 2022
5226a93
✅ api.tsのテストを追加
re-taro Jul 16, 2022
0ae980e
🤖 auto-fixable format by github-actions
re-taro Jul 16, 2022
23ab87d
✨ ワイルドカードを修正
re-taro Jul 16, 2022
65cb2fc
👷 fix CI
re-taro Jul 16, 2022
d37d1e5
🚚 テストの位置を移動させた
re-taro Jul 16, 2022
81b2b46
🔥 ファイルを削除した
re-taro Jul 16, 2022
3c9167c
✨ 冗長な表現を省略
re-taro Jul 16, 2022
cd96c4c
✨ Storybookの設定を変更した
re-taro Jul 16, 2022
9fc160d
➕ jestを追加しvitestを削除した
re-taro Jul 16, 2022
ffb43b1
🔥 vitestのglobal typeを削除した
re-taro Jul 16, 2022
cdb65d5
✨ test用のtest、storiesを変更した
re-taro Jul 16, 2022
19894fe
🔧 jest用のconfigを作成した
re-taro Jul 16, 2022
739b7a7
🤖 auto-fixable format by github-actions
re-taro Jul 16, 2022
a7e3fe2
🚚 rename test section
re-taro Jul 16, 2022
6e8d0eb
📸 update snapshot
re-taro Jul 16, 2022
b8a6326
Merge pull request #76 from suzuka-kosen-festa/main
re-taro Jul 16, 2022
8999bf7
Merge pull request #77 from suzuka-kosen-festa/dev
re-taro Jul 16, 2022
b08920d
Merge pull request #78 from suzuka-kosen-festa/dev
re-taro Jul 16, 2022
c47dcb9
Merge pull request #79 from suzuka-kosen-festa/dev
re-taro Jul 16, 2022
b1b7220
Merge pull request #75 from suzuka-kosen-festa/feature/#73
re-taro Jul 16, 2022
4be12ce
Merge branch 'feature/#56' into dev
re-taro Jul 16, 2022
e9af7ea
🚑️ fix lock file
re-taro Jul 16, 2022
0cb817e
Merge pull request #81 from suzuka-kosen-festa/dev
re-taro Jul 16, 2022
217102a
✨ Atomic Desingに則したコードになっているかをテストするマッチャーを作成
re-taro Jul 17, 2022
cebef19
➕ @babel/preset-envを追加した。
re-taro Jul 18, 2022
8daeb57
🚑️ .babelrc.jsの名前をbabel.config.jsに変更し、それに合わせてjest.config.jsの内容を変更した
re-taro Jul 18, 2022
93c6e27
Merge pull request #84 from suzuka-kosen-festa/feature/#83
re-taro Jul 19, 2022
2ffbf13
Update devDependencies
renovate[bot] Jul 19, 2022
9a03a08
Merge pull request #82 from suzuka-kosen-festa/renovate/devdependencies
re-taro Jul 19, 2022
7b762ca
Merge pull request #85 from suzuka-kosen-festa/dev
re-taro Jul 19, 2022
6403b7b
✨ Atomic Designに沿った実装かをチェックするマッチャーの適用
re-taro Jul 19, 2022
80c25db
🤖 auto-fixable format by github-actions
re-taro Jul 19, 2022
e04908c
🚚 ディレクトリの階層を変更した
re-taro Jul 19, 2022
486fc3b
Merge pull request #86 from suzuka-kosen-festa/feature/#66
re-taro Jul 20, 2022
b463d9f
[figma] first site tokens
kobapi28 Jul 22, 2022
a9ca064
🚑️ 落ちていたCIを修正
re-taro Jul 22, 2022
b14e952
Merge pull request #89 from suzuka-kosen-festa/feature/#88
re-taro Jul 22, 2022
2762017
Merge pull request #91 from suzuka-kosen-festa/dev
re-taro Jul 22, 2022
3ec4deb
generate scss by style-dictionary
re-taro Jul 22, 2022
0ebcfbf
👷 CIを修正
re-taro Jul 22, 2022
3ad6934
Merge pull request #93 from suzuka-kosen-festa/feature/#92
re-taro Jul 22, 2022
9011af4
Merge pull request #95 from suzuka-kosen-festa/dev
re-taro Jul 22, 2022
e6a6bec
🤖 auto-fixable format by github-actions
re-taro Jul 22, 2022
2824cc6
💩 修正漏れを治した
re-taro Jul 22, 2022
c80a002
Merge pull request #96 from suzuka-kosen-festa/feature/#92
re-taro Jul 23, 2022
7cbaa82
Merge pull request #98 from suzuka-kosen-festa/dev
re-taro Jul 23, 2022
5d5d281
[skip ci] generate json by style-dictionary
re-taro Jul 23, 2022
8c5daf4
Merge pull request #87 from suzuka-kosen-festa/figma
re-taro Jul 23, 2022
1c3887b
Update Yarn to v3.2.2
renovate[bot] Jul 24, 2022
5031bd3
[skip ci] auto-fixable format by github-actions
renovate[bot] Jul 24, 2022
82d3188
Merge pull request #99 from suzuka-kosen-festa/renovate/yarn-3.x
re-taro Jul 24, 2022
0441c5b
Update devDependencies
renovate[bot] Jul 24, 2022
aa443bc
Merge pull request #101 from suzuka-kosen-festa/renovate/devdependencies
re-taro Jul 24, 2022
64bf44a
Update devDependencies
renovate[bot] Aug 1, 2022
41dfe64
Merge pull request #102 from suzuka-kosen-festa/renovate/devdependencies
re-taro Aug 1, 2022
5f6a02d
Update dependencies (non-major)
renovate[bot] Aug 1, 2022
6c86f36
🚑️ NextJSが12.2.3にあがったことによる、ESLintのルールが変わったためそれに対応する修正
re-taro Aug 3, 2022
379a133
fix: fix test message
re-taro Aug 3, 2022
d1df6ab
Merge pull request #100 from suzuka-kosen-festa/renovate/dependencies…
re-taro Aug 3, 2022
eb3c4bd
🚧 wip
re-taro Aug 3, 2022
7a24b7f
✨ webフォントの追加及び最適化 (#104)
re-taro Aug 3, 2022
d6a25ce
✨ webフォントの追加及び最適化 (#104) (#106)
re-taro Aug 3, 2022
a8ce7a0
Merge remote-tracking branch 'origin/feature/#63' into feature/#63
re-taro Aug 5, 2022
6690df3
APIのリファクタリング (#107)
re-taro Aug 5, 2022
aecdf1f
APIのリファクタリング (#107) (#108)
re-taro Aug 5, 2022
f4b8fff
Merge remote-tracking branch 'origin/feature/#63' into feature/#63
re-taro Aug 5, 2022
bec00fc
🔍️ langを日本語に変更した
re-taro Aug 5, 2022
af0168a
➕ Storybook似必要な依存を追加した
re-taro Aug 5, 2022
9f26e40
✨ フォントをtwin.macroで読み込める形で追加した
re-taro Aug 5, 2022
8caaebe
✨ Storybookの設定を変更した
re-taro Aug 5, 2022
45063ea
✨ 設定したフォントや、twin.macroようにチューニングされたreset cssを読み込ますようにした
re-taro Aug 5, 2022
68e9b0b
✨ typographyコンポーネントを作成した
re-taro Aug 5, 2022
ea68f3e
🩹 storiesに値の変更はいらないと感じたので削除した
re-taro Aug 5, 2022
1c0599e
📸 スナップショットの更新
re-taro Aug 5, 2022
b77e6b3
レイアウトコンポーネントの追加 (#111)
re-taro Aug 6, 2022
a7b1994
🚑️ コンフリクトの修正
re-taro Aug 7, 2022
3086907
Merge branch 'feature/#63' into dev
re-taro Aug 7, 2022
03d3353
レイアウトコンポーネントの追加 (#111) (#112)
re-taro Aug 7, 2022
b22aa39
✨ レイアウトコンポーネントを読み込ませる
re-taro Aug 7, 2022
45162cd
✅ テストコードを更新した
re-taro Aug 7, 2022
1deed28
Merge branch 'feature/#63' into dev
re-taro Aug 7, 2022
852b01e
fix: fix test message (#115)
re-taro Aug 8, 2022
c69a93a
Update devDependencies (#117)
renovate[bot] Aug 8, 2022
228be29
Update dependency next to v12.2.4 (#116)
renovate[bot] Aug 8, 2022
17c5b00
buttonコンポーネントを実装 (#120)
re-taro Aug 10, 2022
cef2a07
anchor textコンポーネントを実装した (#125)
re-taro Aug 12, 2022
0386e7c
著作者がすべて @re-taro になっていたものを、 @suzuka-kosen-festa に変更 (#127)
re-taro Aug 12, 2022
055be75
🔍️ seo対応 (#128)
re-taro Aug 14, 2022
4f90320
Update devDependencies (#131)
renovate[bot] Aug 15, 2022
4e35e70
Update dependency next to v12.2.5 (#130)
renovate[bot] Aug 15, 2022
342e42a
headingコンポーネントを実装した (#133)
re-taro Aug 18, 2022
cb58755
デザインに合った横幅に変えた (#132)
re-taro Aug 18, 2022
4256e9f
mapセクションの実装 (#138)
re-taro Aug 19, 2022
441d3fc
Footerの作成 (#123)
Sansai-snct Aug 19, 2022
538f6a4
mobileの文字サイズを大きくした (#142)
re-taro Aug 20, 2022
fd33add
heroセクションの実装 (#140)
re-taro Aug 20, 2022
8df6fcc
今年のテーマ「Re:ROAD」についてのセクションの実装 (#144)
re-taro Aug 20, 2022
c018b51
鈴鹿高専についてのセクションの実装 (#143)
Sansai-snct Aug 20, 2022
ea4b212
お問い合わせセクションの実装 (#145)
re-taro Aug 20, 2022
5fbb02f
Update devDependencies (#147)
renovate[bot] Aug 20, 2022
f86ca5e
snsセクションを実装 (#150)
re-taro Aug 22, 2022
8cffae6
協賛企業セクションの実装 (#149)
Sansai-snct Aug 22, 2022
e359373
PWA対応 (#152)
Sansai-snct Aug 23, 2022
bae321c
β版のUIの作成 (#153)
re-taro Aug 27, 2022
a97aafb
Update Yarn to v3.2.3 (#154)
renovate[bot] Aug 29, 2022
d76cf39
🔧 buildコマンドを更新した (#159)
re-taro Sep 2, 2022
f08c553
✨ 鈴鹿高専へのアクセスの欄のテキストの修正
re-taro Sep 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ next-env.d.ts
storybook-static
__mocks__
lighthouserc.js
scripts
2 changes: 2 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ extends:
- plugin:storybook/recommended
rules:
no-duplicate-imports: 0
"@next/next/no-img-element": off
no-secrets/no-secrets: off
parserOptions:
project: ./tsconfig.json
10 changes: 8 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- dev
paths:
- '**.stories.tsx'
- 'components/**/index.tsx'

jobs:
chromatic-deployment:
Expand All @@ -28,10 +28,16 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
env:
GOOGLE_MAP_API_KEY: ${{ secrets.GOOGLE_MAP_API_KEY }}
5 changes: 5 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: production build
run: yarn run build
- name: install Lighthouse cli
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: ESLint

on:
push:
pull_request:
branches:
- dev
Expand All @@ -23,7 +24,12 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: eslint
run: yarn run lint
13 changes: 8 additions & 5 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Prettier

on:
pull_request:
branches:
- dev
push:

jobs:
run-prettier:
Expand All @@ -23,11 +21,16 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Format the code
run: yarn run fmt
- name: auto commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 🤖 auto-fixable format by github-actions
commit_message: "[skip ci] auto-fixable format by github-actions"
33 changes: 26 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Check codes types
run: yarn run type
run-build:
Expand All @@ -40,12 +45,19 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Build the project
run: yarn run build
run-snapshot-test:
run-test:
runs-on: ubuntu-latest
steps:
- name: Get yarn cache directory path
Expand All @@ -58,8 +70,15 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Test
run: yarn run test
run: yarn run test --no-cache
21 changes: 9 additions & 12 deletions .github/workflows/token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:

jobs:
generate_scss:
generate_json:
name: generate_scss
runs-on: ubuntu-latest
# 'figma' という名前を含むブランチのみ動くように設定
Expand All @@ -12,30 +12,27 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"

- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}

fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: yarn add -D style-dictionary
run: yarn add -D style-dictionary

run: yarn install --immutable
- name: run style-dictionary
run: yarn style-dictionary build

run: yarn run gen:style
- name: add and commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: generate scss by style-dictionary
commit_message: "[skip ci] generate json by style-dictionary"
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -511,3 +511,11 @@ doc/api/

# Storybook
storybook-static

# PWA files
**/public/sw.js
**/public/workbox-*.js
**/public/worker-*.js
**/public/sw.js.map
**/public/workbox-*.js.map
**/public/worker-*.js.map
21 changes: 3 additions & 18 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
const path = require("path");
const toPath = _path => path.join(process.cwd(), _path);

module.exports = {
stories: ["../src/components/**/**/*.stories.@(ts|tsx)"],
stories: ["../src/components/**/*.stories.@(ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
Expand All @@ -15,7 +12,9 @@ module.exports = {
},
},
},
"@storybook/addon-a11y",
],
staticDirs: ["../public"],
babel: async options => ({
...options,
presets: ["@emotion/babel-preset-css-prop"],
Expand All @@ -24,18 +23,4 @@ module.exports = {
core: {
builder: "@storybook/builder-webpack5",
},
webpackFinal: async config => {
return {
...config,
resolve: {
...config.resolve,
alias: {
...config.resolve.alias,
"@emotion/core": toPath("node_modules/@emotion/react"),
"@emotion/styled": toPath("node_modules/@emotion/styled"),
"emotion-theming": toPath("node_modules/@emotion/react"),
},
},
};
},
};
33 changes: 33 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { CacheProvider } from "@emotion/react";
import createCache from "@emotion/cache";
import { GlobalStyles } from "../src/styles/global";

const cache = createCache({ prepend: true, key: "twin" });

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
backgrounds: {
default: "kosen-fes",
values: [
{
name: "kosen-fes",
value: "#211A1A",
},
],
},
};

export const decorators = [
Story => (
<CacheProvider value={cache}>
<GlobalStyles />
<Story />
</CacheProvider>
),
];
9 changes: 0 additions & 9 deletions .storybook/preview.mjs

This file was deleted.

Loading