knip 5.39.4 → 5.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -93,6 +93,7 @@ export declare class ConfigurationChief {
93
93
  "graphql-codegen"?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
94
94
  husky?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
95
95
  jest?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
96
+ karma?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
96
97
  ladle?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
97
98
  lefthook?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
98
99
  "lint-staged"?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
@@ -314,6 +314,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
314
314
  entry?: string | string[] | undefined;
315
315
  project?: string | string[] | undefined;
316
316
  }>]>>;
317
+ karma: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
318
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
319
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
320
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ config?: string | string[] | undefined;
323
+ entry?: string | string[] | undefined;
324
+ project?: string | string[] | undefined;
325
+ }, {
326
+ config?: string | string[] | undefined;
327
+ entry?: string | string[] | undefined;
328
+ project?: string | string[] | undefined;
329
+ }>]>>;
317
330
  ladle: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
318
331
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
319
332
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -1277,6 +1290,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
1277
1290
  entry?: string | string[] | undefined;
1278
1291
  project?: string | string[] | undefined;
1279
1292
  } | undefined;
1293
+ karma?: string | boolean | string[] | {
1294
+ config?: string | string[] | undefined;
1295
+ entry?: string | string[] | undefined;
1296
+ project?: string | string[] | undefined;
1297
+ } | undefined;
1280
1298
  ladle?: string | boolean | string[] | {
1281
1299
  config?: string | string[] | undefined;
1282
1300
  entry?: string | string[] | undefined;
@@ -1721,6 +1739,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
1721
1739
  entry?: string | string[] | undefined;
1722
1740
  project?: string | string[] | undefined;
1723
1741
  } | undefined;
1742
+ karma?: string | boolean | string[] | {
1743
+ config?: string | string[] | undefined;
1744
+ entry?: string | string[] | undefined;
1745
+ project?: string | string[] | undefined;
1746
+ } | undefined;
1724
1747
  ladle?: string | boolean | string[] | {
1725
1748
  config?: string | string[] | undefined;
1726
1749
  entry?: string | string[] | undefined;
@@ -2335,6 +2358,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
2335
2358
  entry?: string | string[] | undefined;
2336
2359
  project?: string | string[] | undefined;
2337
2360
  }>]>>;
2361
+ karma: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2362
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2363
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2364
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2365
+ }, "strip", z.ZodTypeAny, {
2366
+ config?: string | string[] | undefined;
2367
+ entry?: string | string[] | undefined;
2368
+ project?: string | string[] | undefined;
2369
+ }, {
2370
+ config?: string | string[] | undefined;
2371
+ entry?: string | string[] | undefined;
2372
+ project?: string | string[] | undefined;
2373
+ }>]>>;
2338
2374
  ladle: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
2339
2375
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2340
2376
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -3300,6 +3336,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
3300
3336
  entry?: string | string[] | undefined;
3301
3337
  project?: string | string[] | undefined;
3302
3338
  } | undefined;
3339
+ karma?: string | boolean | string[] | {
3340
+ config?: string | string[] | undefined;
3341
+ entry?: string | string[] | undefined;
3342
+ project?: string | string[] | undefined;
3343
+ } | undefined;
3303
3344
  ladle?: string | boolean | string[] | {
3304
3345
  config?: string | string[] | undefined;
3305
3346
  entry?: string | string[] | undefined;
@@ -3750,6 +3791,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
3750
3791
  entry?: string | string[] | undefined;
3751
3792
  project?: string | string[] | undefined;
3752
3793
  } | undefined;
3794
+ karma?: string | boolean | string[] | {
3795
+ config?: string | string[] | undefined;
3796
+ entry?: string | string[] | undefined;
3797
+ project?: string | string[] | undefined;
3798
+ } | undefined;
3753
3799
  ladle?: string | boolean | string[] | {
3754
3800
  config?: string | string[] | undefined;
3755
3801
  entry?: string | string[] | undefined;
@@ -4197,6 +4243,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
4197
4243
  entry?: string | string[] | undefined;
4198
4244
  project?: string | string[] | undefined;
4199
4245
  } | undefined;
4246
+ karma?: string | boolean | string[] | {
4247
+ config?: string | string[] | undefined;
4248
+ entry?: string | string[] | undefined;
4249
+ project?: string | string[] | undefined;
4250
+ } | undefined;
4200
4251
  ladle?: string | boolean | string[] | {
4201
4252
  config?: string | string[] | undefined;
4202
4253
  entry?: string | string[] | undefined;
@@ -4647,6 +4698,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
4647
4698
  entry?: string | string[] | undefined;
4648
4699
  project?: string | string[] | undefined;
4649
4700
  } | undefined;
4701
+ karma?: string | boolean | string[] | {
4702
+ config?: string | string[] | undefined;
4703
+ entry?: string | string[] | undefined;
4704
+ project?: string | string[] | undefined;
4705
+ } | undefined;
4650
4706
  ladle?: string | boolean | string[] | {
4651
4707
  config?: string | string[] | undefined;
4652
4708
  entry?: string | string[] | undefined;
@@ -123,6 +123,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
123
123
  entry?: string | string[] | undefined;
124
124
  project?: string | string[] | undefined;
125
125
  } | undefined;
126
+ karma?: string | boolean | string[] | {
127
+ config?: string | string[] | undefined;
128
+ entry?: string | string[] | undefined;
129
+ project?: string | string[] | undefined;
130
+ } | undefined;
126
131
  ladle?: string | boolean | string[] | {
127
132
  config?: string | string[] | undefined;
128
133
  entry?: string | string[] | undefined;
@@ -571,6 +576,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
571
576
  entry?: string | string[] | undefined;
572
577
  project?: string | string[] | undefined;
573
578
  } | undefined;
579
+ karma?: string | boolean | string[] | {
580
+ config?: string | string[] | undefined;
581
+ entry?: string | string[] | undefined;
582
+ project?: string | string[] | undefined;
583
+ } | undefined;
574
584
  ladle?: string | boolean | string[] | {
575
585
  config?: string | string[] | undefined;
576
586
  entry?: string | string[] | undefined;
@@ -177,6 +177,15 @@ export declare const Plugins: {
177
177
  resolveEntryPaths: import("../types/config.js").ResolveEntryPaths<import("./jest/types.js").JestConfig>;
178
178
  resolveConfig: import("../types/config.js").ResolveConfig<import("./jest/types.js").JestConfig>;
179
179
  };
180
+ karma: {
181
+ title: string;
182
+ enablers: string[];
183
+ isEnabled: import("../types/config.js").IsPluginEnabled;
184
+ config: string[];
185
+ entry: string[];
186
+ resolveConfig: import("../types/config.js").ResolveConfig<(config: import("./karma/types.js").Config) => void>;
187
+ resolveEntryPaths: import("../types/config.js").ResolveEntryPaths<(config: import("./karma/types.js").Config) => void>;
188
+ };
180
189
  ladle: {
181
190
  title: string;
182
191
  enablers: string[];
@@ -20,6 +20,7 @@ import { default as glob } from './glob/index.js';
20
20
  import { default as graphqlCodegen } from './graphql-codegen/index.js';
21
21
  import { default as husky } from './husky/index.js';
22
22
  import { default as jest } from './jest/index.js';
23
+ import { default as karma } from './karma/index.js';
23
24
  import { default as ladle } from './ladle/index.js';
24
25
  import { default as lefthook } from './lefthook/index.js';
25
26
  import { default as lintStaged } from './lint-staged/index.js';
@@ -108,6 +109,7 @@ export const Plugins = {
108
109
  'graphql-codegen': graphqlCodegen,
109
110
  husky,
110
111
  jest,
112
+ karma,
111
113
  ladle,
112
114
  lefthook,
113
115
  'lint-staged': lintStaged,
@@ -0,0 +1,13 @@
1
+ import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
2
+ import type { Config } from './types.js';
3
+ type ConfigFile = (config: Config) => void;
4
+ declare const _default: {
5
+ title: string;
6
+ enablers: string[];
7
+ isEnabled: IsPluginEnabled;
8
+ config: string[];
9
+ entry: string[];
10
+ resolveConfig: ResolveConfig<ConfigFile>;
11
+ resolveEntryPaths: ResolveEntryPaths<ConfigFile>;
12
+ };
13
+ export default _default;
@@ -0,0 +1,74 @@
1
+ import { toDeferResolveEntry, toDevDependency, toEntry } from '../../util/input.js';
2
+ import { isInternal, join } from '../../util/path.js';
3
+ import { hasDependency } from '../../util/plugin.js';
4
+ const title = 'Karma';
5
+ const enablers = ['karma'];
6
+ const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
7
+ const config = ['karma.conf.js', 'karma.conf.ts', '.config/karma.conf.js', '.config/karma.conf.ts'];
8
+ const entry = [];
9
+ const resolveConfig = async (localConfig, options) => {
10
+ const inputs = new Set();
11
+ const config = loadConfig(localConfig);
12
+ if (config.frameworks) {
13
+ for (const framework of config.frameworks) {
14
+ inputs.add(toDevDependency(devDepForFramework(framework)));
15
+ }
16
+ }
17
+ if (config.plugins) {
18
+ for (const plugin of config.plugins) {
19
+ if (typeof plugin !== 'string')
20
+ continue;
21
+ if (isInternal(plugin)) {
22
+ inputs.add(toDeferResolveEntry(plugin));
23
+ }
24
+ else {
25
+ inputs.add(toDevDependency(plugin));
26
+ }
27
+ }
28
+ }
29
+ else {
30
+ const karmaPluginDevDeps = Object.keys(options.manifest.devDependencies ?? {}).filter(name => name.startsWith('karma-'));
31
+ for (const karmaPluginDevDep of karmaPluginDevDeps) {
32
+ inputs.add(toDevDependency(karmaPluginDevDep));
33
+ }
34
+ }
35
+ return Array.from(inputs);
36
+ };
37
+ const devDepForFramework = (framework) => (framework === 'jasmine' ? 'jasmine-core' : framework);
38
+ const resolveEntryPaths = (localConfig, options) => {
39
+ const inputs = new Set();
40
+ const config = loadConfig(localConfig);
41
+ const basePath = config.basePath ?? '';
42
+ if (config.files) {
43
+ for (const fileOrPatternObj of config.files) {
44
+ const fileOrPattern = typeof fileOrPatternObj === 'string' ? fileOrPatternObj : fileOrPatternObj.pattern;
45
+ inputs.add(toEntry(join(options.configFileDir, basePath, fileOrPattern)));
46
+ }
47
+ }
48
+ if (config.exclude) {
49
+ for (const fileOrPattern of config.exclude) {
50
+ inputs.add(toEntry(`!${join(options.configFileDir, basePath, fileOrPattern)}`));
51
+ }
52
+ }
53
+ return Array.from(inputs);
54
+ };
55
+ const loadConfig = (configFile) => {
56
+ const inMemoryConfig = new InMemoryConfig();
57
+ configFile(inMemoryConfig);
58
+ return inMemoryConfig.config ?? {};
59
+ };
60
+ class InMemoryConfig {
61
+ config;
62
+ set(config) {
63
+ this.config = config;
64
+ }
65
+ }
66
+ export default {
67
+ title,
68
+ enablers,
69
+ isEnabled,
70
+ config,
71
+ entry,
72
+ resolveConfig,
73
+ resolveEntryPaths,
74
+ };
@@ -0,0 +1,22 @@
1
+ export interface Config {
2
+ set: (config: ConfigOptions) => void;
3
+ }
4
+ export interface ConfigOptions {
5
+ basePath?: string | undefined;
6
+ exclude?: string[] | undefined;
7
+ files?: Array<FilePattern | string> | undefined;
8
+ frameworks?: string[] | undefined;
9
+ plugins?: Array<PluginName | InlinePluginDef> | undefined;
10
+ }
11
+ type PluginName = string;
12
+ type InlinePluginDef = Record<PluginName, InlinePluginType>;
13
+ type InlinePluginType = FactoryFnType | ConstructorFnType | ValueType;
14
+ type FactoryFnType = ['factory', FactoryFn];
15
+ type FactoryFn = (...params: any[]) => any;
16
+ type ConstructorFnType = ['type', ConstructorFn];
17
+ type ConstructorFn = Function | (new (...params: any[]) => any);
18
+ type ValueType = ['value', any];
19
+ interface FilePattern {
20
+ pattern: string;
21
+ }
22
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -300,6 +300,19 @@ export declare const pluginsSchema: z.ZodObject<{
300
300
  entry?: string | string[] | undefined;
301
301
  project?: string | string[] | undefined;
302
302
  }>]>;
303
+ karma: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
304
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
305
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
306
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ config?: string | string[] | undefined;
309
+ entry?: string | string[] | undefined;
310
+ project?: string | string[] | undefined;
311
+ }, {
312
+ config?: string | string[] | undefined;
313
+ entry?: string | string[] | undefined;
314
+ project?: string | string[] | undefined;
315
+ }>]>;
303
316
  ladle: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
304
317
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
305
318
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -1261,6 +1274,11 @@ export declare const pluginsSchema: z.ZodObject<{
1261
1274
  entry?: string | string[] | undefined;
1262
1275
  project?: string | string[] | undefined;
1263
1276
  };
1277
+ karma: string | boolean | string[] | {
1278
+ config?: string | string[] | undefined;
1279
+ entry?: string | string[] | undefined;
1280
+ project?: string | string[] | undefined;
1281
+ };
1264
1282
  ladle: string | boolean | string[] | {
1265
1283
  config?: string | string[] | undefined;
1266
1284
  entry?: string | string[] | undefined;
@@ -1697,6 +1715,11 @@ export declare const pluginsSchema: z.ZodObject<{
1697
1715
  entry?: string | string[] | undefined;
1698
1716
  project?: string | string[] | undefined;
1699
1717
  };
1718
+ karma: string | boolean | string[] | {
1719
+ config?: string | string[] | undefined;
1720
+ entry?: string | string[] | undefined;
1721
+ project?: string | string[] | undefined;
1722
+ };
1700
1723
  ladle: string | boolean | string[] | {
1701
1724
  config?: string | string[] | undefined;
1702
1725
  entry?: string | string[] | undefined;
@@ -32,6 +32,7 @@ export const pluginsSchema = z.object({
32
32
  'graphql-codegen': pluginSchema,
33
33
  husky: pluginSchema,
34
34
  jest: pluginSchema,
35
+ karma: pluginSchema,
35
36
  ladle: pluginSchema,
36
37
  lefthook: pluginSchema,
37
38
  'lint-staged': pluginSchema,
@@ -1,2 +1,2 @@
1
- export type PluginName = 'angular' | 'astro' | 'ava' | 'babel' | 'c8' | 'capacitor' | 'changesets' | 'commitizen' | 'commitlint' | 'cspell' | 'cucumber' | 'cypress' | 'dotenv' | 'drizzle' | 'eleventy' | 'eslint' | 'gatsby' | 'github-actions' | 'glob' | 'graphql-codegen' | 'husky' | 'jest' | 'ladle' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lockfile-lint' | 'lost-pixel' | 'markdownlint' | 'mocha' | 'moonrepo' | 'msw' | 'nest' | 'netlify' | 'next' | 'node' | 'node-test-runner' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nx' | 'nyc' | 'oclif' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'postcss' | 'preconstruct' | 'prettier' | 'react-cosmos' | 'release-it' | 'remark' | 'remix' | 'rollup' | 'rsbuild' | 'rspack' | 'semantic-release' | 'sentry' | 'simple-git-hooks' | 'size-limit' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'syncpack' | 'tailwind' | 'travis' | 'ts-node' | 'tsup' | 'tsx' | 'typedoc' | 'typescript' | 'unbuild' | 'unocss' | 'vercel-og' | 'vike' | 'vite' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'xo' | 'yarn' | 'yorkie';
2
- export declare const pluginNames: readonly ["angular", "astro", "ava", "babel", "c8", "capacitor", "changesets", "commitizen", "commitlint", "cspell", "cucumber", "cypress", "dotenv", "drizzle", "eleventy", "eslint", "gatsby", "github-actions", "glob", "graphql-codegen", "husky", "jest", "ladle", "lefthook", "lint-staged", "linthtml", "lockfile-lint", "lost-pixel", "markdownlint", "mocha", "moonrepo", "msw", "nest", "netlify", "next", "node", "node-test-runner", "nodemon", "npm-package-json-lint", "nuxt", "nx", "nyc", "oclif", "playwright", "playwright-ct", "playwright-test", "plop", "postcss", "preconstruct", "prettier", "react-cosmos", "release-it", "remark", "remix", "rollup", "rsbuild", "rspack", "semantic-release", "sentry", "simple-git-hooks", "size-limit", "storybook", "stryker", "stylelint", "svelte", "syncpack", "tailwind", "travis", "ts-node", "tsup", "tsx", "typedoc", "typescript", "unbuild", "unocss", "vercel-og", "vike", "vite", "vitest", "vue", "webdriver-io", "webpack", "wireit", "wrangler", "xo", "yarn", "yorkie"];
1
+ export type PluginName = 'angular' | 'astro' | 'ava' | 'babel' | 'c8' | 'capacitor' | 'changesets' | 'commitizen' | 'commitlint' | 'cspell' | 'cucumber' | 'cypress' | 'dotenv' | 'drizzle' | 'eleventy' | 'eslint' | 'gatsby' | 'github-actions' | 'glob' | 'graphql-codegen' | 'husky' | 'jest' | 'karma' | 'ladle' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lockfile-lint' | 'lost-pixel' | 'markdownlint' | 'mocha' | 'moonrepo' | 'msw' | 'nest' | 'netlify' | 'next' | 'node' | 'node-test-runner' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nx' | 'nyc' | 'oclif' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'postcss' | 'preconstruct' | 'prettier' | 'react-cosmos' | 'release-it' | 'remark' | 'remix' | 'rollup' | 'rsbuild' | 'rspack' | 'semantic-release' | 'sentry' | 'simple-git-hooks' | 'size-limit' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'syncpack' | 'tailwind' | 'travis' | 'ts-node' | 'tsup' | 'tsx' | 'typedoc' | 'typescript' | 'unbuild' | 'unocss' | 'vercel-og' | 'vike' | 'vite' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'xo' | 'yarn' | 'yorkie';
2
+ export declare const pluginNames: readonly ["angular", "astro", "ava", "babel", "c8", "capacitor", "changesets", "commitizen", "commitlint", "cspell", "cucumber", "cypress", "dotenv", "drizzle", "eleventy", "eslint", "gatsby", "github-actions", "glob", "graphql-codegen", "husky", "jest", "karma", "ladle", "lefthook", "lint-staged", "linthtml", "lockfile-lint", "lost-pixel", "markdownlint", "mocha", "moonrepo", "msw", "nest", "netlify", "next", "node", "node-test-runner", "nodemon", "npm-package-json-lint", "nuxt", "nx", "nyc", "oclif", "playwright", "playwright-ct", "playwright-test", "plop", "postcss", "preconstruct", "prettier", "react-cosmos", "release-it", "remark", "remix", "rollup", "rsbuild", "rspack", "semantic-release", "sentry", "simple-git-hooks", "size-limit", "storybook", "stryker", "stylelint", "svelte", "syncpack", "tailwind", "travis", "ts-node", "tsup", "tsx", "typedoc", "typescript", "unbuild", "unocss", "vercel-og", "vike", "vite", "vitest", "vue", "webdriver-io", "webpack", "wireit", "wrangler", "xo", "yarn", "yorkie"];
@@ -21,6 +21,7 @@ export const pluginNames = [
21
21
  'graphql-codegen',
22
22
  'husky',
23
23
  'jest',
24
+ 'karma',
24
25
  'ladle',
25
26
  'lefthook',
26
27
  'lint-staged',
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "5.39.4";
1
+ export declare const version = "5.40.0";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '5.39.4';
1
+ export const version = '5.40.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knip",
3
- "version": "5.39.4",
3
+ "version": "5.40.0",
4
4
  "description": "Find unused files, dependencies and exports in your TypeScript and JavaScript projects",
5
5
  "homepage": "https://knip.dev",
6
6
  "repository": {
package/schema.json CHANGED
@@ -364,6 +364,10 @@
364
364
  "title": "Jest plugin configuration (https://knip.dev/reference/plugins/jest)",
365
365
  "$ref": "#/definitions/plugin"
366
366
  },
367
+ "karma": {
368
+ "title": "karma plugin configuration (https://knip.dev/reference/plugins/karma)",
369
+ "$ref": "#/definitions/plugin"
370
+ },
367
371
  "ladle": {
368
372
  "title": "ladle plugin configuration (https://knip.dev/reference/plugins/ladle)",
369
373
  "$ref": "#/definitions/plugin"