server icon indicating copy to clipboard operation
server copied to clipboard

Fix API scripts

Open YuryShkoda opened this issue 1 year ago • 1 comments

Issue

  • cp command is not supported by Windows Command Prompt (cmd.exe).
  • npm reported vulnerability in jsonwebtoken.

Intent

  • Improve api scripts to make it work in all shells.
  • Fix vulnerable dependency.

Implementation

  • Used cpr package 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.

YuryShkoda avatar Sep 21 '23 14:09 YuryShkoda