knip 6.42.1 → 6.44.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/CacheConsultant.d.ts +1 -0
- package/dist/CacheConsultant.js +2 -0
- package/dist/CatalogCounselor.d.ts +1 -3
- package/dist/CatalogCounselor.js +18 -15
- package/dist/ConfigurationChief.d.ts +42 -0
- package/dist/DependencyDeputy.d.ts +2 -1
- package/dist/DependencyDeputy.js +9 -4
- package/dist/IssueCollector.js +1 -0
- package/dist/IssueFixer.js +10 -5
- package/dist/ProjectPrincipal.d.ts +3 -2
- package/dist/ProjectPrincipal.js +32 -10
- package/dist/WorkspaceWorker.d.ts +5 -2
- package/dist/WorkspaceWorker.js +35 -17
- package/dist/binaries/resolvers/bun.js +1 -0
- package/dist/binaries/resolvers/npm.js +12 -2
- package/dist/binaries/resolvers/pnpm.js +5 -3
- package/dist/binaries/util.js +2 -1
- package/dist/cli.js +6 -1
- package/dist/compilers/compilers.js +2 -2
- package/dist/compilers/index.d.ts +5 -0
- package/dist/compilers/index.js +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +2 -0
- package/dist/graph/analyze.js +3 -2
- package/dist/graph/build.d.ts +2 -0
- package/dist/graph/build.js +37 -22
- package/dist/graph-explorer/cache.d.ts +2 -1
- package/dist/graph-explorer/cache.js +5 -1
- package/dist/graph-explorer/explorer.d.ts +3 -5
- package/dist/graph-explorer/explorer.js +24 -3
- package/dist/plugins/_vue/auto-import.js +31 -1
- package/dist/plugins/biome/index.js +1 -1
- package/dist/plugins/buf/index.d.ts +3 -0
- package/dist/plugins/buf/index.js +33 -0
- package/dist/plugins/buf/types.d.ts +8 -0
- package/dist/plugins/buf/types.js +1 -0
- package/dist/plugins/cspell/index.js +1 -0
- package/dist/plugins/dependency-cruiser/index.js +2 -2
- package/dist/plugins/docusaurus/helpers.js +4 -4
- package/dist/plugins/electron-forge/index.d.ts +3 -0
- package/dist/plugins/electron-forge/index.js +94 -0
- package/dist/plugins/electron-vite/index.js +2 -2
- package/dist/plugins/eslint/helpers.d.ts +1 -0
- package/dist/plugins/eslint/helpers.js +1 -1
- package/dist/plugins/eslint/resolveFromAST.js +35 -10
- package/dist/plugins/expo/helpers.d.ts +1 -1
- package/dist/plugins/expo/helpers.js +15 -8
- package/dist/plugins/expo/types.d.ts +2 -1
- package/dist/plugins/expressive-code/index.d.ts +1 -1
- package/dist/plugins/expressive-code/index.js +2 -2
- package/dist/plugins/gatsby/index.js +6 -6
- package/dist/plugins/gatsby/types.d.ts +1 -1
- package/dist/plugins/github-actions/index.js +1 -1
- package/dist/plugins/i18next-parser/index.js +2 -2
- package/dist/plugins/index.d.ts +8 -1
- package/dist/plugins/index.js +14 -0
- package/dist/plugins/jasmine/index.js +2 -2
- package/dist/plugins/karma/index.js +4 -4
- package/dist/plugins/kysely-codegen/index.d.ts +3 -0
- package/dist/plugins/kysely-codegen/index.js +20 -0
- package/dist/plugins/lefthook/index.js +2 -2
- package/dist/plugins/lingui/index.d.ts +3 -0
- package/dist/plugins/lingui/index.js +16 -0
- package/dist/plugins/lockfile-lint/index.js +2 -2
- package/dist/plugins/lost-pixel/index.js +2 -2
- package/dist/plugins/lunaria/index.js +2 -2
- package/dist/plugins/marko/index.js +5 -6
- package/dist/plugins/mastra/index.d.ts +3 -0
- package/dist/plugins/mastra/index.js +57 -0
- package/dist/plugins/mcp/index.d.ts +3 -0
- package/dist/plugins/mcp/index.js +33 -0
- package/dist/plugins/mcp/types.d.ts +11 -0
- package/dist/plugins/mcp/types.js +1 -0
- package/dist/plugins/mise/index.js +0 -3
- package/dist/plugins/mocha/index.js +42 -3
- package/dist/plugins/mocha/types.d.ts +1 -0
- package/dist/plugins/next/index.d.ts +3 -0
- package/dist/plugins/next/index.js +57 -9
- package/dist/plugins/next/types.d.ts +11 -0
- package/dist/plugins/next/types.js +1 -0
- package/dist/plugins/nx/index.js +3 -8
- package/dist/plugins/nyc/index.js +1 -1
- package/dist/plugins/openapi-ts/index.js +2 -2
- package/dist/plugins/oxfmt/index.js +2 -2
- package/dist/plugins/playwright/index.js +6 -11
- package/dist/plugins/pnpm/index.js +2 -4
- package/dist/plugins/purgecss/index.d.ts +3 -0
- package/dist/plugins/purgecss/index.js +16 -0
- package/dist/plugins/railway/index.js +1 -4
- package/dist/plugins/remix/index.js +1 -1
- package/dist/plugins/rstest/index.js +2 -2
- package/dist/plugins/serverless-framework/index.js +1 -1
- package/dist/plugins/storybook/index.js +5 -5
- package/dist/plugins/sveltekit/resolveFromAST.js +1 -1
- package/dist/plugins/syncpack/index.js +2 -2
- package/dist/plugins/tailwind/compiler.js +6 -2
- package/dist/plugins/tanstack-router/index.js +3 -2
- package/dist/plugins/taskfile/index.js +4 -7
- package/dist/plugins/textlint/helpers.js +2 -2
- package/dist/plugins/travis/index.js +2 -2
- package/dist/plugins/typescript/index.js +9 -7
- package/dist/plugins/unocss/index.js +2 -2
- package/dist/plugins/vite-plugin-pwa/index.js +1 -4
- package/dist/plugins/vite-plugin-pwa/resolveFromAST.d.ts +0 -2
- package/dist/plugins/vite-plugin-pwa/resolveFromAST.js +2 -2
- package/dist/plugins/vite-pwa-assets-generator/index.js +2 -2
- package/dist/plugins/vitest/helpers.d.ts +1 -1
- package/dist/plugins/vitest/helpers.js +17 -10
- package/dist/plugins/vitest/index.js +53 -45
- package/dist/plugins/vitest/types.d.ts +11 -7
- package/dist/plugins/webpack/index.js +4 -2
- package/dist/plugins/yarn/index.js +2 -4
- package/dist/reporters/codeclimate.d.ts +2 -2
- package/dist/reporters/codeclimate.js +2 -4
- package/dist/reporters/codeowners.d.ts +2 -2
- package/dist/reporters/codeowners.js +9 -9
- package/dist/reporters/compact.d.ts +2 -2
- package/dist/reporters/compact.js +8 -7
- package/dist/reporters/cycles.d.ts +2 -2
- package/dist/reporters/cycles.js +7 -6
- package/dist/reporters/disclosure.d.ts +2 -2
- package/dist/reporters/disclosure.js +6 -4
- package/dist/reporters/github-actions.d.ts +2 -2
- package/dist/reporters/github-actions.js +7 -5
- package/dist/reporters/index.d.ts +10 -10
- package/dist/reporters/json.d.ts +2 -2
- package/dist/reporters/json.js +2 -4
- package/dist/reporters/markdown.d.ts +2 -2
- package/dist/reporters/markdown.js +11 -9
- package/dist/reporters/sarif.d.ts +2 -2
- package/dist/reporters/sarif.js +2 -3
- package/dist/reporters/symbols.d.ts +2 -2
- package/dist/reporters/symbols.js +6 -4
- package/dist/run.d.ts +1 -1
- package/dist/run.js +3 -10
- package/dist/schema/configuration.d.ts +105 -0
- package/dist/schema/plugins.d.ts +35 -0
- package/dist/schema/plugins.js +7 -0
- package/dist/session/configuration.d.ts +12 -0
- package/dist/session/configuration.js +43 -0
- package/dist/session/incremental.d.ts +54 -0
- package/dist/session/incremental.js +49 -0
- package/dist/session/session.d.ts +1 -1
- package/dist/session/session.js +62 -27
- package/dist/session/watch.d.ts +2 -0
- package/dist/session/watch.js +41 -0
- package/dist/types/PluginNames.d.ts +2 -2
- package/dist/types/PluginNames.js +7 -0
- package/dist/types/config.d.ts +2 -0
- package/dist/types/issues.d.ts +4 -0
- package/dist/types/package-json.d.ts +0 -3
- package/dist/typescript/ast-nodes.js +3 -3
- package/dist/typescript/get-imports-and-exports.js +2 -0
- package/dist/typescript/visitors/calls.js +15 -11
- package/dist/typescript/visitors/exports.js +5 -4
- package/dist/typescript/visitors/imports.d.ts +2 -1
- package/dist/typescript/visitors/imports.js +25 -19
- package/dist/typescript/visitors/members.js +23 -26
- package/dist/typescript/visitors/walk.d.ts +3 -0
- package/dist/typescript/visitors/walk.js +55 -3
- package/dist/util/cli-arguments.d.ts +2 -1
- package/dist/util/cli-arguments.js +3 -0
- package/dist/util/create-input-handler.js +1 -1
- package/dist/util/create-options.d.ts +72 -1
- package/dist/util/create-options.js +13 -2
- package/dist/util/file-entry-cache.d.ts +2 -0
- package/dist/util/file-entry-cache.js +19 -1
- package/dist/util/gitignore-cache.d.ts +1 -0
- package/dist/util/gitignore-cache.js +1 -0
- package/dist/util/glob-core.js +4 -2
- package/dist/util/glob.d.ts +1 -0
- package/dist/util/glob.js +6 -0
- package/dist/util/input.d.ts +2 -0
- package/dist/util/loader.d.ts +1 -0
- package/dist/util/loader.js +38 -2
- package/dist/util/modules.js +5 -2
- package/dist/util/path.d.ts +1 -0
- package/dist/util/path.js +1 -0
- package/dist/util/remove-export.js +3 -1
- package/dist/util/reporter.d.ts +1 -1
- package/dist/util/reporter.js +53 -9
- package/dist/util/watch.d.ts +5 -11
- package/dist/util/watch.js +84 -68
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/schema.json +28 -0
package/dist/reporters/cycles.js
CHANGED
|
@@ -35,14 +35,14 @@ const sortByFilePath = (cwd) => (a, b) => {
|
|
|
35
35
|
const rootLocation = getIssueRootLocation(a, cwd).localeCompare(getIssueRootLocation(b, cwd));
|
|
36
36
|
return rootLocation === 0 ? a.symbol.localeCompare(b.symbol) : rootLocation;
|
|
37
37
|
};
|
|
38
|
-
export default ({ cwd, issues, isShowProgress }) => {
|
|
38
|
+
export default ({ cwd, issues, isShowProgress, write }) => {
|
|
39
39
|
const cycles = flattenIssues(issues.cycles).sort(sortByFilePath(cwd));
|
|
40
40
|
if (cycles.length === 0) {
|
|
41
41
|
if (isShowProgress)
|
|
42
|
-
|
|
42
|
+
write('✂️ No circular dependencies found.');
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
const lines = [getColoredTitle(getIssueTypeTitle('cycles'), cycles.length)];
|
|
46
46
|
const rootCounts = new Map();
|
|
47
47
|
for (const issue of cycles) {
|
|
48
48
|
const files = issue.symbols ?? issue.symbol.split(' → ').map(symbol => ({ symbol }));
|
|
@@ -62,18 +62,19 @@ export default ({ cwd, issues, isShowProgress }) => {
|
|
|
62
62
|
if (rootLocation !== previousRoot) {
|
|
63
63
|
const count = rootCounts.get(rootLocation) ?? 0;
|
|
64
64
|
const countLabel = count > 1 ? st.dim(` (${count} cycles)`) : '';
|
|
65
|
-
|
|
65
|
+
lines.push(`\n${formatFile(root)}${countLabel}`);
|
|
66
66
|
previousRoot = rootLocation;
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
|
-
|
|
69
|
+
lines.push('');
|
|
70
70
|
}
|
|
71
71
|
for (let depth = 1; depth <= files.length; depth++) {
|
|
72
72
|
const isClose = depth === files.length;
|
|
73
73
|
const edge = files[depth - 1];
|
|
74
74
|
const file = isClose ? root : files[depth];
|
|
75
75
|
const connector = st.dim(`${' '.repeat(depth - 1)}└── `);
|
|
76
|
-
|
|
76
|
+
lines.push(`${connector}${formatEdge(edge)}${formatFile(file)}${isClose ? st.dim(' ↩') : ''}`);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
+
write(lines.join('\n'));
|
|
79
80
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalReporterOptions } from '../types/issues.ts';
|
|
2
2
|
export default _default;
|
|
3
|
-
declare function _default({ report, issues, cwd }:
|
|
3
|
+
declare function _default({ report, issues, cwd, write }: InternalReporterOptions): void;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { flattenIssues, getIssueTypeTitle, getTableForType } from './util/util.js';
|
|
2
|
-
export default ({ report, issues, cwd }) => {
|
|
2
|
+
export default ({ report, issues, cwd, write }) => {
|
|
3
3
|
const reportMultipleGroups = Object.values(report).filter(Boolean).length > 1;
|
|
4
|
+
const lines = [];
|
|
4
5
|
for (const [reportType, isReportType] of Object.entries(report)) {
|
|
5
6
|
if (isReportType) {
|
|
6
7
|
const title = reportMultipleGroups ? getIssueTypeTitle(reportType) : undefined;
|
|
7
8
|
const issuesForType = flattenIssues(issues[reportType]);
|
|
8
9
|
if (issuesForType.length > 0) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
lines.push(`<details>\n${title ? `<summary>${title} (${issuesForType.length})</summary>\n` : ''}\n\`\`\``);
|
|
11
|
+
lines.push(getTableForType(issuesForType, cwd, { isUseColors: false }).toString());
|
|
12
|
+
lines.push('```\n\n</details>\n');
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
}
|
|
16
|
+
write(lines.join('\n'));
|
|
15
17
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalReporterOptions } from '../types/issues.ts';
|
|
2
2
|
export default _default;
|
|
3
|
-
declare function _default({ report, issues, cwd, configurationHints, tagHints, isDisableConfigHints, isDisableTagHints, isTreatConfigHintsAsErrors, isTreatTagHintsAsErrors, configFilePath, }:
|
|
3
|
+
declare function _default({ report, issues, cwd, configurationHints, tagHints, isDisableConfigHints, isDisableTagHints, isTreatConfigHintsAsErrors, isTreatTagHintsAsErrors, configFilePath, write, }: InternalReporterOptions): void;
|
|
@@ -3,7 +3,7 @@ import { relative } from '../util/path.js';
|
|
|
3
3
|
import { compareStrings } from '../util/string.js';
|
|
4
4
|
import { hintPrinters } from './util/configuration-hints.js';
|
|
5
5
|
import { flattenIssues, getIssueTypeTitle } from './util/util.js';
|
|
6
|
-
const createGitHubActionsLogger = () => {
|
|
6
|
+
const createGitHubActionsLogger = (lines) => {
|
|
7
7
|
const formatAnnotation = (level, message, options) => {
|
|
8
8
|
const params = [`file=${options.file}`];
|
|
9
9
|
if (options.startLine != null)
|
|
@@ -16,17 +16,18 @@ const createGitHubActionsLogger = () => {
|
|
|
16
16
|
params.push(`endColumn=${options.endColumn}`);
|
|
17
17
|
params.push(`title=✂️ Knip${options.title ? ` / ${options.title}` : ''}`);
|
|
18
18
|
const paramString = params.join(',');
|
|
19
|
-
|
|
19
|
+
lines.push(`::${level} ${paramString}::${message}`);
|
|
20
20
|
};
|
|
21
21
|
return {
|
|
22
|
-
info: (message) =>
|
|
22
|
+
info: (message) => lines.push(message),
|
|
23
23
|
error: (message, options) => formatAnnotation('error', message, options),
|
|
24
24
|
warning: (message, options) => formatAnnotation('warning', message, options),
|
|
25
25
|
notice: (message, options) => formatAnnotation('notice', message, options),
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export default ({ report, issues, cwd, configurationHints, tagHints, isDisableConfigHints, isDisableTagHints, isTreatConfigHintsAsErrors, isTreatTagHintsAsErrors, configFilePath, }) => {
|
|
29
|
-
const
|
|
28
|
+
export default ({ report, issues, cwd, configurationHints, tagHints, isDisableConfigHints, isDisableTagHints, isTreatConfigHintsAsErrors, isTreatTagHintsAsErrors, configFilePath, write, }) => {
|
|
29
|
+
const lines = [];
|
|
30
|
+
const core = createGitHubActionsLogger(lines);
|
|
30
31
|
const reportMultipleGroups = Object.values(report).filter(Boolean).length > 1;
|
|
31
32
|
for (const [reportType, isReportType] of Object.entries(report)) {
|
|
32
33
|
if (isReportType) {
|
|
@@ -111,4 +112,5 @@ export default ({ report, issues, cwd, configurationHints, tagHints, isDisableCo
|
|
|
111
112
|
});
|
|
112
113
|
}
|
|
113
114
|
}
|
|
115
|
+
write(lines.join('\n'));
|
|
114
116
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
symbols: (options: import("../types.ts").
|
|
3
|
-
compact: ({ report, issues, isShowProgress, cwd }: import("../types.ts").
|
|
4
|
-
codeowners: ({ report, issues, isShowProgress, options, cwd }: import("../types.ts").
|
|
5
|
-
cycles: ({ cwd, issues, isShowProgress }: import("../types.ts").
|
|
6
|
-
disclosure: ({ report, issues, cwd }: import("../types.ts").
|
|
7
|
-
codeclimate: ({ report, issues, cwd }: import("../types.ts").
|
|
8
|
-
json: ({ report, issues, options, cwd }: import("../types.ts").
|
|
9
|
-
markdown: ({ report, issues, cwd }: import("../types.ts").
|
|
10
|
-
sarif: ({ report, issues, cwd }: import("../types.ts").
|
|
11
|
-
'github-actions': ({ report, issues, cwd, configurationHints, tagHints, isDisableConfigHints, isDisableTagHints, isTreatConfigHintsAsErrors, isTreatTagHintsAsErrors, configFilePath, }: import("../types.ts").
|
|
2
|
+
symbols: (options: import("../types/issues.ts").InternalReporterOptions) => void;
|
|
3
|
+
compact: ({ report, issues, isShowProgress, cwd, write }: import("../types/issues.ts").InternalReporterOptions) => void;
|
|
4
|
+
codeowners: ({ report, issues, isShowProgress, options, cwd, write }: import("../types/issues.ts").InternalReporterOptions) => void;
|
|
5
|
+
cycles: ({ cwd, issues, isShowProgress, write }: import("../types/issues.ts").InternalReporterOptions) => void;
|
|
6
|
+
disclosure: ({ report, issues, cwd, write }: import("../types/issues.ts").InternalReporterOptions) => void;
|
|
7
|
+
codeclimate: ({ report, issues, cwd, write }: import("../types/issues.ts").InternalReporterOptions) => Promise<void>;
|
|
8
|
+
json: ({ report, issues, options, cwd, write }: import("../types/issues.ts").InternalReporterOptions) => Promise<void>;
|
|
9
|
+
markdown: ({ report, issues, cwd, write }: import("../types/issues.ts").InternalReporterOptions) => void;
|
|
10
|
+
sarif: ({ report, issues, cwd, write }: import("../types/issues.ts").InternalReporterOptions) => void;
|
|
11
|
+
'github-actions': ({ report, issues, cwd, configurationHints, tagHints, isDisableConfigHints, isDisableTagHints, isTreatConfigHintsAsErrors, isTreatTagHintsAsErrors, configFilePath, write, }: import("../types/issues.ts").InternalReporterOptions) => void;
|
|
12
12
|
};
|
|
13
13
|
export default _default;
|
package/dist/reporters/json.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalReporterOptions } from '../types/issues.ts';
|
|
2
2
|
export interface JSONReportNamedItem {
|
|
3
3
|
name: string;
|
|
4
4
|
}
|
|
@@ -35,4 +35,4 @@ export type JSONReport = {
|
|
|
35
35
|
issues: Array<JSONReportEntry>;
|
|
36
36
|
};
|
|
37
37
|
export default _default;
|
|
38
|
-
declare function _default({ report, issues, options, cwd }:
|
|
38
|
+
declare function _default({ report, issues, options, cwd, write }: InternalReporterOptions): Promise<void>;
|
package/dist/reporters/json.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createOwnershipEngine } from '../util/codeowners.js';
|
|
|
2
2
|
import { isFile } from '../util/fs.js';
|
|
3
3
|
import { relative, resolve } from '../util/path.js';
|
|
4
4
|
import { convert, flattenIssues } from './util/util.js';
|
|
5
|
-
export default async ({ report, issues, options, cwd }) => {
|
|
5
|
+
export default async ({ report, issues, options, cwd, write }) => {
|
|
6
6
|
let opts = {};
|
|
7
7
|
try {
|
|
8
8
|
opts = options ? JSON.parse(options) : opts;
|
|
@@ -56,7 +56,5 @@ export default async ({ report, issues, options, cwd }) => {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
const jsonReport = { issues: Object.values(json) };
|
|
59
|
-
|
|
60
|
-
process.stdout._handle?.setBlocking?.(true);
|
|
61
|
-
process.stdout.write(`${output}\n`);
|
|
59
|
+
write(JSON.stringify(jsonReport));
|
|
62
60
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalReporterOptions } from '../types/issues.ts';
|
|
2
2
|
export default _default;
|
|
3
|
-
declare function _default({ report, issues, cwd }:
|
|
3
|
+
declare function _default({ report, issues, cwd, write }: InternalReporterOptions): void;
|
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
import { relative } from '../util/path.js';
|
|
2
2
|
import { flattenIssues, getIssueTypeTitle } from './util/util.js';
|
|
3
|
-
export default ({ report, issues, cwd }) => {
|
|
4
|
-
|
|
3
|
+
export default ({ report, issues, cwd, write }) => {
|
|
4
|
+
const lines = ['# Knip report\n'];
|
|
5
5
|
const getFilePath = (issue) => {
|
|
6
6
|
if (!(issue.line && issue.col))
|
|
7
7
|
return relative(cwd, issue.filePath);
|
|
8
8
|
return `${relative(cwd, issue.filePath)}:${issue.line}:${issue.col}`;
|
|
9
9
|
};
|
|
10
|
-
const
|
|
10
|
+
const getSymbol = (issue) => issue.symbol.replaceAll('|', '\\|');
|
|
11
|
+
const sortLongestSymbol = (a, b) => getSymbol(b).length - getSymbol(a).length;
|
|
11
12
|
const sortLongestFilePath = (a, b) => getFilePath(b).length - getFilePath(a).length;
|
|
12
13
|
for (const [reportType, isReportType] of Object.entries(report)) {
|
|
13
14
|
if (isReportType) {
|
|
14
15
|
const title = getIssueTypeTitle(reportType);
|
|
15
16
|
const issuesForType = flattenIssues(issues[reportType]);
|
|
16
17
|
if (issuesForType.length > 0) {
|
|
17
|
-
|
|
18
|
-
const longestSymbol = issuesForType.sort(sortLongestSymbol)[0].
|
|
18
|
+
lines.push(`## ${title} (${issuesForType.length})\n`);
|
|
19
|
+
const longestSymbol = getSymbol(issuesForType.sort(sortLongestSymbol)[0]).length;
|
|
19
20
|
const sortedByFilePath = issuesForType.sort(sortLongestFilePath);
|
|
20
21
|
const longestFilePath = getFilePath(sortedByFilePath[0]).length;
|
|
21
22
|
const nameWidth = Math.max(longestSymbol, 'Name'.length);
|
|
22
23
|
const locationWidth = Math.max(longestFilePath, 'Location'.length);
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
lines.push(`| ${'Name'.padEnd(nameWidth)} | ${'Location'.padEnd(locationWidth)} | Severity |`);
|
|
25
|
+
lines.push(`| :${'-'.repeat(nameWidth - 1)} | :${'-'.repeat(locationWidth - 1)} | :------- |`);
|
|
25
26
|
for (const issue of sortedByFilePath) {
|
|
26
|
-
|
|
27
|
+
lines.push(`| ${getSymbol(issue).padEnd(nameWidth)} | ${getFilePath(issue).padEnd(locationWidth)} | ${(issue.severity ?? '').padEnd(8)} |`);
|
|
27
28
|
}
|
|
28
|
-
|
|
29
|
+
lines.push('');
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
}
|
|
33
|
+
write(lines.join('\n'));
|
|
32
34
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalReporterOptions } from '../types/issues.ts';
|
|
2
2
|
export default _default;
|
|
3
|
-
declare function _default({ report, issues, cwd }:
|
|
3
|
+
declare function _default({ report, issues, cwd, write }: InternalReporterOptions): void;
|
package/dist/reporters/sarif.js
CHANGED
|
@@ -28,7 +28,7 @@ const sortByLocation = (a, b) => a.filePath.localeCompare(b.filePath) ||
|
|
|
28
28
|
(a.line ?? 0) - (b.line ?? 0) ||
|
|
29
29
|
(a.col ?? 0) - (b.col ?? 0) ||
|
|
30
30
|
a.symbol.localeCompare(b.symbol);
|
|
31
|
-
export default ({ report, issues, cwd }) => {
|
|
31
|
+
export default ({ report, issues, cwd, write }) => {
|
|
32
32
|
const groups = [];
|
|
33
33
|
for (const [type, isReportType] of Object.entries(report)) {
|
|
34
34
|
if (!isReportType)
|
|
@@ -74,6 +74,5 @@ export default ({ report, issues, cwd }) => {
|
|
|
74
74
|
},
|
|
75
75
|
],
|
|
76
76
|
});
|
|
77
|
-
|
|
78
|
-
process.stdout.write(`${output}\n`);
|
|
77
|
+
write(output);
|
|
79
78
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InternalReporterOptions } from '../types/issues.ts';
|
|
2
2
|
export default _default;
|
|
3
|
-
declare function _default(options:
|
|
3
|
+
declare function _default(options: InternalReporterOptions): void;
|
|
@@ -2,24 +2,26 @@ import { printConfigurationHints, printTagHints } from './util/configuration-hin
|
|
|
2
2
|
import { dim, flattenIssues, getColoredTitle, getIssueTypeTitle, getTableForType } from './util/util.js';
|
|
3
3
|
export default (options) => {
|
|
4
4
|
const { report, issues, isDisableConfigHints, isDisableTagHints, isShowProgress } = options;
|
|
5
|
+
const lines = [];
|
|
5
6
|
let totalIssues = 0;
|
|
6
7
|
for (const [reportType, isReportType] of Object.entries(report)) {
|
|
7
8
|
if (isReportType) {
|
|
8
9
|
const title = getIssueTypeTitle(reportType);
|
|
9
10
|
const issuesForType = flattenIssues(issues[reportType]);
|
|
10
11
|
if (issuesForType.length > 0) {
|
|
11
|
-
title &&
|
|
12
|
+
title && lines.push(getColoredTitle(title, issuesForType.length));
|
|
12
13
|
const issues = typeof options.maxShowIssues === 'number'
|
|
13
14
|
? Array.from(issuesForType).slice(0, options.maxShowIssues)
|
|
14
15
|
: issuesForType;
|
|
15
16
|
if (issues.length > 0)
|
|
16
|
-
|
|
17
|
+
lines.push(getTableForType(issues, options.cwd).toString());
|
|
17
18
|
if (issues.length !== issuesForType.length)
|
|
18
|
-
|
|
19
|
+
lines.push(dim(`…${issuesForType.length - issues.length} more items`));
|
|
19
20
|
totalIssues = totalIssues + issuesForType.length;
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
}
|
|
24
|
+
options.write(lines.join('\n'));
|
|
23
25
|
if (!isDisableConfigHints) {
|
|
24
26
|
printConfigurationHints(options);
|
|
25
27
|
}
|
|
@@ -30,6 +32,6 @@ export default (options) => {
|
|
|
30
32
|
isShowProgress &&
|
|
31
33
|
(!options.isTreatConfigHintsAsErrors || options.configurationHints.length === 0) &&
|
|
32
34
|
(!options.isTreatTagHintsAsErrors || options.tagHints.size === 0)) {
|
|
33
|
-
|
|
35
|
+
options.write('✂️ Excellent, Knip found no issues.');
|
|
34
36
|
}
|
|
35
37
|
};
|
package/dist/run.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare const run: (options: MainOptions) => Promise<{
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
session: {
|
|
18
|
-
listener: import("node:fs").WatchListener<string | Buffer<ArrayBufferLike>>;
|
|
19
18
|
handleFileChanges: (changes: import("./util/watch.ts").WatchChange[]) => Promise<{
|
|
20
19
|
duration: number;
|
|
21
20
|
mem: number;
|
|
@@ -29,6 +28,7 @@ export declare const run: (options: MainOptions) => Promise<{
|
|
|
29
28
|
configurationHints: import("./types/issues.ts").ConfigurationHint[];
|
|
30
29
|
hasConfigLoadErrors: boolean;
|
|
31
30
|
};
|
|
31
|
+
configurationFiles: import("./session/configuration.ts").ConfigurationFiles | undefined;
|
|
32
32
|
} | undefined;
|
|
33
33
|
streamer: ConsoleStreamer;
|
|
34
34
|
}>;
|
package/dist/run.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { watch } from 'node:fs';
|
|
2
1
|
import { createScriptParserContext } from './binaries/create-script-parser-context.js';
|
|
3
2
|
import { _getInputsFromScripts } from './binaries/index.js';
|
|
4
3
|
import { CatalogCounselor } from './CatalogCounselor.js';
|
|
@@ -9,7 +8,6 @@ import { analyze } from './graph/analyze.js';
|
|
|
9
8
|
import { build } from './graph/build.js';
|
|
10
9
|
import { IssueCollector } from './IssueCollector.js';
|
|
11
10
|
import { ProjectPrincipal } from './ProjectPrincipal.js';
|
|
12
|
-
import watchReporter from './reporters/watch.js';
|
|
13
11
|
import { debugLogObject } from './util/debug.js';
|
|
14
12
|
import { flushGitignoreCache, initGitignoreCache } from './util/gitignore-cache.js';
|
|
15
13
|
import { flushGlobCache, initGlobCache } from './util/glob-cache.js';
|
|
@@ -68,7 +66,7 @@ export const run = async (options) => {
|
|
|
68
66
|
collector.setIgnoreIssues(chief.getIgnoreIssues());
|
|
69
67
|
debugLogObject('*', 'Included workspaces', () => workspaces.map(w => w.pkgName));
|
|
70
68
|
debugLogObject('*', 'Included workspace configs', () => workspaces.map(w => ({ pkgName: w.pkgName, name: w.name, config: w.config, ancestors: w.ancestors })));
|
|
71
|
-
const { graph, entryPaths, analyzedFiles, unreferencedFiles, analyzeSourceFile, enabledPluginsStore } = await build({
|
|
69
|
+
const { graph, entryPaths, analyzedFiles, unreferencedFiles, analyzeSourceFile, enabledPluginsStore, configurationFiles, } = await build({
|
|
72
70
|
chief,
|
|
73
71
|
collector,
|
|
74
72
|
counselor,
|
|
@@ -93,13 +91,10 @@ export const run = async (options) => {
|
|
|
93
91
|
options,
|
|
94
92
|
});
|
|
95
93
|
let session;
|
|
96
|
-
if (options.
|
|
94
|
+
if (options.isSession) {
|
|
97
95
|
const isIgnored = (filePath) => (!!options.cacheLocation && filePath.startsWith(options.cacheLocation)) ||
|
|
98
96
|
filePath.includes('/.git/') ||
|
|
99
97
|
isGitIgnored(filePath);
|
|
100
|
-
const onFileChange = options.isWatch
|
|
101
|
-
? ({ issues, duration }) => watchReporter(options, { issues, streamer, size: analyzedFiles.size, duration })
|
|
102
|
-
: undefined;
|
|
103
98
|
session = await getSessionHandler(options, {
|
|
104
99
|
analyzedFiles,
|
|
105
100
|
analyzeSourceFile,
|
|
@@ -108,13 +103,11 @@ export const run = async (options) => {
|
|
|
108
103
|
analyze: reAnalyze,
|
|
109
104
|
principal,
|
|
110
105
|
graph,
|
|
106
|
+
configurationFiles,
|
|
111
107
|
isIgnored,
|
|
112
|
-
onFileChange,
|
|
113
108
|
unreferencedFiles,
|
|
114
109
|
entryPaths,
|
|
115
110
|
});
|
|
116
|
-
if (options.isWatch)
|
|
117
|
-
watch('.', { recursive: true }, session.listener);
|
|
118
111
|
}
|
|
119
112
|
const { issues, counters, tagHints, configurationHints, hasConfigLoadErrors } = collector.getIssues();
|
|
120
113
|
if (!options.isWatch)
|
|
@@ -46,6 +46,11 @@ export declare const workspaceConfigurationSchema: 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
|
+
buf: z.ZodMiniOptional<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.ZodMiniOptional<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>>]>>;
|
|
@@ -146,6 +151,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
146
151
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
147
152
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
148
153
|
}, z.core.$strip>]>>;
|
|
154
|
+
'electron-forge': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
155
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
156
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
157
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
158
|
+
}, z.core.$strip>]>>;
|
|
149
159
|
'electron-vite': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
150
160
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
151
161
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -271,6 +281,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
271
281
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
272
282
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
273
283
|
}, z.core.$strip>]>>;
|
|
284
|
+
'kysely-codegen': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
285
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
286
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
287
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
288
|
+
}, z.core.$strip>]>>;
|
|
274
289
|
ladle: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
275
290
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
276
291
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -286,6 +301,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
286
301
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
287
302
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
288
303
|
}, z.core.$strip>]>>;
|
|
304
|
+
lingui: 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>]>>;
|
|
289
309
|
'lint-staged': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
290
310
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
291
311
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -326,6 +346,16 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
326
346
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
327
347
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
328
348
|
}, z.core.$strip>]>>;
|
|
349
|
+
mastra: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
350
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
351
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
352
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
353
|
+
}, z.core.$strip>]>>;
|
|
354
|
+
mcp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
355
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
356
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
357
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
358
|
+
}, z.core.$strip>]>>;
|
|
329
359
|
mdx: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
330
360
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
331
361
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -551,6 +581,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
|
|
|
551
581
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
552
582
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
553
583
|
}, z.core.$strip>]>>;
|
|
584
|
+
purgecss: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
585
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
586
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
587
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
588
|
+
}, z.core.$strip>]>>;
|
|
554
589
|
quasar: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
555
590
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
556
591
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1038,6 +1073,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1038
1073
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1039
1074
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1040
1075
|
}, z.core.$strip>]>>;
|
|
1076
|
+
buf: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1077
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1078
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1079
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1080
|
+
}, z.core.$strip>]>>;
|
|
1041
1081
|
bumpp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1042
1082
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1043
1083
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1138,6 +1178,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1138
1178
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1139
1179
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1140
1180
|
}, z.core.$strip>]>>;
|
|
1181
|
+
'electron-forge': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1182
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1183
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1184
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1185
|
+
}, z.core.$strip>]>>;
|
|
1141
1186
|
'electron-vite': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1142
1187
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1143
1188
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1263,6 +1308,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1263
1308
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1264
1309
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1265
1310
|
}, z.core.$strip>]>>;
|
|
1311
|
+
'kysely-codegen': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1312
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1313
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1314
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1315
|
+
}, z.core.$strip>]>>;
|
|
1266
1316
|
ladle: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1267
1317
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1268
1318
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1278,6 +1328,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1278
1328
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1279
1329
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1280
1330
|
}, z.core.$strip>]>>;
|
|
1331
|
+
lingui: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1332
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1333
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1334
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1335
|
+
}, z.core.$strip>]>>;
|
|
1281
1336
|
'lint-staged': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1282
1337
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1283
1338
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1318,6 +1373,16 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1318
1373
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1319
1374
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1320
1375
|
}, z.core.$strip>]>>;
|
|
1376
|
+
mastra: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1377
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1378
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1379
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1380
|
+
}, z.core.$strip>]>>;
|
|
1381
|
+
mcp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1382
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1383
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1384
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1385
|
+
}, z.core.$strip>]>>;
|
|
1321
1386
|
mdx: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1322
1387
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1323
1388
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -1543,6 +1608,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
1543
1608
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1544
1609
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1545
1610
|
}, z.core.$strip>]>>;
|
|
1611
|
+
purgecss: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1612
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1613
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1614
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1615
|
+
}, z.core.$strip>]>>;
|
|
1546
1616
|
quasar: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
1547
1617
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
1548
1618
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2049,6 +2119,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2049
2119
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2050
2120
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2051
2121
|
}, z.core.$strip>]>>;
|
|
2122
|
+
buf: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2123
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2124
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2125
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2126
|
+
}, z.core.$strip>]>>;
|
|
2052
2127
|
bumpp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2053
2128
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2054
2129
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2149,6 +2224,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2149
2224
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2150
2225
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2151
2226
|
}, z.core.$strip>]>>;
|
|
2227
|
+
'electron-forge': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2228
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2229
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2230
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2231
|
+
}, z.core.$strip>]>>;
|
|
2152
2232
|
'electron-vite': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2153
2233
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2154
2234
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2274,6 +2354,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2274
2354
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2275
2355
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2276
2356
|
}, z.core.$strip>]>>;
|
|
2357
|
+
'kysely-codegen': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2358
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2359
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2360
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2361
|
+
}, z.core.$strip>]>>;
|
|
2277
2362
|
ladle: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2278
2363
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2279
2364
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2289,6 +2374,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2289
2374
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2290
2375
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2291
2376
|
}, z.core.$strip>]>>;
|
|
2377
|
+
lingui: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2378
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2379
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2380
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2381
|
+
}, z.core.$strip>]>>;
|
|
2292
2382
|
'lint-staged': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2293
2383
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2294
2384
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2329,6 +2419,16 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2329
2419
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2330
2420
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2331
2421
|
}, z.core.$strip>]>>;
|
|
2422
|
+
mastra: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2423
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2424
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2425
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2426
|
+
}, z.core.$strip>]>>;
|
|
2427
|
+
mcp: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2428
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2429
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2430
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2431
|
+
}, z.core.$strip>]>>;
|
|
2332
2432
|
mdx: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2333
2433
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2334
2434
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
@@ -2554,6 +2654,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
|
|
|
2554
2654
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2555
2655
|
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2556
2656
|
}, z.core.$strip>]>>;
|
|
2657
|
+
purgecss: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2658
|
+
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2659
|
+
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2660
|
+
project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2661
|
+
}, z.core.$strip>]>>;
|
|
2557
2662
|
quasar: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
|
|
2558
2663
|
config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|
|
2559
2664
|
entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
|