knip 5.33.3 → 5.34.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/ConfigurationChief.d.ts +27 -27
- package/dist/ConfigurationChief.js +20 -36
- package/dist/ConfigurationValidator.d.ts +392 -0
- package/dist/ConfigurationValidator.js +7 -0
- package/dist/DependencyDeputy.js +5 -2
- package/dist/PrincipalFactory.d.ts +3 -20
- package/dist/PrincipalFactory.js +4 -4
- package/dist/ProjectPrincipal.d.ts +2 -5
- package/dist/ProjectPrincipal.js +0 -5
- package/dist/WorkspaceWorker.d.ts +15 -13
- package/dist/WorkspaceWorker.js +144 -105
- package/dist/binaries/bash-parser.d.ts +3 -2
- package/dist/binaries/bash-parser.js +33 -23
- package/dist/binaries/fallback.d.ts +2 -0
- package/dist/binaries/fallback.js +12 -0
- package/dist/binaries/index.d.ts +2 -2
- package/dist/binaries/index.js +17 -26
- package/dist/binaries/package-manager/bun.d.ts +2 -0
- package/dist/binaries/{resolvers → package-manager}/bun.js +6 -4
- package/dist/binaries/package-manager/index.d.ts +8 -0
- package/dist/binaries/package-manager/index.js +12 -0
- package/dist/binaries/package-manager/npm.d.ts +2 -0
- package/dist/binaries/package-manager/npm.js +8 -0
- package/dist/binaries/package-manager/npx.d.ts +2 -0
- package/dist/binaries/{resolvers → package-manager}/npx.js +6 -6
- package/dist/binaries/package-manager/pnpm.d.ts +2 -0
- package/dist/binaries/{resolvers → package-manager}/pnpm.js +6 -3
- package/dist/binaries/package-manager/yarn.d.ts +2 -0
- package/dist/binaries/{resolvers → package-manager}/yarn.js +9 -7
- package/dist/binaries/plugins.d.ts +2 -0
- package/dist/binaries/plugins.js +61 -0
- package/dist/binaries/util.d.ts +2 -2
- package/dist/binaries/util.js +5 -25
- package/dist/compilers/index.d.ts +70 -0
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +2 -1
- package/dist/index.js +74 -46
- package/dist/manifest/helpers.d.ts +1 -5
- package/dist/manifest/helpers.js +8 -7
- package/dist/plugins/_template/index.d.ts +2 -2
- package/dist/plugins/_template/index.js +4 -3
- package/dist/plugins/angular/index.d.ts +1 -1
- package/dist/plugins/angular/index.js +13 -10
- package/dist/plugins/astro/index.d.ts +1 -1
- package/dist/plugins/astro/index.js +6 -5
- package/dist/plugins/ava/index.d.ts +1 -1
- package/dist/plugins/ava/index.js +4 -5
- package/dist/plugins/babel/helpers.js +1 -1
- package/dist/plugins/babel/index.d.ts +3 -2
- package/dist/plugins/babel/index.js +4 -3
- package/dist/plugins/c8/index.d.ts +10 -0
- package/dist/plugins/c8/index.js +11 -0
- package/dist/plugins/capacitor/index.d.ts +1 -1
- package/dist/plugins/capacitor/index.js +5 -4
- package/dist/plugins/changesets/index.d.ts +1 -1
- package/dist/plugins/changesets/index.js +4 -3
- package/dist/plugins/commitizen/index.d.ts +1 -1
- package/dist/plugins/commitizen/index.js +3 -2
- package/dist/plugins/commitlint/index.d.ts +1 -1
- package/dist/plugins/commitlint/index.js +4 -2
- package/dist/plugins/cspell/index.d.ts +1 -1
- package/dist/plugins/cspell/index.js +3 -2
- package/dist/plugins/cucumber/index.d.ts +2 -2
- package/dist/plugins/cucumber/index.js +4 -4
- package/dist/plugins/cypress/helpers.d.ts +1 -1
- package/dist/plugins/cypress/helpers.js +3 -4
- package/dist/plugins/cypress/index.d.ts +1 -1
- package/dist/plugins/cypress/index.js +6 -5
- package/dist/plugins/dotenv/index.d.ts +8 -0
- package/dist/plugins/dotenv/index.js +9 -0
- package/dist/plugins/drizzle/index.d.ts +1 -1
- package/dist/plugins/drizzle/index.js +3 -3
- package/dist/plugins/eleventy/index.d.ts +1 -1
- package/dist/plugins/eleventy/index.js +6 -6
- package/dist/plugins/eslint/helpers.d.ts +4 -5
- package/dist/plugins/eslint/helpers.js +10 -32
- package/dist/plugins/eslint/index.d.ts +1 -1
- package/dist/plugins/eslint/index.js +3 -6
- package/dist/plugins/gatsby/index.d.ts +1 -1
- package/dist/plugins/gatsby/index.js +6 -3
- package/dist/plugins/github-actions/index.d.ts +1 -1
- package/dist/plugins/github-actions/index.js +23 -7
- package/dist/plugins/graphql-codegen/index.d.ts +1 -1
- package/dist/plugins/graphql-codegen/index.js +7 -7
- package/dist/plugins/husky/index.d.ts +1 -1
- package/dist/plugins/husky/index.js +4 -3
- package/dist/plugins/index.d.ts +685 -77
- package/dist/plugins/index.js +170 -77
- package/dist/plugins/jest/index.d.ts +1 -1
- package/dist/plugins/jest/index.js +22 -24
- package/dist/plugins/ladle/index.d.ts +2 -2
- package/dist/plugins/ladle/index.js +4 -4
- package/dist/plugins/lefthook/index.d.ts +1 -1
- package/dist/plugins/lefthook/index.js +18 -14
- package/dist/plugins/lint-staged/index.d.ts +1 -1
- package/dist/plugins/lint-staged/index.js +6 -5
- package/dist/plugins/linthtml/index.d.ts +1 -1
- package/dist/plugins/linthtml/index.js +6 -8
- package/dist/plugins/lockfile-lint/index.d.ts +2 -2
- package/dist/plugins/lockfile-lint/index.js +2 -1
- package/dist/plugins/lost-pixel/index.d.ts +2 -2
- package/dist/plugins/lost-pixel/index.js +1 -1
- package/dist/plugins/markdownlint/index.d.ts +1 -1
- package/dist/plugins/markdownlint/index.js +3 -2
- package/dist/plugins/mocha/index.d.ts +4 -1
- package/dist/plugins/mocha/index.js +8 -4
- package/dist/plugins/moonrepo/index.d.ts +2 -2
- package/dist/plugins/moonrepo/index.js +4 -4
- package/dist/plugins/msw/index.d.ts +1 -1
- package/dist/plugins/msw/index.js +4 -4
- package/dist/plugins/nest/index.d.ts +2 -2
- package/dist/plugins/nest/index.js +4 -3
- package/dist/plugins/netlify/index.d.ts +1 -1
- package/dist/plugins/netlify/index.js +6 -6
- package/dist/plugins/next/index.d.ts +1 -1
- package/dist/plugins/next/index.js +1 -1
- package/dist/plugins/node/index.d.ts +8 -0
- package/dist/plugins/node/index.js +9 -0
- package/dist/plugins/node-test-runner/index.d.ts +1 -1
- package/dist/plugins/nodemon/index.d.ts +10 -0
- package/dist/plugins/nodemon/index.js +11 -0
- package/dist/plugins/npm-package-json-lint/index.d.ts +1 -1
- package/dist/plugins/npm-package-json-lint/index.js +4 -2
- package/dist/plugins/nuxt/index.d.ts +1 -1
- package/dist/plugins/nuxt/index.js +4 -4
- package/dist/plugins/nx/index.d.ts +5 -1
- package/dist/plugins/nx/index.js +10 -8
- package/dist/plugins/nyc/index.d.ts +1 -1
- package/dist/plugins/nyc/index.js +3 -2
- package/dist/plugins/oclif/index.d.ts +2 -2
- package/dist/plugins/oclif/index.js +3 -2
- package/dist/plugins/playwright/index.d.ts +13 -1
- package/dist/plugins/playwright/index.js +13 -6
- package/dist/plugins/playwright-ct/index.d.ts +9 -3
- package/dist/plugins/playwright-ct/index.js +3 -2
- package/dist/plugins/playwright-test/index.d.ts +13 -0
- package/dist/plugins/playwright-test/index.js +16 -0
- package/dist/plugins/postcss/index.d.ts +1 -1
- package/dist/plugins/postcss/index.js +5 -2
- package/dist/plugins/preconstruct/index.d.ts +1 -1
- package/dist/plugins/preconstruct/index.js +3 -3
- package/dist/plugins/prettier/index.d.ts +1 -1
- package/dist/plugins/prettier/index.js +5 -5
- package/dist/plugins/react-cosmos/index.d.ts +2 -2
- package/dist/plugins/react-cosmos/index.js +5 -6
- package/dist/plugins/release-it/index.d.ts +1 -1
- package/dist/plugins/release-it/index.js +4 -3
- package/dist/plugins/remark/index.d.ts +1 -1
- package/dist/plugins/remark/index.js +3 -2
- package/dist/plugins/remix/index.d.ts +1 -1
- package/dist/plugins/remix/index.js +1 -1
- package/dist/plugins/rollup/index.d.ts +3 -1
- package/dist/plugins/rollup/index.js +8 -1
- package/dist/plugins/rsbuild/index.d.ts +2 -2
- package/dist/plugins/rsbuild/index.js +1 -1
- package/dist/plugins/rspack/index.d.ts +2 -2
- package/dist/plugins/rspack/index.js +4 -8
- package/dist/plugins/semantic-release/index.d.ts +1 -1
- package/dist/plugins/semantic-release/index.js +4 -2
- package/dist/plugins/sentry/index.d.ts +1 -1
- package/dist/plugins/sentry/index.js +1 -1
- package/dist/plugins/simple-git-hooks/index.d.ts +2 -2
- package/dist/plugins/simple-git-hooks/index.js +5 -5
- package/dist/plugins/size-limit/index.d.ts +2 -2
- package/dist/plugins/size-limit/index.js +2 -1
- package/dist/plugins/storybook/index.d.ts +1 -1
- package/dist/plugins/storybook/index.js +5 -5
- package/dist/plugins/stryker/index.d.ts +1 -1
- package/dist/plugins/stryker/index.js +3 -2
- package/dist/plugins/stylelint/index.d.ts +1 -1
- package/dist/plugins/stylelint/index.js +4 -3
- package/dist/plugins/svelte/index.d.ts +1 -1
- package/dist/plugins/svelte/index.js +1 -1
- package/dist/plugins/syncpack/index.d.ts +2 -3
- package/dist/plugins/syncpack/index.js +2 -4
- package/dist/plugins/tailwind/index.d.ts +1 -1
- package/dist/plugins/tailwind/index.js +1 -1
- package/dist/plugins/travis/index.d.ts +1 -1
- package/dist/plugins/travis/index.js +2 -3
- package/dist/plugins/ts-node/index.d.ts +15 -0
- package/dist/plugins/ts-node/index.js +12 -0
- package/dist/plugins/tsup/index.d.ts +4 -1
- package/dist/plugins/tsup/index.js +7 -3
- package/dist/plugins/tsx/index.d.ts +9 -0
- package/dist/plugins/tsx/index.js +10 -0
- package/dist/plugins/typedoc/index.d.ts +4 -1
- package/dist/plugins/typedoc/index.js +10 -3
- package/dist/plugins/typedoc/types.d.ts +1 -0
- package/dist/plugins/typescript/index.d.ts +11 -2
- package/dist/plugins/typescript/index.js +19 -34
- package/dist/plugins/unbuild/index.d.ts +1 -1
- package/dist/plugins/unbuild/index.js +3 -3
- package/dist/plugins/unocss/index.d.ts +2 -2
- package/dist/plugins/unocss/index.js +2 -1
- package/dist/plugins/vercel-og/index.d.ts +1 -1
- package/dist/plugins/vercel-og/index.js +1 -1
- package/dist/plugins/vike/index.d.ts +2 -2
- package/dist/plugins/vike/index.js +1 -1
- package/dist/plugins/vite/index.d.ts +3 -3
- package/dist/plugins/vite/index.js +2 -2
- package/dist/plugins/vitest/index.d.ts +4 -1
- package/dist/plugins/vitest/index.js +31 -20
- package/dist/plugins/vue/index.d.ts +1 -1
- package/dist/plugins/vue/index.js +10 -10
- package/dist/plugins/webdriver-io/index.d.ts +1 -1
- package/dist/plugins/webdriver-io/index.js +3 -2
- package/dist/plugins/webpack/index.d.ts +3 -5
- package/dist/plugins/webpack/index.js +18 -19
- package/dist/plugins/wireit/index.d.ts +1 -1
- package/dist/plugins/wireit/index.js +2 -2
- package/dist/plugins/wrangler/index.d.ts +1 -1
- package/dist/plugins/wrangler/index.js +3 -2
- package/dist/plugins/xo/index.d.ts +2 -2
- package/dist/plugins/xo/index.js +4 -4
- package/dist/plugins/yorkie/index.d.ts +1 -1
- package/dist/plugins/yorkie/index.js +6 -5
- package/dist/plugins.d.ts +7 -4
- package/dist/plugins.js +17 -10
- package/dist/reporters/symbols.js +1 -1
- package/dist/types/PluginNames.d.ts +2 -0
- package/dist/types/PluginNames.js +86 -0
- package/dist/types/args.d.ts +14 -0
- package/dist/types/config.d.ts +84 -21
- package/dist/types/package-json.d.ts +10 -0
- package/dist/types/project.d.ts +18 -0
- package/dist/typescript/get-imports-and-exports.d.ts +1 -11
- package/dist/typescript/get-imports-and-exports.js +3 -1
- package/dist/typescript/visitors/dynamic-imports/importCall.d.ts +1 -1
- 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/requireCall.d.ts +1 -1
- package/dist/typescript/visitors/dynamic-imports/resolveCall.d.ts +1 -1
- 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/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 +1 -1
- package/dist/util/create-workspace-graph.js +7 -7
- package/dist/util/debug.d.ts +2 -2
- package/dist/util/debug.js +1 -1
- package/dist/util/glob.js +2 -2
- package/dist/util/handle-referenced-inputs.d.ts +5 -0
- package/dist/util/handle-referenced-inputs.js +86 -0
- package/dist/util/input.d.ts +37 -0
- package/dist/util/input.js +36 -0
- package/dist/util/map-workspaces.d.ts +5 -2
- package/dist/util/map-workspaces.js +6 -6
- package/dist/util/modules.d.ts +1 -0
- package/dist/util/modules.js +4 -3
- package/dist/util/object.d.ts +1 -0
- package/dist/util/object.js +19 -0
- package/dist/util/plugin-config.d.ts +24 -0
- package/dist/util/plugin-config.js +32 -0
- package/dist/util/plugin.d.ts +3 -31
- package/dist/util/plugin.js +9 -54
- package/dist/util/regex.js +3 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +7 -10
- package/schema.json +28 -0
- package/dist/binaries/resolvers/bun.d.ts +0 -2
- package/dist/binaries/resolvers/c8.d.ts +0 -2
- package/dist/binaries/resolvers/c8.js +0 -11
- package/dist/binaries/resolvers/dotenv.d.ts +0 -2
- package/dist/binaries/resolvers/dotenv.js +0 -7
- package/dist/binaries/resolvers/fallback.d.ts +0 -2
- package/dist/binaries/resolvers/fallback.js +0 -26
- package/dist/binaries/resolvers/index.d.ts +0 -15
- package/dist/binaries/resolvers/index.js +0 -26
- package/dist/binaries/resolvers/node.d.ts +0 -4
- package/dist/binaries/resolvers/node.js +0 -11
- package/dist/binaries/resolvers/nodemon.d.ts +0 -2
- package/dist/binaries/resolvers/nodemon.js +0 -16
- package/dist/binaries/resolvers/npx.d.ts +0 -2
- package/dist/binaries/resolvers/nx.d.ts +0 -2
- package/dist/binaries/resolvers/nx.js +0 -9
- package/dist/binaries/resolvers/pnpm.d.ts +0 -2
- package/dist/binaries/resolvers/rollup.d.ts +0 -2
- package/dist/binaries/resolvers/rollup.js +0 -12
- package/dist/binaries/resolvers/ts-node.d.ts +0 -2
- package/dist/binaries/resolvers/ts-node.js +0 -16
- package/dist/binaries/resolvers/tsx.d.ts +0 -2
- package/dist/binaries/resolvers/tsx.js +0 -6
- package/dist/binaries/resolvers/yarn.d.ts +0 -2
- package/dist/binaries/types.d.ts +0 -11
- package/dist/types/plugins.d.ts +0 -42
- package/dist/util/handle-dependency.d.ts +0 -4
- package/dist/util/handle-dependency.js +0 -63
- package/dist/util/protocols.d.ts +0 -9
- package/dist/util/protocols.js +0 -9
- /package/dist/{binaries/types.js → types/args.js} +0 -0
- /package/dist/types/{plugins.js → project.js} +0 -0
package/dist/plugins/index.js
CHANGED
|
@@ -1,77 +1,170 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
1
|
+
import { default as angular } from './angular/index.js';
|
|
2
|
+
import { default as astro } from './astro/index.js';
|
|
3
|
+
import { default as ava } from './ava/index.js';
|
|
4
|
+
import { default as babel } from './babel/index.js';
|
|
5
|
+
import { default as c8 } from './c8/index.js';
|
|
6
|
+
import { default as capacitor } from './capacitor/index.js';
|
|
7
|
+
import { default as changesets } from './changesets/index.js';
|
|
8
|
+
import { default as commitizen } from './commitizen/index.js';
|
|
9
|
+
import { default as commitlint } from './commitlint/index.js';
|
|
10
|
+
import { default as cspell } from './cspell/index.js';
|
|
11
|
+
import { default as cucumber } from './cucumber/index.js';
|
|
12
|
+
import { default as cypress } from './cypress/index.js';
|
|
13
|
+
import { default as dotenv } from './dotenv/index.js';
|
|
14
|
+
import { default as drizzle } from './drizzle/index.js';
|
|
15
|
+
import { default as eleventy } from './eleventy/index.js';
|
|
16
|
+
import { default as eslint } from './eslint/index.js';
|
|
17
|
+
import { default as gatsby } from './gatsby/index.js';
|
|
18
|
+
import { default as githubActions } from './github-actions/index.js';
|
|
19
|
+
import { default as graphqlCodegen } from './graphql-codegen/index.js';
|
|
20
|
+
import { default as husky } from './husky/index.js';
|
|
21
|
+
import { default as jest } from './jest/index.js';
|
|
22
|
+
import { default as ladle } from './ladle/index.js';
|
|
23
|
+
import { default as lefthook } from './lefthook/index.js';
|
|
24
|
+
import { default as lintStaged } from './lint-staged/index.js';
|
|
25
|
+
import { default as linthtml } from './linthtml/index.js';
|
|
26
|
+
import { default as lockfileLint } from './lockfile-lint/index.js';
|
|
27
|
+
import { default as lostPixel } from './lost-pixel/index.js';
|
|
28
|
+
import { default as markdownlint } from './markdownlint/index.js';
|
|
29
|
+
import { default as mocha } from './mocha/index.js';
|
|
30
|
+
import { default as moonrepo } from './moonrepo/index.js';
|
|
31
|
+
import { default as msw } from './msw/index.js';
|
|
32
|
+
import { default as nest } from './nest/index.js';
|
|
33
|
+
import { default as netlify } from './netlify/index.js';
|
|
34
|
+
import { default as next } from './next/index.js';
|
|
35
|
+
import { default as nodeTestRunner } from './node-test-runner/index.js';
|
|
36
|
+
import { default as node } from './node/index.js';
|
|
37
|
+
import { default as nodemon } from './nodemon/index.js';
|
|
38
|
+
import { default as npmPackageJsonLint } from './npm-package-json-lint/index.js';
|
|
39
|
+
import { default as nuxt } from './nuxt/index.js';
|
|
40
|
+
import { default as nx } from './nx/index.js';
|
|
41
|
+
import { default as nyc } from './nyc/index.js';
|
|
42
|
+
import { default as oclif } from './oclif/index.js';
|
|
43
|
+
import { default as playwrightCt } from './playwright-ct/index.js';
|
|
44
|
+
import { default as playwrightTest } from './playwright-test/index.js';
|
|
45
|
+
import { default as playwright } from './playwright/index.js';
|
|
46
|
+
import { default as postcss } from './postcss/index.js';
|
|
47
|
+
import { default as preconstruct } from './preconstruct/index.js';
|
|
48
|
+
import { default as prettier } from './prettier/index.js';
|
|
49
|
+
import { default as reactCosmos } from './react-cosmos/index.js';
|
|
50
|
+
import { default as releaseIt } from './release-it/index.js';
|
|
51
|
+
import { default as remark } from './remark/index.js';
|
|
52
|
+
import { default as remix } from './remix/index.js';
|
|
53
|
+
import { default as rollup } from './rollup/index.js';
|
|
54
|
+
import { default as rsbuild } from './rsbuild/index.js';
|
|
55
|
+
import { default as rspack } from './rspack/index.js';
|
|
56
|
+
import { default as semanticRelease } from './semantic-release/index.js';
|
|
57
|
+
import { default as sentry } from './sentry/index.js';
|
|
58
|
+
import { default as simpleGitHooks } from './simple-git-hooks/index.js';
|
|
59
|
+
import { default as sizeLimit } from './size-limit/index.js';
|
|
60
|
+
import { default as storybook } from './storybook/index.js';
|
|
61
|
+
import { default as stryker } from './stryker/index.js';
|
|
62
|
+
import { default as stylelint } from './stylelint/index.js';
|
|
63
|
+
import { default as svelte } from './svelte/index.js';
|
|
64
|
+
import { default as syncpack } from './syncpack/index.js';
|
|
65
|
+
import { default as tailwind } from './tailwind/index.js';
|
|
66
|
+
import { default as travis } from './travis/index.js';
|
|
67
|
+
import { default as tsNode } from './ts-node/index.js';
|
|
68
|
+
import { default as tsup } from './tsup/index.js';
|
|
69
|
+
import { default as tsx } from './tsx/index.js';
|
|
70
|
+
import { default as typedoc } from './typedoc/index.js';
|
|
71
|
+
import { default as typescript } from './typescript/index.js';
|
|
72
|
+
import { default as unbuild } from './unbuild/index.js';
|
|
73
|
+
import { default as unocss } from './unocss/index.js';
|
|
74
|
+
import { default as vercelOg } from './vercel-og/index.js';
|
|
75
|
+
import { default as vike } from './vike/index.js';
|
|
76
|
+
import { default as vite } from './vite/index.js';
|
|
77
|
+
import { default as vitest } from './vitest/index.js';
|
|
78
|
+
import { default as vue } from './vue/index.js';
|
|
79
|
+
import { default as webdriverIo } from './webdriver-io/index.js';
|
|
80
|
+
import { default as webpack } from './webpack/index.js';
|
|
81
|
+
import { default as wireit } from './wireit/index.js';
|
|
82
|
+
import { default as wrangler } from './wrangler/index.js';
|
|
83
|
+
import { default as xo } from './xo/index.js';
|
|
84
|
+
import { default as yorkie } from './yorkie/index.js';
|
|
85
|
+
export const Plugins = {
|
|
86
|
+
angular,
|
|
87
|
+
astro,
|
|
88
|
+
ava,
|
|
89
|
+
babel,
|
|
90
|
+
c8,
|
|
91
|
+
capacitor,
|
|
92
|
+
changesets,
|
|
93
|
+
commitizen,
|
|
94
|
+
commitlint,
|
|
95
|
+
cspell,
|
|
96
|
+
cucumber,
|
|
97
|
+
cypress,
|
|
98
|
+
dotenv,
|
|
99
|
+
drizzle,
|
|
100
|
+
eleventy,
|
|
101
|
+
eslint,
|
|
102
|
+
gatsby,
|
|
103
|
+
'github-actions': githubActions,
|
|
104
|
+
'graphql-codegen': graphqlCodegen,
|
|
105
|
+
husky,
|
|
106
|
+
jest,
|
|
107
|
+
ladle,
|
|
108
|
+
lefthook,
|
|
109
|
+
linthtml,
|
|
110
|
+
'lint-staged': lintStaged,
|
|
111
|
+
'lockfile-lint': lockfileLint,
|
|
112
|
+
'lost-pixel': lostPixel,
|
|
113
|
+
markdownlint,
|
|
114
|
+
mocha,
|
|
115
|
+
moonrepo,
|
|
116
|
+
msw,
|
|
117
|
+
nest,
|
|
118
|
+
netlify,
|
|
119
|
+
next,
|
|
120
|
+
node,
|
|
121
|
+
nodemon,
|
|
122
|
+
'node-test-runner': nodeTestRunner,
|
|
123
|
+
'npm-package-json-lint': npmPackageJsonLint,
|
|
124
|
+
nuxt,
|
|
125
|
+
nx,
|
|
126
|
+
nyc,
|
|
127
|
+
oclif,
|
|
128
|
+
playwright,
|
|
129
|
+
'playwright-ct': playwrightCt,
|
|
130
|
+
'playwright-test': playwrightTest,
|
|
131
|
+
postcss,
|
|
132
|
+
preconstruct,
|
|
133
|
+
prettier,
|
|
134
|
+
'react-cosmos': reactCosmos,
|
|
135
|
+
'release-it': releaseIt,
|
|
136
|
+
remark,
|
|
137
|
+
remix,
|
|
138
|
+
rollup,
|
|
139
|
+
rsbuild,
|
|
140
|
+
rspack,
|
|
141
|
+
'semantic-release': semanticRelease,
|
|
142
|
+
sentry,
|
|
143
|
+
'simple-git-hooks': simpleGitHooks,
|
|
144
|
+
'size-limit': sizeLimit,
|
|
145
|
+
storybook,
|
|
146
|
+
stryker,
|
|
147
|
+
stylelint,
|
|
148
|
+
svelte,
|
|
149
|
+
syncpack,
|
|
150
|
+
tailwind,
|
|
151
|
+
travis,
|
|
152
|
+
'ts-node': tsNode,
|
|
153
|
+
tsup,
|
|
154
|
+
tsx,
|
|
155
|
+
typedoc,
|
|
156
|
+
typescript,
|
|
157
|
+
unbuild,
|
|
158
|
+
unocss,
|
|
159
|
+
'vercel-og': vercelOg,
|
|
160
|
+
vike,
|
|
161
|
+
vite,
|
|
162
|
+
vitest,
|
|
163
|
+
vue,
|
|
164
|
+
'webdriver-io': webdriverIo,
|
|
165
|
+
webpack,
|
|
166
|
+
wireit,
|
|
167
|
+
wrangler,
|
|
168
|
+
xo,
|
|
169
|
+
yorkie,
|
|
170
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
2
|
import type { JestConfig } from './types.js';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { toDeferResolve, toEntry } from '../../util/input.js';
|
|
2
|
+
import { dirname, isInternal, join, toAbsolute } from '../../util/path.js';
|
|
3
|
+
import { hasDependency, load } from '../../util/plugin.js';
|
|
4
4
|
const title = 'Jest';
|
|
5
5
|
const enablers = ['jest'];
|
|
6
6
|
const isEnabled = ({ dependencies, manifest }) => hasDependency(dependencies, enablers) || Boolean(manifest.name?.startsWith('jest-presets'));
|
|
7
7
|
const config = ['jest.config.{js,ts,mjs,cjs,json}', 'package.json'];
|
|
8
8
|
const entry = ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'];
|
|
9
9
|
const resolveExtensibleConfig = async (configFilePath) => {
|
|
10
|
-
|
|
10
|
+
let config = await load(configFilePath);
|
|
11
11
|
if (config?.preset) {
|
|
12
12
|
const { preset } = config;
|
|
13
13
|
if (isInternal(preset)) {
|
|
14
14
|
const presetConfigPath = toAbsolute(preset, dirname(configFilePath));
|
|
15
15
|
const presetConfig = await resolveExtensibleConfig(presetConfigPath);
|
|
16
|
-
Object.assign(
|
|
16
|
+
config = Object.assign({}, presetConfig, config);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
return config;
|
|
@@ -25,7 +25,7 @@ const resolveDependencies = async (config, options) => {
|
|
|
25
25
|
if (isInternal(preset)) {
|
|
26
26
|
const presetConfigPath = toAbsolute(preset, configFileDir);
|
|
27
27
|
const presetConfig = await resolveExtensibleConfig(presetConfigPath);
|
|
28
|
-
Object.assign(
|
|
28
|
+
config = Object.assign({}, presetConfig, config);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
const presets = (config.preset ? [config.preset] : []).map(preset => isInternal(preset) ? preset : join(preset, 'jest-preset'));
|
|
@@ -59,11 +59,10 @@ const resolveDependencies = async (config, options) => {
|
|
|
59
59
|
const snapshotResolver = config.snapshotResolver ? [config.snapshotResolver] : [];
|
|
60
60
|
const snapshotSerializers = config.snapshotSerializers ?? [];
|
|
61
61
|
const testSequencer = config.testSequencer ? [config.testSequencer] : [];
|
|
62
|
-
const
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
const
|
|
66
|
-
const globalTeardown = (config.globalTeardown ? [config.globalTeardown] : []).map(resolve);
|
|
62
|
+
const setupFiles = config.setupFiles ?? [];
|
|
63
|
+
const setupFilesAfterEnv = config.setupFilesAfterEnv ?? [];
|
|
64
|
+
const globalSetup = config.globalSetup ? [config.globalSetup] : [];
|
|
65
|
+
const globalTeardown = config.globalTeardown ? [config.globalTeardown] : [];
|
|
67
66
|
return [
|
|
68
67
|
...presets,
|
|
69
68
|
...projects,
|
|
@@ -82,29 +81,28 @@ const resolveDependencies = async (config, options) => {
|
|
|
82
81
|
...testSequencer,
|
|
83
82
|
...globalSetup,
|
|
84
83
|
...globalTeardown,
|
|
85
|
-
];
|
|
84
|
+
].map(id => (typeof id === 'string' ? toDeferResolve(id) : id));
|
|
86
85
|
};
|
|
87
86
|
const resolveEntryPaths = async (localConfig, options) => {
|
|
88
|
-
const {
|
|
87
|
+
const { configFileDir } = options;
|
|
89
88
|
if (typeof localConfig === 'function')
|
|
90
89
|
localConfig = await localConfig();
|
|
91
90
|
const rootDir = localConfig.rootDir ? join(configFileDir, localConfig.rootDir) : configFileDir;
|
|
92
|
-
const replaceRootDir = (name) =>
|
|
93
|
-
|
|
94
|
-
return (localConfig.testMatch ?? [])
|
|
95
|
-
.map(replaceRootDir)
|
|
96
|
-
.map(dependency => dependency.replace(matchCwd, toEntryPattern('')))
|
|
97
|
-
.map(toEntryPattern);
|
|
91
|
+
const replaceRootDir = (name) => name.replace(/<rootDir>/, rootDir);
|
|
92
|
+
return (localConfig.testMatch ?? []).map(replaceRootDir).map(toEntry);
|
|
98
93
|
};
|
|
99
94
|
const resolveConfig = async (localConfig, options) => {
|
|
100
|
-
const {
|
|
95
|
+
const { configFileDir } = options;
|
|
101
96
|
if (typeof localConfig === 'function')
|
|
102
97
|
localConfig = await localConfig();
|
|
103
98
|
const rootDir = localConfig.rootDir ? join(configFileDir, localConfig.rootDir) : configFileDir;
|
|
104
|
-
const replaceRootDir = (name) =>
|
|
105
|
-
const
|
|
106
|
-
const
|
|
107
|
-
|
|
99
|
+
const replaceRootDir = (name) => name.replace(/<rootDir>/, rootDir);
|
|
100
|
+
const inputs = await resolveDependencies(localConfig, options);
|
|
101
|
+
const result = inputs.map(dependency => {
|
|
102
|
+
dependency.specifier = replaceRootDir(dependency.specifier);
|
|
103
|
+
return dependency;
|
|
104
|
+
});
|
|
105
|
+
return result;
|
|
108
106
|
};
|
|
109
107
|
export default {
|
|
110
108
|
title,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
2
|
import type { LadleConfig } from './types.js';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
enablers:
|
|
5
|
+
enablers: string[];
|
|
6
6
|
isEnabled: IsPluginEnabled;
|
|
7
7
|
config: string[];
|
|
8
8
|
entry: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { toEntry } from '../../util/input.js';
|
|
2
|
+
import { toAbsolute } from '../../util/path.js';
|
|
3
|
+
import { hasDependency, load } from '../../util/plugin.js';
|
|
4
4
|
import { resolveConfig as resolveVitestConfig } from '../vitest/index.js';
|
|
5
5
|
const title = 'Ladle';
|
|
6
6
|
const enablers = ['@ladle/react'];
|
|
@@ -14,7 +14,7 @@ const resolveEntryPaths = (localConfig, options) => {
|
|
|
14
14
|
const localStories = typeof localConfig.stories === 'string' ? [localConfig.stories] : localConfig.stories;
|
|
15
15
|
const viteConfig = localConfig.viteConfig ? [toAbsolute(localConfig.viteConfig, options.cwd)] : [];
|
|
16
16
|
const patterns = [...restEntry, ...(localStories ?? stories), ...viteConfig];
|
|
17
|
-
return patterns.map(
|
|
17
|
+
return patterns.map(toEntry);
|
|
18
18
|
};
|
|
19
19
|
const resolveConfig = async (localConfig, options) => {
|
|
20
20
|
if (localConfig.viteConfig) {
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
import { getGitHookPaths } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { getGitHookPaths } from '../../util/git.js';
|
|
2
|
+
import { fromBinary, toDependency } from '../../util/input.js';
|
|
3
|
+
import { findByKeyDeep } from '../../util/object.js';
|
|
4
|
+
import { extname } from '../../util/path.js';
|
|
5
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
6
6
|
const title = 'Lefthook';
|
|
7
7
|
const enablers = ['lefthook', '@arkweid/lefthook', '@evilmartians/lefthook'];
|
|
8
8
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
9
9
|
const gitHookPaths = getGitHookPaths();
|
|
10
10
|
const config = ['lefthook.yml', ...gitHookPaths];
|
|
11
11
|
const resolveConfig = async (localConfig, options) => {
|
|
12
|
-
const { manifest,
|
|
13
|
-
|
|
14
|
-
return [];
|
|
15
|
-
const dependencies = manifest.devDependencies ? Object.keys(manifest.devDependencies) : [];
|
|
12
|
+
const { manifest, configFileName, cwd, getInputsFromScripts } = options;
|
|
13
|
+
const inputs = manifest.devDependencies ? Object.keys(manifest.devDependencies).map(toDependency) : [];
|
|
16
14
|
if (extname(configFileName) === '.yml') {
|
|
17
|
-
const scripts =
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
const scripts = findByKeyDeep(localConfig, 'run').flatMap(command => {
|
|
16
|
+
const deps = getInputsFromScripts([command.run], { ...options, knownBinsOnly: true });
|
|
17
|
+
const dir = command.root ?? cwd;
|
|
18
|
+
return deps.flatMap(dependency => ({ ...dependency, dir }));
|
|
19
|
+
});
|
|
20
|
+
const lefthook = process.env.CI
|
|
21
|
+
? enablers.filter(dependency => inputs.some(d => d.specifier === dependency)).map(toDependency)
|
|
22
|
+
: [];
|
|
23
|
+
return [...scripts, ...lefthook];
|
|
20
24
|
}
|
|
21
25
|
const script = localConfig;
|
|
22
26
|
if (!script)
|
|
23
27
|
return [];
|
|
24
|
-
const
|
|
25
|
-
const matches =
|
|
28
|
+
const scriptInputs = getInputsFromScripts(script);
|
|
29
|
+
const matches = scriptInputs.find(dep => inputs.some(d => d.specifier === fromBinary(dep)));
|
|
26
30
|
return matches ? [matches] : [];
|
|
27
31
|
};
|
|
28
32
|
export default {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toLilconfig } from '../../util/plugin-config.js';
|
|
2
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
2
3
|
const title = 'lint-staged';
|
|
3
4
|
const enablers = ['lint-staged'];
|
|
4
5
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
@@ -15,13 +16,13 @@ const resolveConfig = async (config, options) => {
|
|
|
15
16
|
config = config();
|
|
16
17
|
if (!config)
|
|
17
18
|
return [];
|
|
18
|
-
const
|
|
19
|
+
const inputs = new Set();
|
|
19
20
|
for (const entry of Object.values(config).flat()) {
|
|
20
21
|
const scripts = [typeof entry === 'function' ? await entry([]) : entry].flat();
|
|
21
|
-
for (const id of
|
|
22
|
-
|
|
22
|
+
for (const id of options.getInputsFromScripts(scripts))
|
|
23
|
+
inputs.add(id);
|
|
23
24
|
}
|
|
24
|
-
return Array.from(
|
|
25
|
+
return Array.from(inputs);
|
|
25
26
|
};
|
|
26
27
|
export default {
|
|
27
28
|
title,
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { toDeferResolve } from '../../util/input.js';
|
|
2
|
+
import { toCosmiconfig } from '../../util/plugin-config.js';
|
|
3
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
4
4
|
const title = 'LintHTML';
|
|
5
5
|
const packageJsonPath = 'linthtmlConfig';
|
|
6
6
|
const enablers = ['@linthtml/linthtml'];
|
|
7
7
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
8
8
|
const config = ['package.json', ...toCosmiconfig('linthtml')];
|
|
9
9
|
const resolveConfig = config => {
|
|
10
|
-
const extensions = [config.extends ?? []]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const plugins = [config.plugins ?? []].flat().map(plugin => (isInternal(plugin) ? toEntryPattern(plugin) : plugin));
|
|
14
|
-
return [...extensions, ...plugins];
|
|
10
|
+
const extensions = [config.extends ?? []].flat();
|
|
11
|
+
const plugins = [config.plugins ?? []].flat();
|
|
12
|
+
return [...extensions, ...plugins].map(toDeferResolve);
|
|
15
13
|
};
|
|
16
14
|
export default {
|
|
17
15
|
title,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IsPluginEnabled } from '
|
|
1
|
+
import type { IsPluginEnabled } from '../../types/config.js';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
enablers:
|
|
4
|
+
enablers: string[];
|
|
5
5
|
isEnabled: IsPluginEnabled;
|
|
6
6
|
config: string[];
|
|
7
7
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toCosmiconfig } from '../../util/plugin-config.js';
|
|
2
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
2
3
|
const title = 'lockfile-lint';
|
|
3
4
|
const enablers = ['lockfile-lint'];
|
|
4
5
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IsPluginEnabled } from '
|
|
1
|
+
import type { IsPluginEnabled } from '../../types/config.js';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
enablers:
|
|
4
|
+
enablers: string[];
|
|
5
5
|
isEnabled: IsPluginEnabled;
|
|
6
6
|
config: string[];
|
|
7
7
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { toDependency } from '../../util/input.js';
|
|
2
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
2
3
|
import { getArgumentValues } from './helpers.js';
|
|
3
4
|
const title = 'markdownlint';
|
|
4
5
|
const enablers = ['markdownlint-cli'];
|
|
@@ -13,7 +14,7 @@ const resolveConfig = (config, options) => {
|
|
|
13
14
|
const uses = scripts
|
|
14
15
|
.filter(script => script.includes('markdownlint '))
|
|
15
16
|
.flatMap(script => getArgumentValues(script, / (--rules|-r)[ =]([^ ]+)/g));
|
|
16
|
-
return [...extend, ...uses];
|
|
17
|
+
return [...extend, ...uses].map(toDependency);
|
|
17
18
|
};
|
|
18
19
|
export default {
|
|
19
20
|
title,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig, ResolveEntryPaths } from '../../types/config.js';
|
|
2
2
|
import type { MochaConfig } from './types.js';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
@@ -8,5 +8,8 @@ declare const _default: {
|
|
|
8
8
|
entry: string[];
|
|
9
9
|
resolveConfig: ResolveConfig<MochaConfig>;
|
|
10
10
|
resolveEntryPaths: ResolveEntryPaths<MochaConfig>;
|
|
11
|
+
args: {
|
|
12
|
+
nodeImportArgs: boolean;
|
|
13
|
+
};
|
|
11
14
|
};
|
|
12
15
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { toEntry } from '../../util/input.js';
|
|
2
|
+
import { hasDependency } from '../../util/plugin.js';
|
|
3
3
|
const title = 'Mocha';
|
|
4
4
|
const enablers = ['mocha'];
|
|
5
5
|
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
@@ -7,11 +7,14 @@ const config = ['.mocharc.{js,cjs,json,jsonc,yml,yaml}', 'package.json'];
|
|
|
7
7
|
const entry = ['**/test/*.{js,cjs,mjs}'];
|
|
8
8
|
const resolveEntryPaths = localConfig => {
|
|
9
9
|
const entryPatterns = localConfig.spec ? [localConfig.spec].flat() : [];
|
|
10
|
-
return [...entryPatterns].map(
|
|
10
|
+
return [...entryPatterns].map(toEntry);
|
|
11
11
|
};
|
|
12
12
|
const resolveConfig = localConfig => {
|
|
13
13
|
const require = localConfig.require ? [localConfig.require].flat() : [];
|
|
14
|
-
return [...require].map(
|
|
14
|
+
return [...require].map(toEntry);
|
|
15
|
+
};
|
|
16
|
+
const args = {
|
|
17
|
+
nodeImportArgs: true,
|
|
15
18
|
};
|
|
16
19
|
export default {
|
|
17
20
|
title,
|
|
@@ -21,4 +24,5 @@ export default {
|
|
|
21
24
|
entry,
|
|
22
25
|
resolveConfig,
|
|
23
26
|
resolveEntryPaths,
|
|
27
|
+
args,
|
|
24
28
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { IsPluginEnabled, ResolveConfig } from '
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '../../types/config.js';
|
|
2
2
|
import type { MoonConfiguration } from './types.js';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
enablers:
|
|
5
|
+
enablers: string[];
|
|
6
6
|
isEnabled: IsPluginEnabled;
|
|
7
7
|
config: string[];
|
|
8
8
|
resolveConfig: ResolveConfig<MoonConfiguration>;
|