Skip to content

Fix API scripts - #366

Merged
YuryShkoda merged 6 commits into
mainfrom
cpr-fix
Jul 14, 2026
Merged

Fix API scripts#366
YuryShkoda merged 6 commits into
mainfrom
cpr-fix

Conversation

@YuryShkoda

@YuryShkoda YuryShkoda commented Sep 21, 2023

Copy link
Copy Markdown
Member

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

  • 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

Copy link
Copy Markdown
Member Author

Unit tests covering api are failing due to #367 issue.

@YuryShkoda YuryShkoda changed the title Cpr fix Fix API scripts Sep 22, 2023
# Conflicts:
#	api/package-lock.json
#	api/package.json
#	api/public/swagger.yaml
@YuryShkoda
YuryShkoda merged commit 0576889 into main Jul 14, 2026
3 checks passed
@YuryShkoda
YuryShkoda deleted the cpr-fix branch July 14, 2026 13:50
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.39.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants