Skip to content

Commit

Permalink
fix: support declaring version (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisislawatts authored Apr 9, 2024
1 parent 78526e1 commit 3fdcc13
Show file tree
Hide file tree
Showing 11 changed files with 278 additions and 72 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This extension requires that Node.js and npm be installed on the build agent. Th
| testDirectory | Alternate working directory. For example, if you want to test a manifest file in a directory other than the root of your repo, you would put in relative path to that directory. | no | none | string |
| ignoreUnknownCA | Use to ignore unknown or self-signed certificates. This might be useful in for self-hosted build agents with unusual network configurations or for Snyk on-prem installs configured with a self-signed certificate. | no | false | boolean |
| additionalArguments | Additional Snyk CLI arguments to be passed in. Refer to the Snyk CLI help page for information on additional arguments. | no | none | string |
| distributionChannel | Select distribution channel for Snyk binaries. 'Stable' is for stable releases, whilst 'Preview' is for access to the latest features. | no | Stable | string |
| distributionChannel | Declare version for Snyk binaries. 'Stable' is for the current stable releases, whilst 'Preview' is for access to the latest features. You can also declare a specific version such as '1.1287.0' | no | Stable | string |

## Usage Examples

Expand Down
118 changes: 95 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"dependencies": {
"azure-pipelines-task-lib": "^3.4.0",
"jquery": "^3.4.1",
"semver": "^7.6.0",
"vss-web-extension-sdk": "^5.141.0"
},
"devDependencies": {
Expand All @@ -46,10 +47,12 @@
"fs-extra": "^9.1.0",
"jest": "^26.4.2",
"mock-fs": "^4.10.4",
"nock": "^13.5.4",
"prettier": "^2.3.1",
"semantic-release": "^17.0.4",
"tfx-cli": "^0.7.11",
"ts-jest": "^26.3.0",
"typescript": "^4.5.2"
"typescript": "^4.5.2",
"uuid": "^9.0.1"
}
}
Loading

0 comments on commit 3fdcc13

Please sign in to comment.