diff --git a/build-fakeyou.sh b/build-fakeyou.sh new file mode 100755 index 0000000000..10dc211ed6 --- /dev/null +++ b/build-fakeyou.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +set -euxo pipefail + +## NB: Temporary for migration +#ln -s fakeyou/ fakeyou +# +#pushd fakeyou/ +# +#npm install +#npm run-script build +# +#popd +# +#echo "Copying redirects configuration to Netlify build dir..." +#cp _redirects fakeyou/build + +yarn build-fakeyou + +mkdir fakeyou +mv packages/fakeyou/build/ fakeyou/build/ + +echo "Copying redirects configuration to Netlify build dir..." +cp _redirects fakeyou/build/ + diff --git a/build-storyteller.sh b/build-storyteller.sh new file mode 100755 index 0000000000..7f0584da09 --- /dev/null +++ b/build-storyteller.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +set -euxo pipefail + +## NB: Temporary for migration +#ln -s fakeyou/ fakeyou +# +#pushd fakeyou/ +# +#npm install +#npm run-script build +# +#popd +# +#echo "Copying redirects configuration to Netlify build dir..." +#cp _redirects fakeyou/build + +yarn build-storyteller + +mkdir storyteller +mv packages/storyteller/build/ storyteller/build/ + +echo "Copying redirects configuration to Netlify build dir..." +cp _redirects storyteller/build/ diff --git a/build.sh b/build.sh deleted file mode 100755 index 590419d8bf..0000000000 --- a/build.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -euxo pipefail - -# NB: Temporary for migration -ln -s fakeyou/ fakeyou - -pushd fakeyou/ - -npm install -npm run-script build - -popd - -echo "Copying redirects configuration to Netlify build dir..." -cp _redirects fakeyou/build - diff --git a/package.json b/package.json index 1d5615629f..e3c101edcc 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ }, "scripts": { "start-fakeyou": "PORT=7000 BROWSER=none lerna exec --scope @storyteller/fakeyou -- yarn start", - "start-storyteller": "PORT=7000 BROWSER=none lerna exec --scope @storyteller/storyteller -- yarn start" + "build-fakeyou": "lerna exec --scope @storyteller/fakeyou -- yarn build", + "start-storyteller": "PORT=7000 BROWSER=none lerna exec --scope @storyteller/storyteller -- yarn start", + "build-storyteller": "lerna exec --scope @storyteller/storyteller -- yarn build" }, "devDependencies": { "craco": "^0.0.3", diff --git a/packages/fakeyou/src/v2/view/tts/tts_model_list/TtsModelListFc.tsx b/packages/fakeyou/src/v2/view/tts/tts_model_list/TtsModelListFc.tsx index 97b7e15297..8fc1af74a2 100644 --- a/packages/fakeyou/src/v2/view/tts/tts_model_list/TtsModelListFc.tsx +++ b/packages/fakeyou/src/v2/view/tts/tts_model_list/TtsModelListFc.tsx @@ -203,7 +203,7 @@ function TtsModelListFc(props: Props) {
- Text to Speech + Text to Speech*
Use FakeYou deep fake tech to say stuff with your favorite characters.