()
| 118 | } |
| 119 | |
| 120 | export async function configureJsPackagesPlugin(): Promise<CoreConfig> { |
| 121 | return { |
| 122 | plugins: [await jsPackagesPlugin()], |
| 123 | categories: [ |
| 124 | { |
| 125 | slug: 'security', |
| 126 | title: 'Security', |
| 127 | description: 'Finds known **vulnerabilities** in 3rd-party packages.', |
| 128 | refs: [ |
| 129 | { |
| 130 | type: 'group', |
| 131 | plugin: 'js-packages', |
| 132 | slug: 'npm-audit', |
| 133 | weight: 1, |
| 134 | }, |
| 135 | ], |
| 136 | }, |
| 137 | { |
| 138 | slug: 'updates', |
| 139 | title: 'Updates', |
| 140 | description: 'Finds **outdated** 3rd-party packages.', |
| 141 | refs: [ |
| 142 | { |
| 143 | type: 'group', |
| 144 | plugin: 'js-packages', |
| 145 | slug: 'npm-outdated', |
| 146 | weight: 1, |
| 147 | }, |
| 148 | ], |
| 149 | }, |
| 150 | ], |
| 151 | }; |
| 152 | } |
| 153 | |
| 154 | export async function configureTypescriptPlugin( |
| 155 | projectName?: string, |
no test coverage detected