@knip/mcp 0.0.18 → 0.0.20
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/package.json +17 -17
- package/src/docs/blog/for-editors-and-agents.md +47 -43
- package/src/docs/blog/knip-v3.mdx +1 -1
- package/src/docs/blog/knip-v4.mdx +2 -2
- package/src/docs/blog/two-years.mdx +1 -1
- package/src/docs/explanations/comparison-and-migration.md +4 -0
- package/src/docs/explanations/plugins.md +38 -10
- package/src/docs/features/auto-fix.mdx +22 -7
- package/src/docs/features/monorepos-and-workspaces.md +19 -4
- package/src/docs/features/production-mode.md +1 -1
- package/src/docs/features/reporters.md +9 -7
- package/src/docs/guides/configuring-project-files.md +13 -13
- package/src/docs/guides/contributing.md +1 -1
- package/src/docs/guides/handling-issues.mdx +183 -121
- package/src/docs/guides/issue-reproduction.md +21 -12
- package/src/docs/guides/performance.md +19 -8
- package/src/docs/guides/troubleshooting.md +7 -10
- package/src/docs/guides/using-knip-in-ci.md +16 -20
- package/src/docs/index.mdx +3 -3
- package/src/docs/overview/configuration.md +6 -6
- package/src/docs/overview/features.md +5 -5
- package/src/docs/overview/getting-started.mdx +15 -5
- package/src/docs/reference/cli.md +269 -243
- package/src/docs/reference/configuration.md +24 -7
- package/src/docs/reference/faq.md +111 -59
- package/src/docs/reference/jsdoc-tsdoc-tags.md +12 -1
- package/src/docs/reference/known-issues.md +43 -21
- package/src/docs/reference/plugins.md +15 -1
- package/src/docs/reference/related-tooling.md +3 -3
- package/src/docs/sponsors.mdx +3 -4
- package/src/docs/typescript/unused-exports.md +1 -1
- package/src/docs/writing-a-plugin/index.md +17 -4
- package/src/tools.js +3 -9
- package/src/docs/docs/blog/brief-history.md +0 -30
- package/src/docs/docs/blog/for-editors-and-agents.md +0 -131
- package/src/docs/docs/blog/knip-v3.mdx +0 -88
- package/src/docs/docs/blog/knip-v4.mdx +0 -149
- package/src/docs/docs/blog/knip-v5.mdx +0 -190
- package/src/docs/docs/blog/migration-to-v1.md +0 -65
- package/src/docs/docs/blog/release-notes-v2.md +0 -46
- package/src/docs/docs/blog/slim-down-to-speed-up.md +0 -269
- package/src/docs/docs/blog/state-of-knip.md +0 -191
- package/src/docs/docs/blog/two-years.mdx +0 -107
- package/src/docs/docs/explanations/comparison-and-migration.md +0 -129
- package/src/docs/docs/explanations/entry-files.md +0 -70
- package/src/docs/docs/explanations/plugins.md +0 -329
- package/src/docs/docs/explanations/why-use-knip.md +0 -128
- package/src/docs/docs/features/auto-fix.mdx +0 -348
- package/src/docs/docs/features/compilers.md +0 -172
- package/src/docs/docs/features/integrated-monorepos.md +0 -61
- package/src/docs/docs/features/monorepos-and-workspaces.md +0 -149
- package/src/docs/docs/features/production-mode.md +0 -95
- package/src/docs/docs/features/reporters.md +0 -304
- package/src/docs/docs/features/rules-and-filters.md +0 -102
- package/src/docs/docs/features/script-parser.md +0 -156
- package/src/docs/docs/features/source-mapping.md +0 -100
- package/src/docs/docs/guides/configuring-project-files.md +0 -205
- package/src/docs/docs/guides/contributing.md +0 -24
- package/src/docs/docs/guides/handling-issues.mdx +0 -708
- package/src/docs/docs/guides/issue-reproduction.md +0 -102
- package/src/docs/docs/guides/namespace-imports.md +0 -125
- package/src/docs/docs/guides/performance.md +0 -108
- package/src/docs/docs/guides/troubleshooting.md +0 -133
- package/src/docs/docs/guides/using-knip-in-ci.md +0 -50
- package/src/docs/docs/guides/working-with-commonjs.md +0 -72
- package/src/docs/docs/index.mdx +0 -160
- package/src/docs/docs/overview/configuration.md +0 -104
- package/src/docs/docs/overview/features.md +0 -66
- package/src/docs/docs/overview/getting-started.mdx +0 -205
- package/src/docs/docs/overview/screenshots-videos.md +0 -42
- package/src/docs/docs/playground.mdx +0 -38
- package/src/docs/docs/reference/cli.md +0 -511
- package/src/docs/docs/reference/configuration.md +0 -430
- package/src/docs/docs/reference/dynamic-configuration.mdx +0 -72
- package/src/docs/docs/reference/faq.md +0 -432
- package/src/docs/docs/reference/issue-types.md +0 -43
- package/src/docs/docs/reference/jsdoc-tsdoc-tags.md +0 -122
- package/src/docs/docs/reference/known-issues.md +0 -86
- package/src/docs/docs/reference/plugins/.gitkeep +0 -0
- package/src/docs/docs/reference/plugins/angular.md +0 -33
- package/src/docs/docs/reference/plugins/astro-db.md +0 -34
- package/src/docs/docs/reference/plugins/astro-og-canvas.md +0 -13
- package/src/docs/docs/reference/plugins/astro.md +0 -43
- package/src/docs/docs/reference/plugins/ava.md +0 -46
- package/src/docs/docs/reference/plugins/babel.md +0 -38
- package/src/docs/docs/reference/plugins/biome.md +0 -34
- package/src/docs/docs/reference/plugins/bumpp.md +0 -38
- package/src/docs/docs/reference/plugins/bun.md +0 -13
- package/src/docs/docs/reference/plugins/c8.md +0 -26
- package/src/docs/docs/reference/plugins/capacitor.md +0 -35
- package/src/docs/docs/reference/plugins/changelogen.md +0 -38
- package/src/docs/docs/reference/plugins/changelogithub.md +0 -38
- package/src/docs/docs/reference/plugins/changesets.md +0 -33
- package/src/docs/docs/reference/plugins/commitizen.md +0 -35
- package/src/docs/docs/reference/plugins/commitlint.md +0 -39
- package/src/docs/docs/reference/plugins/convex.md +0 -34
- package/src/docs/docs/reference/plugins/create-typescript-app.md +0 -33
- package/src/docs/docs/reference/plugins/cspell.md +0 -36
- package/src/docs/docs/reference/plugins/cucumber.md +0 -36
- package/src/docs/docs/reference/plugins/cypress.md +0 -40
- package/src/docs/docs/reference/plugins/danger.md +0 -33
- package/src/docs/docs/reference/plugins/dependency-cruiser.md +0 -44
- package/src/docs/docs/reference/plugins/docusaurus.md +0 -39
- package/src/docs/docs/reference/plugins/dotenv.md +0 -24
- package/src/docs/docs/reference/plugins/drizzle.md +0 -33
- package/src/docs/docs/reference/plugins/eleventy.md +0 -38
- package/src/docs/docs/reference/plugins/eslint.md +0 -74
- package/src/docs/docs/reference/plugins/expo.md +0 -38
- package/src/docs/docs/reference/plugins/expressive-code.md +0 -39
- package/src/docs/docs/reference/plugins/gatsby.md +0 -46
- package/src/docs/docs/reference/plugins/github-action.md +0 -33
- package/src/docs/docs/reference/plugins/github-actions.md +0 -34
- package/src/docs/docs/reference/plugins/glob.md +0 -26
- package/src/docs/docs/reference/plugins/graphql-codegen.md +0 -43
- package/src/docs/docs/reference/plugins/hardhat.md +0 -33
- package/src/docs/docs/reference/plugins/husky.md +0 -37
- package/src/docs/docs/reference/plugins/i18next-parser.md +0 -44
- package/src/docs/docs/reference/plugins/jest.md +0 -50
- package/src/docs/docs/reference/plugins/karma.md +0 -36
- package/src/docs/docs/reference/plugins/knex.md +0 -33
- package/src/docs/docs/reference/plugins/ladle.md +0 -40
- package/src/docs/docs/reference/plugins/lefthook.md +0 -43
- package/src/docs/docs/reference/plugins/lint-staged.md +0 -45
- package/src/docs/docs/reference/plugins/linthtml.md +0 -38
- package/src/docs/docs/reference/plugins/lockfile-lint.md +0 -38
- package/src/docs/docs/reference/plugins/lost-pixel.md +0 -33
- package/src/docs/docs/reference/plugins/markdownlint.md +0 -34
- package/src/docs/docs/reference/plugins/mdx.md +0 -37
- package/src/docs/docs/reference/plugins/mdxlint.md +0 -35
- package/src/docs/docs/reference/plugins/metro.md +0 -46
- package/src/docs/docs/reference/plugins/mocha.md +0 -48
- package/src/docs/docs/reference/plugins/moonrepo.md +0 -35
- package/src/docs/docs/reference/plugins/msw.md +0 -36
- package/src/docs/docs/reference/plugins/nano-staged.md +0 -36
- package/src/docs/docs/reference/plugins/nest.md +0 -38
- package/src/docs/docs/reference/plugins/netlify.md +0 -42
- package/src/docs/docs/reference/plugins/next-intl.md +0 -33
- package/src/docs/docs/reference/plugins/next-mdx.md +0 -36
- package/src/docs/docs/reference/plugins/next.md +0 -53
- package/src/docs/docs/reference/plugins/nitro.md +0 -50
- package/src/docs/docs/reference/plugins/node-modules-inspector.md +0 -45
- package/src/docs/docs/reference/plugins/node.md +0 -48
- package/src/docs/docs/reference/plugins/nodemon.md +0 -27
- package/src/docs/docs/reference/plugins/npm-package-json-lint.md +0 -38
- package/src/docs/docs/reference/plugins/nuxt.md +0 -49
- package/src/docs/docs/reference/plugins/nx.md +0 -57
- package/src/docs/docs/reference/plugins/nyc.md +0 -36
- package/src/docs/docs/reference/plugins/oclif.md +0 -33
- package/src/docs/docs/reference/plugins/oxlint.md +0 -44
- package/src/docs/docs/reference/plugins/parcel.md +0 -37
- package/src/docs/docs/reference/plugins/playwright-ct.md +0 -39
- package/src/docs/docs/reference/plugins/playwright-test.md +0 -26
- package/src/docs/docs/reference/plugins/playwright.md +0 -49
- package/src/docs/docs/reference/plugins/plop.md +0 -33
- package/src/docs/docs/reference/plugins/pnpm.md +0 -33
- package/src/docs/docs/reference/plugins/postcss.md +0 -43
- package/src/docs/docs/reference/plugins/preconstruct.md +0 -33
- package/src/docs/docs/reference/plugins/prettier.md +0 -36
- package/src/docs/docs/reference/plugins/prisma.md +0 -55
- package/src/docs/docs/reference/plugins/react-cosmos.md +0 -39
- package/src/docs/docs/reference/plugins/react-router.md +0 -34
- package/src/docs/docs/reference/plugins/relay.md +0 -52
- package/src/docs/docs/reference/plugins/release-it.md +0 -34
- package/src/docs/docs/reference/plugins/remark.md +0 -37
- package/src/docs/docs/reference/plugins/remix.md +0 -40
- package/src/docs/docs/reference/plugins/rollup.md +0 -47
- package/src/docs/docs/reference/plugins/rsbuild.md +0 -33
- package/src/docs/docs/reference/plugins/rslib.md +0 -33
- package/src/docs/docs/reference/plugins/rspack.md +0 -33
- package/src/docs/docs/reference/plugins/rstest.md +0 -33
- package/src/docs/docs/reference/plugins/semantic-release.md +0 -38
- package/src/docs/docs/reference/plugins/sentry.md +0 -35
- package/src/docs/docs/reference/plugins/simple-git-hooks.md +0 -35
- package/src/docs/docs/reference/plugins/size-limit.md +0 -35
- package/src/docs/docs/reference/plugins/sst.md +0 -33
- package/src/docs/docs/reference/plugins/starlight.md +0 -33
- package/src/docs/docs/reference/plugins/storybook.md +0 -44
- package/src/docs/docs/reference/plugins/stryker.md +0 -33
- package/src/docs/docs/reference/plugins/stylelint.md +0 -38
- package/src/docs/docs/reference/plugins/svelte.md +0 -34
- package/src/docs/docs/reference/plugins/sveltekit.md +0 -33
- package/src/docs/docs/reference/plugins/svgo.md +0 -37
- package/src/docs/docs/reference/plugins/svgr.md +0 -40
- package/src/docs/docs/reference/plugins/swc.md +0 -33
- package/src/docs/docs/reference/plugins/syncpack.md +0 -38
- package/src/docs/docs/reference/plugins/tailwind.md +0 -33
- package/src/docs/docs/reference/plugins/tanstack-router.md +0 -48
- package/src/docs/docs/reference/plugins/taskfile.md +0 -40
- package/src/docs/docs/reference/plugins/travis.md +0 -33
- package/src/docs/docs/reference/plugins/ts-node.md +0 -27
- package/src/docs/docs/reference/plugins/tsdown.md +0 -45
- package/src/docs/docs/reference/plugins/tsup.md +0 -45
- package/src/docs/docs/reference/plugins/tsx.md +0 -46
- package/src/docs/docs/reference/plugins/typedoc.md +0 -49
- package/src/docs/docs/reference/plugins/typescript.md +0 -50
- package/src/docs/docs/reference/plugins/unbuild.md +0 -33
- package/src/docs/docs/reference/plugins/unocss.md +0 -36
- package/src/docs/docs/reference/plugins/vercel-og.md +0 -38
- package/src/docs/docs/reference/plugins/vike.md +0 -34
- package/src/docs/docs/reference/plugins/vite.md +0 -48
- package/src/docs/docs/reference/plugins/vitepress.md +0 -34
- package/src/docs/docs/reference/plugins/vitest.md +0 -50
- package/src/docs/docs/reference/plugins/vue.md +0 -33
- package/src/docs/docs/reference/plugins/webdriver-io.md +0 -33
- package/src/docs/docs/reference/plugins/webpack.md +0 -48
- package/src/docs/docs/reference/plugins/wireit.md +0 -33
- package/src/docs/docs/reference/plugins/wrangler.md +0 -33
- package/src/docs/docs/reference/plugins/xo.md +0 -40
- package/src/docs/docs/reference/plugins/yarn.md +0 -33
- package/src/docs/docs/reference/plugins/yorkie.md +0 -33
- package/src/docs/docs/reference/plugins.md +0 -140
- package/src/docs/docs/reference/related-tooling.md +0 -46
- package/src/docs/docs/sponsors.mdx +0 -64
- package/src/docs/docs/typescript/unused-dependencies.md +0 -86
- package/src/docs/docs/typescript/unused-exports.md +0 -87
- package/src/docs/docs/writing-a-plugin/argument-parsing.md +0 -202
- package/src/docs/docs/writing-a-plugin/index.md +0 -392
- package/src/docs/docs/writing-a-plugin/inputs.md +0 -162
- package/src/docs/reference/plugins/angular.md +0 -33
- package/src/docs/reference/plugins/astro-db.md +0 -34
- package/src/docs/reference/plugins/astro.md +0 -43
- package/src/docs/reference/plugins/ava.md +0 -46
- package/src/docs/reference/plugins/babel.md +0 -38
- package/src/docs/reference/plugins/biome.md +0 -34
- package/src/docs/reference/plugins/bumpp.md +0 -38
- package/src/docs/reference/plugins/bun.md +0 -33
- package/src/docs/reference/plugins/c8.md +0 -26
- package/src/docs/reference/plugins/capacitor.md +0 -35
- package/src/docs/reference/plugins/changelogen.md +0 -38
- package/src/docs/reference/plugins/changelogithub.md +0 -38
- package/src/docs/reference/plugins/changesets.md +0 -33
- package/src/docs/reference/plugins/commitizen.md +0 -35
- package/src/docs/reference/plugins/commitlint.md +0 -39
- package/src/docs/reference/plugins/convex.md +0 -34
- package/src/docs/reference/plugins/create-typescript-app.md +0 -33
- package/src/docs/reference/plugins/cspell.md +0 -36
- package/src/docs/reference/plugins/cucumber.md +0 -36
- package/src/docs/reference/plugins/cypress.md +0 -40
- package/src/docs/reference/plugins/danger.md +0 -33
- package/src/docs/reference/plugins/dependency-cruiser.md +0 -44
- package/src/docs/reference/plugins/docusaurus.md +0 -39
- package/src/docs/reference/plugins/dotenv.md +0 -24
- package/src/docs/reference/plugins/drizzle.md +0 -33
- package/src/docs/reference/plugins/eleventy.md +0 -38
- package/src/docs/reference/plugins/eslint.md +0 -74
- package/src/docs/reference/plugins/expo.md +0 -38
- package/src/docs/reference/plugins/gatsby.md +0 -46
- package/src/docs/reference/plugins/github-action.md +0 -33
- package/src/docs/reference/plugins/github-actions.md +0 -34
- package/src/docs/reference/plugins/glob.md +0 -26
- package/src/docs/reference/plugins/graphql-codegen.md +0 -43
- package/src/docs/reference/plugins/hardhat.md +0 -33
- package/src/docs/reference/plugins/husky.md +0 -37
- package/src/docs/reference/plugins/i18next-parser.md +0 -44
- package/src/docs/reference/plugins/jest.md +0 -50
- package/src/docs/reference/plugins/karma.md +0 -36
- package/src/docs/reference/plugins/ladle.md +0 -40
- package/src/docs/reference/plugins/lefthook.md +0 -43
- package/src/docs/reference/plugins/lint-staged.md +0 -45
- package/src/docs/reference/plugins/linthtml.md +0 -38
- package/src/docs/reference/plugins/lockfile-lint.md +0 -38
- package/src/docs/reference/plugins/lost-pixel.md +0 -33
- package/src/docs/reference/plugins/markdownlint.md +0 -34
- package/src/docs/reference/plugins/mdx.md +0 -37
- package/src/docs/reference/plugins/mdxlint.md +0 -35
- package/src/docs/reference/plugins/metro.md +0 -46
- package/src/docs/reference/plugins/mocha.md +0 -48
- package/src/docs/reference/plugins/moonrepo.md +0 -35
- package/src/docs/reference/plugins/msw.md +0 -36
- package/src/docs/reference/plugins/nano-staged.md +0 -36
- package/src/docs/reference/plugins/nest.md +0 -38
- package/src/docs/reference/plugins/netlify.md +0 -42
- package/src/docs/reference/plugins/next-intl.md +0 -33
- package/src/docs/reference/plugins/next-mdx.md +0 -36
- package/src/docs/reference/plugins/next.md +0 -53
- package/src/docs/reference/plugins/node-modules-inspector.md +0 -45
- package/src/docs/reference/plugins/node.md +0 -48
- package/src/docs/reference/plugins/nodemon.md +0 -27
- package/src/docs/reference/plugins/npm-package-json-lint.md +0 -38
- package/src/docs/reference/plugins/nuxt.md +0 -49
- package/src/docs/reference/plugins/nx.md +0 -57
- package/src/docs/reference/plugins/nyc.md +0 -36
- package/src/docs/reference/plugins/oclif.md +0 -33
- package/src/docs/reference/plugins/oxlint.md +0 -44
- package/src/docs/reference/plugins/playwright-ct.md +0 -39
- package/src/docs/reference/plugins/playwright-test.md +0 -26
- package/src/docs/reference/plugins/playwright.md +0 -49
- package/src/docs/reference/plugins/plop.md +0 -33
- package/src/docs/reference/plugins/pnpm.md +0 -33
- package/src/docs/reference/plugins/postcss.md +0 -43
- package/src/docs/reference/plugins/preconstruct.md +0 -33
- package/src/docs/reference/plugins/prettier.md +0 -36
- package/src/docs/reference/plugins/prisma.md +0 -55
- package/src/docs/reference/plugins/react-cosmos.md +0 -39
- package/src/docs/reference/plugins/react-router.md +0 -34
- package/src/docs/reference/plugins/relay.md +0 -52
- package/src/docs/reference/plugins/release-it.md +0 -34
- package/src/docs/reference/plugins/remark.md +0 -37
- package/src/docs/reference/plugins/remix.md +0 -40
- package/src/docs/reference/plugins/rollup.md +0 -47
- package/src/docs/reference/plugins/rsbuild.md +0 -33
- package/src/docs/reference/plugins/rslib.md +0 -33
- package/src/docs/reference/plugins/rspack.md +0 -33
- package/src/docs/reference/plugins/rstest.md +0 -33
- package/src/docs/reference/plugins/semantic-release.md +0 -38
- package/src/docs/reference/plugins/sentry.md +0 -35
- package/src/docs/reference/plugins/simple-git-hooks.md +0 -35
- package/src/docs/reference/plugins/size-limit.md +0 -36
- package/src/docs/reference/plugins/sst.md +0 -33
- package/src/docs/reference/plugins/starlight.md +0 -33
- package/src/docs/reference/plugins/storybook.md +0 -44
- package/src/docs/reference/plugins/stryker.md +0 -33
- package/src/docs/reference/plugins/stylelint.md +0 -38
- package/src/docs/reference/plugins/svelte.md +0 -37
- package/src/docs/reference/plugins/svgo.md +0 -37
- package/src/docs/reference/plugins/svgr.md +0 -40
- package/src/docs/reference/plugins/swc.md +0 -33
- package/src/docs/reference/plugins/syncpack.md +0 -38
- package/src/docs/reference/plugins/tailwind.md +0 -33
- package/src/docs/reference/plugins/taskfile.md +0 -34
- package/src/docs/reference/plugins/travis.md +0 -33
- package/src/docs/reference/plugins/ts-node.md +0 -27
- package/src/docs/reference/plugins/tsdown.md +0 -45
- package/src/docs/reference/plugins/tsup.md +0 -45
- package/src/docs/reference/plugins/tsx.md +0 -46
- package/src/docs/reference/plugins/typedoc.md +0 -49
- package/src/docs/reference/plugins/typescript.md +0 -50
- package/src/docs/reference/plugins/unbuild.md +0 -33
- package/src/docs/reference/plugins/unocss.md +0 -36
- package/src/docs/reference/plugins/vercel-og.md +0 -38
- package/src/docs/reference/plugins/vike.md +0 -34
- package/src/docs/reference/plugins/vite.md +0 -48
- package/src/docs/reference/plugins/vitest.md +0 -50
- package/src/docs/reference/plugins/vue.md +0 -33
- package/src/docs/reference/plugins/webdriver-io.md +0 -33
- package/src/docs/reference/plugins/webpack.md +0 -48
- package/src/docs/reference/plugins/wireit.md +0 -33
- package/src/docs/reference/plugins/wrangler.md +0 -33
- package/src/docs/reference/plugins/xo.md +0 -40
- package/src/docs/reference/plugins/yarn.md +0 -33
- package/src/docs/reference/plugins/yorkie.md +0 -33
- /package/src/docs/{docs/reference → reference}/configuration-hints.md +0 -0
- /package/src/docs/{docs/reference → reference}/integrations.md +0 -0
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: size-limit
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"size-limit"` 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
|
-
"size-limit": {
|
|
18
|
-
"config": [
|
|
19
|
-
"package.json",
|
|
20
|
-
".size-limit",
|
|
21
|
-
".size-limit.{json,ts,js,cjs,mjs,mts,cts}",
|
|
22
|
-
"size-limit.config.{ts,js,cjs,mjs,mts,cts}"
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
33
|
-
|
|
34
|
-
## Generated from source
|
|
35
|
-
|
|
36
|
-
This page was generated from the [size-limit plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/size-limit/index.ts).
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: SST
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"sst"` 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
|
-
"sst": {
|
|
18
|
-
"config": [
|
|
19
|
-
"sst.config.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) for more details about plugins and their `entry` and `config` options.
|
|
30
|
-
|
|
31
|
-
## Generated from source
|
|
32
|
-
|
|
33
|
-
This page was generated from the [sst plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/sst/index.ts).
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Starlight
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"@astrojs/starlight"` 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
|
-
"starlight": {
|
|
18
|
-
"config": [
|
|
19
|
-
"astro.config.{js,cjs,mjs,ts,mts}"
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
30
|
-
|
|
31
|
-
## Generated from source
|
|
32
|
-
|
|
33
|
-
This page was generated from the [starlight plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/starlight/index.ts).
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Storybook
|
|
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
|
-
- `^@storybook\/`
|
|
12
|
-
|
|
13
|
-
- `@nrwl/storybook`
|
|
14
|
-
|
|
15
|
-
## Default configuration
|
|
16
|
-
|
|
17
|
-
If this plugin is enabled, the following configuration is added automatically:
|
|
18
|
-
|
|
19
|
-
```json
|
|
20
|
-
{
|
|
21
|
-
"storybook": {
|
|
22
|
-
"config": [
|
|
23
|
-
".{storybook,rnstorybook}/{main,test-runner}.{js,ts,mts}"
|
|
24
|
-
],
|
|
25
|
-
"entry": [
|
|
26
|
-
".{storybook,rnstorybook}/{manager,preview,index,vitest.setup}.{js,jsx,ts,tsx}",
|
|
27
|
-
"**/*.@(mdx|stories.@(mdx|js|jsx|mjs|ts|tsx))"
|
|
28
|
-
],
|
|
29
|
-
"project": [
|
|
30
|
-
".{storybook,rnstorybook}/**/*.{js,jsx,ts,tsx,mts}"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Depending on local configuration, plugins may modify the defaults as shown.
|
|
37
|
-
|
|
38
|
-
Custom `config` or `entry` options override default values, they are not merged.
|
|
39
|
-
|
|
40
|
-
See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
|
|
41
|
-
|
|
42
|
-
## Generated from source
|
|
43
|
-
|
|
44
|
-
This page was generated from the [storybook plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/storybook/index.ts).
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Stryker
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"@stryker-mutator/core"` 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
|
-
"stryker": {
|
|
18
|
-
"config": [
|
|
19
|
-
"?(.)stryker.{conf,config}.{js,mjs,cjs,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) for more details about plugins and their `entry` and `config` options.
|
|
30
|
-
|
|
31
|
-
## Generated from source
|
|
32
|
-
|
|
33
|
-
This page was generated from the [stryker plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/stryker/index.ts).
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Stylelint
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"stylelint"` 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
|
-
"stylelint": {
|
|
18
|
-
"config": [
|
|
19
|
-
"package.json",
|
|
20
|
-
".stylelintrc",
|
|
21
|
-
".config/stylelintrc",
|
|
22
|
-
".stylelintrc.{json,yaml,yml,js,ts,cjs,mjs}",
|
|
23
|
-
"stylelint.config.{js,ts,cjs,mjs}",
|
|
24
|
-
".config/stylelintrc.{json,yaml,yml,js,ts,cjs,mjs}"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Depending on local configuration, plugins may modify the defaults as shown.
|
|
31
|
-
|
|
32
|
-
Custom `config` or `entry` options override default values, they are not merged.
|
|
33
|
-
|
|
34
|
-
See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
|
|
35
|
-
|
|
36
|
-
## Generated from source
|
|
37
|
-
|
|
38
|
-
This page was generated from the [stylelint plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/stylelint/index.ts).
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Svelte
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"svelte"` 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
|
-
"svelte": {
|
|
18
|
-
"entry": [
|
|
19
|
-
"svelte.config.js",
|
|
20
|
-
"vite.config.{js,mjs,ts,cjs,mts,cts}",
|
|
21
|
-
"src/routes/**/+{page,server,page.server,error,layout,layout.server}{,@*}.{js,ts,svelte}",
|
|
22
|
-
"src/hooks.{server,client}.{js,ts}",
|
|
23
|
-
"src/params/*.{js,ts}"
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
34
|
-
|
|
35
|
-
## Generated from source
|
|
36
|
-
|
|
37
|
-
This page was generated from the [svelte plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svelte/index.ts).
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: SVGO
|
|
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
|
-
- `svgo`
|
|
12
|
-
|
|
13
|
-
- `@svgr/plugin-svgo`
|
|
14
|
-
|
|
15
|
-
## Default configuration
|
|
16
|
-
|
|
17
|
-
If this plugin is enabled, the following configuration is added automatically:
|
|
18
|
-
|
|
19
|
-
```json
|
|
20
|
-
{
|
|
21
|
-
"svgo": {
|
|
22
|
-
"entry": [
|
|
23
|
-
"svgo.config.{js,cjs,mjs}"
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
34
|
-
|
|
35
|
-
## Generated from source
|
|
36
|
-
|
|
37
|
-
This page was generated from the [svgo plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svgo/index.ts).
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: SVGR
|
|
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
|
-
- `@svgr/cli`
|
|
12
|
-
|
|
13
|
-
- `@svgr/core`
|
|
14
|
-
|
|
15
|
-
## Default configuration
|
|
16
|
-
|
|
17
|
-
If this plugin is enabled, the following configuration is added automatically:
|
|
18
|
-
|
|
19
|
-
```json
|
|
20
|
-
{
|
|
21
|
-
"svgr": {
|
|
22
|
-
"config": [
|
|
23
|
-
".svgrrc",
|
|
24
|
-
".svgrrc.{yaml,yml,json,js}",
|
|
25
|
-
"svgr.config.{js,cjs}",
|
|
26
|
-
"package.json"
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
37
|
-
|
|
38
|
-
## Generated from source
|
|
39
|
-
|
|
40
|
-
This page was generated from the [svgr plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/svgr/index.ts).
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: SWC
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"@swc/core"` 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
|
-
"swc": {
|
|
18
|
-
"config": [
|
|
19
|
-
".swcrc"
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
30
|
-
|
|
31
|
-
## Generated from source
|
|
32
|
-
|
|
33
|
-
This page was generated from the [swc plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/swc/index.ts).
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Syncpack
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"syncpack"` 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
|
-
"syncpack": {
|
|
18
|
-
"config": [
|
|
19
|
-
"package.json",
|
|
20
|
-
".syncpackrc",
|
|
21
|
-
".config/syncpackrc",
|
|
22
|
-
".syncpackrc.{json,yaml,yml,js,ts,cjs,mjs}",
|
|
23
|
-
"syncpack.config.{js,ts,cjs,mjs}",
|
|
24
|
-
".config/syncpackrc.{json,yaml,yml,js,ts,cjs,mjs}"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
Depending on local configuration, plugins may modify the defaults as shown.
|
|
31
|
-
|
|
32
|
-
Custom `config` or `entry` options override default values, they are not merged.
|
|
33
|
-
|
|
34
|
-
See [Plugins](../../explanations/plugins) for more details about plugins and their `entry` and `config` options.
|
|
35
|
-
|
|
36
|
-
## Generated from source
|
|
37
|
-
|
|
38
|
-
This page was generated from the [syncpack plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/syncpack/index.ts).
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Tailwind
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"tailwindcss"` 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
|
-
"tailwind": {
|
|
18
|
-
"entry": [
|
|
19
|
-
"tailwind.config.{js,cjs,mjs,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) for more details about plugins and their `entry` and `config` options.
|
|
30
|
-
|
|
31
|
-
## Generated from source
|
|
32
|
-
|
|
33
|
-
This page was generated from the [tailwind plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tailwind/index.ts).
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Taskfile
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled when a Taskfile is found (Taskfile.yml, taskfile.yml, Taskfile.yaml, taskfile.yaml, etc.).
|
|
10
|
-
|
|
11
|
-
## Default configuration
|
|
12
|
-
|
|
13
|
-
If this plugin is enabled, the following configuration is added automatically:
|
|
14
|
-
|
|
15
|
-
```json
|
|
16
|
-
{
|
|
17
|
-
"taskfile": {
|
|
18
|
-
"config": [
|
|
19
|
-
"{T,t}askfile.{yml,yaml}",
|
|
20
|
-
"{T,t}askfile.dist.{yml,yaml}"
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
31
|
-
|
|
32
|
-
## Generated from source
|
|
33
|
-
|
|
34
|
-
This page was generated from the [taskfile plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/taskfile/index.ts).
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Travis CI
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled when a `.travis.yml` file is found in the root folder.
|
|
10
|
-
|
|
11
|
-
## Default configuration
|
|
12
|
-
|
|
13
|
-
If this plugin is enabled, the following configuration is added automatically:
|
|
14
|
-
|
|
15
|
-
```json
|
|
16
|
-
{
|
|
17
|
-
"travis": {
|
|
18
|
-
"config": [
|
|
19
|
-
".travis.yml"
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
30
|
-
|
|
31
|
-
## Generated from source
|
|
32
|
-
|
|
33
|
-
This page was generated from the [travis plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/travis/index.ts).
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: ts-node
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is always enabled.
|
|
10
|
-
|
|
11
|
-
## Shell commands
|
|
12
|
-
|
|
13
|
-
This plugin adds argument parsing for the <code>ts-node</code>
|
|
14
|
-
binary. Configuration:
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
positional: true
|
|
18
|
-
nodeImportArgs: true
|
|
19
|
-
boolean: ["transpileOnly", "compilerHost", "ignoreDiagnostics", "swc", "preferTsExts"]
|
|
20
|
-
alias: {"transpileOnly": ["T"], "compilerHost": ["H"], "ignoreDiagnostics": ["D"]}
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
|
|
24
|
-
|
|
25
|
-
## Generated from source
|
|
26
|
-
|
|
27
|
-
This page was generated from the [ts-node plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/ts-node/index.ts).
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: tsdown
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"tsdown"` 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
|
-
"tsdown": {
|
|
18
|
-
"config": [
|
|
19
|
-
"tsdown.config.{ts,mts,cts,js,mjs,cjs,json}",
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
31
|
-
|
|
32
|
-
## Shell commands
|
|
33
|
-
|
|
34
|
-
This plugin adds argument parsing for the <code>tsdown</code>
|
|
35
|
-
binary. Configuration:
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
config: true
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
|
|
42
|
-
|
|
43
|
-
## Generated from source
|
|
44
|
-
|
|
45
|
-
This page was generated from the [tsdown plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tsdown/index.ts).
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: tsup
|
|
3
|
-
sidebar:
|
|
4
|
-
hidden: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Enabled
|
|
8
|
-
|
|
9
|
-
This plugin is enabled if `"tsup"` 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
|
-
"tsup": {
|
|
18
|
-
"config": [
|
|
19
|
-
"tsup.config.{js,ts,cjs,mjs,json}",
|
|
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) for more details about plugins and their `entry` and `config` options.
|
|
31
|
-
|
|
32
|
-
## Shell commands
|
|
33
|
-
|
|
34
|
-
This plugin adds argument parsing for the <code>tsup</code>
|
|
35
|
-
binary. Configuration:
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
config: true
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
|
|
42
|
-
|
|
43
|
-
## Generated from source
|
|
44
|
-
|
|
45
|
-
This page was generated from the [tsup plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tsup/index.ts).
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: tsx
|
|
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
|
-
"tsx": {
|
|
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) 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>tsx</code>
|
|
34
|
-
binary. Configuration:
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
positional: true
|
|
38
|
-
nodeImportArgs: true
|
|
39
|
-
args: args2=>args2.filter(arg=>arg!=="watch")
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
The configuration was generated from source code. Also see [Script Parser](../../features/script-parser).
|
|
43
|
-
|
|
44
|
-
## Generated from source
|
|
45
|
-
|
|
46
|
-
This page was generated from the [tsx plugin source code](https://github.com/webpro-nl/knip/blob/main/packages/knip/src/plugins/tsx/index.ts).
|