diff --git a/generator/post_generation_scripts/typescript-axios-ws.sh b/generator/post_generation_scripts/typescript-axios-ws.sh index 9db52e77..6a22ce03 100755 --- a/generator/post_generation_scripts/typescript-axios-ws.sh +++ b/generator/post_generation_scripts/typescript-axios-ws.sh @@ -1,7 +1,7 @@ #!/bin/sh -sed -i 's/name: "RequiredError"/override name: "RequiredError"/g' "$(find out/qovery-client-typescript-axios/base.ts -type f)" -sed -i 's/"^3.6.4"/"~4.5.2"/g' "$(find out/qovery-client-typescript-axios/package.json -type f)" -cp -r generator/files/typescript-axios/.github out/qovery-client-typescript-axios/ -cd out/qovery-client-typescript-axios || exit +sed -i 's/name: "RequiredError"/override name: "RequiredError"/g' "$(find out/qovery-client-ws-typescript-axios/base.ts -type f)" +sed -i 's/"^3.6.4"/"~4.5.2"/g' "$(find out/qovery-client-ws-typescript-axios/package.json -type f)" +cp -r generator/files/typescript-axios/.github out/qovery-client-ws-typescript-axios/ +cd out/qovery-clientws-typescript-axios || exit npm install npm run build