knip 5.26.0 → 5.27.1
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 +8 -2
- package/dist/CacheConsultant.js +9 -16
- package/dist/ConfigurationChief.d.ts +11 -4
- package/dist/ConfigurationChief.js +22 -21
- package/dist/ConfigurationValidator.d.ts +224 -0
- package/dist/ConfigurationValidator.js +4 -0
- package/dist/DependencyDeputy.d.ts +3 -2
- package/dist/DependencyDeputy.js +4 -4
- package/dist/PrincipalFactory.d.ts +4 -0
- package/dist/PrincipalFactory.js +3 -2
- package/dist/ProjectPrincipal.d.ts +5 -4
- package/dist/ProjectPrincipal.js +8 -6
- package/dist/WorkspaceWorker.d.ts +5 -3
- package/dist/WorkspaceWorker.js +2 -2
- package/dist/binaries/resolvers/bun.js +1 -1
- package/dist/binaries/util.js +2 -2
- package/dist/cli.js +23 -12
- package/dist/compilers/index.d.ts +40 -0
- package/dist/index.js +55 -134
- package/dist/plugins/babel/index.js +2 -1
- package/dist/plugins/babel/types.d.ts +1 -0
- package/dist/plugins/cypress/helpers.d.ts +3 -0
- package/dist/plugins/cypress/helpers.js +23 -0
- package/dist/plugins/cypress/index.d.ts +3 -1
- package/dist/plugins/cypress/index.js +5 -0
- package/dist/plugins/cypress/types.d.ts +6 -0
- package/dist/plugins/cypress/types.js +1 -0
- package/dist/plugins/eslint/helpers.js +8 -7
- package/dist/plugins/husky/index.d.ts +1 -1
- package/dist/plugins/husky/index.js +9 -2
- package/dist/plugins/index.d.ts +4 -0
- package/dist/plugins/index.js +4 -0
- package/dist/plugins/ladle/index.d.ts +13 -0
- package/dist/plugins/ladle/index.js +36 -0
- package/dist/plugins/ladle/types.d.ts +4 -0
- package/dist/plugins/ladle/types.js +1 -0
- package/dist/plugins/playwright/index.d.ts +1 -1
- package/dist/plugins/playwright/types.d.ts +36 -0
- package/dist/plugins/playwright/types.js +1 -0
- package/dist/plugins/playwright-ct/index.d.ts +2 -2
- package/dist/plugins/react-cosmos/index.d.ts +12 -0
- package/dist/plugins/react-cosmos/index.js +33 -0
- package/dist/plugins/react-cosmos/types.d.ts +5 -0
- package/dist/plugins/react-cosmos/types.js +1 -0
- package/dist/plugins/rsbuild/index.d.ts +10 -0
- package/dist/plugins/rsbuild/index.js +15 -0
- package/dist/plugins/rsbuild/types.d.ts +3 -0
- package/dist/plugins/rsbuild/types.js +1 -0
- package/dist/plugins/rspack/index.d.ts +10 -0
- package/dist/plugins/rspack/index.js +22 -0
- package/dist/plugins/vitest/index.js +1 -1
- package/dist/types/cli.d.ts +16 -9
- package/dist/typescript/{createHosts.js → create-hosts.js} +1 -1
- package/dist/typescript/{resolveModuleNames.js → resolve-module-names.js} +3 -2
- package/dist/typescript/visitors/dynamic-imports/importCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/importCall.js +25 -31
- package/dist/typescript/visitors/dynamic-imports/importType.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/index.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/jsDocType.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/propertyAccessCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/requireCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/requireCall.js +8 -4
- package/dist/typescript/visitors/exports/exportAssignment.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportKeyword.d.ts +1 -1
- package/dist/typescript/visitors/exports/exportsAccessExpression.d.ts +1 -1
- package/dist/typescript/visitors/exports/index.d.ts +1 -1
- package/dist/typescript/visitors/exports/moduleExportsAccessExpression.d.ts +1 -1
- package/dist/typescript/visitors/helpers.js +1 -1
- package/dist/typescript/visitors/imports/importDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/imports/importEqualsDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/imports/index.d.ts +1 -1
- package/dist/typescript/visitors/imports/reExportDeclaration.d.ts +1 -1
- package/dist/typescript/visitors/index.d.ts +1 -1
- package/dist/typescript/visitors/scripts/bun.d.ts +1 -1
- package/dist/typescript/visitors/scripts/execa.d.ts +1 -1
- package/dist/typescript/visitors/scripts/index.d.ts +1 -1
- package/dist/typescript/visitors/scripts/zx.d.ts +1 -1
- package/dist/util/create-workspace-graph.d.ts +8 -0
- package/dist/util/{pkgs-graph.js → create-workspace-graph.js} +3 -3
- package/dist/util/dependency-graph.d.ts +3 -4
- package/dist/util/dependency-graph.js +35 -3
- package/dist/util/get-included-issue-types.d.ts +6 -6
- package/dist/util/get-included-issue-types.js +5 -5
- package/dist/util/globby.js +2 -2
- package/dist/util/handle-dependency.d.ts +1 -1
- package/dist/util/handle-dependency.js +7 -9
- package/dist/util/loader.js +1 -1
- package/dist/util/modules.d.ts +0 -1
- package/dist/util/modules.js +0 -7
- package/dist/util/plugin.d.ts +1 -0
- package/dist/util/plugin.js +7 -6
- package/dist/util/reporter.d.ts +2 -2
- package/dist/util/reporter.js +12 -10
- package/dist/util/require.d.ts +0 -3
- package/dist/util/require.js +3 -34
- package/dist/util/resolve.d.ts +2 -1
- package/dist/util/resolve.js +21 -12
- package/dist/util/to-source-path.d.ts +2 -2
- package/dist/util/watch.d.ts +25 -0
- package/dist/util/watch.js +85 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -5
- package/schema.json +16 -0
- package/dist/util/pkgs-graph.d.ts +0 -8
- /package/dist/typescript/{createHosts.d.ts → create-hosts.d.ts} +0 -0
- /package/dist/typescript/{getImportsAndExports.d.ts → get-imports-and-exports.d.ts} +0 -0
- /package/dist/typescript/{getImportsAndExports.js → get-imports-and-exports.js} +0 -0
- /package/dist/typescript/{resolveModuleNames.d.ts → resolve-module-names.d.ts} +0 -0
- /package/dist/util/{register.d.ts → jiti.d.ts} +0 -0
- /package/dist/util/{register.js → jiti.js} +0 -0
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { type FileDescriptor } from './util/file-entry-cache.js';
|
|
2
|
+
type CacheOptions = {
|
|
3
|
+
name: string;
|
|
4
|
+
isEnabled: boolean;
|
|
5
|
+
cacheLocation: string;
|
|
6
|
+
};
|
|
2
7
|
export declare class CacheConsultant<T> {
|
|
8
|
+
private isEnabled;
|
|
3
9
|
private cache;
|
|
4
|
-
constructor(
|
|
5
|
-
static getCacheLocation(): string;
|
|
10
|
+
constructor(options: CacheOptions);
|
|
6
11
|
getFileDescriptor(file: string): FileDescriptor<T>;
|
|
7
12
|
reconcile(): void;
|
|
8
13
|
}
|
|
14
|
+
export {};
|
package/dist/CacheConsultant.js
CHANGED
|
@@ -1,33 +1,26 @@
|
|
|
1
1
|
import { timerify } from './util/Performance.js';
|
|
2
|
-
import parsedArgValues from './util/cli-arguments.js';
|
|
3
2
|
import { FileEntryCache } from './util/file-entry-cache.js';
|
|
4
|
-
import { cwd, join } from './util/path.js';
|
|
5
3
|
import { version } from './version.js';
|
|
6
|
-
const defaultCacheLocation = join(cwd, 'node_modules', '.cache', 'knip');
|
|
7
|
-
const { cache: isCache = false, watch: isWatch = false } = parsedArgValues;
|
|
8
|
-
const cacheLocation = parsedArgValues['cache-location'] ?? defaultCacheLocation;
|
|
9
4
|
const dummyFileDescriptor = { key: '', changed: true, notFound: true };
|
|
10
|
-
const isEnabled = isCache || isWatch;
|
|
11
5
|
export class CacheConsultant {
|
|
6
|
+
isEnabled;
|
|
12
7
|
cache;
|
|
13
|
-
constructor(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
constructor(options) {
|
|
9
|
+
this.isEnabled = options.isEnabled;
|
|
10
|
+
if (this.isEnabled) {
|
|
11
|
+
const cacheName = `${options.name.replace(/[^a-z0-9]/g, '-').replace(/-*$/, '')}-${version}`;
|
|
12
|
+
this.cache = new FileEntryCache(cacheName, options.cacheLocation);
|
|
17
13
|
this.reconcile = timerify(this.cache.reconcile).bind(this.cache);
|
|
18
14
|
this.getFileDescriptor = timerify(this.cache.getFileDescriptor).bind(this.cache);
|
|
19
15
|
}
|
|
20
16
|
}
|
|
21
|
-
static getCacheLocation() {
|
|
22
|
-
return cacheLocation;
|
|
23
|
-
}
|
|
24
17
|
getFileDescriptor(file) {
|
|
25
|
-
if (isEnabled && this.cache)
|
|
26
|
-
return this.cache
|
|
18
|
+
if (this.isEnabled && this.cache)
|
|
19
|
+
return this.cache.getFileDescriptor(file);
|
|
27
20
|
return dummyFileDescriptor;
|
|
28
21
|
}
|
|
29
22
|
reconcile() {
|
|
30
|
-
if (isEnabled && this.cache)
|
|
23
|
+
if (this.isEnabled && this.cache)
|
|
31
24
|
this.cache.reconcile();
|
|
32
25
|
}
|
|
33
26
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { Configuration, IgnorePatterns, WorkspaceConfiguration } from './types/config.js';
|
|
2
2
|
import type { PackageJson } from './types/package-json.js';
|
|
3
|
-
import { type
|
|
3
|
+
import { type WorkspaceGraph } from './util/create-workspace-graph.js';
|
|
4
|
+
import { type CLIArguments } from './util/get-included-issue-types.js';
|
|
4
5
|
type ConfigurationManagerOptions = {
|
|
5
6
|
cwd: string;
|
|
6
7
|
isProduction: boolean;
|
|
7
8
|
isStrict: boolean;
|
|
8
9
|
isIncludeEntryExports: boolean;
|
|
10
|
+
workspace: string | undefined;
|
|
9
11
|
};
|
|
10
12
|
export type Package = {
|
|
11
13
|
dir: string;
|
|
@@ -30,6 +32,7 @@ export declare class ConfigurationChief {
|
|
|
30
32
|
isStrict: boolean;
|
|
31
33
|
isIncludeEntryExports: boolean;
|
|
32
34
|
config: Configuration;
|
|
35
|
+
workspace: string | undefined;
|
|
33
36
|
manifestPath?: string;
|
|
34
37
|
manifest?: PackageJson;
|
|
35
38
|
ignoredWorkspacePatterns: string[];
|
|
@@ -39,11 +42,11 @@ export declare class ConfigurationChief {
|
|
|
39
42
|
availableWorkspaceNames: string[];
|
|
40
43
|
availableWorkspacePkgNames: Set<string>;
|
|
41
44
|
availableWorkspaceDirs: string[];
|
|
42
|
-
|
|
45
|
+
workspaceGraph: WorkspaceGraph | undefined;
|
|
43
46
|
includedWorkspaces: Workspace[];
|
|
44
47
|
resolvedConfigFilePath?: string;
|
|
45
48
|
rawConfig?: any;
|
|
46
|
-
constructor({ cwd, isProduction, isStrict, isIncludeEntryExports }: ConfigurationManagerOptions);
|
|
49
|
+
constructor({ cwd, isProduction, isStrict, isIncludeEntryExports, workspace }: ConfigurationManagerOptions);
|
|
47
50
|
init(): Promise<void>;
|
|
48
51
|
private loadResolvedConfigurationFile;
|
|
49
52
|
getRules(): import("./types/issues.js").Rules;
|
|
@@ -90,6 +93,7 @@ export declare class ConfigurationChief {
|
|
|
90
93
|
gatsby?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
91
94
|
husky?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
92
95
|
jest?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
96
|
+
ladle?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
93
97
|
lefthook?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
94
98
|
linthtml?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
95
99
|
markdownlint?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
@@ -107,6 +111,8 @@ export declare class ConfigurationChief {
|
|
|
107
111
|
remark?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
108
112
|
remix?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
109
113
|
rollup?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
114
|
+
rsbuild?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
115
|
+
rspack?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
110
116
|
sentry?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
111
117
|
storybook?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
112
118
|
stryker?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
@@ -136,6 +142,7 @@ export declare class ConfigurationChief {
|
|
|
136
142
|
nodeTestRunner?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
137
143
|
npmPackageJsonLint?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
138
144
|
playwrightCt?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
145
|
+
reactCosmos?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
139
146
|
releaseIt?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
140
147
|
semanticRelease?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
141
148
|
simpleGitHooks?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
@@ -148,7 +155,7 @@ export declare class ConfigurationChief {
|
|
|
148
155
|
ignore: string[];
|
|
149
156
|
isIncludeEntryExports: any;
|
|
150
157
|
};
|
|
151
|
-
getIncludedIssueTypes(): import("./types/issues.js").Report;
|
|
158
|
+
getIncludedIssueTypes(cliArgs: CLIArguments): import("./types/issues.js").Report;
|
|
152
159
|
findWorkspaceByFilePath(filePath: string): Workspace | undefined;
|
|
153
160
|
findWorkspaceByName(name: string): Workspace | undefined;
|
|
154
161
|
getUnusedIgnoredWorkspaces(): string[];
|
|
@@ -6,6 +6,7 @@ import { defaultRules } from './issues/initializers.js';
|
|
|
6
6
|
import * as plugins from './plugins/index.js';
|
|
7
7
|
import { arrayify, compact } from './util/array.js';
|
|
8
8
|
import parsedArgValues from './util/cli-arguments.js';
|
|
9
|
+
import { createWorkspaceGraph } from './util/create-workspace-graph.js';
|
|
9
10
|
import { ConfigurationError } from './util/errors.js';
|
|
10
11
|
import { findFile, isDirectory, isFile, loadJSON } from './util/fs.js';
|
|
11
12
|
import { getIncludedIssueTypes } from './util/get-included-issue-types.js';
|
|
@@ -13,14 +14,12 @@ import { _dirGlob } from './util/glob.js';
|
|
|
13
14
|
import { _load } from './util/loader.js';
|
|
14
15
|
import mapWorkspaces from './util/map-workspaces.js';
|
|
15
16
|
import { getKeysByValue } from './util/object.js';
|
|
16
|
-
import { join, relative, resolve
|
|
17
|
-
import { createPkgGraph } from './util/pkgs-graph.js';
|
|
17
|
+
import { join, relative, resolve } from './util/path.js';
|
|
18
18
|
import { normalizePluginConfig, toCamelCase } from './util/plugin.js';
|
|
19
19
|
import { toRegexOrString } from './util/regex.js';
|
|
20
20
|
import { unwrapFunction } from './util/unwrap-function.js';
|
|
21
21
|
import { byPathDepth } from './util/workspace.js';
|
|
22
|
-
const { config: rawConfigArg
|
|
23
|
-
const workspaceArg = rawWorkspaceArg ? toPosix(rawWorkspaceArg).replace(/^\.\//, '').replace(/\/$/, '') : undefined;
|
|
22
|
+
const { config: rawConfigArg } = parsedArgValues;
|
|
24
23
|
const getDefaultWorkspaceConfig = (extensions) => {
|
|
25
24
|
const exts = [...DEFAULT_EXTENSIONS, ...(extensions ?? [])].map(ext => ext.slice(1)).join(',');
|
|
26
25
|
return {
|
|
@@ -50,6 +49,7 @@ export class ConfigurationChief {
|
|
|
50
49
|
isStrict = false;
|
|
51
50
|
isIncludeEntryExports = false;
|
|
52
51
|
config;
|
|
52
|
+
workspace;
|
|
53
53
|
manifestPath;
|
|
54
54
|
manifest;
|
|
55
55
|
ignoredWorkspacePatterns = [];
|
|
@@ -59,16 +59,17 @@ export class ConfigurationChief {
|
|
|
59
59
|
availableWorkspaceNames = [];
|
|
60
60
|
availableWorkspacePkgNames = new Set();
|
|
61
61
|
availableWorkspaceDirs = [];
|
|
62
|
-
|
|
62
|
+
workspaceGraph;
|
|
63
63
|
includedWorkspaces = [];
|
|
64
64
|
resolvedConfigFilePath;
|
|
65
65
|
rawConfig;
|
|
66
|
-
constructor({ cwd, isProduction, isStrict, isIncludeEntryExports }) {
|
|
66
|
+
constructor({ cwd, isProduction, isStrict, isIncludeEntryExports, workspace }) {
|
|
67
67
|
this.cwd = cwd;
|
|
68
68
|
this.isProduction = isProduction;
|
|
69
69
|
this.isStrict = isStrict;
|
|
70
70
|
this.isIncludeEntryExports = isIncludeEntryExports;
|
|
71
71
|
this.config = defaultConfig;
|
|
72
|
+
this.workspace = workspace;
|
|
72
73
|
}
|
|
73
74
|
async init() {
|
|
74
75
|
const manifestPath = findFile(this.cwd, 'package.json');
|
|
@@ -111,8 +112,8 @@ export class ConfigurationChief {
|
|
|
111
112
|
return this.config.rules;
|
|
112
113
|
}
|
|
113
114
|
getFilters() {
|
|
114
|
-
if (this.
|
|
115
|
-
return { dir: join(this.cwd,
|
|
115
|
+
if (this.workspaceGraph && this.workspace)
|
|
116
|
+
return { dir: join(this.cwd, this.workspace) };
|
|
116
117
|
return {};
|
|
117
118
|
}
|
|
118
119
|
normalize(rawConfig) {
|
|
@@ -164,7 +165,7 @@ export class ConfigurationChief {
|
|
|
164
165
|
.sort(byPathDepth)
|
|
165
166
|
.reverse()
|
|
166
167
|
.map(dir => join(this.cwd, dir));
|
|
167
|
-
this.
|
|
168
|
+
this.workspaceGraph = createWorkspaceGraph(this.cwd, this.availableWorkspaceNames, this.availableWorkspacePkgNames, byPkgName, byName);
|
|
168
169
|
this.includedWorkspaces = this.determineIncludedWorkspaces();
|
|
169
170
|
}
|
|
170
171
|
addRootPackage() {
|
|
@@ -189,10 +190,11 @@ export class ConfigurationChief {
|
|
|
189
190
|
return workspaces.map(pattern => pattern.replace(/(?<=!?)\.\//, ''));
|
|
190
191
|
}
|
|
191
192
|
getIgnoredWorkspacePatterns() {
|
|
192
|
-
const
|
|
193
|
+
const ignoredWorkspacesManifest = this.getListedWorkspaces()
|
|
193
194
|
.filter(name => name.startsWith('!'))
|
|
194
195
|
.map(name => name.replace(/^!/, ''));
|
|
195
|
-
|
|
196
|
+
const ignoredWorkspacesConfig = this.config.ignoreWorkspaces.map(name => name.replace(/\/\*$/, ''));
|
|
197
|
+
return [...ignoredWorkspacesManifest, ...ignoredWorkspacesConfig];
|
|
196
198
|
}
|
|
197
199
|
getConfiguredWorkspaceKeys() {
|
|
198
200
|
const initialWorkspaces = this.rawConfig?.workspaces
|
|
@@ -224,8 +226,8 @@ export class ConfigurationChief {
|
|
|
224
226
|
return names;
|
|
225
227
|
}
|
|
226
228
|
determineIncludedWorkspaces() {
|
|
227
|
-
if (
|
|
228
|
-
const dir = resolve(
|
|
229
|
+
if (this.workspace) {
|
|
230
|
+
const dir = resolve(this.workspace);
|
|
229
231
|
if (!isDirectory(dir))
|
|
230
232
|
throw new ConfigurationError('Workspace is not a directory');
|
|
231
233
|
if (!isFile(join(dir, 'package.json')))
|
|
@@ -238,15 +240,15 @@ export class ConfigurationChief {
|
|
|
238
240
|
ancestors.push(ancestorName);
|
|
239
241
|
return ancestors;
|
|
240
242
|
};
|
|
241
|
-
const workspaceNames =
|
|
242
|
-
? [...this.availableWorkspaceNames.reduce(getAncestors(
|
|
243
|
+
const workspaceNames = this.workspace
|
|
244
|
+
? [...this.availableWorkspaceNames.reduce(getAncestors(this.workspace), []), this.workspace]
|
|
243
245
|
: this.availableWorkspaceNames;
|
|
244
246
|
const ws = new Set();
|
|
245
|
-
if (
|
|
246
|
-
ws.add(
|
|
247
|
+
if (this.workspace && this.isStrict) {
|
|
248
|
+
ws.add(this.workspace);
|
|
247
249
|
}
|
|
248
|
-
else if (
|
|
249
|
-
const graph = this.
|
|
250
|
+
else if (this.workspace) {
|
|
251
|
+
const graph = this.workspaceGraph;
|
|
250
252
|
if (graph) {
|
|
251
253
|
const seen = new Set();
|
|
252
254
|
const initialWorkspaces = workspaceNames.map(name => join(this.cwd, name));
|
|
@@ -363,8 +365,7 @@ export class ConfigurationChief {
|
|
|
363
365
|
}
|
|
364
366
|
return { entry, project, paths, ignore, isIncludeEntryExports, ...plugins };
|
|
365
367
|
}
|
|
366
|
-
getIncludedIssueTypes() {
|
|
367
|
-
const cliArgs = { include, exclude, dependencies, exports, files };
|
|
368
|
+
getIncludedIssueTypes(cliArgs) {
|
|
368
369
|
const excludesFromRules = getKeysByValue(this.config.rules, 'off');
|
|
369
370
|
const config = {
|
|
370
371
|
include: this.config.include ?? [],
|
|
@@ -275,6 +275,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
275
275
|
entry?: string | string[] | undefined;
|
|
276
276
|
project?: string | string[] | undefined;
|
|
277
277
|
}>]>>;
|
|
278
|
+
ladle: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
279
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
280
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
281
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
282
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
|
+
config?: string | string[] | undefined;
|
|
284
|
+
entry?: string | string[] | undefined;
|
|
285
|
+
project?: string | string[] | undefined;
|
|
286
|
+
}, {
|
|
287
|
+
config?: string | string[] | undefined;
|
|
288
|
+
entry?: string | string[] | undefined;
|
|
289
|
+
project?: string | string[] | undefined;
|
|
290
|
+
}>]>>;
|
|
278
291
|
lefthook: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
279
292
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
280
293
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -535,6 +548,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
535
548
|
entry?: string | string[] | undefined;
|
|
536
549
|
project?: string | string[] | undefined;
|
|
537
550
|
}>]>>;
|
|
551
|
+
'react-cosmos': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
552
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
553
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
554
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
config?: string | string[] | undefined;
|
|
557
|
+
entry?: string | string[] | undefined;
|
|
558
|
+
project?: string | string[] | undefined;
|
|
559
|
+
}, {
|
|
560
|
+
config?: string | string[] | undefined;
|
|
561
|
+
entry?: string | string[] | undefined;
|
|
562
|
+
project?: string | string[] | undefined;
|
|
563
|
+
}>]>>;
|
|
538
564
|
'release-it': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
539
565
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
540
566
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -587,6 +613,32 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
587
613
|
entry?: string | string[] | undefined;
|
|
588
614
|
project?: string | string[] | undefined;
|
|
589
615
|
}>]>>;
|
|
616
|
+
rsbuild: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
617
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
618
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
619
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
620
|
+
}, "strip", z.ZodTypeAny, {
|
|
621
|
+
config?: string | string[] | undefined;
|
|
622
|
+
entry?: string | string[] | undefined;
|
|
623
|
+
project?: string | string[] | undefined;
|
|
624
|
+
}, {
|
|
625
|
+
config?: string | string[] | undefined;
|
|
626
|
+
entry?: string | string[] | undefined;
|
|
627
|
+
project?: string | string[] | undefined;
|
|
628
|
+
}>]>>;
|
|
629
|
+
rspack: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
630
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
631
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
632
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
633
|
+
}, "strip", z.ZodTypeAny, {
|
|
634
|
+
config?: string | string[] | undefined;
|
|
635
|
+
entry?: string | string[] | undefined;
|
|
636
|
+
project?: string | string[] | undefined;
|
|
637
|
+
}, {
|
|
638
|
+
config?: string | string[] | undefined;
|
|
639
|
+
entry?: string | string[] | undefined;
|
|
640
|
+
project?: string | string[] | undefined;
|
|
641
|
+
}>]>>;
|
|
590
642
|
'semantic-release': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
591
643
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
592
644
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -1011,6 +1063,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1011
1063
|
entry?: string | string[] | undefined;
|
|
1012
1064
|
project?: string | string[] | undefined;
|
|
1013
1065
|
} | undefined;
|
|
1066
|
+
ladle?: string | boolean | string[] | {
|
|
1067
|
+
config?: string | string[] | undefined;
|
|
1068
|
+
entry?: string | string[] | undefined;
|
|
1069
|
+
project?: string | string[] | undefined;
|
|
1070
|
+
} | undefined;
|
|
1014
1071
|
lefthook?: string | boolean | string[] | {
|
|
1015
1072
|
config?: string | string[] | undefined;
|
|
1016
1073
|
entry?: string | string[] | undefined;
|
|
@@ -1111,6 +1168,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1111
1168
|
entry?: string | string[] | undefined;
|
|
1112
1169
|
project?: string | string[] | undefined;
|
|
1113
1170
|
} | undefined;
|
|
1171
|
+
'react-cosmos'?: string | boolean | string[] | {
|
|
1172
|
+
config?: string | string[] | undefined;
|
|
1173
|
+
entry?: string | string[] | undefined;
|
|
1174
|
+
project?: string | string[] | undefined;
|
|
1175
|
+
} | undefined;
|
|
1114
1176
|
'release-it'?: string | boolean | string[] | {
|
|
1115
1177
|
config?: string | string[] | undefined;
|
|
1116
1178
|
entry?: string | string[] | undefined;
|
|
@@ -1131,6 +1193,16 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1131
1193
|
entry?: string | string[] | undefined;
|
|
1132
1194
|
project?: string | string[] | undefined;
|
|
1133
1195
|
} | undefined;
|
|
1196
|
+
rsbuild?: string | boolean | string[] | {
|
|
1197
|
+
config?: string | string[] | undefined;
|
|
1198
|
+
entry?: string | string[] | undefined;
|
|
1199
|
+
project?: string | string[] | undefined;
|
|
1200
|
+
} | undefined;
|
|
1201
|
+
rspack?: string | boolean | string[] | {
|
|
1202
|
+
config?: string | string[] | undefined;
|
|
1203
|
+
entry?: string | string[] | undefined;
|
|
1204
|
+
project?: string | string[] | undefined;
|
|
1205
|
+
} | undefined;
|
|
1134
1206
|
'semantic-release'?: string | boolean | string[] | {
|
|
1135
1207
|
config?: string | string[] | undefined;
|
|
1136
1208
|
entry?: string | string[] | undefined;
|
|
@@ -1355,6 +1427,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1355
1427
|
entry?: string | string[] | undefined;
|
|
1356
1428
|
project?: string | string[] | undefined;
|
|
1357
1429
|
} | undefined;
|
|
1430
|
+
ladle?: string | boolean | string[] | {
|
|
1431
|
+
config?: string | string[] | undefined;
|
|
1432
|
+
entry?: string | string[] | undefined;
|
|
1433
|
+
project?: string | string[] | undefined;
|
|
1434
|
+
} | undefined;
|
|
1358
1435
|
lefthook?: string | boolean | string[] | {
|
|
1359
1436
|
config?: string | string[] | undefined;
|
|
1360
1437
|
entry?: string | string[] | undefined;
|
|
@@ -1455,6 +1532,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1455
1532
|
entry?: string | string[] | undefined;
|
|
1456
1533
|
project?: string | string[] | undefined;
|
|
1457
1534
|
} | undefined;
|
|
1535
|
+
'react-cosmos'?: string | boolean | string[] | {
|
|
1536
|
+
config?: string | string[] | undefined;
|
|
1537
|
+
entry?: string | string[] | undefined;
|
|
1538
|
+
project?: string | string[] | undefined;
|
|
1539
|
+
} | undefined;
|
|
1458
1540
|
'release-it'?: string | boolean | string[] | {
|
|
1459
1541
|
config?: string | string[] | undefined;
|
|
1460
1542
|
entry?: string | string[] | undefined;
|
|
@@ -1475,6 +1557,16 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1475
1557
|
entry?: string | string[] | undefined;
|
|
1476
1558
|
project?: string | string[] | undefined;
|
|
1477
1559
|
} | undefined;
|
|
1560
|
+
rsbuild?: string | boolean | string[] | {
|
|
1561
|
+
config?: string | string[] | undefined;
|
|
1562
|
+
entry?: string | string[] | undefined;
|
|
1563
|
+
project?: string | string[] | undefined;
|
|
1564
|
+
} | undefined;
|
|
1565
|
+
rspack?: string | boolean | string[] | {
|
|
1566
|
+
config?: string | string[] | undefined;
|
|
1567
|
+
entry?: string | string[] | undefined;
|
|
1568
|
+
project?: string | string[] | undefined;
|
|
1569
|
+
} | undefined;
|
|
1478
1570
|
'semantic-release'?: string | boolean | string[] | {
|
|
1479
1571
|
config?: string | string[] | undefined;
|
|
1480
1572
|
entry?: string | string[] | undefined;
|
|
@@ -1836,6 +1928,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1836
1928
|
entry?: string | string[] | undefined;
|
|
1837
1929
|
project?: string | string[] | undefined;
|
|
1838
1930
|
}>]>>;
|
|
1931
|
+
ladle: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1932
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1933
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1934
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1935
|
+
}, "strip", z.ZodTypeAny, {
|
|
1936
|
+
config?: string | string[] | undefined;
|
|
1937
|
+
entry?: string | string[] | undefined;
|
|
1938
|
+
project?: string | string[] | undefined;
|
|
1939
|
+
}, {
|
|
1940
|
+
config?: string | string[] | undefined;
|
|
1941
|
+
entry?: string | string[] | undefined;
|
|
1942
|
+
project?: string | string[] | undefined;
|
|
1943
|
+
}>]>>;
|
|
1839
1944
|
lefthook: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1840
1945
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1841
1946
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -2096,6 +2201,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2096
2201
|
entry?: string | string[] | undefined;
|
|
2097
2202
|
project?: string | string[] | undefined;
|
|
2098
2203
|
}>]>>;
|
|
2204
|
+
'react-cosmos': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2205
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2206
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2207
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2208
|
+
}, "strip", z.ZodTypeAny, {
|
|
2209
|
+
config?: string | string[] | undefined;
|
|
2210
|
+
entry?: string | string[] | undefined;
|
|
2211
|
+
project?: string | string[] | undefined;
|
|
2212
|
+
}, {
|
|
2213
|
+
config?: string | string[] | undefined;
|
|
2214
|
+
entry?: string | string[] | undefined;
|
|
2215
|
+
project?: string | string[] | undefined;
|
|
2216
|
+
}>]>>;
|
|
2099
2217
|
'release-it': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2100
2218
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2101
2219
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -2148,6 +2266,32 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2148
2266
|
entry?: string | string[] | undefined;
|
|
2149
2267
|
project?: string | string[] | undefined;
|
|
2150
2268
|
}>]>>;
|
|
2269
|
+
rsbuild: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2270
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2271
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2272
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2273
|
+
}, "strip", z.ZodTypeAny, {
|
|
2274
|
+
config?: string | string[] | undefined;
|
|
2275
|
+
entry?: string | string[] | undefined;
|
|
2276
|
+
project?: string | string[] | undefined;
|
|
2277
|
+
}, {
|
|
2278
|
+
config?: string | string[] | undefined;
|
|
2279
|
+
entry?: string | string[] | undefined;
|
|
2280
|
+
project?: string | string[] | undefined;
|
|
2281
|
+
}>]>>;
|
|
2282
|
+
rspack: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2283
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2284
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2285
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2286
|
+
}, "strip", z.ZodTypeAny, {
|
|
2287
|
+
config?: string | string[] | undefined;
|
|
2288
|
+
entry?: string | string[] | undefined;
|
|
2289
|
+
project?: string | string[] | undefined;
|
|
2290
|
+
}, {
|
|
2291
|
+
config?: string | string[] | undefined;
|
|
2292
|
+
entry?: string | string[] | undefined;
|
|
2293
|
+
project?: string | string[] | undefined;
|
|
2294
|
+
}>]>>;
|
|
2151
2295
|
'semantic-release': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2152
2296
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2153
2297
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -2580,6 +2724,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2580
2724
|
entry?: string | string[] | undefined;
|
|
2581
2725
|
project?: string | string[] | undefined;
|
|
2582
2726
|
} | undefined;
|
|
2727
|
+
ladle?: string | boolean | string[] | {
|
|
2728
|
+
config?: string | string[] | undefined;
|
|
2729
|
+
entry?: string | string[] | undefined;
|
|
2730
|
+
project?: string | string[] | undefined;
|
|
2731
|
+
} | undefined;
|
|
2583
2732
|
lefthook?: string | boolean | string[] | {
|
|
2584
2733
|
config?: string | string[] | undefined;
|
|
2585
2734
|
entry?: string | string[] | undefined;
|
|
@@ -2680,6 +2829,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2680
2829
|
entry?: string | string[] | undefined;
|
|
2681
2830
|
project?: string | string[] | undefined;
|
|
2682
2831
|
} | undefined;
|
|
2832
|
+
'react-cosmos'?: string | boolean | string[] | {
|
|
2833
|
+
config?: string | string[] | undefined;
|
|
2834
|
+
entry?: string | string[] | undefined;
|
|
2835
|
+
project?: string | string[] | undefined;
|
|
2836
|
+
} | undefined;
|
|
2683
2837
|
'release-it'?: string | boolean | string[] | {
|
|
2684
2838
|
config?: string | string[] | undefined;
|
|
2685
2839
|
entry?: string | string[] | undefined;
|
|
@@ -2700,6 +2854,16 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2700
2854
|
entry?: string | string[] | undefined;
|
|
2701
2855
|
project?: string | string[] | undefined;
|
|
2702
2856
|
} | undefined;
|
|
2857
|
+
rsbuild?: string | boolean | string[] | {
|
|
2858
|
+
config?: string | string[] | undefined;
|
|
2859
|
+
entry?: string | string[] | undefined;
|
|
2860
|
+
project?: string | string[] | undefined;
|
|
2861
|
+
} | undefined;
|
|
2862
|
+
rspack?: string | boolean | string[] | {
|
|
2863
|
+
config?: string | string[] | undefined;
|
|
2864
|
+
entry?: string | string[] | undefined;
|
|
2865
|
+
project?: string | string[] | undefined;
|
|
2866
|
+
} | undefined;
|
|
2703
2867
|
'semantic-release'?: string | boolean | string[] | {
|
|
2704
2868
|
config?: string | string[] | undefined;
|
|
2705
2869
|
entry?: string | string[] | undefined;
|
|
@@ -2924,6 +3088,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2924
3088
|
entry?: string | string[] | undefined;
|
|
2925
3089
|
project?: string | string[] | undefined;
|
|
2926
3090
|
} | undefined;
|
|
3091
|
+
ladle?: string | boolean | string[] | {
|
|
3092
|
+
config?: string | string[] | undefined;
|
|
3093
|
+
entry?: string | string[] | undefined;
|
|
3094
|
+
project?: string | string[] | undefined;
|
|
3095
|
+
} | undefined;
|
|
2927
3096
|
lefthook?: string | boolean | string[] | {
|
|
2928
3097
|
config?: string | string[] | undefined;
|
|
2929
3098
|
entry?: string | string[] | undefined;
|
|
@@ -3024,6 +3193,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3024
3193
|
entry?: string | string[] | undefined;
|
|
3025
3194
|
project?: string | string[] | undefined;
|
|
3026
3195
|
} | undefined;
|
|
3196
|
+
'react-cosmos'?: string | boolean | string[] | {
|
|
3197
|
+
config?: string | string[] | undefined;
|
|
3198
|
+
entry?: string | string[] | undefined;
|
|
3199
|
+
project?: string | string[] | undefined;
|
|
3200
|
+
} | undefined;
|
|
3027
3201
|
'release-it'?: string | boolean | string[] | {
|
|
3028
3202
|
config?: string | string[] | undefined;
|
|
3029
3203
|
entry?: string | string[] | undefined;
|
|
@@ -3044,6 +3218,16 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3044
3218
|
entry?: string | string[] | undefined;
|
|
3045
3219
|
project?: string | string[] | undefined;
|
|
3046
3220
|
} | undefined;
|
|
3221
|
+
rsbuild?: string | boolean | string[] | {
|
|
3222
|
+
config?: string | string[] | undefined;
|
|
3223
|
+
entry?: string | string[] | undefined;
|
|
3224
|
+
project?: string | string[] | undefined;
|
|
3225
|
+
} | undefined;
|
|
3226
|
+
rspack?: string | boolean | string[] | {
|
|
3227
|
+
config?: string | string[] | undefined;
|
|
3228
|
+
entry?: string | string[] | undefined;
|
|
3229
|
+
project?: string | string[] | undefined;
|
|
3230
|
+
} | undefined;
|
|
3047
3231
|
'semantic-release'?: string | boolean | string[] | {
|
|
3048
3232
|
config?: string | string[] | undefined;
|
|
3049
3233
|
entry?: string | string[] | undefined;
|
|
@@ -3277,6 +3461,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3277
3461
|
entry?: string | string[] | undefined;
|
|
3278
3462
|
project?: string | string[] | undefined;
|
|
3279
3463
|
} | undefined;
|
|
3464
|
+
ladle?: string | boolean | string[] | {
|
|
3465
|
+
config?: string | string[] | undefined;
|
|
3466
|
+
entry?: string | string[] | undefined;
|
|
3467
|
+
project?: string | string[] | undefined;
|
|
3468
|
+
} | undefined;
|
|
3280
3469
|
lefthook?: string | boolean | string[] | {
|
|
3281
3470
|
config?: string | string[] | undefined;
|
|
3282
3471
|
entry?: string | string[] | undefined;
|
|
@@ -3377,6 +3566,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3377
3566
|
entry?: string | string[] | undefined;
|
|
3378
3567
|
project?: string | string[] | undefined;
|
|
3379
3568
|
} | undefined;
|
|
3569
|
+
'react-cosmos'?: string | boolean | string[] | {
|
|
3570
|
+
config?: string | string[] | undefined;
|
|
3571
|
+
entry?: string | string[] | undefined;
|
|
3572
|
+
project?: string | string[] | undefined;
|
|
3573
|
+
} | undefined;
|
|
3380
3574
|
'release-it'?: string | boolean | string[] | {
|
|
3381
3575
|
config?: string | string[] | undefined;
|
|
3382
3576
|
entry?: string | string[] | undefined;
|
|
@@ -3397,6 +3591,16 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3397
3591
|
entry?: string | string[] | undefined;
|
|
3398
3592
|
project?: string | string[] | undefined;
|
|
3399
3593
|
} | undefined;
|
|
3594
|
+
rsbuild?: string | boolean | string[] | {
|
|
3595
|
+
config?: string | string[] | undefined;
|
|
3596
|
+
entry?: string | string[] | undefined;
|
|
3597
|
+
project?: string | string[] | undefined;
|
|
3598
|
+
} | undefined;
|
|
3599
|
+
rspack?: string | boolean | string[] | {
|
|
3600
|
+
config?: string | string[] | undefined;
|
|
3601
|
+
entry?: string | string[] | undefined;
|
|
3602
|
+
project?: string | string[] | undefined;
|
|
3603
|
+
} | undefined;
|
|
3400
3604
|
'semantic-release'?: string | boolean | string[] | {
|
|
3401
3605
|
config?: string | string[] | undefined;
|
|
3402
3606
|
entry?: string | string[] | undefined;
|
|
@@ -3621,6 +3825,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3621
3825
|
entry?: string | string[] | undefined;
|
|
3622
3826
|
project?: string | string[] | undefined;
|
|
3623
3827
|
} | undefined;
|
|
3828
|
+
ladle?: string | boolean | string[] | {
|
|
3829
|
+
config?: string | string[] | undefined;
|
|
3830
|
+
entry?: string | string[] | undefined;
|
|
3831
|
+
project?: string | string[] | undefined;
|
|
3832
|
+
} | undefined;
|
|
3624
3833
|
lefthook?: string | boolean | string[] | {
|
|
3625
3834
|
config?: string | string[] | undefined;
|
|
3626
3835
|
entry?: string | string[] | undefined;
|
|
@@ -3721,6 +3930,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3721
3930
|
entry?: string | string[] | undefined;
|
|
3722
3931
|
project?: string | string[] | undefined;
|
|
3723
3932
|
} | undefined;
|
|
3933
|
+
'react-cosmos'?: string | boolean | string[] | {
|
|
3934
|
+
config?: string | string[] | undefined;
|
|
3935
|
+
entry?: string | string[] | undefined;
|
|
3936
|
+
project?: string | string[] | undefined;
|
|
3937
|
+
} | undefined;
|
|
3724
3938
|
'release-it'?: string | boolean | string[] | {
|
|
3725
3939
|
config?: string | string[] | undefined;
|
|
3726
3940
|
entry?: string | string[] | undefined;
|
|
@@ -3741,6 +3955,16 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3741
3955
|
entry?: string | string[] | undefined;
|
|
3742
3956
|
project?: string | string[] | undefined;
|
|
3743
3957
|
} | undefined;
|
|
3958
|
+
rsbuild?: string | boolean | string[] | {
|
|
3959
|
+
config?: string | string[] | undefined;
|
|
3960
|
+
entry?: string | string[] | undefined;
|
|
3961
|
+
project?: string | string[] | undefined;
|
|
3962
|
+
} | undefined;
|
|
3963
|
+
rspack?: string | boolean | string[] | {
|
|
3964
|
+
config?: string | string[] | undefined;
|
|
3965
|
+
entry?: string | string[] | undefined;
|
|
3966
|
+
project?: string | string[] | undefined;
|
|
3967
|
+
} | undefined;
|
|
3744
3968
|
'semantic-release'?: string | boolean | string[] | {
|
|
3745
3969
|
config?: string | string[] | undefined;
|
|
3746
3970
|
entry?: string | string[] | undefined;
|