knip 5.50.0 → 5.50.2
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 +183 -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 +71 -0
- package/dist/WorkspaceWorker.js +20 -14
- 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 +1007 -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/graph/build.js +2 -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/i18next-parser/index.d.ts +12 -0
- package/dist/plugins/i18next-parser/index.js +16 -0
- package/dist/plugins/index.d.ts +798 -0
- package/dist/plugins/index.js +2 -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 +5551 -0
- package/dist/schema/plugins.d.ts +2250 -0
- package/dist/schema/plugins.js +1 -0
- package/dist/types/PluginNames.d.ts +2 -0
- package/dist/types/PluginNames.js +1 -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
- package/schema.json +4 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, Resolve } from '../../types/config.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
enablers: string[];
|
|
5
|
+
isEnabled: IsPluginEnabled;
|
|
6
|
+
config: string[];
|
|
7
|
+
entry: string[];
|
|
8
|
+
production: string[];
|
|
9
|
+
resolve: Resolve;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { AvaConfig } 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<AvaConfig>;
|
|
10
|
+
resolveConfig: ResolveConfig<AvaConfig>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const resolveName: (identifier: string, namespace: "preset" | "plugin") => string;
|
|
2
|
+
export declare const api: {
|
|
3
|
+
assertVersion: () => boolean;
|
|
4
|
+
cache: {
|
|
5
|
+
(): undefined;
|
|
6
|
+
forever(): any;
|
|
7
|
+
never(): any;
|
|
8
|
+
using(): any;
|
|
9
|
+
invalidate(): any;
|
|
10
|
+
};
|
|
11
|
+
caller: () => boolean;
|
|
12
|
+
env: (env?: string) => true | "development";
|
|
13
|
+
version: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import { type Input } from '../../util/input.js';
|
|
3
|
+
import type { BabelConfig, BabelConfigObj } from './types.js';
|
|
4
|
+
export declare const getDependenciesFromConfig: (config: BabelConfigObj) => Input[];
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
enablers: RegExp[];
|
|
8
|
+
isEnabled: IsPluginEnabled;
|
|
9
|
+
config: string[];
|
|
10
|
+
resolveConfig: ResolveConfig<BabelConfig>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { api } from './helpers.js';
|
|
2
|
+
type BabelConfigFn = (options: typeof api) => BabelConfigObj;
|
|
3
|
+
export type BabelConfigObj = {
|
|
4
|
+
plugins?: (string | [string, unknown])[];
|
|
5
|
+
presets?: (string | [string, unknown])[];
|
|
6
|
+
env?: Record<string, BabelConfigObj>;
|
|
7
|
+
overrides?: BabelConfigObj[];
|
|
8
|
+
};
|
|
9
|
+
export type BabelConfig = BabelConfigObj | BabelConfigFn;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { CapacitorConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: RegExp[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<CapacitorConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { ChangesetsConfig } 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<ChangesetsConfig>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { CommitizenConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
isRootOnly: true;
|
|
8
|
+
packageJsonPath: string;
|
|
9
|
+
config: string[];
|
|
10
|
+
resolveConfig: ResolveConfig<CommitizenConfig>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { CommitLintConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<CommitLintConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type CommitLintConfig = {
|
|
2
|
+
extends?: string | string[];
|
|
3
|
+
plugins?: string[];
|
|
4
|
+
formatter?: string;
|
|
5
|
+
parserPreset?: string | ParserPreset | Promise<ParserPreset>;
|
|
6
|
+
};
|
|
7
|
+
type ParserPreset = {
|
|
8
|
+
name?: string;
|
|
9
|
+
path?: string;
|
|
10
|
+
parserOpts?: unknown;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { CSpellConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<CSpellConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { CucumberConfig } 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<CucumberConfig>;
|
|
10
|
+
resolveConfig: ResolveConfig<CucumberConfig>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { CypressConfig } 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;
|
|
10
|
+
resolveConfig: ResolveConfig<CypressConfig>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { IsPluginEnabled } from '../../types/config.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
enablers: string[];
|
|
5
|
+
isEnabled: IsPluginEnabled;
|
|
6
|
+
config: string[];
|
|
7
|
+
args: {
|
|
8
|
+
binaries: string[];
|
|
9
|
+
config: boolean;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { DrizzleConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<DrizzleConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import type { EleventyConfig } from './types.js';
|
|
2
|
+
export declare class DummyEleventyConfig {
|
|
3
|
+
_getUniqueId(): void;
|
|
4
|
+
reset(): void;
|
|
5
|
+
versionCheck(): void;
|
|
6
|
+
on(): void;
|
|
7
|
+
emit(): void;
|
|
8
|
+
_enablePluginExecution(): void;
|
|
9
|
+
addMarkdownHighlighter(): void;
|
|
10
|
+
addLiquidTag(): void;
|
|
11
|
+
addLiquidFilter(): void;
|
|
12
|
+
addNunjucksAsyncFilter(): void;
|
|
13
|
+
addNunjucksFilter(): void;
|
|
14
|
+
addHandlebarsHelper(): void;
|
|
15
|
+
addFilter(): void;
|
|
16
|
+
addAsyncFilter(): void;
|
|
17
|
+
getFilter(): void;
|
|
18
|
+
addNunjucksTag(): void;
|
|
19
|
+
addGlobalData(): void;
|
|
20
|
+
addNunjucksGlobal(): void;
|
|
21
|
+
addTransform(): void;
|
|
22
|
+
addLinter(): void;
|
|
23
|
+
addLayoutAlias(): void;
|
|
24
|
+
setLayoutResolution(): void;
|
|
25
|
+
enableLayoutResolution(): void;
|
|
26
|
+
getCollections(): void;
|
|
27
|
+
addCollection(): void;
|
|
28
|
+
addPlugin(): void;
|
|
29
|
+
_getPluginName(): void;
|
|
30
|
+
_executePlugin(): void;
|
|
31
|
+
getNamespacedName(): void;
|
|
32
|
+
namespace(): void;
|
|
33
|
+
addPassthroughCopy(input: string | Record<string, string>): void;
|
|
34
|
+
_normalizeTemplateFormats(): void;
|
|
35
|
+
setTemplateFormats(): void;
|
|
36
|
+
addTemplateFormats(): void;
|
|
37
|
+
setLibrary(): void;
|
|
38
|
+
amendLibrary(): void;
|
|
39
|
+
setPugOptions(): void;
|
|
40
|
+
setLiquidOptions(): void;
|
|
41
|
+
setNunjucksEnvironmentOptions(): void;
|
|
42
|
+
setNunjucksPrecompiledTemplates(): void;
|
|
43
|
+
setEjsOptions(): void;
|
|
44
|
+
setDynamicPermalinks(): void;
|
|
45
|
+
setUseGitIgnore(): void;
|
|
46
|
+
addShortcode(): void;
|
|
47
|
+
addAsyncShortcode(): void;
|
|
48
|
+
addNunjucksAsyncShortcode(): void;
|
|
49
|
+
addNunjucksShortcode(): void;
|
|
50
|
+
addLiquidShortcode(): void;
|
|
51
|
+
addHandlebarsShortcode(): void;
|
|
52
|
+
addPairedShortcode(): void;
|
|
53
|
+
addPairedAsyncShortcode(): void;
|
|
54
|
+
addPairedNunjucksAsyncShortcode(): void;
|
|
55
|
+
addPairedNunjucksShortcode(): void;
|
|
56
|
+
addPairedLiquidShortcode(): void;
|
|
57
|
+
addPairedHandlebarsShortcode(): void;
|
|
58
|
+
addJavaScriptFunction(): void;
|
|
59
|
+
setDataDeepMerge(): void;
|
|
60
|
+
isDataDeepMergeModified(): void;
|
|
61
|
+
addWatchTarget(): void;
|
|
62
|
+
setWatchJavaScriptDependencies(): void;
|
|
63
|
+
setServerOptions(): void;
|
|
64
|
+
setBrowserSyncConfig(): void;
|
|
65
|
+
setChokidarConfig(): void;
|
|
66
|
+
setWatchThrottleWaitTime(): void;
|
|
67
|
+
setFrontMatterParsingOptions(): void;
|
|
68
|
+
setQuietMode(): void;
|
|
69
|
+
addExtension(): void;
|
|
70
|
+
addDataExtension(): void;
|
|
71
|
+
setUseTemplateCache(): void;
|
|
72
|
+
setPrecompiledCollections(): void;
|
|
73
|
+
setServerPassthroughCopyBehavior(): void;
|
|
74
|
+
addUrlTransform(): void;
|
|
75
|
+
setDataFileSuffixes(): void;
|
|
76
|
+
setDataFileBaseName(): void;
|
|
77
|
+
getMergingConfigObject(): void;
|
|
78
|
+
_uniqueId: {};
|
|
79
|
+
events: {};
|
|
80
|
+
benchmarkManager: {};
|
|
81
|
+
benchmarks: {};
|
|
82
|
+
collections: {};
|
|
83
|
+
precompiledCollections: {};
|
|
84
|
+
templateFormats: {};
|
|
85
|
+
liquidOptions: {};
|
|
86
|
+
liquidTags: {};
|
|
87
|
+
liquidFilters: {};
|
|
88
|
+
liquidShortcodes: {};
|
|
89
|
+
liquidPairedShortcodes: {};
|
|
90
|
+
nunjucksEnvironmentOptions: {};
|
|
91
|
+
nunjucksPrecompiledTemplates: {};
|
|
92
|
+
nunjucksFilters: {};
|
|
93
|
+
nunjucksAsyncFilters: {};
|
|
94
|
+
nunjucksTags: {};
|
|
95
|
+
nunjucksGlobals: {};
|
|
96
|
+
nunjucksShortcodes: {};
|
|
97
|
+
nunjucksAsyncShortcodes: {};
|
|
98
|
+
nunjucksPairedShortcodes: {};
|
|
99
|
+
nunjucksAsyncPairedShortcodes: {};
|
|
100
|
+
javascriptFunctions: {};
|
|
101
|
+
markdownHighlighter: null;
|
|
102
|
+
libraryOverrides: {};
|
|
103
|
+
passthroughCopies: Record<string, Record<never, never>>;
|
|
104
|
+
layoutAliases: {};
|
|
105
|
+
layoutResolution: boolean;
|
|
106
|
+
linters: {};
|
|
107
|
+
transforms: {};
|
|
108
|
+
activeNamespace: string;
|
|
109
|
+
DateTime: {};
|
|
110
|
+
dynamicPermalinks: boolean;
|
|
111
|
+
useGitIgnore: boolean;
|
|
112
|
+
ignores: Set<unknown>;
|
|
113
|
+
watchIgnores: Set<unknown>;
|
|
114
|
+
dataDeepMerge: boolean;
|
|
115
|
+
extensionMap: Set<unknown>;
|
|
116
|
+
watchJavaScriptDependencies: boolean;
|
|
117
|
+
additionalWatchTargets: never[];
|
|
118
|
+
serverOptions: {};
|
|
119
|
+
globalData: {};
|
|
120
|
+
chokidarConfig: {};
|
|
121
|
+
watchThrottleWaitTime: number;
|
|
122
|
+
dataExtensions: Map<any, any>;
|
|
123
|
+
quietMode: boolean;
|
|
124
|
+
plugins: never[];
|
|
125
|
+
_pluginExecution: boolean;
|
|
126
|
+
useTemplateCache: boolean;
|
|
127
|
+
dataFilterSelectors: Set<unknown>;
|
|
128
|
+
libraryAmendments: {};
|
|
129
|
+
serverPassthroughCopyBehavior: string;
|
|
130
|
+
urlTransforms: never[];
|
|
131
|
+
dataFileSuffixesOverride: boolean;
|
|
132
|
+
dataFileDirBaseNameOverride: boolean;
|
|
133
|
+
frontMatterParsingOptions: {
|
|
134
|
+
engines: {};
|
|
135
|
+
};
|
|
136
|
+
templateFormatsAdded: {};
|
|
137
|
+
}
|
|
138
|
+
export declare const defaultEleventyConfig: EleventyConfig;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import { DummyEleventyConfig } from './helpers.js';
|
|
3
|
+
import type { EleventyConfig } from './types.js';
|
|
4
|
+
type T = Partial<EleventyConfig> | ((arg: DummyEleventyConfig) => Promise<Partial<EleventyConfig>>);
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
enablers: string[];
|
|
8
|
+
isEnabled: IsPluginEnabled;
|
|
9
|
+
config: string[];
|
|
10
|
+
production: string[];
|
|
11
|
+
resolveEntryPaths: ResolveEntryPaths<T>;
|
|
12
|
+
resolveConfig: ResolveConfig<T>;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PluginOptions } from '../../types/config.js';
|
|
2
|
+
import { type ConfigInput, type Input } from '../../util/input.js';
|
|
3
|
+
import type { ESLintConfig, ESLintConfigDeprecated, OverrideConfigDeprecated } from './types.js';
|
|
4
|
+
export declare const getInputs: (config: ESLintConfigDeprecated | OverrideConfigDeprecated | ESLintConfig, options: PluginOptions) => (Input | ConfigInput)[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { ESLintConfigDeprecated } 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
|
+
packageJsonPath: string;
|
|
11
|
+
entry: string[];
|
|
12
|
+
config: string[];
|
|
13
|
+
resolveConfig: ResolveConfig<ESLintConfigDeprecated>;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type ParserOptions = {
|
|
2
|
+
project?: string;
|
|
3
|
+
parser?: string;
|
|
4
|
+
babelOptions?: {
|
|
5
|
+
plugins: string[];
|
|
6
|
+
presets: string[];
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
type Settings = Record<string, Record<string, unknown> | string>;
|
|
10
|
+
type Rules = Record<string, string | number>;
|
|
11
|
+
type BaseConfig = {
|
|
12
|
+
extends?: string | string[];
|
|
13
|
+
parser?: string;
|
|
14
|
+
parserOptions?: ParserOptions;
|
|
15
|
+
processor?: string;
|
|
16
|
+
plugins?: string[];
|
|
17
|
+
settings?: Settings;
|
|
18
|
+
rules?: Rules;
|
|
19
|
+
};
|
|
20
|
+
export type ESLintConfig = BaseConfig[];
|
|
21
|
+
export type OverrideConfigDeprecated = BaseConfig & {
|
|
22
|
+
files: string[];
|
|
23
|
+
overrides: OverrideConfigDeprecated;
|
|
24
|
+
};
|
|
25
|
+
export type ESLintConfigDeprecated = BaseConfig & {
|
|
26
|
+
env?: Record<string, boolean>;
|
|
27
|
+
overrides?: OverrideConfigDeprecated[];
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PluginOptions, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { ExpoConfig } from './types.js';
|
|
3
|
+
export declare const getConfig: (localConfig: ExpoConfig, options: PluginOptions) => {
|
|
4
|
+
platforms?: ("ios" | "android" | "web")[];
|
|
5
|
+
notification?: Record<string, unknown>;
|
|
6
|
+
updates?: {
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
backgroundColor?: string;
|
|
10
|
+
userInterfaceStyle?: "automatic" | "light" | "dark";
|
|
11
|
+
ios?: {
|
|
12
|
+
backgroundColor?: string;
|
|
13
|
+
};
|
|
14
|
+
android?: {
|
|
15
|
+
userInterfaceStyle?: "automatic" | "light" | "dark";
|
|
16
|
+
};
|
|
17
|
+
androidNavigationBar?: Record<string, unknown>;
|
|
18
|
+
plugins?: (string | [string, Record<string, unknown>])[];
|
|
19
|
+
};
|
|
20
|
+
export declare const getDependencies: ResolveConfig<ExpoConfig>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
import type { ExpoConfig } from './types.js';
|
|
3
|
+
export declare const docs: {
|
|
4
|
+
production: string[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: {
|
|
7
|
+
title: string;
|
|
8
|
+
enablers: string[];
|
|
9
|
+
isEnabled: IsPluginEnabled;
|
|
10
|
+
config: string[];
|
|
11
|
+
resolveEntryPaths: ResolveEntryPaths<ExpoConfig>;
|
|
12
|
+
resolveConfig: ResolveConfig<ExpoConfig>;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type BaseConfig = {
|
|
2
|
+
platforms?: ('ios' | 'android' | 'web')[];
|
|
3
|
+
notification?: Record<string, unknown>;
|
|
4
|
+
updates?: {
|
|
5
|
+
enabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
backgroundColor?: string;
|
|
8
|
+
userInterfaceStyle?: 'automatic' | 'light' | 'dark';
|
|
9
|
+
ios?: {
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
};
|
|
12
|
+
android?: {
|
|
13
|
+
userInterfaceStyle?: 'automatic' | 'light' | 'dark';
|
|
14
|
+
};
|
|
15
|
+
androidNavigationBar?: Record<string, unknown>;
|
|
16
|
+
plugins?: (string | [string, Record<string, unknown>])[];
|
|
17
|
+
};
|
|
18
|
+
type ConfigContext = {
|
|
19
|
+
projectRoot: string;
|
|
20
|
+
staticConfigPath: string | null;
|
|
21
|
+
packageJsonPath: string | null;
|
|
22
|
+
config: Partial<BaseConfig>;
|
|
23
|
+
};
|
|
24
|
+
type ExpoConfigOrProp = BaseConfig | {
|
|
25
|
+
expo: BaseConfig;
|
|
26
|
+
};
|
|
27
|
+
export type ExpoConfig = ExpoConfigOrProp | ((cfg: ConfigContext) => ExpoConfigOrProp);
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
import type { GatsbyConfig, GatsbyNode } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
production: string[];
|
|
9
|
+
resolveConfig: ResolveConfig<GatsbyConfig | GatsbyNode>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type GatsbyConfig = {
|
|
2
|
+
plugins: (string | {
|
|
3
|
+
resolve: string;
|
|
4
|
+
})[];
|
|
5
|
+
};
|
|
6
|
+
export type GatsbyActions = {
|
|
7
|
+
actions: {
|
|
8
|
+
setBabelPlugin: ({ name }: {
|
|
9
|
+
name: string;
|
|
10
|
+
}) => void;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type GatsbyNode = {
|
|
14
|
+
onCreateBabelConfig: (options: GatsbyActions) => void;
|
|
15
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveEntryPaths } from '../../types/config.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
enablers: string[];
|
|
5
|
+
isEnabled: IsPluginEnabled;
|
|
6
|
+
config: string[];
|
|
7
|
+
resolveEntryPaths: ResolveEntryPaths;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, PluginOptions, ResolveConfig } from '../../types/config.js';
|
|
2
|
+
export declare const getActionDependencies: (config: any, options: PluginOptions) => string[];
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string;
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
isRootOnly: true;
|
|
8
|
+
config: string[];
|
|
9
|
+
resolveConfig: ResolveConfig;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type Step = {
|
|
2
|
+
run?: string;
|
|
3
|
+
uses?: string;
|
|
4
|
+
with?: {
|
|
5
|
+
repository: string;
|
|
6
|
+
path: string;
|
|
7
|
+
};
|
|
8
|
+
'working-directory'?: string;
|
|
9
|
+
};
|
|
10
|
+
type Steps = Step[];
|
|
11
|
+
export type Job = {
|
|
12
|
+
steps: Steps;
|
|
13
|
+
};
|
|
14
|
+
export type Runs = {
|
|
15
|
+
using: string;
|
|
16
|
+
main?: string;
|
|
17
|
+
pre?: string;
|
|
18
|
+
post?: string;
|
|
19
|
+
};
|
|
20
|
+
export {};
|