https://github.com/lapras-inc/lapras-frontend
https://github.com/lapras-inc/lapras-frontend
live-document-swe product webapp
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lapras-inc/lapras-frontend
- Owner: lapras-inc
- Created: 2019-08-07T07:28:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-10-14T09:55:53.000Z (8 months ago)
- Last Synced: 2026-03-28T00:37:15.355Z (3 months ago)
- Topics: live-document-swe, product, webapp
- Language: Vue
- Homepage: https://lapras-inc.github.io/lapras-frontend
- Size: 17.4 MB
- Stars: 13
- Watchers: 12
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# lapras frontend
LAPRASで使用するフロントエンド関連の共通ライブラリ
## Directory
```
─ fonts font関連を収める
─ src/components component関連を収める
```
## Styleguide
https://lapras-inc.github.io/lapras-frontend/
## Commit Message Guide
- [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog)の書式を強制している
- [standard-version](https://github.com/conventional-changelog/standard-version)でconventional-changelogの書式を自動で判定してversion upをしてくれる
#### commit messageの作成方法
yarn installでcommitizenをinstallすると
```shell
$ git cz
# or
$ npx git-cz
# or
$ yarn commit
```
のいずれかを実行するとガイド付きでmessageの作成ができる
また、commit -mなどを使用してもコミットメッセージを作成できるが、huskyによってフォーマットに不備があるとcommitされないようにしている
## Tips
#### 新しいIconの追加方法
外部サービスの [IcoMoon](https://icomoon.io/) にアクセスし、
新規に追加したいIconのsvgをImportする
同様に既存アイコンのsvgファイル`fonts/scouty-icon.svg`アイコンを選択してImportを行う
※新規のアイコンが末尾に来るように『Move UP/Move Down』等でSetの入れ替えを行うこと
アイコン登録後全てのアイコンを選択した上で、右下の『Generate Font』をクリックし、フォントを生成しダウンロード
zip解凍後、``$ for f in `ls`; do mv $f ${f/icomoon/scouty-icon}; done``で
ファイル名を変更して、`fonts/`ディレクトリ下に配置
最後に`src/components/Icon/iconMap.ts`にアイコン名とコード( [IcoMoon](https://icomoon.io/) にて確認出来る)を追加
## Release
1. `release`ブランチへのPRを作成する
2. [PRをマージするとGitHubでリリースされる](.github/workflows/npm-release.yml)