-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
95 changed files
with
3,550 additions
and
3,443 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -6,6 +6,7 @@ wasm.wasm | |
next-env.d.ts | ||
*.tsbuildinfo | ||
.DS_Store | ||
.pnpm-store/ | ||
|
||
# next dev は distDir に dev を利用する | ||
dev/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
{ | ||
"recommendations": ["biomejs.biome"] | ||
} |
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,20 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"[javascript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"editor.codeActionsOnSave": { | ||
"quickfix.biome": "explicit", | ||
"source.organizeImports.biome": "explicit" | ||
} | ||
} |
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,53 @@ | ||
# 開発 | ||
|
||
**この資料は sora-devtools 開発者向けです** | ||
|
||
## corepack | ||
|
||
``` | ||
$ brew uninstall pnpm npm yarn | ||
$ brew install corepack | ||
$ corepack enable pnpm npm yarn | ||
$ corepack prepare pnpm@latest-8 --activate | ||
``` | ||
|
||
## 開発環境 | ||
|
||
- nodejs | ||
- 18.17.1 以降 | ||
- package.json でバージョンを確認すること | ||
- pnpm | ||
- 8.7.0 以降 | ||
- package.json でバージョンを確認すること | ||
- pnpm install | ||
- これで事前に利用するライブラリをインストールする | ||
|
||
## 開発準備 | ||
|
||
- `pnpm install` を実行 | ||
|
||
## .env ファイルのコピー | ||
|
||
ローカル開発時に仮想背景処理を利用する時に .env ファイルをコピーする手順が必要になります | ||
|
||
- `cp .env.example .env` を実行 | ||
- 内容の変更は不要です | ||
|
||
## 開発 | ||
|
||
- `pnpm run dev` でローカルサーバを起動する | ||
|
||
## パッケージ更新 | ||
|
||
sora-devtools の package 更新 | ||
|
||
- `pnpm up` を実行する | ||
|
||
## sora-js-sdk の動作確認を行いたい場合 | ||
|
||
- ローカルに sora-js-sdk を clone しておく | ||
- sora-js-sdk のトップディレクトリで `pnpm i` と `pnpm run build` を実行しておく | ||
- sora-js-sdk のトップディレクトリで `pnpm link --dir <devtools path>` を実行する | ||
- `<devtools path>` は sora-devtools を clone したディレクトリパスを指定する | ||
- sora-devtools の package.json ファイル内で `"sora-js-sdk": "link:<sora-js-sdk path>"` と置き換えられていたら成功 | ||
- sora-devtools のトップディレクトリで `pnpm i` `pnpm run dev` を実行するとローカルの sora-js-sdk が利用される |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.