This is a monorepo for the following npm packages:
npm install
lerna boostrap
To update versions of @cuba-platform/rest and @cuba-platform/react in generated app react-app-scr
-
set new versions in packages/cuba-rest-js/package.json and packages/cuba-react/package.json
-
bootstrap client app - compile and pack dependencies, generate client app
npm run bootstrap-react-app
- bootstrap and start backend
npm run bootstrap-cuba-app && npm run start-cuba-app
- start app
npm run start-react-app
- all-in-one command:
npm run react-all
npm run update-client-libs
Use Snyk wizard to resolve the issues detected by Snyk:
npm run snyk:wizard -- projectPath
where projectPath
is a relative path to the project, e.g. packages/cuba-react-ui
.