server
server copied to clipboard
Fix API scripts
Issue
-
cpcommand is not supported by Windows Command Prompt (cmd.exe). -
npmreported vulnerability injsonwebtoken.
Intent
- Improve api
scriptsto make it work in all shells. - Fix vulnerable dependency.
Implementation
- Used
cprpackage to copy folders within api scripts. - Bumped version of
jsonwebtoken. - Regenerated
swagger.yaml.
Checks
- [x] Code is formatted correctly (
npm run lint:fix). - [ ] Any new functionality has been unit tested.
- [ ] All unit tests are passing (
npm test). - [ ] All CI checks are green.
- [ ] Reviewer is assigned.
Unit tests covering api are failing due to #367 issue.