knip 6.30.0 → 6.32.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.
- package/dist/ConfigurationChief.d.ts +24 -0
- package/dist/DependencyDeputy.d.ts +2 -1
- package/dist/DependencyDeputy.js +2 -2
- package/dist/binaries/bash-parser.js +20 -8
- package/dist/binaries/fallback.js +6 -4
- package/dist/binaries/plugins.js +8 -4
- package/dist/binaries/resolvers/bun.js +7 -7
- package/dist/binaries/resolvers/bunx.d.ts +2 -1
- package/dist/binaries/resolvers/bunx.js +10 -6
- package/dist/binaries/resolvers/find.js +5 -5
- package/dist/binaries/resolvers/npm.js +5 -5
- package/dist/binaries/resolvers/npx.js +3 -4
- package/dist/binaries/resolvers/nub.js +4 -4
- package/dist/binaries/resolvers/pnpm.js +12 -9
- package/dist/binaries/resolvers/pnpx.d.ts +2 -1
- package/dist/binaries/resolvers/pnpx.js +4 -4
- package/dist/binaries/resolvers/yarn.js +17 -13
- package/dist/binaries/util.d.ts +6 -4
- package/dist/binaries/util.js +25 -3
- package/dist/compilers/index.d.ts +40 -0
- package/dist/graph/analyze.js +1 -0
- package/dist/graph/build.js +1 -0
- package/dist/plugins/babel/types.d.ts +1 -0
- package/dist/plugins/borp/index.d.ts +3 -0
- package/dist/plugins/borp/index.js +61 -0
- package/dist/plugins/borp/types.d.ts +4 -0
- package/dist/plugins/borp/types.js +1 -0
- package/dist/plugins/index.d.ts +4 -0
- package/dist/plugins/index.js +8 -0
- package/dist/plugins/jest/index.js +6 -2
- package/dist/plugins/marko/compiler.d.ts +2 -0
- package/dist/plugins/marko/compiler.js +85 -0
- package/dist/plugins/marko/index.d.ts +3 -0
- package/dist/plugins/marko/index.js +63 -0
- package/dist/plugins/marko/taglibs.d.ts +4 -0
- package/dist/plugins/marko/taglibs.js +111 -0
- package/dist/plugins/marko/types.d.ts +9 -0
- package/dist/plugins/marko/types.js +1 -0
- package/dist/plugins/mocha/index.js +59 -0
- package/dist/plugins/playwright/index.js +1 -1
- package/dist/plugins/pre-commit/index.d.ts +3 -0
- package/dist/plugins/pre-commit/index.js +23 -0
- package/dist/plugins/rollup/index.js +5 -1
- package/dist/plugins/tsd/index.d.ts +3 -0
- package/dist/plugins/tsd/index.js +43 -0
- package/dist/plugins/tsd/types.d.ts +4 -0
- package/dist/plugins/tsd/types.js +1 -0
- package/dist/schema/configuration.d.ts +60 -0
- package/dist/schema/plugins.d.ts +20 -0
- package/dist/schema/plugins.js +4 -0
- package/dist/types/PluginNames.d.ts +2 -2
- package/dist/types/PluginNames.js +4 -0
- package/dist/types/config.d.ts +4 -2
- package/dist/util/create-input-handler.js +2 -0
- package/dist/util/create-options.d.ts +40 -0
- package/dist/util/package-json.d.ts +4 -0
- package/dist/util/package-json.js +6 -2
- package/dist/util/parse-args.d.ts +2 -1
- package/dist/util/parse-args.js +8 -1
- package/dist/util/scripts.js +9 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/schema.json +16 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { toDeferResolve, toEntry } from '../../util/input.js';
|
|
2
|
+
import { isDirectory } from '../../util/fs.js';
|
|
2
3
|
import { hasDependency } from '../../util/plugin.js';
|
|
3
4
|
const title = 'Mocha';
|
|
4
5
|
const enablers = ['mocha'];
|
|
5
6
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
6
7
|
const config = ['.mocharc.{js,cjs,json,jsonc,yml,yaml}', 'package.json'];
|
|
7
8
|
const entry = ['**/test/*.{js,cjs,mjs}'];
|
|
9
|
+
const defaultExtensions = ['js', 'cjs', 'mjs'];
|
|
8
10
|
const resolveConfig = localConfig => {
|
|
9
11
|
const entryPatterns = localConfig.spec ? [localConfig.spec].flat() : entry;
|
|
10
12
|
const require = localConfig.require ? [localConfig.require].flat() : [];
|
|
@@ -15,6 +17,63 @@ const resolveConfig = localConfig => {
|
|
|
15
17
|
};
|
|
16
18
|
const args = {
|
|
17
19
|
nodeImportArgs: true,
|
|
20
|
+
boolean: [
|
|
21
|
+
'allow-uncaught',
|
|
22
|
+
'async-only',
|
|
23
|
+
'bail',
|
|
24
|
+
'check-leaks',
|
|
25
|
+
'colors',
|
|
26
|
+
'delay',
|
|
27
|
+
'diff',
|
|
28
|
+
'dry-run',
|
|
29
|
+
'exit',
|
|
30
|
+
'forbid-only',
|
|
31
|
+
'forbid-pending',
|
|
32
|
+
'inline-diffs',
|
|
33
|
+
'invert',
|
|
34
|
+
'parallel',
|
|
35
|
+
'recursive',
|
|
36
|
+
'sort',
|
|
37
|
+
'watch',
|
|
38
|
+
],
|
|
39
|
+
alias: {
|
|
40
|
+
'async-only': ['A'],
|
|
41
|
+
bail: ['b'],
|
|
42
|
+
colors: ['c'],
|
|
43
|
+
fgrep: ['f'],
|
|
44
|
+
grep: ['g'],
|
|
45
|
+
invert: ['i'],
|
|
46
|
+
jobs: ['j'],
|
|
47
|
+
'node-option': ['n'],
|
|
48
|
+
parallel: ['p'],
|
|
49
|
+
reporter: ['R'],
|
|
50
|
+
'reporter-option': ['O'],
|
|
51
|
+
slow: ['s'],
|
|
52
|
+
sort: ['S'],
|
|
53
|
+
timeout: ['t'],
|
|
54
|
+
ui: ['u'],
|
|
55
|
+
watch: ['w'],
|
|
56
|
+
},
|
|
57
|
+
string: ['config', 'extension', 'fgrep', 'file', 'grep', 'ignore', 'package', 'reporter', 'spec', 'ui'],
|
|
58
|
+
config: ['config'],
|
|
59
|
+
resolveInputs: (parsed, { cwd }) => {
|
|
60
|
+
const extensions = [parsed.extension ?? []]
|
|
61
|
+
.flat()
|
|
62
|
+
.flatMap(value => String(value).split(','))
|
|
63
|
+
.map(extension => extension.replace(/^\./, ''));
|
|
64
|
+
const list = extensions.length > 0 ? extensions : defaultExtensions;
|
|
65
|
+
const suffix = list.length === 1 ? `*.${list[0]}` : `*.{${list.join(',')}}`;
|
|
66
|
+
const inputs = [];
|
|
67
|
+
for (const value of [...parsed._, ...[parsed.spec ?? []].flat(), ...[parsed.file ?? []].flat()].map(String)) {
|
|
68
|
+
if (isDirectory(cwd, value))
|
|
69
|
+
inputs.push(toEntry(`${value.replace(/\/$/, '')}/${parsed.recursive ? '**/' : ''}${suffix}`));
|
|
70
|
+
else
|
|
71
|
+
inputs.push(toEntry(value));
|
|
72
|
+
}
|
|
73
|
+
for (const value of [parsed.ignore ?? []].flat())
|
|
74
|
+
inputs.push(toEntry(`!${String(value)}`));
|
|
75
|
+
return inputs;
|
|
76
|
+
},
|
|
18
77
|
};
|
|
19
78
|
const plugin = {
|
|
20
79
|
title,
|
|
@@ -5,7 +5,7 @@ import { hasDependency } from '../../util/plugin.js';
|
|
|
5
5
|
const title = 'Playwright';
|
|
6
6
|
const enablers = ['@playwright/test'];
|
|
7
7
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
8
|
-
const config = ['playwright.config.{js,ts,
|
|
8
|
+
const config = ['playwright.config.{js,cjs,mjs,ts,cts,mts}'];
|
|
9
9
|
export const entry = ['**/*.@(spec|test).?(c|m)[jt]s?(x)'];
|
|
10
10
|
const toEntryPatterns = (testMatch, cwd, configDir, localConfig, rootConfig) => {
|
|
11
11
|
const testDir = localConfig.testDir ?? rootConfig.testDir;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { toDependency } from '../../util/input.js';
|
|
2
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
3
|
+
const title = 'pre-commit';
|
|
4
|
+
const packages = ['pre-commit', '@fastify/pre-commit'];
|
|
5
|
+
const enablers = packages;
|
|
6
|
+
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
7
|
+
const isRootOnly = true;
|
|
8
|
+
const resolve = options => {
|
|
9
|
+
const { dependencies, devDependencies } = options.manifest;
|
|
10
|
+
const inputs = [];
|
|
11
|
+
for (const name of packages)
|
|
12
|
+
if (dependencies?.[name] || devDependencies?.[name])
|
|
13
|
+
inputs.push(toDependency(name));
|
|
14
|
+
return inputs;
|
|
15
|
+
};
|
|
16
|
+
const plugin = {
|
|
17
|
+
title,
|
|
18
|
+
enablers,
|
|
19
|
+
isEnabled,
|
|
20
|
+
isRootOnly,
|
|
21
|
+
resolve,
|
|
22
|
+
};
|
|
23
|
+
export default plugin;
|
|
@@ -7,7 +7,11 @@ const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
|
7
7
|
const config = ['rollup.config.{js,cjs,mjs,ts}'];
|
|
8
8
|
const args = {
|
|
9
9
|
alias: { plugin: ['p'] },
|
|
10
|
-
|
|
10
|
+
string: ['config'],
|
|
11
|
+
config: ['config'],
|
|
12
|
+
args: (args) => args
|
|
13
|
+
.filter((arg, index) => !(arg === '--config' && (args[index + 1] === undefined || args[index + 1].startsWith('-'))))
|
|
14
|
+
.map(arg => (arg.startsWith('--watch.onEnd') ? `--_exec${arg.slice(13)}` : arg)),
|
|
11
15
|
fromArgs: ['_exec'],
|
|
12
16
|
resolve: ['plugin', 'configPlugin'],
|
|
13
17
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { toEntry } from '../../util/input.js';
|
|
2
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
3
|
+
const title = 'tsd';
|
|
4
|
+
const enablers = ['tsd'];
|
|
5
|
+
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
6
|
+
const config = ['package.json'];
|
|
7
|
+
const entry = ['*.test-d.{ts,tsx}', 'test-d/**/*.test-d.{ts,tsx}'];
|
|
8
|
+
const resolveConfig = async (localConfig) => {
|
|
9
|
+
const inputs = [];
|
|
10
|
+
if (localConfig?.testFiles)
|
|
11
|
+
for (const id of localConfig.testFiles)
|
|
12
|
+
inputs.push(toEntry(id));
|
|
13
|
+
if (localConfig?.directory) {
|
|
14
|
+
inputs.push(toEntry('*.test-d.{ts,tsx}'));
|
|
15
|
+
inputs.push(toEntry(`${localConfig.directory}/**/*.test-d.{ts,tsx}`));
|
|
16
|
+
}
|
|
17
|
+
if (inputs.length === 0)
|
|
18
|
+
for (const id of entry)
|
|
19
|
+
inputs.push(toEntry(id));
|
|
20
|
+
return inputs;
|
|
21
|
+
};
|
|
22
|
+
const args = {
|
|
23
|
+
alias: { files: ['f'], typings: ['t'] },
|
|
24
|
+
string: ['files', 'typings'],
|
|
25
|
+
resolveInputs: (parsed) => {
|
|
26
|
+
const inputs = [];
|
|
27
|
+
for (const id of [parsed.files ?? []].flat())
|
|
28
|
+
inputs.push(toEntry(String(id)));
|
|
29
|
+
if (typeof parsed._[0] === 'string')
|
|
30
|
+
inputs.push(toEntry(`${parsed._[0]}/**/*.test-d.{ts,tsx}`));
|
|
31
|
+
return inputs;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
const plugin = {
|
|
35
|
+
title,
|
|
36
|
+
enablers,
|
|
37
|
+
isEnabled,
|
|
38
|
+
config,
|
|
39
|
+
entry,
|
|
40
|
+
resolveConfig,
|
|
41
|
+
args,
|
|
42
|
+
};
|
|
43
|
+
export default plugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -41,6 +41,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
41
41
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
42
42
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
43
43
|
}, z.core.$strip>]>>;
|
|
44
|
+
borp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
45
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
46
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
47
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
48
|
+
}, z.core.$strip>]>>;
|
|
44
49
|
bumpp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
45
50
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
46
51
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -296,6 +301,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
296
301
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
297
302
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
298
303
|
}, z.core.$strip>]>>;
|
|
304
|
+
marko: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
305
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
306
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
307
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
308
|
+
}, z.core.$strip>]>>;
|
|
299
309
|
mdx: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
300
310
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
301
311
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -491,6 +501,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
491
501
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
492
502
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
493
503
|
}, z.core.$strip>]>>;
|
|
504
|
+
'pre-commit': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
505
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
506
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
507
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
508
|
+
}, z.core.$strip>]>>;
|
|
494
509
|
preconstruct: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
495
510
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
496
511
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -721,6 +736,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
721
736
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
722
737
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
723
738
|
}, z.core.$strip>]>>;
|
|
739
|
+
tsd: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
740
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
741
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
742
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
743
|
+
}, z.core.$strip>]>>;
|
|
724
744
|
tsdown: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
725
745
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
726
746
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -947,6 +967,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
947
967
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
948
968
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
949
969
|
}, z.core.$strip>]>>;
|
|
970
|
+
borp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
971
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
972
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
973
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
974
|
+
}, z.core.$strip>]>>;
|
|
950
975
|
bumpp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
951
976
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
952
977
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1202,6 +1227,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1202
1227
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1203
1228
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1204
1229
|
}, z.core.$strip>]>>;
|
|
1230
|
+
marko: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1231
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1232
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1233
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1234
|
+
}, z.core.$strip>]>>;
|
|
1205
1235
|
mdx: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1206
1236
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1207
1237
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1397,6 +1427,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1397
1427
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1398
1428
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1399
1429
|
}, z.core.$strip>]>>;
|
|
1430
|
+
'pre-commit': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1431
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1432
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1433
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1434
|
+
}, z.core.$strip>]>>;
|
|
1400
1435
|
preconstruct: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1401
1436
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1402
1437
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1627,6 +1662,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1627
1662
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1628
1663
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1629
1664
|
}, z.core.$strip>]>>;
|
|
1665
|
+
tsd: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1666
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1667
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1668
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1669
|
+
}, z.core.$strip>]>>;
|
|
1630
1670
|
tsdown: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1631
1671
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1632
1672
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1871,6 +1911,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1871
1911
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1872
1912
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1873
1913
|
}, z.core.$strip>]>>;
|
|
1914
|
+
borp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1915
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1916
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1917
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1918
|
+
}, z.core.$strip>]>>;
|
|
1874
1919
|
bumpp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1875
1920
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1876
1921
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2126,6 +2171,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2126
2171
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2127
2172
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2128
2173
|
}, z.core.$strip>]>>;
|
|
2174
|
+
marko: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2175
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2176
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2177
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2178
|
+
}, z.core.$strip>]>>;
|
|
2129
2179
|
mdx: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2130
2180
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2131
2181
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2321,6 +2371,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2321
2371
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2322
2372
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2323
2373
|
}, z.core.$strip>]>>;
|
|
2374
|
+
'pre-commit': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2375
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2376
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2377
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2378
|
+
}, z.core.$strip>]>>;
|
|
2324
2379
|
preconstruct: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2325
2380
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2326
2381
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2551,6 +2606,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2551
2606
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2552
2607
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2553
2608
|
}, z.core.$strip>]>>;
|
|
2609
|
+
tsd: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2610
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2611
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2612
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2613
|
+
}, z.core.$strip>]>>;
|
|
2554
2614
|
tsdown: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2555
2615
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2556
2616
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
package/dist/schema/plugins.d.ts
CHANGED
|
@@ -46,6 +46,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
|
|
|
46
46
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
47
47
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
48
48
|
}, z.core.$strip>]>;
|
|
49
|
+
borp: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
50
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
51
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
52
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
53
|
+
}, z.core.$strip>]>;
|
|
49
54
|
bumpp: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
50
55
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
51
56
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -301,6 +306,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
|
|
|
301
306
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
302
307
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
303
308
|
}, z.core.$strip>]>;
|
|
309
|
+
marko: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
310
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
311
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
312
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
313
|
+
}, z.core.$strip>]>;
|
|
304
314
|
mdx: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
305
315
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
306
316
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -496,6 +506,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
|
|
|
496
506
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
497
507
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
498
508
|
}, z.core.$strip>]>;
|
|
509
|
+
'pre-commit': z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
510
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
511
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
512
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
513
|
+
}, z.core.$strip>]>;
|
|
499
514
|
preconstruct: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
500
515
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
501
516
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -726,6 +741,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
|
|
|
726
741
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
727
742
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
728
743
|
}, z.core.$strip>]>;
|
|
744
|
+
tsd: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
745
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
746
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
747
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
748
|
+
}, z.core.$strip>]>;
|
|
729
749
|
tsdown: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
730
750
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
731
751
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
package/dist/schema/plugins.js
CHANGED
|
@@ -18,6 +18,7 @@ export const pluginsSchema = z.object({
|
|
|
18
18
|
ava: pluginSchema,
|
|
19
19
|
babel: pluginSchema,
|
|
20
20
|
biome: pluginSchema,
|
|
21
|
+
borp: pluginSchema,
|
|
21
22
|
bumpp: pluginSchema,
|
|
22
23
|
bun: pluginSchema,
|
|
23
24
|
c8: pluginSchema,
|
|
@@ -69,6 +70,7 @@ export const pluginsSchema = z.object({
|
|
|
69
70
|
'lost-pixel': pluginSchema,
|
|
70
71
|
lunaria: pluginSchema,
|
|
71
72
|
markdownlint: pluginSchema,
|
|
73
|
+
marko: pluginSchema,
|
|
72
74
|
mdx: pluginSchema,
|
|
73
75
|
mdxlint: pluginSchema,
|
|
74
76
|
metro: pluginSchema,
|
|
@@ -108,6 +110,7 @@ export const pluginsSchema = z.object({
|
|
|
108
110
|
pm2: pluginSchema,
|
|
109
111
|
pnpm: pluginSchema,
|
|
110
112
|
postcss: pluginSchema,
|
|
113
|
+
'pre-commit': pluginSchema,
|
|
111
114
|
preconstruct: pluginSchema,
|
|
112
115
|
prettier: pluginSchema,
|
|
113
116
|
prisma: pluginSchema,
|
|
@@ -154,6 +157,7 @@ export const pluginsSchema = z.object({
|
|
|
154
157
|
temporal: pluginSchema,
|
|
155
158
|
travis: pluginSchema,
|
|
156
159
|
'ts-node': pluginSchema,
|
|
160
|
+
tsd: pluginSchema,
|
|
157
161
|
tsdown: pluginSchema,
|
|
158
162
|
tsup: pluginSchema,
|
|
159
163
|
tsx: pluginSchema,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type PluginName = 'angular' | 'astro' | 'astro-db' | 'astro-markdoc' | 'astro-og-canvas' | 'ava' | 'babel' | 'biome' | 'bumpp' | 'bun' | 'c8' | 'capacitor' | 'catalyst' | 'changelogen' | 'changelogithub' | 'changesets' | 'commitizen' | 'commitlint' | 'convex' | 'create-typescript-app' | 'cspell' | 'cucumber' | 'cypress' | 'danger' | 'dependency-cruiser' | 'docusaurus' | 'dotenv' | 'drizzle' | 'electron-vite' | 'eleventy' | 'esbuild' | 'eslint' | 'eve' | 'execa' | 'expo' | 'expressive-code' | 'fast' | 'fumadocs' | 'gatsby' | 'github-action' | 'github-actions' | 'glob' | 'graphql-codegen' | 'hardhat' | 'husky' | 'i18next-parser' | 'jest' | 'karma' | 'knex' | 'ladle' | 'laravel-vite-plugin' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lit' | 'lockfile-lint' | 'lost-pixel' | 'lunaria' | 'markdownlint' | 'mdx' | 'mdxlint' | 'metro' | 'mocha' | 'moonrepo' | 'msw' | 'nano-spawn' | 'nano-staged' | 'nest' | 'netlify' | 'next' | 'next-intl' | 'next-mdx' | 'nitro' | 'node' | 'node-modules-inspector' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nuxtjs-i18n' | 'nx' | 'nyc' | 'oclif' | 'openapi-ts' | 'openclaw' | 'orval' | 'oxfmt' | 'oxlint' | 'panda-css' | 'parcel' | 'payload' | 'pino' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'pm2' | 'pnpm' | 'postcss' | 'preconstruct' | 'prettier' | 'prisma' | 'quasar' | 'qwik' | 'raycast' | 'react-cosmos' | 'react-email' | 'react-native' | 'react-router' | 'relay' | 'release-it' | 'remark' | 'remix' | 'rolldown' | 'rollup' | 'rsbuild' | 'rslib' | 'rspack' | 'rstest' | 'sanity' | 'semantic-release' | 'sentry' | 'serverless-framework' | 'simple-git-hooks' | 'size-limit' | 'sst' | 'starlight' | 'stencil' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'sveltejs-package' | 'sveltekit' | 'svgo' | 'svgr' | 'swc' | 'syncpack' | 'tailwind' | 'tanstack-router' | 'taskfile' | 'tauri' | 'temporal' | 'travis' | 'ts-node' | 'tsdown' | 'tsup' | 'tsx' | 'typedoc' | 'typescript' | 'unbuild' | 'unocss' | 'unplugin-auto-import' | 'unplugin-icons' | 'unplugin-vue-components' | 'unplugin-vue-i18n' | 'unplugin-vue-markdown' | 'unplugin-vue-router' | 'vercel' | 'vercel-og' | 'vike' | 'vite' | 'vite-plugin-pages' | 'vite-plugin-pwa' | 'vite-plugin-vue-layouts-next' | 'vite-plus' | 'vite-pwa-assets-generator' | 'vitepress' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'wxt' | 'xo' | 'yarn' | 'yorkie' | 'zx';
|
|
2
|
-
export declare const pluginNames: readonly ['angular', 'astro', 'astro-db', 'astro-markdoc', 'astro-og-canvas', 'ava', 'babel', 'biome', 'bumpp', 'bun', 'c8', 'capacitor', 'catalyst', 'changelogen', 'changelogithub', 'changesets', 'commitizen', 'commitlint', 'convex', 'create-typescript-app', 'cspell', 'cucumber', 'cypress', 'danger', 'dependency-cruiser', 'docusaurus', 'dotenv', 'drizzle', 'electron-vite', 'eleventy', 'esbuild', 'eslint', 'eve', 'execa', 'expo', 'expressive-code', 'fast', 'fumadocs', 'gatsby', 'github-action', 'github-actions', 'glob', 'graphql-codegen', 'hardhat', 'husky', 'i18next-parser', 'jest', 'karma', 'knex', 'ladle', 'laravel-vite-plugin', 'lefthook', 'lint-staged', 'linthtml', 'lit', 'lockfile-lint', 'lost-pixel', 'lunaria', 'markdownlint', 'mdx', 'mdxlint', 'metro', 'mocha', 'moonrepo', 'msw', 'nano-spawn', 'nano-staged', 'nest', 'netlify', 'next', 'next-intl', 'next-mdx', 'nitro', 'node', 'node-modules-inspector', 'nodemon', 'npm-package-json-lint', 'nuxt', 'nuxtjs-i18n', 'nx', 'nyc', 'oclif', 'openapi-ts', 'openclaw', 'orval', 'oxfmt', 'oxlint', 'panda-css', 'parcel', 'payload', 'pino', 'playwright', 'playwright-ct', 'playwright-test', 'plop', 'pm2', 'pnpm', 'postcss', 'preconstruct', 'prettier', 'prisma', 'quasar', 'qwik', 'raycast', 'react-cosmos', 'react-email', 'react-native', 'react-router', 'relay', 'release-it', 'remark', 'remix', 'rolldown', 'rollup', 'rsbuild', 'rslib', 'rspack', 'rstest', 'sanity', 'semantic-release', 'sentry', 'serverless-framework', 'simple-git-hooks', 'size-limit', 'sst', 'starlight', 'stencil', 'storybook', 'stryker', 'stylelint', 'svelte', 'sveltejs-package', 'sveltekit', 'svgo', 'svgr', 'swc', 'syncpack', 'tailwind', 'tanstack-router', 'taskfile', 'tauri', 'temporal', 'travis', 'ts-node', 'tsdown', 'tsup', 'tsx', 'typedoc', 'typescript', 'unbuild', 'unocss', 'unplugin-auto-import', 'unplugin-icons', 'unplugin-vue-components', 'unplugin-vue-i18n', 'unplugin-vue-markdown', 'unplugin-vue-router', 'vercel', 'vercel-og', 'vike', 'vite', 'vite-plugin-pages', 'vite-plugin-pwa', 'vite-plugin-vue-layouts-next', 'vite-plus', 'vite-pwa-assets-generator', 'vitepress', 'vitest', 'vue', 'webdriver-io', 'webpack', 'wireit', 'wrangler', 'wxt', 'xo', 'yarn', 'yorkie', 'zx'];
|
|
1
|
+
export type PluginName = 'angular' | 'astro' | 'astro-db' | 'astro-markdoc' | 'astro-og-canvas' | 'ava' | 'babel' | 'biome' | 'borp' | 'bumpp' | 'bun' | 'c8' | 'capacitor' | 'catalyst' | 'changelogen' | 'changelogithub' | 'changesets' | 'commitizen' | 'commitlint' | 'convex' | 'create-typescript-app' | 'cspell' | 'cucumber' | 'cypress' | 'danger' | 'dependency-cruiser' | 'docusaurus' | 'dotenv' | 'drizzle' | 'electron-vite' | 'eleventy' | 'esbuild' | 'eslint' | 'eve' | 'execa' | 'expo' | 'expressive-code' | 'fast' | 'fumadocs' | 'gatsby' | 'github-action' | 'github-actions' | 'glob' | 'graphql-codegen' | 'hardhat' | 'husky' | 'i18next-parser' | 'jest' | 'karma' | 'knex' | 'ladle' | 'laravel-vite-plugin' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lit' | 'lockfile-lint' | 'lost-pixel' | 'lunaria' | 'markdownlint' | 'marko' | 'mdx' | 'mdxlint' | 'metro' | 'mocha' | 'moonrepo' | 'msw' | 'nano-spawn' | 'nano-staged' | 'nest' | 'netlify' | 'next' | 'next-intl' | 'next-mdx' | 'nitro' | 'node' | 'node-modules-inspector' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nuxtjs-i18n' | 'nx' | 'nyc' | 'oclif' | 'openapi-ts' | 'openclaw' | 'orval' | 'oxfmt' | 'oxlint' | 'panda-css' | 'parcel' | 'payload' | 'pino' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'pm2' | 'pnpm' | 'postcss' | 'pre-commit' | 'preconstruct' | 'prettier' | 'prisma' | 'quasar' | 'qwik' | 'raycast' | 'react-cosmos' | 'react-email' | 'react-native' | 'react-router' | 'relay' | 'release-it' | 'remark' | 'remix' | 'rolldown' | 'rollup' | 'rsbuild' | 'rslib' | 'rspack' | 'rstest' | 'sanity' | 'semantic-release' | 'sentry' | 'serverless-framework' | 'simple-git-hooks' | 'size-limit' | 'sst' | 'starlight' | 'stencil' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'sveltejs-package' | 'sveltekit' | 'svgo' | 'svgr' | 'swc' | 'syncpack' | 'tailwind' | 'tanstack-router' | 'taskfile' | 'tauri' | 'temporal' | 'travis' | 'ts-node' | 'tsd' | 'tsdown' | 'tsup' | 'tsx' | 'typedoc' | 'typescript' | 'unbuild' | 'unocss' | 'unplugin-auto-import' | 'unplugin-icons' | 'unplugin-vue-components' | 'unplugin-vue-i18n' | 'unplugin-vue-markdown' | 'unplugin-vue-router' | 'vercel' | 'vercel-og' | 'vike' | 'vite' | 'vite-plugin-pages' | 'vite-plugin-pwa' | 'vite-plugin-vue-layouts-next' | 'vite-plus' | 'vite-pwa-assets-generator' | 'vitepress' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'wxt' | 'xo' | 'yarn' | 'yorkie' | 'zx';
|
|
2
|
+
export declare const pluginNames: readonly ['angular', 'astro', 'astro-db', 'astro-markdoc', 'astro-og-canvas', 'ava', 'babel', 'biome', 'borp', 'bumpp', 'bun', 'c8', 'capacitor', 'catalyst', 'changelogen', 'changelogithub', 'changesets', 'commitizen', 'commitlint', 'convex', 'create-typescript-app', 'cspell', 'cucumber', 'cypress', 'danger', 'dependency-cruiser', 'docusaurus', 'dotenv', 'drizzle', 'electron-vite', 'eleventy', 'esbuild', 'eslint', 'eve', 'execa', 'expo', 'expressive-code', 'fast', 'fumadocs', 'gatsby', 'github-action', 'github-actions', 'glob', 'graphql-codegen', 'hardhat', 'husky', 'i18next-parser', 'jest', 'karma', 'knex', 'ladle', 'laravel-vite-plugin', 'lefthook', 'lint-staged', 'linthtml', 'lit', 'lockfile-lint', 'lost-pixel', 'lunaria', 'markdownlint', 'marko', 'mdx', 'mdxlint', 'metro', 'mocha', 'moonrepo', 'msw', 'nano-spawn', 'nano-staged', 'nest', 'netlify', 'next', 'next-intl', 'next-mdx', 'nitro', 'node', 'node-modules-inspector', 'nodemon', 'npm-package-json-lint', 'nuxt', 'nuxtjs-i18n', 'nx', 'nyc', 'oclif', 'openapi-ts', 'openclaw', 'orval', 'oxfmt', 'oxlint', 'panda-css', 'parcel', 'payload', 'pino', 'playwright', 'playwright-ct', 'playwright-test', 'plop', 'pm2', 'pnpm', 'postcss', 'pre-commit', 'preconstruct', 'prettier', 'prisma', 'quasar', 'qwik', 'raycast', 'react-cosmos', 'react-email', 'react-native', 'react-router', 'relay', 'release-it', 'remark', 'remix', 'rolldown', 'rollup', 'rsbuild', 'rslib', 'rspack', 'rstest', 'sanity', 'semantic-release', 'sentry', 'serverless-framework', 'simple-git-hooks', 'size-limit', 'sst', 'starlight', 'stencil', 'storybook', 'stryker', 'stylelint', 'svelte', 'sveltejs-package', 'sveltekit', 'svgo', 'svgr', 'swc', 'syncpack', 'tailwind', 'tanstack-router', 'taskfile', 'tauri', 'temporal', 'travis', 'ts-node', 'tsd', 'tsdown', 'tsup', 'tsx', 'typedoc', 'typescript', 'unbuild', 'unocss', 'unplugin-auto-import', 'unplugin-icons', 'unplugin-vue-components', 'unplugin-vue-i18n', 'unplugin-vue-markdown', 'unplugin-vue-router', 'vercel', 'vercel-og', 'vike', 'vite', 'vite-plugin-pages', 'vite-plugin-pwa', 'vite-plugin-vue-layouts-next', 'vite-plus', 'vite-pwa-assets-generator', 'vitepress', 'vitest', 'vue', 'webdriver-io', 'webpack', 'wireit', 'wrangler', 'wxt', 'xo', 'yarn', 'yorkie', 'zx'];
|
|
@@ -7,6 +7,7 @@ export const pluginNames = [
|
|
|
7
7
|
'ava',
|
|
8
8
|
'babel',
|
|
9
9
|
'biome',
|
|
10
|
+
'borp',
|
|
10
11
|
'bumpp',
|
|
11
12
|
'bun',
|
|
12
13
|
'c8',
|
|
@@ -58,6 +59,7 @@ export const pluginNames = [
|
|
|
58
59
|
'lost-pixel',
|
|
59
60
|
'lunaria',
|
|
60
61
|
'markdownlint',
|
|
62
|
+
'marko',
|
|
61
63
|
'mdx',
|
|
62
64
|
'mdxlint',
|
|
63
65
|
'metro',
|
|
@@ -97,6 +99,7 @@ export const pluginNames = [
|
|
|
97
99
|
'pm2',
|
|
98
100
|
'pnpm',
|
|
99
101
|
'postcss',
|
|
102
|
+
'pre-commit',
|
|
100
103
|
'preconstruct',
|
|
101
104
|
'prettier',
|
|
102
105
|
'prisma',
|
|
@@ -143,6 +146,7 @@ export const pluginNames = [
|
|
|
143
146
|
'temporal',
|
|
144
147
|
'travis',
|
|
145
148
|
'ts-node',
|
|
149
|
+
'tsd',
|
|
146
150
|
'tsdown',
|
|
147
151
|
'tsup',
|
|
148
152
|
'tsx',
|
package/dist/types/config.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Program, VisitorObject } from 'oxc-parser';
|
|
2
|
+
import type { Word } from 'unbash';
|
|
2
3
|
import type { z } from 'zod/mini';
|
|
3
4
|
import type { AsyncCompilers, CompilerSync, HasDependency, SyncCompilers } from '../compilers/types.ts';
|
|
4
5
|
import type { knipConfigurationSchema, workspaceConfigurationSchema } from '../schema/configuration.ts';
|
|
@@ -18,11 +19,12 @@ export interface GetInputsFromScriptsOptions extends BaseOptions {
|
|
|
18
19
|
}
|
|
19
20
|
export type GetInputsFromScripts<T = GetInputsFromScriptsOptions> = (npmScripts: string | string[] | Set<string>, options: T) => Input[];
|
|
20
21
|
export type GetInputsFromScriptsPartial = (npmScripts: string | string[] | Set<string>, options?: Partial<GetInputsFromScriptsOptions>) => Input[];
|
|
21
|
-
export type
|
|
22
|
+
export type ScriptArg = string | Word;
|
|
23
|
+
export type FromArgs = (args: ScriptArg[], options?: Partial<GetInputsFromScriptsOptions>) => Input[];
|
|
22
24
|
export interface BinaryResolverOptions extends GetInputsFromScriptsOptions {
|
|
23
25
|
fromArgs: FromArgs;
|
|
24
26
|
}
|
|
25
|
-
export type BinaryResolver = (binary: string,
|
|
27
|
+
export type BinaryResolver = (binary: string, words: Word[], options: BinaryResolverOptions) => Input[];
|
|
26
28
|
export type RawConfiguration = z.infer<typeof knipConfigurationSchema>;
|
|
27
29
|
export type RawConfigurationOrFn = RawConfiguration | ((options: ParsedCLIArgs) => RawConfiguration | Promise<RawConfiguration>);
|
|
28
30
|
export type RawPluginConfiguration = z.infer<typeof pluginSchema>;
|
|
@@ -56,6 +56,7 @@ export const createInputHandler = (deputy, chief, isGitIgnored, addIssue, extern
|
|
|
56
56
|
const inputWorkspace = getWorkspaceFor(input, chief, workspace);
|
|
57
57
|
if (inputWorkspace) {
|
|
58
58
|
let isHandled = deputy.maybeAddReferencedExternalDependency(inputWorkspace, packageName, {
|
|
59
|
+
specifier,
|
|
59
60
|
isDevOnly: isConfig(input),
|
|
60
61
|
isTypeOnly: input.isTypeOnly,
|
|
61
62
|
});
|
|
@@ -63,6 +64,7 @@ export const createInputHandler = (deputy, chief, isGitIgnored, addIssue, extern
|
|
|
63
64
|
const owningWorkspace = chief.findWorkspaceByFilePath(input.containingFilePath);
|
|
64
65
|
if (owningWorkspace && owningWorkspace !== inputWorkspace) {
|
|
65
66
|
const isOwnerHandled = deputy.maybeAddReferencedExternalDependency(owningWorkspace, packageName, {
|
|
67
|
+
specifier,
|
|
66
68
|
isDevOnly: isConfig(input),
|
|
67
69
|
isTypeOnly: input.isTypeOnly,
|
|
68
70
|
});
|
|
@@ -85,6 +85,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
85
85
|
entry?: string | string[] | undefined;
|
|
86
86
|
project?: string | string[] | undefined;
|
|
87
87
|
} | undefined;
|
|
88
|
+
borp?: string | boolean | string[] | {
|
|
89
|
+
config?: string | string[] | undefined;
|
|
90
|
+
entry?: string | string[] | undefined;
|
|
91
|
+
project?: string | string[] | undefined;
|
|
92
|
+
} | undefined;
|
|
88
93
|
bumpp?: string | boolean | string[] | {
|
|
89
94
|
config?: string | string[] | undefined;
|
|
90
95
|
entry?: string | string[] | undefined;
|
|
@@ -340,6 +345,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
340
345
|
entry?: string | string[] | undefined;
|
|
341
346
|
project?: string | string[] | undefined;
|
|
342
347
|
} | undefined;
|
|
348
|
+
marko?: string | boolean | string[] | {
|
|
349
|
+
config?: string | string[] | undefined;
|
|
350
|
+
entry?: string | string[] | undefined;
|
|
351
|
+
project?: string | string[] | undefined;
|
|
352
|
+
} | undefined;
|
|
343
353
|
mdx?: string | boolean | string[] | {
|
|
344
354
|
config?: string | string[] | undefined;
|
|
345
355
|
entry?: string | string[] | undefined;
|
|
@@ -535,6 +545,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
535
545
|
entry?: string | string[] | undefined;
|
|
536
546
|
project?: string | string[] | undefined;
|
|
537
547
|
} | undefined;
|
|
548
|
+
'pre-commit'?: string | boolean | string[] | {
|
|
549
|
+
config?: string | string[] | undefined;
|
|
550
|
+
entry?: string | string[] | undefined;
|
|
551
|
+
project?: string | string[] | undefined;
|
|
552
|
+
} | undefined;
|
|
538
553
|
preconstruct?: string | boolean | string[] | {
|
|
539
554
|
config?: string | string[] | undefined;
|
|
540
555
|
entry?: string | string[] | undefined;
|
|
@@ -765,6 +780,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
765
780
|
entry?: string | string[] | undefined;
|
|
766
781
|
project?: string | string[] | undefined;
|
|
767
782
|
} | undefined;
|
|
783
|
+
tsd?: string | boolean | string[] | {
|
|
784
|
+
config?: string | string[] | undefined;
|
|
785
|
+
entry?: string | string[] | undefined;
|
|
786
|
+
project?: string | string[] | undefined;
|
|
787
|
+
} | undefined;
|
|
768
788
|
tsdown?: string | boolean | string[] | {
|
|
769
789
|
config?: string | string[] | undefined;
|
|
770
790
|
entry?: string | string[] | undefined;
|
|
@@ -1003,6 +1023,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
1003
1023
|
entry?: string | string[] | undefined;
|
|
1004
1024
|
project?: string | string[] | undefined;
|
|
1005
1025
|
} | undefined;
|
|
1026
|
+
borp?: string | boolean | string[] | {
|
|
1027
|
+
config?: string | string[] | undefined;
|
|
1028
|
+
entry?: string | string[] | undefined;
|
|
1029
|
+
project?: string | string[] | undefined;
|
|
1030
|
+
} | undefined;
|
|
1006
1031
|
bumpp?: string | boolean | string[] | {
|
|
1007
1032
|
config?: string | string[] | undefined;
|
|
1008
1033
|
entry?: string | string[] | undefined;
|
|
@@ -1258,6 +1283,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
1258
1283
|
entry?: string | string[] | undefined;
|
|
1259
1284
|
project?: string | string[] | undefined;
|
|
1260
1285
|
} | undefined;
|
|
1286
|
+
marko?: string | boolean | string[] | {
|
|
1287
|
+
config?: string | string[] | undefined;
|
|
1288
|
+
entry?: string | string[] | undefined;
|
|
1289
|
+
project?: string | string[] | undefined;
|
|
1290
|
+
} | undefined;
|
|
1261
1291
|
mdx?: string | boolean | string[] | {
|
|
1262
1292
|
config?: string | string[] | undefined;
|
|
1263
1293
|
entry?: string | string[] | undefined;
|
|
@@ -1453,6 +1483,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
1453
1483
|
entry?: string | string[] | undefined;
|
|
1454
1484
|
project?: string | string[] | undefined;
|
|
1455
1485
|
} | undefined;
|
|
1486
|
+
'pre-commit'?: string | boolean | string[] | {
|
|
1487
|
+
config?: string | string[] | undefined;
|
|
1488
|
+
entry?: string | string[] | undefined;
|
|
1489
|
+
project?: string | string[] | undefined;
|
|
1490
|
+
} | undefined;
|
|
1456
1491
|
preconstruct?: string | boolean | string[] | {
|
|
1457
1492
|
config?: string | string[] | undefined;
|
|
1458
1493
|
entry?: string | string[] | undefined;
|
|
@@ -1683,6 +1718,11 @@ export declare const createOptions: (options: CreateOptions) => Promise<{
|
|
|
1683
1718
|
entry?: string | string[] | undefined;
|
|
1684
1719
|
project?: string | string[] | undefined;
|
|
1685
1720
|
} | undefined;
|
|
1721
|
+
tsd?: string | boolean | string[] | {
|
|
1722
|
+
config?: string | string[] | undefined;
|
|
1723
|
+
entry?: string | string[] | undefined;
|
|
1724
|
+
project?: string | string[] | undefined;
|
|
1725
|
+
} | undefined;
|
|
1686
1726
|
tsdown?: string | boolean | string[] | {
|
|
1687
1727
|
config?: string | string[] | undefined;
|
|
1688
1728
|
entry?: string | string[] | undefined;
|