-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:VOICEVOX/voicevox
VOICEVOX 側で UI のリデザインが行われた影響で、特に設定ダイヤログ系のコンフリクトが多発している AivisSpeech で大幅にデザインをカスタムしている箇所を VOICEVOX 側に合わせるのは時間的にもコスト的に厳しいことから、当面の間 <script> 以下のロジックの差分のみマージし、HTML / SCSS 部分は極力 Quasar で書かれた (AivisSpeech で大幅にカスタマイズされた) 旧 UI を継続利用する方針とした
- Loading branch information
Showing
359 changed files
with
33,048 additions
and
23,549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
src/openapi/**/* linguist-generated=true | ||
openapi.json linguist-generated=true | ||
|
||
**/__snapshots__/**/*.snap linguist-generated=true | ||
|
||
*.woff2 linguist-vendored=true | ||
|
||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: "Trigger preview-pages' workflow" | ||
|
||
# プレビュー用ページのワークフローを起動する。 | ||
# 詳細: https://github.com/voicevox/preview-pages?tab=readme-ov-file#%E4%BB%95%E7%B5%84%E3%81%BF | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- synchronize | ||
- closed | ||
- reopened | ||
push: | ||
branches: | ||
- main | ||
- project-* | ||
|
||
jobs: | ||
trigger: | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'VOICEVOX' | ||
steps: | ||
- name: Trigger Workflow | ||
run: | | ||
gh workflow run -R voicevox/preview-pages update_pages.yml | ||
env: | ||
GH_TOKEN: ${{ secrets.TRIGGER_PREVIEW_PAGES_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: "Build Preview Pages" | ||
|
||
# プレビュー用ページをビルドする。 | ||
# 詳細: https://github.com/voicevox/preview-pages?tab=readme-ov-file#%E4%BB%95%E7%B5%84%E3%81%BF | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- project-* | ||
pull_request: | ||
|
||
jobs: | ||
# このJobの名前を変更したときは、voicevox/preview-pages側のscripts/collect.tsも変更すること。 | ||
build_preview_pages: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup environment | ||
uses: ./.github/actions/setup-environment | ||
|
||
- name: Build | ||
run: | | ||
# 追加のバージョン情報 | ||
if [ -n "${{ github.event.pull_request.head.sha }}" ]; then | ||
LOCATION="PR#${{ github.event.pull_request.number }}" | ||
SHORT_SHA=$(cut -c 1-7 <<< "${{ github.event.pull_request.head.sha }}") | ||
else | ||
LOCATION="${{ github.ref_name }}" | ||
SHORT_SHA=$(cut -c 1-7 <<< "${{ github.sha }}") | ||
fi | ||
# Storybookのビルド | ||
npm run storybook:build -- --output-dir $(pwd)/dist_preview/storybook | ||
# ブラウザ版エディタのビルド | ||
VITE_EXTRA_VERSION_INFO="${LOCATION} @ ${SHORT_SHA}" \ | ||
npm run browser:build -- --base ./ --outDir $(pwd)/dist_preview/editor | ||
- name: Upload artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: preview-pages | ||
path: dist_preview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.