- If the existing tests do not already cover your changes, please add tests.
- Pull requests should be created on the master branch.
- Please run
npm run format
for formatting the code before submitting the pull request.
To build the plugin sources, please follow these steps:
-
Clone the code from git.
-
Install and pack the jfrog-client-js dependency locally, by running the following npm commands:
npm i && npm pack
If you'd like run the jfrog-client-js integration tests, follow these steps:
- Make sure your JFrog platform is up and running.
- Set the CLIENTTESTS_PLATFORM_URL environment variable with your JFrog platform URL.
- Set the CLIENTTESTS_PLATFORM_ACCESS_TOKEN OR CLIENTTESTS_PLATFORM_USERNAME and CLIENTTESTS_PLATFORM_PASSWORD environment variables with your JFrog platform credentials.
- Run the following command:
npm t
Important: The tests use port 9090 to set up an HTTP proxy server. If this port is already used on the machines which runs the tests, please replace it in the tests code with a different port.