knip 5.50.0 → 5.50.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 +14 -0
- package/dist/ConfigurationChief.d.ts +182 -0
- package/dist/ConsoleStreamer.d.ts +12 -0
- package/dist/DependencyDeputy.d.ts +78 -0
- package/dist/IssueCollector.d.ts +39 -0
- package/dist/IssueFixer.d.ts +27 -0
- package/dist/PackageJsonPeeker.d.ts +13 -0
- package/dist/PrincipalFactory.d.ts +20 -0
- package/dist/ProjectPrincipal.d.ts +58 -0
- package/dist/WorkspaceWorker.d.ts +69 -0
- package/dist/binaries/bash-parser.d.ts +3 -0
- package/dist/binaries/fallback.d.ts +2 -0
- package/dist/binaries/index.d.ts +2 -0
- package/dist/binaries/package-manager/bun.d.ts +2 -0
- package/dist/binaries/package-manager/bunx.d.ts +3 -0
- package/dist/binaries/package-manager/index.d.ts +10 -0
- package/dist/binaries/package-manager/npm.d.ts +2 -0
- package/dist/binaries/package-manager/npx.d.ts +2 -0
- package/dist/binaries/package-manager/pnpm.d.ts +2 -0
- package/dist/binaries/package-manager/pnpx.d.ts +3 -0
- package/dist/binaries/package-manager/yarn.d.ts +2 -0
- package/dist/binaries/plugins.d.ts +2 -0
- package/dist/binaries/util.d.ts +3 -0
- package/dist/cli.d.ts +1 -0
- package/dist/compilers/astro.d.ts +6 -0
- package/dist/compilers/compilers.d.ts +5 -0
- package/dist/compilers/index.d.ts +997 -0
- package/dist/compilers/mdx.d.ts +6 -0
- package/dist/compilers/svelte.d.ts +6 -0
- package/dist/compilers/types.d.ts +7 -0
- package/dist/compilers/vue.d.ts +6 -0
- package/dist/constants.d.ts +26 -0
- package/dist/graph/analyze.d.ts +30 -0
- package/dist/graph/build.d.ts +40 -0
- package/dist/index.d.ts +11 -0
- package/dist/manifest/helpers.d.ts +9 -0
- package/dist/manifest/index.d.ts +12 -0
- package/dist/plugins/_template/index.d.ts +12 -0
- package/dist/plugins/_template/types.d.ts +4 -0
- package/dist/plugins/angular/index.d.ts +10 -0
- package/dist/plugins/angular/types.d.ts +1048 -0
- package/dist/plugins/astro/index.d.ts +11 -0
- package/dist/plugins/ava/index.d.ts +12 -0
- package/dist/plugins/ava/types.d.ts +8 -0
- package/dist/plugins/babel/helpers.d.ts +14 -0
- package/dist/plugins/babel/index.d.ts +12 -0
- package/dist/plugins/babel/types.d.ts +10 -0
- package/dist/plugins/c8/index.d.ts +10 -0
- package/dist/plugins/capacitor/index.d.ts +10 -0
- package/dist/plugins/capacitor/types.d.ts +3 -0
- package/dist/plugins/changesets/index.d.ts +11 -0
- package/dist/plugins/changesets/types.d.ts +3 -0
- package/dist/plugins/commitizen/index.d.ts +12 -0
- package/dist/plugins/commitizen/types.d.ts +3 -0
- package/dist/plugins/commitlint/index.d.ts +10 -0
- package/dist/plugins/commitlint/types.d.ts +12 -0
- package/dist/plugins/create-typescript-app/index.d.ts +8 -0
- package/dist/plugins/cspell/index.d.ts +10 -0
- package/dist/plugins/cspell/types.d.ts +3 -0
- package/dist/plugins/cucumber/index.d.ts +12 -0
- package/dist/plugins/cucumber/types.d.ts +7 -0
- package/dist/plugins/cypress/helpers.d.ts +3 -0
- package/dist/plugins/cypress/index.d.ts +12 -0
- package/dist/plugins/cypress/types.d.ts +6 -0
- package/dist/plugins/dependency-cruiser/index.d.ts +12 -0
- package/dist/plugins/dotenv/index.d.ts +8 -0
- package/dist/plugins/drizzle/index.d.ts +10 -0
- package/dist/plugins/drizzle/types.d.ts +3 -0
- package/dist/plugins/eleventy/helpers.d.ts +138 -0
- package/dist/plugins/eleventy/index.d.ts +14 -0
- package/dist/plugins/eleventy/types.d.ts +10 -0
- package/dist/plugins/eslint/helpers.d.ts +4 -0
- package/dist/plugins/eslint/index.d.ts +15 -0
- package/dist/plugins/eslint/types.d.ts +29 -0
- package/dist/plugins/expo/helpers.d.ts +20 -0
- package/dist/plugins/expo/index.d.ts +14 -0
- package/dist/plugins/expo/types.d.ts +28 -0
- package/dist/plugins/gatsby/index.d.ts +11 -0
- package/dist/plugins/gatsby/types.d.ts +15 -0
- package/dist/plugins/github-action/index.d.ts +9 -0
- package/dist/plugins/github-actions/index.d.ts +11 -0
- package/dist/plugins/github-actions/types.d.ts +20 -0
- package/dist/plugins/glob/index.d.ts +12 -0
- package/dist/plugins/graphql-codegen/index.d.ts +11 -0
- package/dist/plugins/graphql-codegen/types.d.ts +37 -0
- package/dist/plugins/husky/index.d.ts +10 -0
- package/dist/plugins/index.d.ts +788 -0
- package/dist/plugins/jest/helpers.d.ts +4 -0
- package/dist/plugins/jest/index.d.ts +15 -0
- package/dist/plugins/jest/types.d.ts +3 -0
- package/dist/plugins/karma/helpers.d.ts +7 -0
- package/dist/plugins/karma/index.d.ts +12 -0
- package/dist/plugins/karma/types.d.ts +22 -0
- package/dist/plugins/ladle/index.d.ts +13 -0
- package/dist/plugins/ladle/types.d.ts +4 -0
- package/dist/plugins/lefthook/index.d.ts +9 -0
- package/dist/plugins/lint-staged/index.d.ts +11 -0
- package/dist/plugins/lint-staged/types.d.ts +5 -0
- package/dist/plugins/linthtml/index.d.ts +11 -0
- package/dist/plugins/linthtml/types.d.ts +4 -0
- package/dist/plugins/lockfile-lint/index.d.ts +8 -0
- package/dist/plugins/lost-pixel/index.d.ts +8 -0
- package/dist/plugins/markdownlint/helpers.d.ts +1 -0
- package/dist/plugins/markdownlint/index.d.ts +10 -0
- package/dist/plugins/markdownlint/types.d.ts +3 -0
- package/dist/plugins/metro/index.d.ts +15 -0
- package/dist/plugins/metro/types.d.ts +13 -0
- package/dist/plugins/mocha/index.d.ts +15 -0
- package/dist/plugins/mocha/types.d.ts +4 -0
- package/dist/plugins/moonrepo/index.d.ts +11 -0
- package/dist/plugins/moonrepo/types.d.ts +7 -0
- package/dist/plugins/msw/index.d.ts +11 -0
- package/dist/plugins/msw/types.d.ts +3 -0
- package/dist/plugins/nest/index.d.ts +10 -0
- package/dist/plugins/nest/types.d.ts +3 -0
- package/dist/plugins/netlify/helpers.d.ts +2 -0
- package/dist/plugins/netlify/index.d.ts +12 -0
- package/dist/plugins/netlify/types.d.ts +11 -0
- package/dist/plugins/next/index.d.ts +10 -0
- package/dist/plugins/next/resolveFromAST.d.ts +2 -0
- package/dist/plugins/node/index.d.ts +16 -0
- package/dist/plugins/nodemon/index.d.ts +10 -0
- package/dist/plugins/npm-package-json-lint/index.d.ts +11 -0
- package/dist/plugins/npm-package-json-lint/types.d.ts +3 -0
- package/dist/plugins/nuxt/index.d.ts +14 -0
- package/dist/plugins/nuxt/types.d.ts +8 -0
- package/dist/plugins/nx/index.d.ts +14 -0
- package/dist/plugins/nx/types.d.ts +19 -0
- package/dist/plugins/nyc/index.d.ts +10 -0
- package/dist/plugins/nyc/types.d.ts +4 -0
- package/dist/plugins/oclif/index.d.ts +10 -0
- package/dist/plugins/oclif/types.d.ts +4 -0
- package/dist/plugins/playwright/index.d.ts +21 -0
- package/dist/plugins/playwright/types.d.ts +36 -0
- package/dist/plugins/playwright-ct/index.d.ts +11 -0
- package/dist/plugins/playwright-test/index.d.ts +13 -0
- package/dist/plugins/plop/index.d.ts +8 -0
- package/dist/plugins/postcss/index.d.ts +10 -0
- package/dist/plugins/postcss/types.d.ts +3 -0
- package/dist/plugins/preconstruct/index.d.ts +10 -0
- package/dist/plugins/preconstruct/types.d.ts +3 -0
- package/dist/plugins/prettier/index.d.ts +10 -0
- package/dist/plugins/prettier/types.d.ts +8 -0
- package/dist/plugins/react-cosmos/index.d.ts +12 -0
- package/dist/plugins/react-cosmos/types.d.ts +5 -0
- package/dist/plugins/react-router/index.d.ts +10 -0
- package/dist/plugins/react-router/types.d.ts +7 -0
- package/dist/plugins/release-it/index.d.ts +10 -0
- package/dist/plugins/release-it/types.d.ts +10 -0
- package/dist/plugins/remark/index.d.ts +11 -0
- package/dist/plugins/remark/types.d.ts +3 -0
- package/dist/plugins/remix/index.d.ts +9 -0
- package/dist/plugins/rollup/index.d.ts +10 -0
- package/dist/plugins/rsbuild/index.d.ts +10 -0
- package/dist/plugins/rsbuild/types.d.ts +3 -0
- package/dist/plugins/rspack/index.d.ts +10 -0
- package/dist/plugins/semantic-release/index.d.ts +12 -0
- package/dist/plugins/semantic-release/types.d.ts +3 -0
- package/dist/plugins/sentry/index.d.ts +8 -0
- package/dist/plugins/simple-git-hooks/index.d.ts +10 -0
- package/dist/plugins/simple-git-hooks/types.d.ts +3 -0
- package/dist/plugins/size-limit/index.d.ts +8 -0
- package/dist/plugins/sst/index.d.ts +9 -0
- package/dist/plugins/sst/resolveFromAST.d.ts +2 -0
- package/dist/plugins/starlight/index.d.ts +9 -0
- package/dist/plugins/starlight/resolveFromAST.d.ts +2 -0
- package/dist/plugins/storybook/index.d.ts +13 -0
- package/dist/plugins/storybook/types.d.ts +20 -0
- package/dist/plugins/stryker/index.d.ts +10 -0
- package/dist/plugins/stryker/types.d.ts +5 -0
- package/dist/plugins/stylelint/index.d.ts +10 -0
- package/dist/plugins/stylelint/types.d.ts +8 -0
- package/dist/plugins/svelte/index.d.ts +9 -0
- package/dist/plugins/syncpack/index.d.ts +8 -0
- package/dist/plugins/tailwind/index.d.ts +8 -0
- package/dist/plugins/tanstack-router/index.d.ts +12 -0
- package/dist/plugins/tanstack-router/resolveFromAST.d.ts +2 -0
- package/dist/plugins/tanstack-router/types.d.ts +7 -0
- package/dist/plugins/travis/index.d.ts +10 -0
- package/dist/plugins/ts-node/index.d.ts +15 -0
- package/dist/plugins/tsup/index.d.ts +13 -0
- package/dist/plugins/tsup/types.d.ts +7 -0
- package/dist/plugins/tsx/index.d.ts +9 -0
- package/dist/plugins/typedoc/index.d.ts +16 -0
- package/dist/plugins/typedoc/types.d.ts +4 -0
- package/dist/plugins/typescript/index.d.ts +21 -0
- package/dist/plugins/unbuild/index.d.ts +10 -0
- package/dist/plugins/unbuild/types.d.ts +13 -0
- package/dist/plugins/unocss/index.d.ts +8 -0
- package/dist/plugins/vercel-og/index.d.ts +8 -0
- package/dist/plugins/vike/index.d.ts +8 -0
- package/dist/plugins/vite/index.d.ts +11 -0
- package/dist/plugins/vitest/helpers.d.ts +3 -0
- package/dist/plugins/vitest/index.d.ts +17 -0
- package/dist/plugins/vitest/types.d.ts +39 -0
- package/dist/plugins/vue/index.d.ts +10 -0
- package/dist/plugins/vue/types.d.ts +5 -0
- package/dist/plugins/webdriver-io/index.d.ts +10 -0
- package/dist/plugins/webdriver-io/types.d.ts +3 -0
- package/dist/plugins/webpack/index.d.ts +19 -0
- package/dist/plugins/webpack/types.d.ts +12 -0
- package/dist/plugins/wireit/index.d.ts +10 -0
- package/dist/plugins/wireit/types.d.ts +3 -0
- package/dist/plugins/wrangler/index.d.ts +10 -0
- package/dist/plugins/wrangler/types.d.ts +3 -0
- package/dist/plugins/xo/index.d.ts +11 -0
- package/dist/plugins/xo/types.d.ts +12 -0
- package/dist/plugins/yarn/index.d.ts +9 -0
- package/dist/plugins/yorkie/index.d.ts +11 -0
- package/dist/plugins.d.ts +7 -0
- package/dist/reporters/codeclimate.d.ts +3 -0
- package/dist/reporters/codeowners.d.ts +3 -0
- package/dist/reporters/compact.d.ts +3 -0
- package/dist/reporters/disclosure.d.ts +3 -0
- package/dist/reporters/index.d.ts +10 -0
- package/dist/reporters/json.d.ts +3 -0
- package/dist/reporters/markdown.d.ts +3 -0
- package/dist/reporters/symbols.d.ts +3 -0
- package/dist/reporters/util.d.ts +22 -0
- package/dist/reporters/watch.d.ts +12 -0
- package/dist/schema/configuration.d.ts +5495 -0
- package/dist/schema/plugins.d.ts +2227 -0
- package/dist/types/PluginNames.d.ts +2 -0
- package/dist/types/args.d.ts +14 -0
- package/dist/types/cli.d.ts +27 -0
- package/dist/types/config.d.ts +119 -0
- package/dist/types/exports.d.ts +24 -0
- package/dist/types/imports.d.ts +12 -0
- package/dist/types/issues.d.ts +88 -0
- package/dist/types/module-graph.d.ts +67 -0
- package/dist/types/package-json.d.ts +53 -0
- package/dist/types/project.d.ts +18 -0
- package/dist/types/workspace.d.ts +27 -0
- package/dist/typescript/SourceFile.d.ts +35 -0
- package/dist/typescript/SourceFileManager.d.ts +19 -0
- package/dist/typescript/ast-helpers.d.ts +38 -0
- package/dist/typescript/create-hosts.d.ts +21 -0
- package/dist/typescript/find-internal-references.d.ts +4 -0
- package/dist/typescript/get-imports-and-exports.d.ts +18 -0
- package/dist/typescript/resolve-module-names.d.ts +4 -0
- package/dist/typescript/visitors/dynamic-imports/importCall.d.ts +3 -0
- package/dist/typescript/visitors/dynamic-imports/importType.d.ts +3 -0
- package/dist/typescript/visitors/dynamic-imports/index.d.ts +3 -0
- package/dist/typescript/visitors/dynamic-imports/jsDocType.d.ts +4 -0
- package/dist/typescript/visitors/dynamic-imports/requireCall.d.ts +3 -0
- package/dist/typescript/visitors/dynamic-imports/resolveCall.d.ts +3 -0
- package/dist/typescript/visitors/exports/exportAssignment.d.ts +3 -0
- package/dist/typescript/visitors/exports/exportDeclaration.d.ts +3 -0
- package/dist/typescript/visitors/exports/exportKeyword.d.ts +3 -0
- package/dist/typescript/visitors/exports/exportsAccessExpression.d.ts +3 -0
- package/dist/typescript/visitors/exports/index.d.ts +3 -0
- package/dist/typescript/visitors/exports/moduleExportsAccessExpression.d.ts +3 -0
- package/dist/typescript/visitors/helpers.d.ts +8 -0
- package/dist/typescript/visitors/imports/importDeclaration.d.ts +3 -0
- package/dist/typescript/visitors/imports/importEqualsDeclaration.d.ts +3 -0
- package/dist/typescript/visitors/imports/index.d.ts +3 -0
- package/dist/typescript/visitors/imports/reExportDeclaration.d.ts +3 -0
- package/dist/typescript/visitors/index.d.ts +12 -0
- package/dist/typescript/visitors/scripts/bun.d.ts +3 -0
- package/dist/typescript/visitors/scripts/execa.d.ts +3 -0
- package/dist/typescript/visitors/scripts/index.d.ts +3 -0
- package/dist/typescript/visitors/scripts/zx.d.ts +3 -0
- package/dist/util/Performance.d.ts +26 -0
- package/dist/util/array.d.ts +5 -0
- package/dist/util/cli-arguments.d.ts +44 -0
- package/dist/util/codeowners.d.ts +2 -0
- package/dist/util/create-workspace-graph.d.ts +3 -0
- package/dist/util/debug.d.ts +4 -0
- package/dist/util/empty.d.ts +1 -0
- package/dist/util/errors.d.ts +13 -0
- package/dist/util/file-entry-cache.d.ts +29 -0
- package/dist/util/fs.d.ts +9 -0
- package/dist/util/get-included-issue-types.d.ts +18 -0
- package/dist/util/get-referenced-inputs.d.ts +5 -0
- package/dist/util/git.d.ts +1 -0
- package/dist/util/glob-core.d.ts +28 -0
- package/dist/util/glob.d.ts +16 -0
- package/dist/util/graph-sequencer.d.ts +9 -0
- package/dist/util/has-strictly-ns-references.d.ts +4 -0
- package/dist/util/input.d.ts +43 -0
- package/dist/util/is-identifier-referenced.d.ts +9 -0
- package/dist/util/issue-initializers.d.ts +4 -0
- package/dist/util/jiti.d.ts +1 -0
- package/dist/util/loader.d.ts +1 -0
- package/dist/util/log.d.ts +2 -0
- package/dist/util/map-workspaces.d.ts +5 -0
- package/dist/util/math.d.ts +6 -0
- package/dist/util/module-graph.d.ts +6 -0
- package/dist/util/modules.d.ts +10 -0
- package/dist/util/object.d.ts +4 -0
- package/dist/util/package-json.d.ts +14 -0
- package/dist/util/package-name.d.ts +2 -0
- package/dist/util/path.d.ts +13 -0
- package/dist/util/plugin-config.d.ts +24 -0
- package/dist/util/plugin.d.ts +9 -0
- package/dist/util/regex.d.ts +3 -0
- package/dist/util/remove-export.d.ts +8 -0
- package/dist/util/reporter.d.ts +3 -0
- package/dist/util/require.d.ts +1 -0
- package/dist/util/resolve.d.ts +2 -0
- package/dist/util/string.d.ts +1 -0
- package/dist/util/tag.d.ts +5 -0
- package/dist/util/to-source-path.d.ts +5 -0
- package/dist/util/trace.d.ts +20 -0
- package/dist/util/tsconfig-loader.d.ts +6 -0
- package/dist/util/unwrap-function.d.ts +1 -0
- package/dist/util/watch.d.ts +25 -0
- package/dist/util/workspace.d.ts +1 -0
- package/dist/version.d.ts +1 -0
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PluginOptions } from '../../types/config.js';
|
|
2
|
+
import type { JestInitialOptions } from './types.js';
|
|
3
|
+
export declare const resolveExtensibleConfig: (configFilePath: string) => Promise<any>;
|
|
4
|
+
export declare const getReportersDependencies: (config: JestInitialOptions, options: PluginOptions) => string[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { JestConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
entry: string[];
|
|
9
|
+
resolveEntryPaths: ResolveEntryPaths<JestConfig>;
|
|
10
|
+
resolveConfig: ResolveConfig<JestConfig>;
|
|
11
|
+
args: {
|
|
12
|
+
config: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Input } from '../../util/input.js';
|
|
2
|
+
import type { Config, ConfigOptions } from './types.js';
|
|
3
|
+
export declare const configFiles: string[];
|
|
4
|
+
export declare const inputsFromFrameworks: (frameworks: readonly string[]) => readonly Input[];
|
|
5
|
+
export declare const inputsFromPlugins: (plugins: ConfigOptions["plugins"], devDependencies: Record<string, string> | undefined) => readonly Input[];
|
|
6
|
+
export type ConfigFile = (config: Config) => void;
|
|
7
|
+
export declare const loadConfig: (configFile: ConfigFile) => ConfigOptions | undefined;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import { type ConfigFile } from './helpers.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
entry: string[];
|
|
9
|
+
resolveConfig: ResolveConfig<ConfigFile>;
|
|
10
|
+
resolveEntryPaths: ResolveEntryPaths<ConfigFile>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface Config {
|
|
2
|
+
set: (config: ConfigOptions) => void;
|
|
3
|
+
}
|
|
4
|
+
export interface ConfigOptions {
|
|
5
|
+
basePath?: string | undefined;
|
|
6
|
+
exclude?: string[] | undefined;
|
|
7
|
+
files?: Array<FilePattern | string> | undefined;
|
|
8
|
+
frameworks?: string[] | undefined;
|
|
9
|
+
plugins?: Array<PluginName | InlinePluginDef> | undefined;
|
|
10
|
+
}
|
|
11
|
+
type PluginName = string;
|
|
12
|
+
type InlinePluginDef = Record<PluginName, InlinePluginType>;
|
|
13
|
+
type InlinePluginType = FactoryFnType | ConstructorFnType | ValueType;
|
|
14
|
+
type FactoryFnType = ['factory', FactoryFn];
|
|
15
|
+
type FactoryFn = (...params: any[]) => any;
|
|
16
|
+
type ConstructorFnType = ['type', ConstructorFn];
|
|
17
|
+
type ConstructorFn = Function | (new (...params: any[]) => any);
|
|
18
|
+
type ValueType = ['value', any];
|
|
19
|
+
interface FilePattern {
|
|
20
|
+
pattern: string;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { LadleConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
entry: string[];
|
|
9
|
+
project: string[];
|
|
10
|
+
resolveEntryPaths: ResolveEntryPaths<LadleConfig>;
|
|
11
|
+
resolveConfig: ResolveConfig<LadleConfig>;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { LintStagedConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
packageJsonPath: string;
|
|
8
|
+
config: string[];
|
|
9
|
+
resolveConfig: ResolveConfig<LintStagedConfig>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { LintHTMLConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
packageJsonPath: string;
|
|
8
|
+
config: string[];
|
|
9
|
+
resolveConfig: ResolveConfig<LintHTMLConfig>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getArgumentValues: (value: string, matcher: RegExp) => string[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { MarkdownlintConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<MarkdownlintConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { MetroConfig } from './types.js';
|
|
3
|
+
export declare const docs: {
|
|
4
|
+
note: string;
|
|
5
|
+
production: string[];
|
|
6
|
+
};
|
|
7
|
+
declare const _default: {
|
|
8
|
+
title: string;
|
|
9
|
+
enablers: string[];
|
|
10
|
+
isEnabled: IsPluginEnabled;
|
|
11
|
+
config: string[];
|
|
12
|
+
resolveEntryPaths: ResolveEntryPaths<MetroConfig>;
|
|
13
|
+
resolveConfig: ResolveConfig<MetroConfig>;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type MetroConfig = {
|
|
2
|
+
projectRoot?: string;
|
|
3
|
+
transformerPath?: string;
|
|
4
|
+
transformer?: {
|
|
5
|
+
minifierPath?: string;
|
|
6
|
+
assetPlugins?: string[];
|
|
7
|
+
babelTransformerPath?: string;
|
|
8
|
+
};
|
|
9
|
+
resolver?: {
|
|
10
|
+
platforms?: string[];
|
|
11
|
+
sourceExts?: string[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { MochaConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
entry: string[];
|
|
9
|
+
resolveConfig: ResolveConfig<MochaConfig>;
|
|
10
|
+
resolveEntryPaths: ResolveEntryPaths<MochaConfig>;
|
|
11
|
+
args: {
|
|
12
|
+
nodeImportArgs: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { MoonConfiguration } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
isRootOnly: true;
|
|
8
|
+
config: string[];
|
|
9
|
+
resolveConfig: ResolveConfig<MoonConfiguration>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { MSWConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
entry: string[];
|
|
9
|
+
resolveEntryPaths: ResolveEntryPaths<MSWConfig>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { NestConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: RegExp[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<NestConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { NetlifyConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: (string | RegExp)[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
production: string[];
|
|
9
|
+
resolveEntryPaths: ResolveEntryPaths<NetlifyConfig>;
|
|
10
|
+
resolveConfig: ResolveConfig<NetlifyConfig>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveFromAST } from '../../types/config.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
enablers: string[];
|
|
5
|
+
isEnabled: IsPluginEnabled;
|
|
6
|
+
config: string[];
|
|
7
|
+
production: string[];
|
|
8
|
+
resolveFromAST: ResolveFromAST;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { PackageJson } from '../../types/package-json.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
isEnabled: IsPluginEnabled;
|
|
6
|
+
packageJsonPath: (id: PackageJson) => PackageJson;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveEntryPaths: ResolveEntryPaths<PackageJson>;
|
|
9
|
+
args: {
|
|
10
|
+
positional: boolean;
|
|
11
|
+
nodeImportArgs: boolean;
|
|
12
|
+
resolve: string[];
|
|
13
|
+
args: (args: string[]) => string[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { NpmPkgJsonLintConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
packageJsonPath: string;
|
|
8
|
+
config: string[];
|
|
9
|
+
resolveConfig: ResolveConfig<NpmPkgJsonLintConfig>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { NuxtConfig } from './types.js';
|
|
3
|
+
export declare const docs: {
|
|
4
|
+
note: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
enablers: string[];
|
|
9
|
+
isEnabled: IsPluginEnabled;
|
|
10
|
+
config: string[];
|
|
11
|
+
production: string[];
|
|
12
|
+
resolveEntryPaths: ResolveEntryPaths<NuxtConfig>;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ParsedArgs } from 'minimist';
|
|
2
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
3
|
+
import type { NxConfigRoot, NxProjectConfiguration } from './types.js';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: string;
|
|
6
|
+
enablers: (string | RegExp)[];
|
|
7
|
+
isEnabled: IsPluginEnabled;
|
|
8
|
+
config: string[];
|
|
9
|
+
resolveConfig: ResolveConfig<NxProjectConfiguration | NxConfigRoot>;
|
|
10
|
+
args: {
|
|
11
|
+
fromArgs: (parsed: ParsedArgs) => string[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface NxProjectConfiguration {
|
|
2
|
+
targets?: {
|
|
3
|
+
[targetName: string]: {
|
|
4
|
+
command?: string;
|
|
5
|
+
executor?: string;
|
|
6
|
+
options?: {
|
|
7
|
+
command?: string;
|
|
8
|
+
commands?: string[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface NxConfigRoot {
|
|
14
|
+
plugins?: Array<string | {
|
|
15
|
+
plugin: string;
|
|
16
|
+
}>;
|
|
17
|
+
generators?: Record<string, unknown>;
|
|
18
|
+
targetDefaults?: Record<string, unknown>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { NycConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<NycConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { OclifConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<OclifConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { PlaywrightTestConfig } from './types.js';
|
|
3
|
+
export declare const entry: string[];
|
|
4
|
+
export declare const resolveEntryPaths: ResolveEntryPaths<PlaywrightTestConfig>;
|
|
5
|
+
export declare const resolveConfig: ResolveConfig<PlaywrightTestConfig>;
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
enablers: string[];
|
|
9
|
+
isEnabled: IsPluginEnabled;
|
|
10
|
+
config: string[];
|
|
11
|
+
entry: string[];
|
|
12
|
+
resolveConfig: ResolveConfig<PlaywrightTestConfig>;
|
|
13
|
+
resolveEntryPaths: ResolveEntryPaths<PlaywrightTestConfig>;
|
|
14
|
+
args: {
|
|
15
|
+
binaries: string[];
|
|
16
|
+
positional: boolean;
|
|
17
|
+
args: (args: string[]) => string[];
|
|
18
|
+
config: boolean;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
type LiteralUnion<T extends U, U = string> = T | (U & {
|
|
2
|
+
zz_IGNORE_ME?: never;
|
|
3
|
+
});
|
|
4
|
+
type ReporterDescription = Readonly<['blob'] | ['blob', {
|
|
5
|
+
outputDir?: string;
|
|
6
|
+
fileName?: string;
|
|
7
|
+
}] | ['dot'] | ['line'] | ['list'] | ['list', {
|
|
8
|
+
printSteps?: boolean;
|
|
9
|
+
}] | ['github'] | ['junit'] | ['junit', {
|
|
10
|
+
outputFile?: string;
|
|
11
|
+
stripANSIControlSequences?: boolean;
|
|
12
|
+
includeProjectInTestName?: boolean;
|
|
13
|
+
}] | ['json'] | ['json', {
|
|
14
|
+
outputFile?: string;
|
|
15
|
+
}] | ['html'] | [
|
|
16
|
+
'html',
|
|
17
|
+
{
|
|
18
|
+
outputFolder?: string;
|
|
19
|
+
open?: 'always' | 'never' | 'on-failure';
|
|
20
|
+
host?: string;
|
|
21
|
+
port?: number;
|
|
22
|
+
attachmentsBaseURL?: string;
|
|
23
|
+
}
|
|
24
|
+
] | ['null'] | [string] | [string, any]>;
|
|
25
|
+
type Project = {
|
|
26
|
+
name: string;
|
|
27
|
+
use: string;
|
|
28
|
+
testMatch?: string | RegExp | (string | RegExp)[];
|
|
29
|
+
};
|
|
30
|
+
export type PlaywrightTestConfig = {
|
|
31
|
+
projects?: Project[];
|
|
32
|
+
testMatch?: string | RegExp | (string | RegExp)[];
|
|
33
|
+
testDir?: string;
|
|
34
|
+
reporter?: LiteralUnion<'dot' | 'line' | 'list' | 'junit' | 'html' | 'json' | 'github' | 'null', string> | ReporterDescription[];
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled } from '../../types/config.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
enablers: RegExp[];
|
|
5
|
+
isEnabled: IsPluginEnabled;
|
|
6
|
+
config: string[];
|
|
7
|
+
entry: string[];
|
|
8
|
+
resolveEntryPaths: import("../../types/config.js").ResolveEntryPaths<import("../playwright/types.js").PlaywrightTestConfig>;
|
|
9
|
+
resolveConfig: import("../../types/config.js").ResolveConfig<import("../playwright/types.js").PlaywrightTestConfig>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IsPluginEnabled } from '../../types/config.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
enablers: string[];
|
|
5
|
+
isEnabled: IsPluginEnabled;
|
|
6
|
+
args: {
|
|
7
|
+
binaries: string[];
|
|
8
|
+
positional: boolean;
|
|
9
|
+
args: (args: string[]) => string[];
|
|
10
|
+
config: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { PostCSSConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<PostCSSConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { PreconstructConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveEntryPaths: ResolveConfig<PreconstructConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { PrettierConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<PrettierConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|