All notable changes to this project will be documented in this file.
Added functionality to update URLs, example : user can update the https://localhost/ part to {{BaseURL}} in bulk by using the command
npx postman-collection-url-updater -c "collection.json" -r "https://localhost:23456/api/v1/{{path}}" -w "{{baseURL}}/{{path}}" -s "new_collection.json"
ReadME , Tags and Console outputs
Here we would have the update steps for 1.2.4 for people to follow.
- PATCH Add logic to convert PATH variables and retain PATH variables as when requires. eg:
-
postman-collection-url-updater -c "collection.json" -r "https://{{test}}/:test/test" -w "https://localhost/newpath/;test"
retains the path variable
postman-collection-url-updater -c "collection.json" -r "https://{{test}} -w "https://localhost/newpath"
makes the changes and if any other path variable is there then it will be retained
eg , output would be https://localhost/newpath/:test/new , if path variable exists else https://localhost/newpath/new
[1.0.8 - 1.0.11] - 2022-01-24
Added unit tests and add git actions yaml
Updated gitignore file
Added unit tests , integration tests and add git actions yaml
Updated gitignore file
Added coverage test
Added unit tests , integration tests
Add inquirer support to allow interactive use (commandline arguments still supported)
Added coverage test
Added capability to replace content using Regex
Fixed Package.json file property
system test to verify npx command works as expected
Updated Read me to add SEO keywords
Updated speling mistakes
Added ability to reject unrecognized commandline arguments
Added main entry point to the package to allow to be used as a dependency
Added error handling for invalid source collection
Added ability to move multiple collection into single collection