@knip/mcp 0.0.18 → 0.0.19

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 (292) hide show
  1. package/package.json +4 -4
  2. package/src/docs/blog/for-editors-and-agents.md +47 -43
  3. package/src/docs/blog/knip-v4.mdx +2 -2
  4. package/src/docs/blog/two-years.mdx +1 -1
  5. package/src/docs/docs/explanations/comparison-and-migration.md +4 -0
  6. package/src/docs/docs/explanations/plugins.md +20 -2
  7. package/src/docs/docs/features/auto-fix.mdx +2 -2
  8. package/src/docs/docs/guides/issue-reproduction.md +7 -6
  9. package/src/docs/docs/reference/faq.md +1 -3
  10. package/src/docs/explanations/comparison-and-migration.md +2 -0
  11. package/src/docs/explanations/plugins.md +16 -6
  12. package/src/docs/features/auto-fix.mdx +20 -5
  13. package/src/docs/features/monorepos-and-workspaces.md +19 -4
  14. package/src/docs/features/production-mode.md +1 -1
  15. package/src/docs/features/reporters.md +9 -7
  16. package/src/docs/guides/configuring-project-files.md +13 -13
  17. package/src/docs/guides/contributing.md +1 -1
  18. package/src/docs/guides/handling-issues.mdx +183 -121
  19. package/src/docs/guides/issue-reproduction.md +15 -7
  20. package/src/docs/guides/performance.md +19 -8
  21. package/src/docs/guides/troubleshooting.md +7 -10
  22. package/src/docs/guides/using-knip-in-ci.md +16 -20
  23. package/src/docs/index.mdx +3 -3
  24. package/src/docs/overview/configuration.md +6 -6
  25. package/src/docs/overview/features.md +5 -5
  26. package/src/docs/overview/getting-started.mdx +15 -5
  27. package/src/docs/reference/cli.md +269 -243
  28. package/src/docs/reference/configuration-hints.md +146 -0
  29. package/src/docs/reference/configuration.md +24 -7
  30. package/src/docs/reference/faq.md +28 -39
  31. package/src/docs/reference/integrations.md +105 -0
  32. package/src/docs/reference/known-issues.md +43 -21
  33. package/src/docs/reference/plugins.md +9 -1
  34. package/src/docs/reference/related-tooling.md +3 -3
  35. package/src/docs/sponsors.mdx +3 -4
  36. package/src/docs/typescript/unused-exports.md +1 -1
  37. package/src/docs/writing-a-plugin/index.md +16 -3
  38. package/src/tools.js +3 -9
  39. package/src/docs/docs/reference/plugins/angular.md +0 -33
  40. package/src/docs/docs/reference/plugins/astro-db.md +0 -34
  41. package/src/docs/docs/reference/plugins/astro-og-canvas.md +0 -13
  42. package/src/docs/docs/reference/plugins/astro.md +0 -43
  43. package/src/docs/docs/reference/plugins/ava.md +0 -46
  44. package/src/docs/docs/reference/plugins/babel.md +0 -38
  45. package/src/docs/docs/reference/plugins/biome.md +0 -34
  46. package/src/docs/docs/reference/plugins/bumpp.md +0 -38
  47. package/src/docs/docs/reference/plugins/bun.md +0 -13
  48. package/src/docs/docs/reference/plugins/c8.md +0 -26
  49. package/src/docs/docs/reference/plugins/capacitor.md +0 -35
  50. package/src/docs/docs/reference/plugins/changelogen.md +0 -38
  51. package/src/docs/docs/reference/plugins/changelogithub.md +0 -38
  52. package/src/docs/docs/reference/plugins/changesets.md +0 -33
  53. package/src/docs/docs/reference/plugins/commitizen.md +0 -35
  54. package/src/docs/docs/reference/plugins/commitlint.md +0 -39
  55. package/src/docs/docs/reference/plugins/convex.md +0 -34
  56. package/src/docs/docs/reference/plugins/create-typescript-app.md +0 -33
  57. package/src/docs/docs/reference/plugins/cspell.md +0 -36
  58. package/src/docs/docs/reference/plugins/cucumber.md +0 -36
  59. package/src/docs/docs/reference/plugins/cypress.md +0 -40
  60. package/src/docs/docs/reference/plugins/danger.md +0 -33
  61. package/src/docs/docs/reference/plugins/dependency-cruiser.md +0 -44
  62. package/src/docs/docs/reference/plugins/docusaurus.md +0 -39
  63. package/src/docs/docs/reference/plugins/dotenv.md +0 -24
  64. package/src/docs/docs/reference/plugins/drizzle.md +0 -33
  65. package/src/docs/docs/reference/plugins/eleventy.md +0 -38
  66. package/src/docs/docs/reference/plugins/eslint.md +0 -74
  67. package/src/docs/docs/reference/plugins/expo.md +0 -38
  68. package/src/docs/docs/reference/plugins/expressive-code.md +0 -39
  69. package/src/docs/docs/reference/plugins/gatsby.md +0 -46
  70. package/src/docs/docs/reference/plugins/github-action.md +0 -33
  71. package/src/docs/docs/reference/plugins/github-actions.md +0 -34
  72. package/src/docs/docs/reference/plugins/glob.md +0 -26
  73. package/src/docs/docs/reference/plugins/graphql-codegen.md +0 -43
  74. package/src/docs/docs/reference/plugins/hardhat.md +0 -33
  75. package/src/docs/docs/reference/plugins/husky.md +0 -37
  76. package/src/docs/docs/reference/plugins/i18next-parser.md +0 -44
  77. package/src/docs/docs/reference/plugins/jest.md +0 -50
  78. package/src/docs/docs/reference/plugins/karma.md +0 -36
  79. package/src/docs/docs/reference/plugins/knex.md +0 -33
  80. package/src/docs/docs/reference/plugins/ladle.md +0 -40
  81. package/src/docs/docs/reference/plugins/lefthook.md +0 -43
  82. package/src/docs/docs/reference/plugins/lint-staged.md +0 -45
  83. package/src/docs/docs/reference/plugins/linthtml.md +0 -38
  84. package/src/docs/docs/reference/plugins/lockfile-lint.md +0 -38
  85. package/src/docs/docs/reference/plugins/lost-pixel.md +0 -33
  86. package/src/docs/docs/reference/plugins/markdownlint.md +0 -34
  87. package/src/docs/docs/reference/plugins/mdx.md +0 -37
  88. package/src/docs/docs/reference/plugins/mdxlint.md +0 -35
  89. package/src/docs/docs/reference/plugins/metro.md +0 -46
  90. package/src/docs/docs/reference/plugins/mocha.md +0 -48
  91. package/src/docs/docs/reference/plugins/moonrepo.md +0 -35
  92. package/src/docs/docs/reference/plugins/msw.md +0 -36
  93. package/src/docs/docs/reference/plugins/nano-staged.md +0 -36
  94. package/src/docs/docs/reference/plugins/nest.md +0 -38
  95. package/src/docs/docs/reference/plugins/netlify.md +0 -42
  96. package/src/docs/docs/reference/plugins/next-intl.md +0 -33
  97. package/src/docs/docs/reference/plugins/next-mdx.md +0 -36
  98. package/src/docs/docs/reference/plugins/next.md +0 -53
  99. package/src/docs/docs/reference/plugins/nitro.md +0 -50
  100. package/src/docs/docs/reference/plugins/node-modules-inspector.md +0 -45
  101. package/src/docs/docs/reference/plugins/node.md +0 -48
  102. package/src/docs/docs/reference/plugins/nodemon.md +0 -27
  103. package/src/docs/docs/reference/plugins/npm-package-json-lint.md +0 -38
  104. package/src/docs/docs/reference/plugins/nuxt.md +0 -49
  105. package/src/docs/docs/reference/plugins/nx.md +0 -57
  106. package/src/docs/docs/reference/plugins/nyc.md +0 -36
  107. package/src/docs/docs/reference/plugins/oclif.md +0 -33
  108. package/src/docs/docs/reference/plugins/oxlint.md +0 -44
  109. package/src/docs/docs/reference/plugins/parcel.md +0 -37
  110. package/src/docs/docs/reference/plugins/playwright-ct.md +0 -39
  111. package/src/docs/docs/reference/plugins/playwright-test.md +0 -26
  112. package/src/docs/docs/reference/plugins/playwright.md +0 -49
  113. package/src/docs/docs/reference/plugins/plop.md +0 -33
  114. package/src/docs/docs/reference/plugins/pnpm.md +0 -33
  115. package/src/docs/docs/reference/plugins/postcss.md +0 -43
  116. package/src/docs/docs/reference/plugins/preconstruct.md +0 -33
  117. package/src/docs/docs/reference/plugins/prettier.md +0 -36
  118. package/src/docs/docs/reference/plugins/prisma.md +0 -55
  119. package/src/docs/docs/reference/plugins/react-cosmos.md +0 -39
  120. package/src/docs/docs/reference/plugins/react-router.md +0 -34
  121. package/src/docs/docs/reference/plugins/relay.md +0 -52
  122. package/src/docs/docs/reference/plugins/release-it.md +0 -34
  123. package/src/docs/docs/reference/plugins/remark.md +0 -37
  124. package/src/docs/docs/reference/plugins/remix.md +0 -40
  125. package/src/docs/docs/reference/plugins/rollup.md +0 -47
  126. package/src/docs/docs/reference/plugins/rsbuild.md +0 -33
  127. package/src/docs/docs/reference/plugins/rslib.md +0 -33
  128. package/src/docs/docs/reference/plugins/rspack.md +0 -33
  129. package/src/docs/docs/reference/plugins/rstest.md +0 -33
  130. package/src/docs/docs/reference/plugins/semantic-release.md +0 -38
  131. package/src/docs/docs/reference/plugins/sentry.md +0 -35
  132. package/src/docs/docs/reference/plugins/simple-git-hooks.md +0 -35
  133. package/src/docs/docs/reference/plugins/size-limit.md +0 -35
  134. package/src/docs/docs/reference/plugins/sst.md +0 -33
  135. package/src/docs/docs/reference/plugins/starlight.md +0 -33
  136. package/src/docs/docs/reference/plugins/storybook.md +0 -44
  137. package/src/docs/docs/reference/plugins/stryker.md +0 -33
  138. package/src/docs/docs/reference/plugins/stylelint.md +0 -38
  139. package/src/docs/docs/reference/plugins/svelte.md +0 -34
  140. package/src/docs/docs/reference/plugins/sveltekit.md +0 -33
  141. package/src/docs/docs/reference/plugins/svgo.md +0 -37
  142. package/src/docs/docs/reference/plugins/svgr.md +0 -40
  143. package/src/docs/docs/reference/plugins/swc.md +0 -33
  144. package/src/docs/docs/reference/plugins/syncpack.md +0 -38
  145. package/src/docs/docs/reference/plugins/tailwind.md +0 -33
  146. package/src/docs/docs/reference/plugins/tanstack-router.md +0 -48
  147. package/src/docs/docs/reference/plugins/taskfile.md +0 -40
  148. package/src/docs/docs/reference/plugins/travis.md +0 -33
  149. package/src/docs/docs/reference/plugins/ts-node.md +0 -27
  150. package/src/docs/docs/reference/plugins/tsdown.md +0 -45
  151. package/src/docs/docs/reference/plugins/tsup.md +0 -45
  152. package/src/docs/docs/reference/plugins/tsx.md +0 -46
  153. package/src/docs/docs/reference/plugins/typedoc.md +0 -49
  154. package/src/docs/docs/reference/plugins/typescript.md +0 -50
  155. package/src/docs/docs/reference/plugins/unbuild.md +0 -33
  156. package/src/docs/docs/reference/plugins/unocss.md +0 -36
  157. package/src/docs/docs/reference/plugins/vercel-og.md +0 -38
  158. package/src/docs/docs/reference/plugins/vike.md +0 -34
  159. package/src/docs/docs/reference/plugins/vite.md +0 -48
  160. package/src/docs/docs/reference/plugins/vitepress.md +0 -34
  161. package/src/docs/docs/reference/plugins/vitest.md +0 -50
  162. package/src/docs/docs/reference/plugins/vue.md +0 -33
  163. package/src/docs/docs/reference/plugins/webdriver-io.md +0 -33
  164. package/src/docs/docs/reference/plugins/webpack.md +0 -48
  165. package/src/docs/docs/reference/plugins/wireit.md +0 -33
  166. package/src/docs/docs/reference/plugins/wrangler.md +0 -33
  167. package/src/docs/docs/reference/plugins/xo.md +0 -40
  168. package/src/docs/docs/reference/plugins/yarn.md +0 -33
  169. package/src/docs/docs/reference/plugins/yorkie.md +0 -33
  170. package/src/docs/reference/plugins/angular.md +0 -33
  171. package/src/docs/reference/plugins/astro-db.md +0 -34
  172. package/src/docs/reference/plugins/astro.md +0 -43
  173. package/src/docs/reference/plugins/ava.md +0 -46
  174. package/src/docs/reference/plugins/babel.md +0 -38
  175. package/src/docs/reference/plugins/biome.md +0 -34
  176. package/src/docs/reference/plugins/bumpp.md +0 -38
  177. package/src/docs/reference/plugins/bun.md +0 -33
  178. package/src/docs/reference/plugins/c8.md +0 -26
  179. package/src/docs/reference/plugins/capacitor.md +0 -35
  180. package/src/docs/reference/plugins/changelogen.md +0 -38
  181. package/src/docs/reference/plugins/changelogithub.md +0 -38
  182. package/src/docs/reference/plugins/changesets.md +0 -33
  183. package/src/docs/reference/plugins/commitizen.md +0 -35
  184. package/src/docs/reference/plugins/commitlint.md +0 -39
  185. package/src/docs/reference/plugins/convex.md +0 -34
  186. package/src/docs/reference/plugins/create-typescript-app.md +0 -33
  187. package/src/docs/reference/plugins/cspell.md +0 -36
  188. package/src/docs/reference/plugins/cucumber.md +0 -36
  189. package/src/docs/reference/plugins/cypress.md +0 -40
  190. package/src/docs/reference/plugins/danger.md +0 -33
  191. package/src/docs/reference/plugins/dependency-cruiser.md +0 -44
  192. package/src/docs/reference/plugins/docusaurus.md +0 -39
  193. package/src/docs/reference/plugins/dotenv.md +0 -24
  194. package/src/docs/reference/plugins/drizzle.md +0 -33
  195. package/src/docs/reference/plugins/eleventy.md +0 -38
  196. package/src/docs/reference/plugins/eslint.md +0 -74
  197. package/src/docs/reference/plugins/expo.md +0 -38
  198. package/src/docs/reference/plugins/gatsby.md +0 -46
  199. package/src/docs/reference/plugins/github-action.md +0 -33
  200. package/src/docs/reference/plugins/github-actions.md +0 -34
  201. package/src/docs/reference/plugins/glob.md +0 -26
  202. package/src/docs/reference/plugins/graphql-codegen.md +0 -43
  203. package/src/docs/reference/plugins/hardhat.md +0 -33
  204. package/src/docs/reference/plugins/husky.md +0 -37
  205. package/src/docs/reference/plugins/i18next-parser.md +0 -44
  206. package/src/docs/reference/plugins/jest.md +0 -50
  207. package/src/docs/reference/plugins/karma.md +0 -36
  208. package/src/docs/reference/plugins/ladle.md +0 -40
  209. package/src/docs/reference/plugins/lefthook.md +0 -43
  210. package/src/docs/reference/plugins/lint-staged.md +0 -45
  211. package/src/docs/reference/plugins/linthtml.md +0 -38
  212. package/src/docs/reference/plugins/lockfile-lint.md +0 -38
  213. package/src/docs/reference/plugins/lost-pixel.md +0 -33
  214. package/src/docs/reference/plugins/markdownlint.md +0 -34
  215. package/src/docs/reference/plugins/mdx.md +0 -37
  216. package/src/docs/reference/plugins/mdxlint.md +0 -35
  217. package/src/docs/reference/plugins/metro.md +0 -46
  218. package/src/docs/reference/plugins/mocha.md +0 -48
  219. package/src/docs/reference/plugins/moonrepo.md +0 -35
  220. package/src/docs/reference/plugins/msw.md +0 -36
  221. package/src/docs/reference/plugins/nano-staged.md +0 -36
  222. package/src/docs/reference/plugins/nest.md +0 -38
  223. package/src/docs/reference/plugins/netlify.md +0 -42
  224. package/src/docs/reference/plugins/next-intl.md +0 -33
  225. package/src/docs/reference/plugins/next-mdx.md +0 -36
  226. package/src/docs/reference/plugins/next.md +0 -53
  227. package/src/docs/reference/plugins/node-modules-inspector.md +0 -45
  228. package/src/docs/reference/plugins/node.md +0 -48
  229. package/src/docs/reference/plugins/nodemon.md +0 -27
  230. package/src/docs/reference/plugins/npm-package-json-lint.md +0 -38
  231. package/src/docs/reference/plugins/nuxt.md +0 -49
  232. package/src/docs/reference/plugins/nx.md +0 -57
  233. package/src/docs/reference/plugins/nyc.md +0 -36
  234. package/src/docs/reference/plugins/oclif.md +0 -33
  235. package/src/docs/reference/plugins/oxlint.md +0 -44
  236. package/src/docs/reference/plugins/playwright-ct.md +0 -39
  237. package/src/docs/reference/plugins/playwright-test.md +0 -26
  238. package/src/docs/reference/plugins/playwright.md +0 -49
  239. package/src/docs/reference/plugins/plop.md +0 -33
  240. package/src/docs/reference/plugins/pnpm.md +0 -33
  241. package/src/docs/reference/plugins/postcss.md +0 -43
  242. package/src/docs/reference/plugins/preconstruct.md +0 -33
  243. package/src/docs/reference/plugins/prettier.md +0 -36
  244. package/src/docs/reference/plugins/prisma.md +0 -55
  245. package/src/docs/reference/plugins/react-cosmos.md +0 -39
  246. package/src/docs/reference/plugins/react-router.md +0 -34
  247. package/src/docs/reference/plugins/relay.md +0 -52
  248. package/src/docs/reference/plugins/release-it.md +0 -34
  249. package/src/docs/reference/plugins/remark.md +0 -37
  250. package/src/docs/reference/plugins/remix.md +0 -40
  251. package/src/docs/reference/plugins/rollup.md +0 -47
  252. package/src/docs/reference/plugins/rsbuild.md +0 -33
  253. package/src/docs/reference/plugins/rslib.md +0 -33
  254. package/src/docs/reference/plugins/rspack.md +0 -33
  255. package/src/docs/reference/plugins/rstest.md +0 -33
  256. package/src/docs/reference/plugins/semantic-release.md +0 -38
  257. package/src/docs/reference/plugins/sentry.md +0 -35
  258. package/src/docs/reference/plugins/simple-git-hooks.md +0 -35
  259. package/src/docs/reference/plugins/size-limit.md +0 -36
  260. package/src/docs/reference/plugins/sst.md +0 -33
  261. package/src/docs/reference/plugins/starlight.md +0 -33
  262. package/src/docs/reference/plugins/storybook.md +0 -44
  263. package/src/docs/reference/plugins/stryker.md +0 -33
  264. package/src/docs/reference/plugins/stylelint.md +0 -38
  265. package/src/docs/reference/plugins/svelte.md +0 -37
  266. package/src/docs/reference/plugins/svgo.md +0 -37
  267. package/src/docs/reference/plugins/svgr.md +0 -40
  268. package/src/docs/reference/plugins/swc.md +0 -33
  269. package/src/docs/reference/plugins/syncpack.md +0 -38
  270. package/src/docs/reference/plugins/tailwind.md +0 -33
  271. package/src/docs/reference/plugins/taskfile.md +0 -34
  272. package/src/docs/reference/plugins/travis.md +0 -33
  273. package/src/docs/reference/plugins/ts-node.md +0 -27
  274. package/src/docs/reference/plugins/tsdown.md +0 -45
  275. package/src/docs/reference/plugins/tsup.md +0 -45
  276. package/src/docs/reference/plugins/tsx.md +0 -46
  277. package/src/docs/reference/plugins/typedoc.md +0 -49
  278. package/src/docs/reference/plugins/typescript.md +0 -50
  279. package/src/docs/reference/plugins/unbuild.md +0 -33
  280. package/src/docs/reference/plugins/unocss.md +0 -36
  281. package/src/docs/reference/plugins/vercel-og.md +0 -38
  282. package/src/docs/reference/plugins/vike.md +0 -34
  283. package/src/docs/reference/plugins/vite.md +0 -48
  284. package/src/docs/reference/plugins/vitest.md +0 -50
  285. package/src/docs/reference/plugins/vue.md +0 -33
  286. package/src/docs/reference/plugins/webdriver-io.md +0 -33
  287. package/src/docs/reference/plugins/webpack.md +0 -48
  288. package/src/docs/reference/plugins/wireit.md +0 -33
  289. package/src/docs/reference/plugins/wrangler.md +0 -33
  290. package/src/docs/reference/plugins/xo.md +0 -40
  291. package/src/docs/reference/plugins/yarn.md +0 -33
  292. package/src/docs/reference/plugins/yorkie.md +0 -33
@@ -1,36 +0,0 @@
1
- ---
2
- title: nyc
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"nyc"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "nyc": {
18
- "config": [
19
- ".nycrc",
20
- ".nycrc.{json,yml,yaml}",
21
- "nyc.config.js",
22
- "package.json"
23
- ]
24
- }
25
- }
26
- ```
27
-
28
- Depending on local configuration, plugins may modify the defaults as shown.
29
-
30
- Custom `config` or `entry` options override default values, they are not merged.
31
-
32
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
33
-
34
- ## Generated from source
35
-
36
- This page was generated from the [nyc plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/nyc/index.ts).
@@ -1,33 +0,0 @@
1
- ---
2
- title: oclif
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"oclif"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "oclif": {
18
- "config": [
19
- "package.json"
20
- ]
21
- }
22
- }
23
- ```
24
-
25
- Depending on local configuration, plugins may modify the defaults as shown.
26
-
27
- Custom `config` or `entry` options override default values, they are not merged.
28
-
29
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
-
31
- ## Generated from source
32
-
33
- This page was generated from the [oclif plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/oclif/index.ts).
@@ -1,44 +0,0 @@
1
- ---
2
- title: Oxlint
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"oxlint"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "oxlint": {
18
- "config": [
19
- ".oxlintrc.json"
20
- ]
21
- }
22
- }
23
- ```
24
-
25
- Depending on local configuration, plugins may modify the defaults as shown.
26
-
27
- Custom `config` or `entry` options override default values, they are not merged.
28
-
29
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
-
31
- ## Shell commands
32
-
33
- This plugin adds argument parsing for the <code>oxlint</code>
34
- binary. Configuration:
35
-
36
- ```
37
- config: true
38
- ```
39
-
40
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
41
-
42
- ## Generated from source
43
-
44
- This page was generated from the [oxlint plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/oxlint/index.ts).
@@ -1,37 +0,0 @@
1
- ---
2
- title: Parcel
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
-
11
- - `parcel`
12
-
13
- - `@parcel/core`
14
-
15
- ## Default configuration
16
-
17
- If this plugin is enabled, the following configuration is added automatically:
18
-
19
- ```json
20
- {
21
- "parcel": {
22
- "config": [
23
- ".parcelrc"
24
- ]
25
- }
26
- }
27
- ```
28
-
29
- Depending on local configuration, plugins may modify the defaults as shown.
30
-
31
- Custom `config` or `entry` options override default values, they are not merged.
32
-
33
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
34
-
35
- ## Generated from source
36
-
37
- This page was generated from the [parcel plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/parcel/index.ts).
@@ -1,39 +0,0 @@
1
- ---
2
- title: Playwright for components
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
-
11
- - `^@playwright\/experimental-ct-`
12
-
13
- ## Default configuration
14
-
15
- If this plugin is enabled, the following configuration is added automatically:
16
-
17
- ```json
18
- {
19
- "playwright-ct": {
20
- "config": [
21
- "playwright-ct.config.{js,ts}"
22
- ],
23
- "entry": [
24
- "**/*.@(spec|test).?(c|m)[jt]s?(x)",
25
- "playwright/index.{js,ts,jsx,tsx}"
26
- ]
27
- }
28
- }
29
- ```
30
-
31
- Depending on local configuration, plugins may modify the defaults as shown.
32
-
33
- Custom `config` or `entry` options override default values, they are not merged.
34
-
35
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
36
-
37
- ## Generated from source
38
-
39
- This page was generated from the [playwright-ct plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/playwright-ct/index.ts).
@@ -1,26 +0,0 @@
1
- ---
2
- title: playwright-test
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"playwright-test"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Shell commands
12
-
13
- This plugin adds argument parsing for the <code>playwright-test</code>
14
- binary. Configuration:
15
-
16
- ```
17
- positional: true
18
- args: args2=>args2.filter(arg=>arg!=="install"&&arg!=="test")
19
- config: true
20
- ```
21
-
22
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
23
-
24
- ## Generated from source
25
-
26
- This page was generated from the [playwright-test plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/playwright-test/index.ts).
@@ -1,49 +0,0 @@
1
- ---
2
- title: Playwright
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"@playwright/test"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "playwright": {
18
- "config": [
19
- "playwright.config.{js,ts,mjs}"
20
- ],
21
- "entry": [
22
- "**/*.@(spec|test).?(c|m)[jt]s?(x)"
23
- ]
24
- }
25
- }
26
- ```
27
-
28
- Depending on local configuration, plugins may modify the defaults as shown.
29
-
30
- Custom `config` or `entry` options override default values, they are not merged.
31
-
32
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
33
-
34
- ## Shell commands
35
-
36
- This plugin adds argument parsing for the <code>playwright</code>
37
- binary. Configuration:
38
-
39
- ```
40
- positional: true
41
- args: args2=>args2.filter(arg=>arg!=="install"&&arg!=="test")
42
- config: true
43
- ```
44
-
45
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
46
-
47
- ## Generated from source
48
-
49
- This page was generated from the [playwright plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/playwright/index.ts).
@@ -1,33 +0,0 @@
1
- ---
2
- title: Plop
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"plop"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "plop": {
18
- "config": [
19
- "plopfile.{cjs,mjs,js,ts}"
20
- ]
21
- }
22
- }
23
- ```
24
-
25
- Depending on local configuration, plugins may modify the defaults as shown.
26
-
27
- Custom `config` or `entry` options override default values, they are not merged.
28
-
29
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
-
31
- ## Generated from source
32
-
33
- This page was generated from the [plop plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/plop/index.ts).
@@ -1,33 +0,0 @@
1
- ---
2
- title: pnpm
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is always enabled.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "pnpm": {
18
- "config": [
19
- ".pnpmfile.cjs"
20
- ]
21
- }
22
- }
23
- ```
24
-
25
- Depending on local configuration, plugins may modify the defaults as shown.
26
-
27
- Custom `config` or `entry` options override default values, they are not merged.
28
-
29
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
-
31
- ## Generated from source
32
-
33
- This page was generated from the [pnpm plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/pnpm/index.ts).
@@ -1,43 +0,0 @@
1
- ---
2
- title: PostCSS
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
-
11
- - `postcss`
12
-
13
- - `postcss-cli`
14
-
15
- - `next`
16
-
17
- ## Default configuration
18
-
19
- If this plugin is enabled, the following configuration is added automatically:
20
-
21
- ```json
22
- {
23
- "postcss": {
24
- "config": [
25
- "package.json",
26
- "postcss.config.json",
27
- ".postcssrc",
28
- ".postcssrc.{json,ts,js,cjs,mjs,mts,cts,yaml,yml}",
29
- "postcss.config.{ts,js,cjs,mjs,mts,cts}"
30
- ]
31
- }
32
- }
33
- ```
34
-
35
- Depending on local configuration, plugins may modify the defaults as shown.
36
-
37
- Custom `config` or `entry` options override default values, they are not merged.
38
-
39
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
40
-
41
- ## Generated from source
42
-
43
- This page was generated from the [postcss plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/postcss/index.ts).
@@ -1,33 +0,0 @@
1
- ---
2
- title: Preconstruct
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"@preconstruct/cli"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "preconstruct": {
18
- "config": [
19
- "package.json"
20
- ]
21
- }
22
- }
23
- ```
24
-
25
- Depending on local configuration, plugins may modify the defaults as shown.
26
-
27
- Custom `config` or `entry` options override default values, they are not merged.
28
-
29
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
30
-
31
- ## Generated from source
32
-
33
- This page was generated from the [preconstruct plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/preconstruct/index.ts).
@@ -1,36 +0,0 @@
1
- ---
2
- title: Prettier
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"prettier"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "prettier": {
18
- "config": [
19
- ".prettierrc",
20
- ".prettierrc.{json,js,cjs,mjs,ts,cts,mts,yml,yaml,toml,json5}",
21
- "prettier.config.{js,cjs,mjs,ts,cts,mts}",
22
- "package.{json,yaml}"
23
- ]
24
- }
25
- }
26
- ```
27
-
28
- Depending on local configuration, plugins may modify the defaults as shown.
29
-
30
- Custom `config` or `entry` options override default values, they are not merged.
31
-
32
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
33
-
34
- ## Generated from source
35
-
36
- This page was generated from the [prettier plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/prettier/index.ts).
@@ -1,55 +0,0 @@
1
- ---
2
- title: Prisma
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
-
11
- - `prisma`
12
-
13
- - `^@prisma\/.*`
14
-
15
- ## Default configuration
16
-
17
- If this plugin is enabled, the following configuration is added automatically:
18
-
19
- ```json
20
- {
21
- "prisma": {
22
- "config": [
23
- "prisma.config.{js,ts,mjs,cjs,mts,cts}",
24
- ".config/prisma.{js,ts,mjs,cjs,mts,cts}",
25
- "package.json"
26
- ],
27
- "entry": [
28
- "prisma/schema.prisma",
29
- "schema.prisma"
30
- ]
31
- }
32
- }
33
- ```
34
-
35
- Depending on local configuration, plugins may modify the defaults as shown.
36
-
37
- Custom `config` or `entry` options override default values, they are not merged.
38
-
39
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
40
-
41
- ## Shell commands
42
-
43
- This plugin adds argument parsing for the <code>prisma</code>
44
- binary. Configuration:
45
-
46
- ```
47
- config: true
48
- resolveInputs: (parsed,{cwd})=>{const inputs=[];if(typeof parsed["schema"]==="string"){inputs.push(resolveSchema(parsed["schema"],cwd))}return inputs}
49
- ```
50
-
51
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
52
-
53
- ## Generated from source
54
-
55
- This page was generated from the [prisma plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/prisma/index.ts).
@@ -1,39 +0,0 @@
1
- ---
2
- title: React Cosmos
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"react-cosmos"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "react-cosmos": {
18
- "config": [
19
- "cosmos.config.json"
20
- ],
21
- "entry": [
22
- "**/*.fixture.{js,jsx,ts,tsx,md,mdx}",
23
- "__fixtures__/**/*.{js,jsx,ts,tsx,md,mdx}",
24
- "**/fixture.{js,jsx,ts,tsx,md,mdx}",
25
- "**/cosmos.decorator.{jsx,tsx}"
26
- ]
27
- }
28
- }
29
- ```
30
-
31
- Depending on local configuration, plugins may modify the defaults as shown.
32
-
33
- Custom `config` or `entry` options override default values, they are not merged.
34
-
35
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
36
-
37
- ## Generated from source
38
-
39
- This page was generated from the [react-cosmos plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/react-cosmos/index.ts).
@@ -1,34 +0,0 @@
1
- ---
2
- title: React Router
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"@react-router/dev"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "react-router": {
18
- "config": [
19
- "react-router.config.{js,ts}",
20
- "vite.config.{js,mjs,ts,cjs,mts,cts}"
21
- ]
22
- }
23
- }
24
- ```
25
-
26
- Depending on local configuration, plugins may modify the defaults as shown.
27
-
28
- Custom `config` or `entry` options override default values, they are not merged.
29
-
30
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
31
-
32
- ## Generated from source
33
-
34
- This page was generated from the [react-router plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/react-router/index.ts).
@@ -1,52 +0,0 @@
1
- ---
2
- title: Relay
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if there's a match in `"dependencies"` or `"devDependencies"` in `package.json`:
10
-
11
- - `vite-plugin-relay`
12
-
13
- - `@swc/plugin-relay`
14
-
15
- - `babel-plugin-relay`
16
-
17
- ## Default configuration
18
-
19
- If this plugin is enabled, the following configuration is added automatically:
20
-
21
- ```json
22
- {
23
- "relay": {
24
- "config": [
25
- "relay.config.json",
26
- "relay.config.js"
27
- ]
28
- }
29
- }
30
- ```
31
-
32
- Depending on local configuration, plugins may modify the defaults as shown.
33
-
34
- Custom `config` or `entry` options override default values, they are not merged.
35
-
36
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
37
-
38
- ## Shell commands
39
-
40
- This plugin adds argument parsing for the <code>relay-compiler</code>
41
- binary. Configuration:
42
-
43
- ```
44
- args: args2=>["-c",parseArgs(args2)._[0]]
45
- config: true
46
- ```
47
-
48
- The configuration was generated from source code. Also see [Script Parser](../../features/script-parser.md).
49
-
50
- ## Generated from source
51
-
52
- This page was generated from the [relay plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/relay/index.ts).
@@ -1,34 +0,0 @@
1
- ---
2
- title: Release It!
3
- sidebar:
4
- hidden: true
5
- ---
6
-
7
- ## Enabled
8
-
9
- This plugin is enabled if `"release-it"` is listed in `"dependencies"` or `"devDependencies"` in `package.json`.
10
-
11
- ## Default configuration
12
-
13
- If this plugin is enabled, the following configuration is added automatically:
14
-
15
- ```json
16
- {
17
- "release-it": {
18
- "config": [
19
- ".release-it.{json,js,cjs,ts,yml,yaml,toml}",
20
- "package.json"
21
- ]
22
- }
23
- }
24
- ```
25
-
26
- Depending on local configuration, plugins may modify the defaults as shown.
27
-
28
- Custom `config` or `entry` options override default values, they are not merged.
29
-
30
- See [Plugins](../../explanations/plugins.md) for more details about plugins and their `entry` and `config` options.
31
-
32
- ## Generated from source
33
-
34
- This page was generated from the [release-it plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/release-it/index.ts).