project-serum / swap-ui

React Component for Swapping on the Serum DEX
Apache License 2.0
113 stars 117 forks source link

Package manager agnostic prepare script #54

Closed secretshardul closed 3 years ago

secretshardul commented 3 years ago

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.