MCPcopy Index your code
hub / github.com/code-pushup/cli / configureJsPackagesPlugin

Function configureJsPackagesPlugin

code-pushup.preset.ts:120–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118}
119
120export 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
154export async function configureTypescriptPlugin(
155 projectName?: string,

Callers 1

Calls 1

jsPackagesPluginFunction · 0.85

Tested by

no test coverage detected