knip 5.36.5 → 5.36.6
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.
- package/dist/ConfigurationChief.d.ts +5 -5
- package/dist/ConfigurationValidator.d.ts +224 -125
- package/dist/ConfigurationValidator.js +1 -95
- package/dist/compilers/index.d.ts +52 -32
- package/dist/schema/plugins.d.ts +1974 -0
- package/dist/schema/plugins.js +96 -0
- package/dist/types/config.d.ts +2 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const globSchema = z.union([z.string(), z.array(z.string())]);
|
|
3
|
+
export const pluginSchema = z.union([
|
|
4
|
+
z.boolean(),
|
|
5
|
+
globSchema,
|
|
6
|
+
z.object({
|
|
7
|
+
config: globSchema.optional(),
|
|
8
|
+
entry: globSchema.optional(),
|
|
9
|
+
project: globSchema.optional(),
|
|
10
|
+
}),
|
|
11
|
+
]);
|
|
12
|
+
export const pluginsSchema = z.object({ 'angular': pluginSchema,
|
|
13
|
+
'astro': pluginSchema,
|
|
14
|
+
'ava': pluginSchema,
|
|
15
|
+
'babel': pluginSchema,
|
|
16
|
+
'c8': pluginSchema,
|
|
17
|
+
'capacitor': pluginSchema,
|
|
18
|
+
'changesets': pluginSchema,
|
|
19
|
+
'commitizen': pluginSchema,
|
|
20
|
+
'commitlint': pluginSchema,
|
|
21
|
+
'cspell': pluginSchema,
|
|
22
|
+
'cucumber': pluginSchema,
|
|
23
|
+
'cypress': pluginSchema,
|
|
24
|
+
'dotenv': pluginSchema,
|
|
25
|
+
'drizzle': pluginSchema,
|
|
26
|
+
'eleventy': pluginSchema,
|
|
27
|
+
'eslint': pluginSchema,
|
|
28
|
+
'gatsby': pluginSchema,
|
|
29
|
+
'github-actions': pluginSchema,
|
|
30
|
+
'glob': pluginSchema,
|
|
31
|
+
'graphql-codegen': pluginSchema,
|
|
32
|
+
'husky': pluginSchema,
|
|
33
|
+
'jest': pluginSchema,
|
|
34
|
+
'ladle': pluginSchema,
|
|
35
|
+
'lefthook': pluginSchema,
|
|
36
|
+
'lint-staged': pluginSchema,
|
|
37
|
+
'linthtml': pluginSchema,
|
|
38
|
+
'lockfile-lint': pluginSchema,
|
|
39
|
+
'lost-pixel': pluginSchema,
|
|
40
|
+
'markdownlint': pluginSchema,
|
|
41
|
+
'mocha': pluginSchema,
|
|
42
|
+
'moonrepo': pluginSchema,
|
|
43
|
+
'msw': pluginSchema,
|
|
44
|
+
'nest': pluginSchema,
|
|
45
|
+
'netlify': pluginSchema,
|
|
46
|
+
'next': pluginSchema,
|
|
47
|
+
'node': pluginSchema,
|
|
48
|
+
'node-test-runner': pluginSchema,
|
|
49
|
+
'nodemon': pluginSchema,
|
|
50
|
+
'npm-package-json-lint': pluginSchema,
|
|
51
|
+
'nuxt': pluginSchema,
|
|
52
|
+
'nx': pluginSchema,
|
|
53
|
+
'nyc': pluginSchema,
|
|
54
|
+
'oclif': pluginSchema,
|
|
55
|
+
'playwright': pluginSchema,
|
|
56
|
+
'playwright-ct': pluginSchema,
|
|
57
|
+
'playwright-test': pluginSchema,
|
|
58
|
+
'postcss': pluginSchema,
|
|
59
|
+
'preconstruct': pluginSchema,
|
|
60
|
+
'prettier': pluginSchema,
|
|
61
|
+
'react-cosmos': pluginSchema,
|
|
62
|
+
'release-it': pluginSchema,
|
|
63
|
+
'remark': pluginSchema,
|
|
64
|
+
'remix': pluginSchema,
|
|
65
|
+
'rollup': pluginSchema,
|
|
66
|
+
'rsbuild': pluginSchema,
|
|
67
|
+
'rspack': pluginSchema,
|
|
68
|
+
'semantic-release': pluginSchema,
|
|
69
|
+
'sentry': pluginSchema,
|
|
70
|
+
'simple-git-hooks': pluginSchema,
|
|
71
|
+
'size-limit': pluginSchema,
|
|
72
|
+
'storybook': pluginSchema,
|
|
73
|
+
'stryker': pluginSchema,
|
|
74
|
+
'stylelint': pluginSchema,
|
|
75
|
+
'svelte': pluginSchema,
|
|
76
|
+
'syncpack': pluginSchema,
|
|
77
|
+
'tailwind': pluginSchema,
|
|
78
|
+
'travis': pluginSchema,
|
|
79
|
+
'ts-node': pluginSchema,
|
|
80
|
+
'tsup': pluginSchema,
|
|
81
|
+
'tsx': pluginSchema,
|
|
82
|
+
'typedoc': pluginSchema,
|
|
83
|
+
'typescript': pluginSchema,
|
|
84
|
+
'unbuild': pluginSchema,
|
|
85
|
+
'unocss': pluginSchema,
|
|
86
|
+
'vercel-og': pluginSchema,
|
|
87
|
+
'vike': pluginSchema,
|
|
88
|
+
'vite': pluginSchema,
|
|
89
|
+
'vitest': pluginSchema,
|
|
90
|
+
'vue': pluginSchema,
|
|
91
|
+
'webdriver-io': pluginSchema,
|
|
92
|
+
'webpack': pluginSchema,
|
|
93
|
+
'wireit': pluginSchema,
|
|
94
|
+
'wrangler': pluginSchema,
|
|
95
|
+
'xo': pluginSchema,
|
|
96
|
+
'yorkie': pluginSchema });
|
package/dist/types/config.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
|
-
import type { ConfigurationValidator
|
|
2
|
+
import type { ConfigurationValidator } from '../ConfigurationValidator.js';
|
|
3
3
|
import type { AsyncCompilers, SyncCompilers } from '../compilers/types.js';
|
|
4
|
+
import type { pluginSchema } from '../schema/plugins.js';
|
|
4
5
|
import type { Input } from '../util/input.js';
|
|
5
6
|
import type { PluginName } from './PluginNames.js';
|
|
6
7
|
import type { Args } from './args.js';
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "5.36.
|
|
1
|
+
export declare const version = "5.36.6";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.36.
|
|
1
|
+
export const version = '5.36.6';
|