Currently the prepare script (#41) breaks if the client doesn't have yarn installed. This is problematic for CI/CD systems, as Yarn will have to be added as a dev dependency or via some other way. For example Netlify is having this issue.
The yarn build command invoked by this script itself uses tsc --build tsconfig.json. We can call this directly and eliminate the yarn command.
Currently the prepare script (#41) breaks if the client doesn't have yarn installed. This is problematic for CI/CD systems, as Yarn will have to be added as a dev dependency or via some other way. For example Netlify is having this issue.
The
yarn build
command invoked by this script itself usestsc --build tsconfig.json
. We can call this directly and eliminate the yarn command.