Skip to content

Commit

Permalink
feat: Add support for importing audit-ci (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnturner authored May 23, 2022
1 parent a679cdc commit 8377523
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export { default as Allowlist } from "./allowlist";
export { runAuditCi } from "./audit-ci";
export {
gitHubAdvisoryIdToUrl,
gitHubAdvisoryUrlToAdvisoryId,
isGitHubAdvisoryId,
} from "./common";
export { AuditCiConfig, AuditCiPreprocessedConfig } from "./config";
export {
mapVulnerabilityLevelInput,
VulnerabilityLevels,
} from "./map-vulnerability";
export { audit as npmAudit } from "./npm-auditer";
export { audit as pnpmAudit } from "./pnpm-auditer";
export { audit as yarnAudit } from "./yarn-auditer";
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "6.2.1",
"description": "Audits NPM, Yarn, and PNPM projects in CI environments",
"license": "Apache-2.0",
"main": "./dist/audit-ci.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"homepage": "https://github.com/IBM/audit-ci",
"bugs": "https://github.com/IBM/audit-ci/issues",
"repository": {
Expand Down

0 comments on commit 8377523

Please sign in to comment.