@knip/mcp 0.0.12 → 0.0.14

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.
Files changed (140) hide show
  1. package/package.json +3 -3
  2. package/src/docs/docs/blog/for-editors-and-agents.md +44 -44
  3. package/src/docs/docs/blog/knip-v4.mdx +2 -2
  4. package/src/docs/docs/blog/two-years.mdx +1 -1
  5. package/src/docs/docs/explanations/plugins.md +16 -6
  6. package/src/docs/docs/guides/configuring-project-files.md +12 -12
  7. package/src/docs/docs/guides/contributing.md +1 -1
  8. package/src/docs/docs/guides/handling-issues.mdx +110 -64
  9. package/src/docs/docs/guides/issue-reproduction.md +4 -0
  10. package/src/docs/docs/guides/troubleshooting.md +4 -7
  11. package/src/docs/docs/index.mdx +3 -3
  12. package/src/docs/docs/overview/configuration.md +6 -6
  13. package/src/docs/docs/reference/configuration.md +17 -7
  14. package/src/docs/docs/reference/known-issues.md +32 -19
  15. package/src/docs/docs/reference/plugins/angular.md +10 -6
  16. package/src/docs/docs/reference/plugins/astro-db.md +10 -7
  17. package/src/docs/docs/reference/plugins/astro.md +10 -6
  18. package/src/docs/docs/reference/plugins/ava.md +10 -7
  19. package/src/docs/docs/reference/plugins/babel.md +9 -3
  20. package/src/docs/docs/reference/plugins/biome.md +10 -7
  21. package/src/docs/docs/reference/plugins/bumpp.md +9 -3
  22. package/src/docs/docs/reference/plugins/bun.md +6 -22
  23. package/src/docs/docs/reference/plugins/c8.md +7 -4
  24. package/src/docs/docs/reference/plugins/capacitor.md +10 -6
  25. package/src/docs/docs/reference/plugins/changelogen.md +9 -3
  26. package/src/docs/docs/reference/plugins/changelogithub.md +9 -3
  27. package/src/docs/docs/reference/plugins/changesets.md +10 -6
  28. package/src/docs/docs/reference/plugins/commitizen.md +10 -8
  29. package/src/docs/docs/reference/plugins/commitlint.md +9 -3
  30. package/src/docs/docs/reference/plugins/convex.md +10 -7
  31. package/src/docs/docs/reference/plugins/create-typescript-app.md +10 -6
  32. package/src/docs/docs/reference/plugins/cspell.md +9 -3
  33. package/src/docs/docs/reference/plugins/cucumber.md +11 -9
  34. package/src/docs/docs/reference/plugins/cypress.md +10 -6
  35. package/src/docs/docs/reference/plugins/danger.md +10 -6
  36. package/src/docs/docs/reference/plugins/dependency-cruiser.md +14 -9
  37. package/src/docs/docs/reference/plugins/docusaurus.md +10 -6
  38. package/src/docs/docs/reference/plugins/dotenv.md +8 -4
  39. package/src/docs/docs/reference/plugins/drizzle.md +10 -6
  40. package/src/docs/docs/reference/plugins/eleventy.md +11 -11
  41. package/src/docs/docs/reference/plugins/eslint.md +22 -10
  42. package/src/docs/docs/reference/plugins/expo.md +11 -11
  43. package/src/docs/docs/reference/plugins/gatsby.md +9 -3
  44. package/src/docs/docs/reference/plugins/github-action.md +10 -6
  45. package/src/docs/docs/reference/plugins/github-actions.md +10 -7
  46. package/src/docs/docs/reference/plugins/glob.md +8 -4
  47. package/src/docs/docs/reference/plugins/graphql-codegen.md +9 -3
  48. package/src/docs/docs/reference/plugins/hardhat.md +10 -6
  49. package/src/docs/docs/reference/plugins/husky.md +9 -3
  50. package/src/docs/docs/reference/plugins/i18next-parser.md +14 -9
  51. package/src/docs/docs/reference/plugins/jest.md +14 -10
  52. package/src/docs/docs/reference/plugins/karma.md +9 -3
  53. package/src/docs/docs/reference/plugins/ladle.md +11 -9
  54. package/src/docs/docs/reference/plugins/lefthook.md +13 -7
  55. package/src/docs/docs/reference/plugins/lint-staged.md +9 -3
  56. package/src/docs/docs/reference/plugins/linthtml.md +9 -3
  57. package/src/docs/docs/reference/plugins/lockfile-lint.md +9 -3
  58. package/src/docs/docs/reference/plugins/lost-pixel.md +10 -6
  59. package/src/docs/docs/reference/plugins/markdownlint.md +10 -7
  60. package/src/docs/docs/reference/plugins/mdx.md +10 -6
  61. package/src/docs/docs/reference/plugins/mdxlint.md +9 -3
  62. package/src/docs/docs/reference/plugins/metro.md +12 -9
  63. package/src/docs/docs/reference/plugins/mocha.md +15 -13
  64. package/src/docs/docs/reference/plugins/moonrepo.md +10 -8
  65. package/src/docs/docs/reference/plugins/msw.md +11 -9
  66. package/src/docs/docs/reference/plugins/nano-staged.md +9 -3
  67. package/src/docs/docs/reference/plugins/nest.md +10 -9
  68. package/src/docs/docs/reference/plugins/netlify.md +11 -9
  69. package/src/docs/docs/reference/plugins/next-intl.md +10 -6
  70. package/src/docs/docs/reference/plugins/next-mdx.md +11 -9
  71. package/src/docs/docs/reference/plugins/next.md +10 -6
  72. package/src/docs/docs/reference/plugins/node-modules-inspector.md +11 -4
  73. package/src/docs/docs/reference/plugins/node.md +12 -8
  74. package/src/docs/docs/reference/plugins/nodemon.md +8 -4
  75. package/src/docs/docs/reference/plugins/npm-package-json-lint.md +9 -3
  76. package/src/docs/docs/reference/plugins/nuxt.md +14 -8
  77. package/src/docs/docs/reference/plugins/nx.md +15 -7
  78. package/src/docs/docs/reference/plugins/nyc.md +9 -3
  79. package/src/docs/docs/reference/plugins/oclif.md +10 -6
  80. package/src/docs/docs/reference/plugins/oxlint.md +14 -9
  81. package/src/docs/docs/reference/plugins/playwright-ct.md +12 -8
  82. package/src/docs/docs/reference/plugins/playwright-test.md +10 -5
  83. package/src/docs/docs/reference/plugins/playwright.md +15 -12
  84. package/src/docs/docs/reference/plugins/plop.md +10 -6
  85. package/src/docs/docs/reference/plugins/pnpm.md +8 -5
  86. package/src/docs/docs/reference/plugins/postcss.md +9 -3
  87. package/src/docs/docs/reference/plugins/preconstruct.md +10 -6
  88. package/src/docs/docs/reference/plugins/prettier.md +9 -3
  89. package/src/docs/docs/reference/plugins/prisma.md +14 -10
  90. package/src/docs/docs/reference/plugins/react-cosmos.md +10 -6
  91. package/src/docs/docs/reference/plugins/react-router.md +9 -3
  92. package/src/docs/docs/reference/plugins/relay.md +14 -10
  93. package/src/docs/docs/reference/plugins/release-it.md +10 -7
  94. package/src/docs/docs/reference/plugins/remark.md +9 -3
  95. package/src/docs/docs/reference/plugins/remix.md +9 -3
  96. package/src/docs/docs/reference/plugins/rollup.md +14 -9
  97. package/src/docs/docs/reference/plugins/rsbuild.md +10 -6
  98. package/src/docs/docs/reference/plugins/rslib.md +10 -6
  99. package/src/docs/docs/reference/plugins/rspack.md +10 -6
  100. package/src/docs/docs/reference/plugins/rstest.md +10 -6
  101. package/src/docs/docs/reference/plugins/semantic-release.md +9 -3
  102. package/src/docs/docs/reference/plugins/sentry.md +10 -6
  103. package/src/docs/docs/reference/plugins/simple-git-hooks.md +9 -3
  104. package/src/docs/docs/reference/plugins/size-limit.md +9 -3
  105. package/src/docs/docs/reference/plugins/sst.md +10 -6
  106. package/src/docs/docs/reference/plugins/starlight.md +10 -6
  107. package/src/docs/docs/reference/plugins/storybook.md +11 -9
  108. package/src/docs/docs/reference/plugins/stryker.md +10 -6
  109. package/src/docs/docs/reference/plugins/stylelint.md +9 -3
  110. package/src/docs/docs/reference/plugins/svelte.md +9 -3
  111. package/src/docs/docs/reference/plugins/svgo.md +10 -6
  112. package/src/docs/docs/reference/plugins/svgr.md +9 -3
  113. package/src/docs/docs/reference/plugins/swc.md +10 -6
  114. package/src/docs/docs/reference/plugins/syncpack.md +9 -3
  115. package/src/docs/docs/reference/plugins/tailwind.md +10 -6
  116. package/src/docs/docs/reference/plugins/taskfile.md +10 -7
  117. package/src/docs/docs/reference/plugins/travis.md +8 -5
  118. package/src/docs/docs/reference/plugins/ts-node.md +8 -4
  119. package/src/docs/docs/reference/plugins/tsdown.md +14 -10
  120. package/src/docs/docs/reference/plugins/tsup.md +14 -10
  121. package/src/docs/docs/reference/plugins/tsx.md +12 -8
  122. package/src/docs/docs/reference/plugins/typedoc.md +13 -6
  123. package/src/docs/docs/reference/plugins/typescript.md +16 -10
  124. package/src/docs/docs/reference/plugins/unbuild.md +10 -6
  125. package/src/docs/docs/reference/plugins/unocss.md +9 -3
  126. package/src/docs/docs/reference/plugins/vercel-og.md +9 -3
  127. package/src/docs/docs/reference/plugins/vike.md +9 -3
  128. package/src/docs/docs/reference/plugins/vite.md +14 -9
  129. package/src/docs/docs/reference/plugins/vitepress.md +40 -0
  130. package/src/docs/docs/reference/plugins/vitest.md +13 -6
  131. package/src/docs/docs/reference/plugins/vue.md +10 -6
  132. package/src/docs/docs/reference/plugins/webdriver-io.md +10 -6
  133. package/src/docs/docs/reference/plugins/webpack.md +14 -9
  134. package/src/docs/docs/reference/plugins/wireit.md +10 -6
  135. package/src/docs/docs/reference/plugins/wrangler.md +10 -6
  136. package/src/docs/docs/reference/plugins/xo.md +10 -7
  137. package/src/docs/docs/reference/plugins/yarn.md +8 -5
  138. package/src/docs/docs/reference/plugins/yorkie.md +10 -6
  139. package/src/docs/docs/sponsors.mdx +2 -3
  140. package/src/texts.js +19 -29
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"typescript"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"typescript"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "typescript": {
18
- "config": [
19
- "tsconfig.json"
20
- ]
19
+ "config": ["tsconfig.json"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,16 +25,17 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Note
32
32
 
33
- [What's up with that configurable tsconfig.json location?](/reference/faq#whats-up-with-that-configurable-tsconfigjson-location)
33
+ [What's up with that configurable tsconfig.json location?][2]
34
34
 
35
35
  ## Shell commands
36
36
 
37
- This plugin adds argument parsing for the <code>tsc</code>
38
- binary. Configuration:
37
+ This plugin adds argument parsing for the <code>tsc</code> binary.
38
+ Configuration:
39
39
 
40
40
  ```
41
41
  string: ["project"]
@@ -43,8 +43,14 @@ alias: {"project": ["p"]}
43
43
  config: [["project", p=>p.endsWith(".json")?p:join(p,"tsconfig.json")]]
44
44
  ```
45
45
 
46
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
46
+ The configuration was generated from source code. Also see [Script Parser][3].
47
47
 
48
48
  ## Generated from source
49
49
 
50
- This page was generated from the [typescript plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/typescript/index.ts).
50
+ This page was generated from the [typescript plugin source code][4].
51
+
52
+ [1]: ../../explanations/plugins
53
+ [2]: /reference/faq#whats-up-with-that-configurable-tsconfigjson-location
54
+ [3]: ../../features/script-parser
55
+ [4]:
56
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/typescript/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"unbuild"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"unbuild"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "unbuild": {
18
- "config": [
19
- "build.config.{js,cjs,mjs,ts,mts,cts,json}"
20
- ]
19
+ "config": ["build.config.{js,cjs,mjs,ts,mts,cts,json}"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [unbuild plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/unbuild/index.ts).
33
+ This page was generated from the [unbuild plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/unbuild/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"unocss"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"unocss"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -29,8 +30,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
29
30
 
30
31
  Custom `config` or `entry` options override default values, they are not merged.
31
32
 
32
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
33
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
34
+ options.
33
35
 
34
36
  ## Generated from source
35
37
 
36
- This page was generated from the [unocss plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/unocss/index.ts).
38
+ This page was generated from the [unocss plugin source code][2].
39
+
40
+ [1]: ../../explanations/plugins
41
+ [2]:
42
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/unocss/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
9
+ This plugin is enabled if there's a match in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`:
10
11
 
11
12
  - `next`
12
13
 
@@ -31,8 +32,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
31
32
 
32
33
  Custom `config` or `entry` options override default values, they are not merged.
33
34
 
34
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
35
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
36
+ options.
35
37
 
36
38
  ## Generated from source
37
39
 
38
- This page was generated from the [vercel-og plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vercel-og/index.ts).
40
+ This page was generated from the [vercel-og plugin source code][2].
41
+
42
+ [1]: ../../explanations/plugins
43
+ [2]:
44
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vercel-og/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"vike"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"vike"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -27,8 +28,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
27
28
 
28
29
  Custom `config` or `entry` options override default values, they are not merged.
29
30
 
30
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
31
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
32
+ options.
31
33
 
32
34
  ## Generated from source
33
35
 
34
- This page was generated from the [vike plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vike/index.ts).
36
+ This page was generated from the [vike plugin source code][2].
37
+
38
+ [1]: ../../explanations/plugins
39
+ [2]:
40
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vike/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
9
+ This plugin is enabled if there's a match in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`:
10
11
 
11
12
  - `vite`
12
13
 
@@ -19,9 +20,7 @@ If this plugin is enabled, the following configuration is added automatically:
19
20
  ```json
20
21
  {
21
22
  "vite": {
22
- "config": [
23
- "vite.config.{js,mjs,ts,cjs,mts,cts}"
24
- ]
23
+ "config": ["vite.config.{js,mjs,ts,cjs,mts,cts}"]
25
24
  }
26
25
  }
27
26
  ```
@@ -30,19 +29,25 @@ Depending on local configuration, plugins may modify the defaults as shown.
30
29
 
31
30
  Custom `config` or `entry` options override default values, they are not merged.
32
31
 
33
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
32
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
33
+ options.
34
34
 
35
35
  ## Shell commands
36
36
 
37
- This plugin adds argument parsing for the <code>vite</code>
38
- binary. Configuration:
37
+ This plugin adds argument parsing for the <code>vite</code> binary.
38
+ Configuration:
39
39
 
40
40
  ```
41
41
  config: true
42
42
  ```
43
43
 
44
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
44
+ The configuration was generated from source code. Also see [Script Parser][2].
45
45
 
46
46
  ## Generated from source
47
47
 
48
- This page was generated from the [vite plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vite/index.ts).
48
+ This page was generated from the [vite plugin source code][3].
49
+
50
+ [1]: ../../explanations/plugins
51
+ [2]: ../../features/script-parser
52
+ [3]:
53
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vite/index.ts
@@ -0,0 +1,40 @@
1
+ ---
2
+ title: VitePress
3
+ sidebar:
4
+ hidden: true
5
+ ---
6
+
7
+ ## Enabled
8
+
9
+ This plugin is enabled if `"vitepress"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
11
+
12
+ ## Default configuration
13
+
14
+ If this plugin is enabled, the following configuration is added automatically:
15
+
16
+ ```json
17
+ {
18
+ "vitepress": {
19
+ "entry": [
20
+ ".vitepress/config.{js,ts,mjs,mts}",
21
+ ".vitepress/theme/index.{js,ts,mjs,mts}"
22
+ ]
23
+ }
24
+ }
25
+ ```
26
+
27
+ Depending on local configuration, plugins may modify the defaults as shown.
28
+
29
+ Custom `config` or `entry` options override default values, they are not merged.
30
+
31
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
32
+ options.
33
+
34
+ ## Generated from source
35
+
36
+ This page was generated from the [vitepress plugin source code][2].
37
+
38
+ [1]: ../../explanations/plugins
39
+ [2]:
40
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vitepress/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"vitest"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"vitest"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -31,20 +32,26 @@ Depending on local configuration, plugins may modify the defaults as shown.
31
32
 
32
33
  Custom `config` or `entry` options override default values, they are not merged.
33
34
 
34
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
35
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
36
+ options.
35
37
 
36
38
  ## Shell commands
37
39
 
38
- This plugin adds argument parsing for the <code>vitest</code>
39
- binary. Configuration:
40
+ This plugin adds argument parsing for the <code>vitest</code> binary.
41
+ Configuration:
40
42
 
41
43
  ```
42
44
  config: true
43
45
  resolveInputs: parsed=>{const inputs=[];if(parsed["ui"])inputs.push(toDependency("@vitest/ui",{optional:true}));return inputs}
44
46
  ```
45
47
 
46
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
48
+ The configuration was generated from source code. Also see [Script Parser][2].
47
49
 
48
50
  ## Generated from source
49
51
 
50
- This page was generated from the [vitest plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vitest/index.ts).
52
+ This page was generated from the [vitest plugin source code][3].
53
+
54
+ [1]: ../../explanations/plugins
55
+ [2]: ../../features/script-parser
56
+ [3]:
57
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vitest/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"vue"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"vue"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "vue": {
18
- "config": [
19
- "vue.config.{js,ts,mjs}"
20
- ]
19
+ "config": ["vue.config.{js,ts,mjs}"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [vue plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vue/index.ts).
33
+ This page was generated from the [vue plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/vue/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"@wdio/cli"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"@wdio/cli"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "webdriver-io": {
18
- "config": [
19
- "wdio.conf.{js,ts}"
20
- ]
19
+ "config": ["wdio.conf.{js,ts}"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [webdriver-io plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/webdriver-io/index.ts).
33
+ This page was generated from the [webdriver-io plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/webdriver-io/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
9
+ This plugin is enabled if there's a match in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`:
10
11
 
11
12
  - `webpack`
12
13
 
@@ -19,9 +20,7 @@ If this plugin is enabled, the following configuration is added automatically:
19
20
  ```json
20
21
  {
21
22
  "webpack": {
22
- "config": [
23
- "webpack.config.{js,ts,mjs,cjs,mts,cts}"
24
- ]
23
+ "config": ["webpack.config.{js,ts,mjs,cjs,mts,cts}"]
25
24
  }
26
25
  }
27
26
  ```
@@ -30,19 +29,25 @@ Depending on local configuration, plugins may modify the defaults as shown.
30
29
 
31
30
  Custom `config` or `entry` options override default values, they are not merged.
32
31
 
33
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
32
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
33
+ options.
34
34
 
35
35
  ## Shell commands
36
36
 
37
- This plugin adds argument parsing for the <code>webpack and webpack-dev-server</code>
38
- binaries. Configuration:
37
+ This plugin adds argument parsing for the <code>webpack and
38
+ webpack-dev-server</code> binaries. Configuration:
39
39
 
40
40
  ```
41
41
  config: true
42
42
  ```
43
43
 
44
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
44
+ The configuration was generated from source code. Also see [Script Parser][2].
45
45
 
46
46
  ## Generated from source
47
47
 
48
- This page was generated from the [webpack plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/webpack/index.ts).
48
+ This page was generated from the [webpack plugin source code][3].
49
+
50
+ [1]: ../../explanations/plugins
51
+ [2]: ../../features/script-parser
52
+ [3]:
53
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/webpack/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"wireit"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"wireit"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "wireit": {
18
- "config": [
19
- "package.json"
20
- ]
19
+ "config": ["package.json"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [wireit plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/wireit/index.ts).
33
+ This page was generated from the [wireit plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/wireit/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"wrangler"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"wrangler"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "wrangler": {
18
- "config": [
19
- "wrangler.{json,toml}"
20
- ]
19
+ "config": ["wrangler.{json,toml}"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [wrangler plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/wrangler/index.ts).
33
+ This page was generated from the [wrangler plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/wrangler/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"xo"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"xo"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -21,10 +22,7 @@ If this plugin is enabled, the following configuration is added automatically:
21
22
  ".xo-config.{js,cjs,json}",
22
23
  "xo.config.{js,cjs}"
23
24
  ],
24
- "entry": [
25
- ".xo-config.{js,cjs}",
26
- "xo.config.{js,cjs}"
27
- ]
25
+ "entry": [".xo-config.{js,cjs}", "xo.config.{js,cjs}"]
28
26
  }
29
27
  }
30
28
  ```
@@ -33,8 +31,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
33
31
 
34
32
  Custom `config` or `entry` options override default values, they are not merged.
35
33
 
36
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
34
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
35
+ options.
37
36
 
38
37
  ## Generated from source
39
38
 
40
- This page was generated from the [xo plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/xo/index.ts).
39
+ This page was generated from the [xo plugin source code][2].
40
+
41
+ [1]: ../../explanations/plugins
42
+ [2]:
43
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/xo/index.ts
@@ -15,9 +15,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
15
  ```json
16
16
  {
17
17
  "yarn": {
18
- "entry": [
19
- "yarn.config.cjs"
20
- ]
18
+ "entry": ["yarn.config.cjs"]
21
19
  }
22
20
  }
23
21
  ```
@@ -26,8 +24,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
24
 
27
25
  Custom `config` or `entry` options override default values, they are not merged.
28
26
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
27
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
28
+ options.
30
29
 
31
30
  ## Generated from source
32
31
 
33
- This page was generated from the [yarn plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/yarn/index.ts).
32
+ This page was generated from the [yarn plugin source code][2].
33
+
34
+ [1]: ../../explanations/plugins
35
+ [2]:
36
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/yarn/index.ts
@@ -6,7 +6,8 @@ sidebar:
6
6
 
7
7
  ## Enabled
8
8
 
9
- This plugin is enabled if `"yorkie"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
9
+ This plugin is enabled if `"yorkie"` is listed in `"dependencies"` or
10
+ `"devDependencies"` in `package.json`.
10
11
 
11
12
  ## Default configuration
12
13
 
@@ -15,9 +16,7 @@ If this plugin is enabled, the following configuration is added automatically:
15
16
  ```json
16
17
  {
17
18
  "yorkie": {
18
- "config": [
19
- "package.json"
20
- ]
19
+ "config": ["package.json"]
21
20
  }
22
21
  }
23
22
  ```
@@ -26,8 +25,13 @@ Depending on local configuration, plugins may modify the defaults as shown.
26
25
 
27
26
  Custom `config` or `entry` options override default values, they are not merged.
28
27
 
29
- See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
28
+ See [Plugins][1] for more details about plugins and their `entry` and `config`
29
+ options.
30
30
 
31
31
  ## Generated from source
32
32
 
33
- This page was generated from the [yorkie plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/yorkie/index.ts).
33
+ This page was generated from the [yorkie plugin source code][2].
34
+
35
+ [1]: ../../explanations/plugins
36
+ [2]:
37
+ https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/yorkie/index.ts
@@ -8,7 +8,6 @@ import Posts from '../../components/Posts.astro';
8
8
  import Projects from '../../components/Projects.astro';
9
9
  import SponsorsComponent from '../../components/Sponsors.astro';
10
10
  import SponsorsChart from '../../components/SponsorsChart.astro';
11
- import SponsorsPast from '../../components/SponsorsPast.astro';
12
11
 
13
12
  :::article{.prose}
14
13
 
@@ -41,7 +40,7 @@ one year before that.
41
40
  <SponsorsChart />
42
41
 
43
42
  - The monthly aggregated average over the charted period is $514.
44
- - The monthly recurring average without one-time payments is $339.
43
+ - The monthly recurring average without one-time payments is $345.
45
44
  - GitHub Sponsors is for my GitHub account. This has more repositories, but in
46
45
  practice targets mostly Knip (and perhaps some [release-it][5]).
47
46
  - [Chart generated][6] using [Venz][7].
@@ -61,5 +60,5 @@ one year before that.
61
60
  [3]: https://github.com/sponsors/webpro
62
61
  [4]: https://opencollective.com/knip
63
62
  [5]: https://github.com/release-it/release-it
64
- [6]: https://try.venz.dev?type=pivot&lp=tr&br=0&labelX=month&labelY=amount+\($\)&l=GitHub+Sponsors&color=%23fbfbfb&l=Open+Collective&color=%232487ff&label=2023-11&data=9,0&label=2023-12&data=74,0&label=2024-01&data=239,0&label=2024-02&data=489,0&label=2024-03&data=189,0&label=2024-04&data=204,750&label=2024-05&data=304,101&label=2024-06&data=1204,0&label=2024-07&data=204,35&label=2024-08&data=229,25&label=2024-09&data=2729,25&label=2024-10&data=410,45&label=2024-11&data=222,45&label=2024-12&data=222,145&label=2025-01&data=342,145&label=2025-02&data=244,145&label=2025-03&data=222,145&label=2025-04&data=222,145&label=2025-05&data=242,145&label=2025-06&data=247,145&label=2025-07&data=297,145&label=2025-08&data=268,145&label=2025-09&data=350,145&label=2025-10&data=375,145
63
+ [6]: https://try.venz.dev?type=pivot&lp=tr&br=0&labelX=month&labelY=amount+\($\)&l=GitHub+Sponsors&color=%23fbfbfb&l=Open+Collective&color=%232487ff&label=2023-11&data=9,0&label=2023-12&data=74,0&label=2024-01&data=239,0&label=2024-02&data=489,0&label=2024-03&data=189,0&label=2024-04&data=204,750&label=2024-05&data=304,101&label=2024-06&data=1204,0&label=2024-07&data=204,35&label=2024-08&data=229,25&label=2024-09&data=2729,25&label=2024-10&data=410,45&label=2024-11&data=222,45&label=2024-12&data=222,145&label=2025-01&data=342,145&label=2025-02&data=244,145&label=2025-03&data=222,145&label=2025-04&data=222,145&label=2025-05&data=242,145&label=2025-06&data=247,145&label=2025-07&data=297,145&label=2025-08&data=268,145&label=2025-09&data=350,145&label=2025-10&data=375,145&label=2025-11&data=549,145&label=2025-12&data=355,145
65
64
  [7]: https://try.venz.dev