├── .gitattributes ├── .github ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── DEVELOPMENT.md ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── 01-bug_report.yaml │ ├── 02-regression.yaml │ ├── 03-feature_request.yaml │ ├── 04-documentation.yaml │ ├── 05-everything-else.yaml │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── ci-bun.yml │ ├── ci-ts-latest.yml │ ├── ci-ts-next.yml │ ├── ci.yml │ ├── integration.yml │ ├── markdown-link-check.json │ └── markdown-link-check.yml ├── .gitignore ├── .npmrc ├── .vscode ├── launch.json └── settings.json ├── README.md ├── assets ├── cow-with-orange-scissors-van-gogh-style.png ├── cow-with-orange-scissors-van-gogh-style.webp ├── screenshot-dependencies.png ├── screenshot-exports.png └── screenshot-workspaces.png ├── biome.json ├── bun.lock ├── knip.json ├── license ├── package.json ├── packages ├── create-config │ ├── README.md │ ├── index.js │ ├── license │ └── package.json ├── docs │ ├── .gitignore │ ├── .prettierrc.json │ ├── README.md │ ├── astro.config.ts │ ├── mock │ │ ├── contributors.json │ │ ├── posts.json │ │ └── testimonials.json │ ├── package.json │ ├── public │ │ ├── apple-touch-icon.png │ │ ├── cow-with-orange-scissors-van-gogh-style.webp │ │ ├── favicon.ico │ │ ├── favicon.svg │ │ ├── fonts │ │ │ ├── SourceSansPro-Regular.otf │ │ │ └── fonts.conf │ │ ├── icon-192x192.png │ │ ├── icon-512x512.png │ │ ├── logo.svg │ │ ├── manifest.json │ │ ├── robots.txt │ │ ├── screenshots │ │ │ ├── fix.mp4 │ │ │ ├── fix.webm │ │ │ ├── performance.png │ │ │ ├── trace.png │ │ │ ├── watch-fix.mp4 │ │ │ └── watch-fix.webm │ │ └── sponsors │ │ │ ├── f42.png │ │ │ ├── hyoban.png │ │ │ ├── nicoespeon.png │ │ │ └── voxpelli.png │ ├── remark │ │ ├── fixInternalLinks.ts │ │ ├── postremark.sh │ │ ├── preremark.sh │ │ └── transformDirectives.ts │ ├── scripts │ │ ├── generate-plugin-docs.ts │ │ ├── get-monthly-sponsorships-github.ts │ │ ├── get-monthly-sponsorships-opencollective.ts │ │ └── get-monthly-sponsorships.ts │ ├── src │ │ ├── assets │ │ │ ├── logo.svg │ │ │ ├── og-template.svg │ │ │ ├── projects │ │ │ │ ├── arktype.svg │ │ │ │ ├── astro.svg │ │ │ │ ├── aws.svg │ │ │ │ ├── backstage.svg │ │ │ │ ├── create-typescript-app.png │ │ │ │ ├── eslint.svg │ │ │ │ ├── freecodecamp.svg │ │ │ │ ├── grafana.svg │ │ │ │ ├── guardian.svg │ │ │ │ ├── microsoft.svg │ │ │ │ ├── mocha.svg │ │ │ │ ├── nuxt.svg │ │ │ │ ├── prettier.svg │ │ │ │ ├── sentry.svg │ │ │ │ ├── shopify.svg │ │ │ │ ├── sourcegraph.svg │ │ │ │ ├── stately.svg │ │ │ │ ├── storybook.svg │ │ │ │ ├── svelte.svg │ │ │ │ ├── tanstack.png │ │ │ │ └── typescript-eslint.svg │ │ │ ├── sponsors │ │ │ │ ├── birchill.svg │ │ │ │ ├── sentry.svg │ │ │ │ ├── sourcegraph-reverse-logo.svg │ │ │ │ └── webdriverio.svg │ │ │ ├── title-dark.svg │ │ │ ├── title-light.svg │ │ │ └── venz-chart.svg │ │ ├── components │ │ │ ├── Contributors.astro │ │ │ ├── EmojiBlastButton.astro │ │ │ ├── Footer.astro │ │ │ ├── Head.astro │ │ │ ├── Post.astro │ │ │ ├── Posts.astro │ │ │ ├── Projects.astro │ │ │ ├── SimpleAnalytics.html │ │ │ ├── Sponsors.astro │ │ │ ├── SponsorsChart.astro │ │ │ └── SponsorsPast.astro │ │ ├── content │ │ │ ├── config.ts │ │ │ └── docs │ │ │ │ ├── blog │ │ │ │ ├── brief-history.md │ │ │ │ ├── knip-v3.mdx │ │ │ │ ├── knip-v4.mdx │ │ │ │ ├── knip-v5.mdx │ │ │ │ ├── migration-to-v1.md │ │ │ │ ├── release-notes-v2.md │ │ │ │ ├── slim-down-to-speed-up.md │ │ │ │ ├── state-of-knip.md │ │ │ │ └── two-years.mdx │ │ │ │ ├── explanations │ │ │ │ ├── comparison-and-migration.md │ │ │ │ ├── entry-files.md │ │ │ │ ├── plugins.md │ │ │ │ └── why-use-knip.md │ │ │ │ ├── features │ │ │ │ ├── auto-fix.mdx │ │ │ │ ├── compilers.md │ │ │ │ ├── integrated-monorepos.md │ │ │ │ ├── monorepos-and-workspaces.md │ │ │ │ ├── production-mode.md │ │ │ │ ├── reporters.md │ │ │ │ ├── rules-and-filters.md │ │ │ │ ├── script-parser.md │ │ │ │ └── source-mapping.md │ │ │ │ ├── guides │ │ │ │ ├── configuring-project-files.md │ │ │ │ ├── contributing.md │ │ │ │ ├── handling-issues.mdx │ │ │ │ ├── issue-reproduction.md │ │ │ │ ├── namespace-imports.md │ │ │ │ ├── performance.md │ │ │ │ ├── troubleshooting.md │ │ │ │ ├── using-knip-in-ci.md │ │ │ │ ├── working-with-commonjs.md │ │ │ │ └── writing-a-plugin.md │ │ │ │ ├── index.mdx │ │ │ │ ├── overview │ │ │ │ ├── configuration.md │ │ │ │ ├── features.md │ │ │ │ ├── getting-started.mdx │ │ │ │ └── screenshots-videos.md │ │ │ │ ├── playground.mdx │ │ │ │ ├── reference │ │ │ │ ├── cli.md │ │ │ │ ├── configuration.md │ │ │ │ ├── dynamic-configuration.mdx │ │ │ │ ├── faq.md │ │ │ │ ├── issue-types.md │ │ │ │ ├── jsdoc-tsdoc-tags.md │ │ │ │ ├── known-issues.md │ │ │ │ ├── plugins.md │ │ │ │ ├── plugins │ │ │ │ │ └── .gitkeep │ │ │ │ └── related-tooling.md │ │ │ │ ├── sponsors.mdx │ │ │ │ └── typescript │ │ │ │ ├── unused-dependencies.md │ │ │ │ └── unused-exports.md │ │ ├── env.d.ts │ │ ├── fonts │ │ │ ├── 6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7lujVj9w.woff2 │ │ │ ├── 6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZYokSds18S0xR41.woff2 │ │ │ ├── 6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18S0xR41.woff2 │ │ │ ├── 6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu3cOWxw.woff2 │ │ │ ├── font-face.css │ │ │ └── hack-regular-subset.woff2 │ │ ├── pages │ │ │ ├── og │ │ │ │ └── [...route].ts │ │ │ └── sitemap.txt.ts │ │ ├── styles │ │ │ ├── cards.css │ │ │ ├── content.css │ │ │ ├── custom.css │ │ │ ├── expressive-code.css │ │ │ ├── hero.css │ │ │ ├── links.css │ │ │ ├── sponsors.css │ │ │ ├── theme-dark.css │ │ │ └── theme-light.css │ │ └── util │ │ │ └── post.ts │ └── tsconfig.json └── knip │ ├── .gitignore │ ├── .release-it.json │ ├── README.md │ ├── bin │ ├── knip-bun.js │ └── knip.js │ ├── fixtures │ ├── binaries │ │ ├── dir │ │ │ └── index.js │ │ ├── main.ts │ │ ├── require.js │ │ └── script.js │ ├── class-members │ │ ├── implements.ts │ │ ├── index.ts │ │ ├── iterator-generator.ts │ │ ├── iterator.ts │ │ ├── members.ts │ │ └── package.json │ ├── cli-preprocessor │ │ ├── index.js │ │ ├── index.ts │ │ ├── node_modules │ │ │ ├── @org │ │ │ │ └── preprocessor │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── knip-preprocessor │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── with-args │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ └── package.json │ ├── cli-reporter │ │ ├── index.js │ │ ├── index.ts │ │ ├── node_modules │ │ │ ├── @org │ │ │ │ └── reporter │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── knip-reporter │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── cli │ │ └── package.json │ ├── commonjs-tsconfig │ │ ├── dir │ │ │ ├── exports.js │ │ │ ├── mod.js │ │ │ ├── mod1.js │ │ │ └── mod2.js │ │ ├── index.js │ │ ├── package.json │ │ ├── ts-ext.ts │ │ └── tsconfig.json │ ├── commonjs │ │ ├── dir │ │ │ ├── exports.js │ │ │ ├── mod.js │ │ │ ├── mod1.js │ │ │ ├── mod2.js │ │ │ └── mod3.js │ │ ├── index.js │ │ ├── node_modules │ │ │ └── resolved │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── odd.js │ │ ├── package.json │ │ └── ts-ext.ts │ ├── compilers │ │ ├── Component.vue │ │ ├── component.tsx │ │ ├── enum.ts │ │ ├── grid.css │ │ ├── index.ts │ │ ├── knip.ts │ │ ├── module.mdx │ │ ├── node_modules │ │ │ └── @mdx-js │ │ │ │ └── mdx │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ ├── readme.md │ │ ├── styles.css │ │ ├── tsconfig.json │ │ ├── unused.css │ │ └── unused.md │ ├── config-js-async │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.config.js │ │ ├── my-namespace.js │ │ └── package.json │ ├── config-js-flat │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.js │ │ ├── my-namespace.js │ │ └── package.json │ ├── config-json │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.json │ │ ├── my-namespace.js │ │ └── package.json │ ├── config-mjs-async │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.mjs │ │ ├── my-namespace.js │ │ └── package.json │ ├── config-mjs-flat │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.mjs │ │ ├── my-namespace.js │ │ └── package.json │ ├── config-package-json │ │ ├── dangling.js │ │ ├── index.js │ │ ├── my-namespace.js │ │ └── package.json │ ├── config-ts-async │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.ts │ │ ├── my-namespace.js │ │ ├── package.json │ │ └── tsconfig.json │ ├── config-ts-flat │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.config.ts │ │ ├── my-namespace.js │ │ ├── package.json │ │ └── tsconfig.json │ ├── config-ts-function │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.ts │ │ ├── my-namespace.js │ │ ├── package.json │ │ └── tsconfig.json │ ├── config-yaml │ │ ├── dangling.js │ │ ├── index.js │ │ ├── knip.yaml │ │ ├── my-namespace.js │ │ └── package.json │ ├── cross-workspace-inputs │ │ ├── .github │ │ │ └── workflows │ │ │ │ └── test.yml │ │ ├── components │ │ │ ├── package.json │ │ │ └── vitest.components.config.ts │ │ ├── e2e │ │ │ ├── package.json │ │ │ ├── playwright.e2e.config.ts │ │ │ └── tests │ │ │ │ └── feature.ts │ │ ├── knip.json │ │ ├── node_modules │ │ │ ├── @playwright │ │ │ │ └── test │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── vitest │ │ │ │ ├── config.js │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── custom-paths-workspaces │ │ ├── index.ts │ │ ├── knip.json │ │ ├── lib │ │ │ ├── fn.ts │ │ │ └── index.ts │ │ ├── my-module.ts │ │ ├── package.json │ │ └── ws │ │ │ ├── assets │ │ │ └── img │ │ │ │ └── logo.svg │ │ │ ├── index.ts │ │ │ ├── lib │ │ │ └── main.ts │ │ │ ├── package.json │ │ │ └── util │ │ │ └── lang.ts │ ├── definitely-typed │ │ ├── index.ts │ │ ├── node_modules │ │ │ ├── mocha │ │ │ │ └── package.json │ │ │ └── next │ │ │ │ └── package.json │ │ └── package.json │ ├── dependencies-types │ │ ├── index.ts │ │ ├── node_modules │ │ │ ├── @eslint │ │ │ │ └── js │ │ │ │ │ └── package.json │ │ │ ├── @types │ │ │ │ ├── ajv │ │ │ │ │ └── package.json │ │ │ │ ├── eslint │ │ │ │ │ └── package.json │ │ │ │ └── eslint__js │ │ │ │ │ └── package.json │ │ │ └── ajv │ │ │ │ └── package.json │ │ └── package.json │ ├── dependencies │ │ ├── entry.ts │ │ ├── knip.json │ │ ├── my-module.ts │ │ ├── package.json │ │ ├── tsconfig.json │ │ └── unused-module.ts │ ├── dts-baseurl-implicit-relative │ │ ├── package.json │ │ ├── src │ │ │ ├── components │ │ │ │ ├── Button.d.ts │ │ │ │ └── Button.jsx │ │ │ ├── dir │ │ │ │ └── subdir │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── index.js │ │ │ ├── index.ts │ │ │ └── utils │ │ │ │ ├── fn.d.ts │ │ │ │ ├── fn.js │ │ │ │ ├── obj.cjs │ │ │ │ ├── obj.d.cts │ │ │ │ ├── str.d.mts │ │ │ │ └── str.mjs │ │ └── tsconfig.json │ ├── dts-compiled │ │ ├── knip.ts │ │ ├── package.json │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── ExampleQuery.graphql │ │ │ ├── ExampleQuery.graphql.d.ts │ │ │ ├── UnusedQuery.graphql │ │ │ ├── UnusedQuery.graphql.d.ts │ │ │ ├── main.tsx │ │ │ └── types.ts │ │ └── tsconfig.json │ ├── dts │ │ ├── assets.d.ts │ │ ├── block.html │ │ ├── image.svg │ │ ├── index.d.ts │ │ ├── index.ts │ │ ├── normal.ts │ │ ├── package.json │ │ └── tsconfig.json │ ├── duplicate-exports-alias │ │ ├── helpers.ts │ │ ├── index.ts │ │ └── package.json │ ├── entry-exports-enum-members │ │ ├── fruit.ts │ │ ├── index.ts │ │ ├── main.ts │ │ ├── package.json │ │ └── tree.ts │ ├── entry-exports-namespace │ │ ├── index.ts │ │ ├── main.ts │ │ ├── mid.ts │ │ ├── ns.ts │ │ └── package.json │ ├── entry-files │ │ ├── cli.js │ │ ├── export-index.js │ │ ├── local-default.js │ │ ├── local-import.js │ │ ├── local-node.js │ │ ├── local-require.js │ │ ├── main.js │ │ └── package.json │ ├── entry-js │ │ ├── dangling.js │ │ ├── index.js │ │ ├── my-module.ts │ │ ├── my-namespace.ts │ │ ├── package.json │ │ └── tsconfig.json │ ├── enum-members-enumerated │ │ ├── directions.ts │ │ ├── fruits.ts │ │ ├── index.ts │ │ └── package.json │ ├── enum-members │ │ ├── index.ts │ │ ├── members.ts │ │ └── package.json │ ├── export-default-type │ │ ├── class.js │ │ ├── const.js │ │ ├── function.js │ │ ├── index.js │ │ ├── let.js │ │ ├── package.json │ │ └── var.js │ ├── exports-default-interface │ │ ├── enum.ts │ │ ├── index.ts │ │ ├── interface.ts │ │ ├── package.json │ │ └── type.ts │ ├── exports-special-characters │ │ ├── exports.ts │ │ ├── index.ts │ │ └── package.json │ ├── exports-value-refs-default │ │ ├── index.ts │ │ ├── package.json │ │ └── refs.ts │ ├── exports-value-refs │ │ ├── index.ts │ │ ├── package.json │ │ └── refs.ts │ ├── exports │ │ ├── default-arrow-function.ts │ │ ├── default-class.ts │ │ ├── default-function.ts │ │ ├── default-generator-function.ts │ │ ├── default-named-class.ts │ │ ├── default-named-function.ts │ │ ├── default-named-generator-function.ts │ │ ├── default.ts │ │ ├── dynamic-import.ts │ │ ├── export-is.ts │ │ ├── index.ts │ │ ├── my-mix.ts │ │ ├── my-module.ts │ │ ├── my-namespace.ts │ │ ├── named-exports.ts │ │ ├── odd.ts │ │ ├── package.json │ │ ├── tsconfig.json │ │ └── types.ts │ ├── extensions-css-ts │ │ ├── index.ts │ │ ├── package.json │ │ ├── styles1.css.ts │ │ ├── styles1a.css.ts │ │ ├── styles2.css.ts │ │ ├── styles2a.css.ts │ │ ├── styles3.css.ts │ │ └── styles3a.css.ts │ ├── fix-members │ │ ├── class.ts │ │ ├── enums.ts │ │ ├── index.js │ │ └── package.json │ ├── fix-workspaces │ │ ├── exports.ts │ │ ├── ignored.ts │ │ ├── index.js │ │ ├── knip.ts │ │ ├── package.json │ │ └── packages │ │ │ ├── ignored │ │ │ ├── exports.ts │ │ │ ├── index.js │ │ │ └── package.json │ │ │ └── lib │ │ │ ├── exports.ts │ │ │ ├── ignored.ts │ │ │ ├── index.js │ │ │ └── package.json │ ├── fix │ │ ├── access.js │ │ ├── biome.json │ │ ├── default-x.mjs │ │ ├── default.mjs │ │ ├── exports.js │ │ ├── ignored.ts │ │ ├── index.mjs │ │ ├── knip.ts │ │ ├── mod.ts │ │ ├── package.json │ │ ├── reexported.ts │ │ └── reexports.mjs │ ├── gitignore │ │ ├── .gitignore │ │ ├── package.json │ │ └── packages │ │ │ └── a │ │ │ ├── .gitignore │ │ │ ├── build │ │ │ ├── dist.d.ts │ │ │ └── dist.js │ │ │ ├── dist.ts │ │ │ ├── index.ts │ │ │ ├── libs │ │ │ ├── .gitignore │ │ │ └── util │ │ │ │ └── type │ │ │ │ └── .gitignore │ │ │ └── package.json │ ├── glob │ │ ├── .gitignore │ │ └── a │ │ │ ├── .gitignore │ │ │ └── b │ │ │ ├── .gitignore │ │ │ └── c │ │ │ └── .gitignore │ ├── ignore-dependencies-binaries-json │ │ ├── index.ts │ │ ├── node_modules │ │ │ └── tsx │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── ignore-dependencies-binaries │ │ ├── index.ts │ │ ├── knip.ts │ │ ├── node_modules │ │ │ └── tsx │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── ignore-dependencies-eslint │ │ ├── .eslintrc.js │ │ ├── knip.json │ │ └── package.json │ ├── ignore-exports-used-in-file-alias-exclude │ │ ├── exports.ts │ │ ├── index.ts │ │ ├── more.ts │ │ └── package.json │ ├── ignore-exports-used-in-file-id-chars │ │ ├── imported.ts │ │ ├── index.ts │ │ ├── knip.json │ │ └── package.json │ ├── ignore-exports-used-in-file-re-export │ │ ├── component.ts │ │ ├── index.ts │ │ ├── interface.ts │ │ ├── knip.json │ │ └── package.json │ ├── ignore-exports-used-in-file-shorthand │ │ ├── knip.json │ │ ├── package.json │ │ └── src │ │ │ ├── antecedents.js │ │ │ ├── index.js │ │ │ └── slice.js │ ├── ignore-exports-used-in-file-some │ │ ├── imported.ts │ │ ├── index.ts │ │ ├── knip.json │ │ ├── package.json │ │ └── tsconfig.json │ ├── ignore-exports-used-in-file │ │ ├── imported.ts │ │ ├── index.ts │ │ ├── knip.json │ │ ├── package.json │ │ └── tsconfig.json │ ├── ignore-members │ │ ├── MyClass.ts │ │ ├── enums.ts │ │ ├── index.ts │ │ ├── knip.ts │ │ ├── package.json │ │ └── tsconfig.json │ ├── ignore-unresolved │ │ ├── index.ts │ │ ├── knip.ts │ │ └── package.json │ ├── ignore-unresolved2 │ │ ├── knip.json │ │ ├── package.json │ │ └── packages │ │ │ └── client │ │ │ ├── package.json │ │ │ └── src │ │ │ └── index.ts │ ├── import-equals │ │ ├── index.ts │ │ ├── local.ts │ │ ├── my-module.ts │ │ ├── package.json │ │ └── tsconfig.json │ ├── import-errors │ │ ├── index.ts │ │ ├── node_modules │ │ │ └── package │ │ │ │ └── index.d.ts │ │ └── package.json │ ├── import-named-default-id │ │ ├── index.ts │ │ ├── package.json │ │ └── utils.ts │ ├── import-star-iteration │ │ ├── fruit.ts │ │ ├── index.ts │ │ ├── package.json │ │ ├── tsconfig.json │ │ └── vegetables.ts │ ├── imports-namespace-with-nsexports │ │ ├── index.ts │ │ ├── namespace.ts │ │ ├── namespace2.ts │ │ ├── namespace3.ts │ │ ├── namespace4.ts │ │ ├── namespace5.ts │ │ ├── namespace6.ts │ │ ├── package.json │ │ └── re-exported-module.ts │ ├── imports-namespace │ │ ├── index.ts │ │ ├── namespace.ts │ │ ├── namespace2.ts │ │ ├── namespace3.ts │ │ ├── namespace4.ts │ │ ├── namespace5.ts │ │ ├── namespace6.ts │ │ ├── namespace7.ts │ │ ├── namespace8.ts │ │ ├── package.json │ │ └── re-exported-module.ts │ ├── imports-prop-access-call │ │ ├── exists.js │ │ ├── index.ts │ │ └── package.json │ ├── imports-self │ │ ├── exports.js │ │ ├── index.js │ │ └── package.json │ ├── imports-typeof │ │ ├── index.ts │ │ └── package.json │ ├── imports │ │ ├── aliased-binding.ts │ │ ├── await-import-call.ts │ │ ├── catch.ts │ │ ├── default-and-named-binding.ts │ │ ├── default-identifier.ts │ │ ├── default-prop-access.ts │ │ ├── dir │ │ │ ├── import-b.ts │ │ │ ├── import-f.ts │ │ │ └── mod.ts │ │ ├── empty-named-bindings.ts │ │ ├── import-a.ts │ │ ├── import-c.ts │ │ ├── import-d.ts │ │ ├── import-e.ts │ │ ├── import-meta-resolve.js │ │ ├── index.ts │ │ ├── named-object-binding.ts │ │ ├── no-substitution-tpl-literal.ts │ │ ├── object-bindings.ts │ │ ├── package.json │ │ ├── promise-like.ts │ │ ├── prop-access.ts │ │ ├── side-effects-call.ts │ │ ├── side-effects.ts │ │ ├── string-literal.ts │ │ ├── top-level-await-import.ts │ │ ├── top-level-side-effects-call.ts │ │ └── tsconfig.json │ ├── include-entry-exports-scripts │ │ ├── knip.json │ │ ├── next.config.js │ │ ├── node_modules │ │ │ └── tsx │ │ │ │ └── package.json │ │ ├── package.json │ │ └── src │ │ │ ├── pages │ │ │ └── index.js │ │ │ ├── script1.ts │ │ │ ├── script2.ts │ │ │ └── script3.ts │ ├── include-entry-exports │ │ ├── cli.js │ │ ├── index.ts │ │ ├── main.ts │ │ ├── mod.ts │ │ └── package.json │ ├── include-entry-reexports │ │ ├── node_modules │ │ │ ├── .package-lock.json │ │ │ └── @fixtures │ │ │ │ ├── include-entry-reexports__app │ │ │ │ └── include-entry-reexports__shared │ │ ├── package.json │ │ └── packages │ │ │ ├── app │ │ │ ├── index.mjs │ │ │ └── package.json │ │ │ └── shared │ │ │ ├── bar.mjs │ │ │ ├── foo.mjs │ │ │ ├── index.mjs │ │ │ └── package.json │ ├── include-libs │ │ ├── components.ts │ │ ├── index.tsx │ │ ├── loadable.ts │ │ ├── node_modules │ │ │ ├── @loadable │ │ │ │ └── component │ │ │ │ │ ├── dist │ │ │ │ │ └── esm │ │ │ │ │ │ └── loadable.esm.mjs │ │ │ │ │ └── package.json │ │ │ └── @types │ │ │ │ └── loadable__component │ │ │ │ ├── index.d.ts │ │ │ │ └── package.json │ │ ├── package.json │ │ └── tsconfig.json │ ├── js-only │ │ ├── dangling.js │ │ ├── index.js │ │ ├── my-namespace.js │ │ └── package.json │ ├── jsdoc-exports │ │ ├── index.ts │ │ ├── module.test.js │ │ ├── module.ts │ │ └── package.json │ ├── jsdoc │ │ ├── index.ts │ │ └── package.json │ ├── jsx │ │ ├── App.tsx │ │ ├── Component.tsx │ │ ├── package.json │ │ └── tsconfig.json │ ├── load-cjs │ │ ├── index.js │ │ └── package.json │ ├── load-esm-ts │ │ ├── index.ts │ │ ├── package.json │ │ └── tsconfig.json │ ├── load-esm │ │ ├── index.js │ │ └── package.json │ ├── module-block │ │ ├── index.ts │ │ ├── package.json │ │ ├── tsconfig.json │ │ └── types.ts │ ├── module-resolution-baseurl-implicit-relative │ │ ├── package.json │ │ ├── src │ │ │ ├── assets │ │ │ │ └── image.svg │ │ │ ├── dir │ │ │ │ └── main.ts │ │ │ ├── hello │ │ │ │ └── world.ts │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── module-resolution-non-std-absolute │ │ ├── node_modules │ │ │ ├── x-other │ │ │ └── x-self │ │ ├── package.json │ │ ├── tsconfig.json │ │ ├── x-other │ │ │ ├── absolute.css │ │ │ ├── absolute.svg │ │ │ └── package.json │ │ └── x-self │ │ │ ├── absolute.css │ │ │ ├── absolute.svg │ │ │ ├── index.ts │ │ │ └── package.json │ ├── module-resolution-non-std-implicit │ │ ├── package.json │ │ └── src │ │ │ ├── assets │ │ │ ├── image.png │ │ │ └── image.svg │ │ │ ├── common │ │ │ └── image.svg │ │ │ ├── dir │ │ │ └── main.ts │ │ │ ├── global.css │ │ │ ├── icon.svg │ │ │ ├── index.ts │ │ │ └── styles │ │ │ └── base.css │ ├── module-resolution-non-std │ │ ├── .gitignore │ │ ├── node_modules │ │ │ └── @svg-icons │ │ │ │ ├── fa-brands │ │ │ │ ├── github.svg │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ │ └── heroicons-outline │ │ │ │ ├── briefcase.svg │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ ├── src │ │ │ ├── common │ │ │ │ ├── aliased.svg │ │ │ │ ├── image.png │ │ │ │ └── image.svg │ │ │ ├── globals.css │ │ │ ├── icon.svg │ │ │ ├── index.ts │ │ │ ├── styles │ │ │ │ ├── aliased.css │ │ │ │ └── base.css │ │ │ └── unused.ts │ │ ├── tsconfig.json │ │ └── unused.png │ ├── module-resolution-tsconfig-paths │ │ ├── aliased-dir │ │ │ └── a.ts │ │ ├── components │ │ │ ├── IndexComponent │ │ │ │ └── index.tsx │ │ │ └── MyComponent.tsx │ │ ├── index.ts │ │ ├── internal-package │ │ │ └── index.ts │ │ ├── package.json │ │ ├── tsconfig.json │ │ └── unprefixed │ │ │ └── module.ts │ ├── negated-production-paths │ │ ├── index.test.ts │ │ ├── index.ts │ │ ├── knip.json │ │ └── package.json │ ├── npm-scripts │ │ ├── .gitignore │ │ ├── ignore.js │ │ ├── node_modules │ │ │ ├── @commitlint │ │ │ │ └── cli │ │ │ │ │ └── package.json │ │ │ ├── @org │ │ │ │ └── runnable │ │ │ │ │ └── package.json │ │ │ ├── eslint-v6 │ │ │ │ ├── bin │ │ │ │ │ └── eslint.js │ │ │ │ └── package.json │ │ │ ├── eslint-v7 │ │ │ │ ├── bin │ │ │ │ │ └── eslint.js │ │ │ │ └── package.json │ │ │ ├── eslint-v8 │ │ │ │ ├── bin │ │ │ │ │ └── eslint.js │ │ │ │ └── package.json │ │ │ ├── eslint │ │ │ │ ├── bin │ │ │ │ │ └── eslint.js │ │ │ │ └── package.json │ │ │ ├── express │ │ │ │ └── package.json │ │ │ ├── nx │ │ │ │ └── package.json │ │ │ ├── package-cli │ │ │ │ └── package.json │ │ │ ├── pm2 │ │ │ │ └── package.json │ │ │ ├── tsup │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── unused │ │ │ │ └── package.json │ │ ├── package.json │ │ └── script.js │ ├── package-entry-points │ │ ├── .gitignore │ │ ├── dist │ │ │ ├── app.js │ │ │ └── runtime │ │ │ │ ├── deep │ │ │ │ └── deno.js │ │ │ │ └── node.js │ │ ├── feature │ │ │ ├── internal │ │ │ │ ├── no-entry.js │ │ │ │ └── system │ │ │ │ │ ├── unused.ts │ │ │ │ │ └── used.ts │ │ │ └── my-feature.js │ │ ├── lib │ │ │ ├── deep │ │ │ │ ├── er │ │ │ │ │ └── file.js │ │ │ │ └── main.js │ │ │ └── index.js │ │ ├── package.json │ │ ├── src │ │ │ ├── app.ts │ │ │ ├── public │ │ │ │ └── lib │ │ │ │ │ └── rary │ │ │ │ │ ├── index.ts │ │ │ │ │ └── lost.js │ │ │ └── runtime │ │ │ │ ├── deep │ │ │ │ └── deno.ts │ │ │ │ └── node.ts │ │ └── tsconfig.json │ ├── path-aliases │ │ ├── abc │ │ │ └── main.js │ │ ├── index.ts │ │ ├── knip.json │ │ ├── lib │ │ │ ├── data.ext │ │ │ ├── fn.ts │ │ │ └── index.ts │ │ ├── my-module.ts │ │ └── package.json │ ├── path-aliases2 │ │ ├── index.ts │ │ ├── node_modules │ │ │ └── vite │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ ├── ts │ │ │ ├── components │ │ │ │ └── file.ts │ │ │ └── shared │ │ │ │ └── file.ts │ │ ├── tsconfig.json │ │ ├── vite.config.ts │ │ ├── vite │ │ │ ├── component │ │ │ │ └── file.ts │ │ │ ├── dir │ │ │ │ └── file.ts │ │ │ └── file.ts │ │ ├── vitest │ │ │ ├── component │ │ │ │ └── file.ts │ │ │ ├── dir │ │ │ │ └── file.ts │ │ │ └── file.ts │ │ ├── webpack.config.ts │ │ └── webpack │ │ │ ├── components │ │ │ └── file.ts │ │ │ ├── file.ts │ │ │ ├── match.ts │ │ │ ├── shared │ │ │ └── file.ts │ │ │ └── wild │ │ │ └── file.ts │ ├── pathless │ │ ├── package.json │ │ ├── src │ │ │ ├── dir │ │ │ │ └── module-a.ts │ │ │ ├── index.ts │ │ │ └── same.ts │ │ └── tsconfig.json │ ├── peer-dependencies-circular │ │ ├── node_modules │ │ │ ├── core │ │ │ │ └── package.json │ │ │ ├── peer-1 │ │ │ │ └── package.json │ │ │ └── peer-2 │ │ │ │ └── package.json │ │ └── package.json │ ├── peer-dependencies-optional-host │ │ ├── index.ts │ │ ├── node_modules │ │ │ ├── @vue │ │ │ │ └── composition-api │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── vue-demi │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── vue │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── peer-dependencies-optional-ignored │ │ ├── index.ts │ │ ├── knip.json │ │ ├── node_modules │ │ │ ├── @types │ │ │ │ └── pg │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── package.json │ │ │ └── pg │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── peer-dependencies-optional │ │ ├── index.ts │ │ ├── node_modules │ │ │ ├── @types │ │ │ │ └── pg │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── package.json │ │ │ └── pg │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── peer-dependencies │ │ ├── index.ts │ │ ├── node_modules │ │ │ └── host │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ └── package.json │ ├── plugin-config │ │ ├── index.ts │ │ ├── index.vitest.ts │ │ ├── knip.json │ │ ├── node_modules │ │ │ └── vitest │ │ │ │ ├── config.js │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ └── vitest.config.ts │ ├── plugin-disable │ │ ├── knip.json │ │ ├── package.json │ │ ├── vite.config.ts │ │ └── ws │ │ │ ├── package.json │ │ │ └── playwright.config.ts │ ├── plugin-overlap │ │ ├── node_modules │ │ │ └── typedoc │ │ │ │ └── package.json │ │ ├── package.json │ │ ├── tsconfig.json │ │ └── typedoc.json │ ├── plugins │ │ ├── _template │ │ │ └── package.json │ │ ├── angular │ │ │ ├── angular.json │ │ │ ├── node_modules │ │ │ │ └── @angular │ │ │ │ │ └── cli │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── app │ │ │ │ │ └── app.component.spec.ts │ │ │ │ ├── main.ts │ │ │ │ ├── polyfill.js │ │ │ │ └── script.js │ │ │ ├── tsconfig.app.json │ │ │ ├── tsconfig.json │ │ │ └── tsconfig.spec.json │ │ ├── angular2 │ │ │ ├── angular.json │ │ │ ├── another-karma.conf.js │ │ │ ├── karma.conf.js │ │ │ ├── node_modules │ │ │ │ └── @angular │ │ │ │ │ └── cli │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── browser.ts │ │ │ │ ├── environments │ │ │ │ │ ├── environment.development.ts │ │ │ │ │ └── environment.ts │ │ │ │ ├── main.server.ts │ │ │ │ └── server.ts │ │ │ └── tsconfig.app.json │ │ ├── angular3 │ │ │ ├── angular.json │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── main-for-non-prod.ts │ │ │ │ ├── main-for-testing.ts │ │ │ │ ├── main.server-for-non-prod.ts │ │ │ │ ├── main.server.ts │ │ │ │ ├── main.ts │ │ │ │ ├── polyfill-for-non-prod.js │ │ │ │ ├── polyfill.js │ │ │ │ ├── script-for-non-prod.js │ │ │ │ ├── script.js │ │ │ │ └── server.ts │ │ ├── astro │ │ │ ├── .astro │ │ │ │ └── types.d.ts │ │ │ ├── astro.config.mjs │ │ │ ├── knip.ts │ │ │ ├── node_modules │ │ │ │ └── astro │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── public │ │ │ │ └── favicon.svg │ │ │ ├── src │ │ │ │ ├── components │ │ │ │ │ ├── BaseHead.astro │ │ │ │ │ ├── Footer.astro │ │ │ │ │ ├── FormattedDate.astro │ │ │ │ │ ├── Header.astro │ │ │ │ │ └── HeaderLink.astro │ │ │ │ ├── consts.ts │ │ │ │ ├── content │ │ │ │ │ ├── blog │ │ │ │ │ │ ├── first-post.md │ │ │ │ │ │ └── using-mdx.mdx │ │ │ │ │ └── config.ts │ │ │ │ ├── env.d.ts │ │ │ │ ├── layouts │ │ │ │ │ ├── BlogPost.astro │ │ │ │ │ └── Layout.astro │ │ │ │ ├── pages │ │ │ │ │ ├── about.astro │ │ │ │ │ ├── about │ │ │ │ │ │ └── mdx-with-layout.mdx │ │ │ │ │ ├── blog │ │ │ │ │ │ ├── [...slug].astro │ │ │ │ │ │ └── index.astro │ │ │ │ │ ├── index.astro │ │ │ │ │ └── rss.xml.js │ │ │ │ └── styles │ │ │ │ │ └── global.css │ │ │ └── tsconfig.json │ │ ├── ava │ │ │ ├── ava.config.mjs │ │ │ ├── node_modules │ │ │ │ └── ava │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── ava2 │ │ │ ├── __tests__ │ │ │ │ ├── __helpers__ │ │ │ │ │ └── index.cjs │ │ │ │ └── mod.cjs │ │ │ ├── ava.config.mjs │ │ │ ├── index.cjs │ │ │ ├── mod.cjs │ │ │ ├── package.json │ │ │ └── test.js │ │ ├── ava3 │ │ │ ├── ava.config.mjs │ │ │ ├── index.cjs │ │ │ ├── mod.cjs │ │ │ ├── mod.test.js │ │ │ ├── mod.test.ts │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── mod.test.js │ │ │ │ └── mod.test.ts │ │ │ ├── test.js │ │ │ └── test.ts │ │ ├── babel │ │ │ ├── .babelrc │ │ │ ├── .babelrc.js │ │ │ ├── babel.config.cts │ │ │ ├── babel.config.js │ │ │ ├── node_modules │ │ │ │ ├── dotenv │ │ │ │ │ ├── lib │ │ │ │ │ │ └── main.js │ │ │ │ │ └── package.json │ │ │ │ └── underscore │ │ │ │ │ ├── package.json │ │ │ │ │ ├── underscore-node-f.cjs │ │ │ │ │ └── underscore-node.cjs │ │ │ └── package.json │ │ ├── bun │ │ │ ├── index.spec.ts │ │ │ ├── index.ts │ │ │ └── package.json │ │ ├── capacitor │ │ │ ├── android │ │ │ │ └── capacitor.settings.gradle │ │ │ ├── capacitor.config.json │ │ │ ├── capacitor.config.ts │ │ │ ├── ios │ │ │ │ └── App │ │ │ │ │ └── Podfile │ │ │ └── package.json │ │ ├── changelogen │ │ │ ├── changelog.config.ts │ │ │ ├── node_modules │ │ │ │ └── changelogen │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── changelogithub │ │ │ ├── changelogithub.config.ts │ │ │ ├── node_modules │ │ │ │ └── changelogithub │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── changesets │ │ │ ├── .changeset │ │ │ │ └── config.json │ │ │ └── package.json │ │ ├── commitizen │ │ │ ├── .czrc │ │ │ └── package.json │ │ ├── commitlint │ │ │ ├── .commitlintrc.json │ │ │ ├── commitlint.config.js │ │ │ └── package.json │ │ ├── convex │ │ │ ├── convex │ │ │ │ ├── _generated │ │ │ │ │ └── dataModel.d.ts │ │ │ │ ├── auth.config.ts │ │ │ │ └── schema.ts │ │ │ └── package.json │ │ ├── create-typescript-app │ │ │ ├── create-typescript-app.config.js │ │ │ └── package.json │ │ ├── cspell │ │ │ ├── .cspell.json │ │ │ └── package.json │ │ ├── cucumber │ │ │ ├── cucumber.js │ │ │ ├── package.json │ │ │ └── steps │ │ │ │ └── step.ts │ │ ├── cypress-multi-reporter │ │ │ ├── cypress.config.ts │ │ │ ├── cypress │ │ │ │ └── support │ │ │ │ │ ├── commands.ts │ │ │ │ │ └── e2e.ts │ │ │ ├── node_modules │ │ │ │ ├── @nrwl │ │ │ │ │ └── cypress │ │ │ │ │ │ └── plugins │ │ │ │ │ │ └── cypress-preset.js │ │ │ │ └── cypress │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── reporter-config.json │ │ ├── cypress │ │ │ ├── cypress.config.ts │ │ │ ├── cypress │ │ │ │ └── support │ │ │ │ │ ├── commands.ts │ │ │ │ │ └── e2e.ts │ │ │ ├── node_modules │ │ │ │ ├── @nrwl │ │ │ │ │ └── cypress │ │ │ │ │ │ └── plugins │ │ │ │ │ │ └── cypress-preset.js │ │ │ │ └── cypress │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── cypress2 │ │ │ ├── cypress.config.js │ │ │ ├── cypress │ │ │ │ └── support │ │ │ │ │ ├── commands.ts │ │ │ │ │ ├── component.ts │ │ │ │ │ └── e2e.ts │ │ │ ├── e2e │ │ │ │ └── mod.e2e.js │ │ │ ├── mod.component.js │ │ │ ├── node_modules │ │ │ │ └── cypress │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── dependency-cruiser │ │ │ ├── .dependency-cruiser.js │ │ │ ├── baseline.config.js │ │ │ ├── custom-depcruise-config.js │ │ │ ├── dependency-cruise.config.js │ │ │ ├── node_modules │ │ │ │ └── dependency-cruiser │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── docusaurus │ │ │ ├── blog │ │ │ │ └── 2021-08-01-mdx-blog-post.mdx │ │ │ ├── docs │ │ │ │ └── tutorial-basics │ │ │ │ │ └── markdown-features.mdx │ │ │ ├── docusaurus.config.js │ │ │ ├── docusaurus.config.ts │ │ │ ├── node_modules │ │ │ │ └── @docusaurus │ │ │ │ │ └── core │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── sidebars.js │ │ │ ├── sidebars.ts │ │ │ └── src │ │ │ │ ├── components │ │ │ │ └── HomepageFeatures │ │ │ │ │ └── index.js │ │ │ │ └── pages │ │ │ │ └── index.js │ │ ├── drizzle │ │ │ ├── drizzle.config.ts │ │ │ ├── node_modules │ │ │ │ ├── drizzle-kit │ │ │ │ │ └── package.json │ │ │ │ └── drizzle-orm │ │ │ │ │ ├── dist │ │ │ │ │ ├── index.js │ │ │ │ │ ├── pg-core.cjs │ │ │ │ │ └── pg-core.js │ │ │ │ │ ├── index.cjs │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── schema.ts │ │ │ │ └── schema │ │ │ │ └── users.ts │ │ ├── eleventy │ │ │ ├── _data │ │ │ │ └── global.cjs │ │ │ ├── _includes │ │ │ │ └── footer.njk │ │ │ ├── eleventy.config.cjs │ │ │ ├── package.json │ │ │ └── pages │ │ │ │ └── index.njk │ │ ├── eleventy2 │ │ │ ├── _data │ │ │ │ └── global.cjs │ │ │ ├── _includes │ │ │ │ └── footer.njk │ │ │ ├── eleventy.config.cjs │ │ │ ├── package.json │ │ │ └── pages │ │ │ │ └── index.njk │ │ ├── eleventy3 │ │ │ ├── .eleventy.js │ │ │ ├── _includes │ │ │ │ └── footer.njk │ │ │ ├── node_modules │ │ │ │ └── @11ty │ │ │ │ │ ├── eleventy-navigation │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ │ ├── eleventy-plugin-syntaxhighlight │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ │ └── eleventy │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── pages │ │ │ │ └── index.njk │ │ │ └── src │ │ │ │ ├── _includes │ │ │ │ └── abc.js │ │ │ │ ├── _plugins │ │ │ │ └── syntax-highlighter.js │ │ │ │ ├── assets │ │ │ │ └── index.js │ │ │ │ └── static │ │ │ │ └── index.js │ │ ├── eslint │ │ │ ├── .eslintrc.cjs │ │ │ ├── .eslintrc.js │ │ │ ├── .eslintrc.json │ │ │ ├── .eslintrc.yml │ │ │ ├── base.eslint.json │ │ │ ├── index.ts │ │ │ ├── node_modules │ │ │ │ ├── @eslint │ │ │ │ │ └── js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── @nrwl │ │ │ │ │ └── eslint-plugin-nx │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── @scope │ │ │ │ │ └── eslint-config │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── ts.js │ │ │ │ ├── @sinonjs │ │ │ │ │ ├── eslint-config │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── eslint-plugin-no-prototype-methods │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── @typescript-eslint │ │ │ │ │ ├── eslint-plugin │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ │ └── parser │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── eslint-config-airbnb │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── eslint-config-prettier │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── eslint-plugin-compat │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── eslint-plugin-jsdoc │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── eslint-plugin-no-secrets │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── eslint-plugin-prettier │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── eslint │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── eslint2 │ │ │ ├── eslint.config.ts │ │ │ ├── knip.json │ │ │ ├── node_modules │ │ │ │ ├── @eslint │ │ │ │ │ └── js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── eslint-import-resolver-typescript │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── eslint │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── typescript-eslint │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── eslint3 │ │ │ ├── eslint.config.js │ │ │ ├── index.ts │ │ │ ├── node_modules │ │ │ │ └── eslint │ │ │ │ │ └── index.js │ │ │ └── package.json │ │ ├── eslint4 │ │ │ ├── eslint.config.ts │ │ │ ├── index.ts │ │ │ └── package.json │ │ ├── expo │ │ │ ├── app.config.ts │ │ │ ├── node_modules │ │ │ │ └── expo │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── app │ │ │ │ └── index.ts │ │ ├── expo2 │ │ │ ├── app.config.js │ │ │ ├── node_modules │ │ │ │ └── expo │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── routes │ │ │ │ └── index.js │ │ ├── expo3 │ │ │ ├── app.json │ │ │ ├── app │ │ │ │ └── _layout.ts │ │ │ ├── node_modules │ │ │ │ └── expo │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── gatsby │ │ │ ├── gatsby-config.js │ │ │ ├── gatsby-node.js │ │ │ └── package.json │ │ ├── github-action │ │ │ ├── action.yml │ │ │ ├── dist │ │ │ │ └── index.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── main.ts │ │ ├── github-actions-workspaces │ │ │ ├── .github │ │ │ │ └── workflows │ │ │ │ │ └── dir.yml │ │ │ ├── node_modules │ │ │ │ ├── goodbye │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── hello │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── stylelint │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── packages │ │ │ │ ├── app │ │ │ │ └── package.json │ │ │ │ └── lib │ │ │ │ └── package.json │ │ ├── github-actions │ │ │ ├── .github │ │ │ │ ├── actions │ │ │ │ │ ├── composite │ │ │ │ │ │ └── action.yml │ │ │ │ │ ├── node-a │ │ │ │ │ │ ├── action.yml │ │ │ │ │ │ ├── dist │ │ │ │ │ │ │ └── pre.js │ │ │ │ │ │ ├── main.js │ │ │ │ │ │ └── post.js │ │ │ │ │ └── node-b │ │ │ │ │ │ ├── action.yaml │ │ │ │ │ │ └── main.js │ │ │ │ └── workflows │ │ │ │ │ ├── test.yml │ │ │ │ │ └── working-directory.yml │ │ │ ├── comment.ts │ │ │ ├── package.json │ │ │ └── scripts │ │ │ │ ├── check-dependencies.js │ │ │ │ ├── from-working-dir-with-path.js │ │ │ │ ├── from-working-dir.js │ │ │ │ ├── get-release-notes.js │ │ │ │ └── no-working-dir.js │ │ ├── graphql-codegen-graphql-config │ │ │ ├── .graphqlrc │ │ │ ├── graphql.config.toml │ │ │ ├── graphql.config.ts │ │ │ ├── node_modules │ │ │ │ ├── @graphql-codegen │ │ │ │ │ └── cli │ │ │ │ │ │ └── package.json │ │ │ │ └── graphql-config │ │ │ │ │ ├── package.json │ │ │ │ │ └── types.d.ts │ │ │ └── package.json │ │ ├── graphql-codegen-graphql-config2 │ │ │ ├── node_modules │ │ │ │ └── @graphql-codegen │ │ │ │ │ └── cli │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── graphql-codegen │ │ │ ├── codegen.ts │ │ │ ├── codegen.yaml │ │ │ ├── node_modules │ │ │ │ └── @graphql-codegen │ │ │ │ │ └── cli │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── hardhat │ │ │ ├── hardhat.config.ts │ │ │ └── package.json │ │ ├── husky-lint-staged │ │ │ ├── node_modules │ │ │ │ ├── husky │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── lint-staged │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── prettier │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── husky-v8 │ │ │ ├── .husky │ │ │ │ ├── post-checkout │ │ │ │ ├── pre-commit │ │ │ │ ├── pre-push │ │ │ │ └── pre-rebase │ │ │ ├── node_modules │ │ │ │ ├── @commitlint │ │ │ │ │ └── cli │ │ │ │ │ │ └── package.json │ │ │ │ ├── husky │ │ │ │ │ └── package.json │ │ │ │ └── lint-staged │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── husky-v9-1 │ │ │ ├── .husky │ │ │ │ └── pre-commit │ │ │ ├── node_modules │ │ │ │ ├── husky │ │ │ │ │ ├── cli.js │ │ │ │ │ └── package.json │ │ │ │ └── lint-staged │ │ │ │ │ ├── cli.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── husky-v9 │ │ │ ├── .husky │ │ │ │ ├── post-checkout │ │ │ │ ├── pre-commit │ │ │ │ ├── pre-push │ │ │ │ └── pre-rebase │ │ │ ├── node_modules │ │ │ │ ├── @commitlint │ │ │ │ │ └── cli │ │ │ │ │ │ └── package.json │ │ │ │ ├── husky │ │ │ │ │ └── package.json │ │ │ │ └── lint-staged │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── i18next-parser │ │ │ ├── custom.config.js │ │ │ ├── i18next-parser.config.js │ │ │ ├── node_modules │ │ │ │ └── i18next-parser │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── jest │ │ │ ├── customSuiteProperties.cjs │ │ │ ├── jest.config.js │ │ │ ├── jest.config.shared.js │ │ │ ├── jest.setup.js │ │ │ ├── jest.transform.js │ │ │ ├── local-preset │ │ │ │ └── jest-preset.js │ │ │ ├── node_modules │ │ │ │ └── jest-watch-select-projects │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── snapshotResolver.js │ │ ├── jest2 │ │ │ ├── jest.config.js │ │ │ ├── jest.environment.js │ │ │ ├── knip.ts │ │ │ ├── package.json │ │ │ └── project1 │ │ │ │ ├── customProperties.cjs │ │ │ │ ├── jest.config.js │ │ │ │ └── setupFiles │ │ │ │ └── setup.js │ │ ├── jest3 │ │ │ ├── __mocks__ │ │ │ │ └── used.js │ │ │ ├── index.spec.ts │ │ │ ├── jest.config.js │ │ │ └── package.json │ │ ├── karma │ │ │ ├── karma.conf.js │ │ │ └── package.json │ │ ├── karma2 │ │ │ ├── karma.conf.js │ │ │ ├── out-of-base-path │ │ │ │ └── example.spec.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── another-example.spec.js │ │ │ │ ├── example.spec.js │ │ │ │ └── excluded.spec.js │ │ ├── karma3 │ │ │ ├── karma-plugin.js │ │ │ ├── karma.conf.js │ │ │ └── package.json │ │ ├── ladle │ │ │ ├── .ladle │ │ │ │ ├── components.tsx │ │ │ │ ├── config.mjs │ │ │ │ └── vite.config.ts │ │ │ ├── app │ │ │ │ ├── basic.stories.tsx │ │ │ │ └── control.stories.tsx │ │ │ ├── package.json │ │ │ └── tsconfig.json │ │ ├── lefthook-ci │ │ │ ├── lefthook.yml │ │ │ ├── node_modules │ │ │ │ ├── @evilmartians │ │ │ │ │ └── lefthook │ │ │ │ │ │ └── package.json │ │ │ │ ├── eslint │ │ │ │ │ └── package.json │ │ │ │ ├── prettier │ │ │ │ │ └── package.json │ │ │ │ └── stylelint │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── lefthook-v1 │ │ │ ├── _git │ │ │ │ └── hooks │ │ │ │ │ └── prepare-commit-msg │ │ │ ├── lefthook.yml │ │ │ ├── node_modules │ │ │ │ ├── eslint │ │ │ │ │ └── package.json │ │ │ │ ├── lefthook │ │ │ │ │ └── package.json │ │ │ │ ├── prettier │ │ │ │ │ └── package.json │ │ │ │ └── stylelint │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── lefthook │ │ │ ├── example.mjs │ │ │ ├── lefthook.yml │ │ │ ├── node_modules │ │ │ │ └── @arkweid │ │ │ │ │ └── lefthook │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── lint-staged │ │ │ ├── .lintstagedrc.js │ │ │ └── package.json │ │ ├── linthtml │ │ │ ├── .linthtmlrc.js │ │ │ ├── index.html │ │ │ └── package.json │ │ ├── lockfile-lint │ │ │ ├── .lockfile-lintrc.js │ │ │ ├── node_modules │ │ │ │ └── lockfile-lint │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── lost-pixel │ │ │ ├── lostpixel.config.ts │ │ │ └── package.json │ │ ├── markdownlint │ │ │ ├── .markdownlint.json │ │ │ └── package.json │ │ ├── metro │ │ │ ├── metro.config.js │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── app │ │ │ │ └── index.js │ │ ├── mocha │ │ │ ├── .mocharc.json │ │ │ ├── .mocharc.yml │ │ │ ├── example.test.ts │ │ │ ├── hooks.ts │ │ │ └── package.json │ │ ├── moonrepo │ │ │ ├── .moon │ │ │ │ ├── tasks.yml │ │ │ │ └── tasks │ │ │ │ │ └── typescript.yml │ │ │ ├── apps │ │ │ │ └── a │ │ │ │ │ └── package.json │ │ │ ├── libs │ │ │ │ └── b │ │ │ │ │ ├── package.json │ │ │ │ │ └── server │ │ │ │ │ └── server.ts │ │ │ ├── moon.yml │ │ │ ├── package.json │ │ │ ├── pnpm-workspace.yaml │ │ │ ├── tools │ │ │ │ └── linters │ │ │ │ │ └── lint-readme.ts │ │ │ └── tsconfig.json │ │ ├── msw │ │ │ ├── bob │ │ │ │ └── mockServiceWorker.js │ │ │ ├── mocks │ │ │ │ ├── browser.ts │ │ │ │ ├── handlers.ts │ │ │ │ ├── index.ts │ │ │ │ └── server.ts │ │ │ └── package.json │ │ ├── nano-staged │ │ │ ├── .nano-staged.js │ │ │ └── package.json │ │ ├── nest │ │ │ ├── knip.json │ │ │ ├── nest-cli.json │ │ │ ├── node_modules │ │ │ │ └── @nestjs │ │ │ │ │ └── cli │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── app.controller.spec.ts │ │ │ │ ├── app.controller.ts │ │ │ │ ├── app.module.ts │ │ │ │ ├── app.service.ts │ │ │ │ └── main.ts │ │ │ └── test │ │ │ │ ├── app.e2e-spec.ts │ │ │ │ └── jest-e2e.json │ │ ├── netlify │ │ │ ├── netlify.toml │ │ │ └── package.json │ │ ├── next-middleware │ │ │ ├── next.config.js │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── app │ │ │ │ │ └── page.tsx │ │ │ │ └── middleware.ts │ │ │ └── tsconfig.json │ │ ├── next │ │ │ ├── app │ │ │ │ ├── api │ │ │ │ │ └── auth │ │ │ │ │ │ ├── route.ts │ │ │ │ │ │ └── util.ts │ │ │ │ ├── home │ │ │ │ │ └── page.tsx │ │ │ │ ├── layout.tsx │ │ │ │ └── unused.ts │ │ │ ├── instrumentation.ts │ │ │ ├── middleware.ts │ │ │ ├── next.config.js │ │ │ ├── node_modules │ │ │ │ └── next │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── pages │ │ │ │ ├── [[...route]].page.tsx │ │ │ │ ├── home.page.tsx │ │ │ │ └── unused.tsx │ │ ├── node-test-runner │ │ │ ├── index.js │ │ │ ├── index.test.js │ │ │ └── package.json │ │ ├── node │ │ │ └── package.json │ │ ├── nodemon │ │ │ └── package.json │ │ ├── npm-package-json-lint │ │ │ ├── .npmpackagejsonlintrc.json │ │ │ └── package.json │ │ ├── nuxt │ │ │ ├── .nuxt │ │ │ │ └── tsconfig.json │ │ │ ├── app.tsx │ │ │ ├── app.vue │ │ │ ├── knip.json │ │ │ ├── node_modules │ │ │ │ └── nuxt │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── nuxt.config.ts │ │ │ ├── package.json │ │ │ ├── tsconfig.json │ │ │ └── utils │ │ │ │ └── fn.ts │ │ ├── nx-crystal │ │ │ ├── nx.json │ │ │ └── package.json │ │ ├── nx │ │ │ ├── apps │ │ │ │ ├── a │ │ │ │ │ ├── project.json │ │ │ │ │ └── tsconfig.json │ │ │ │ └── b │ │ │ │ │ ├── project.json │ │ │ │ │ └── tsconfig.json │ │ │ ├── knip.json │ │ │ ├── libs │ │ │ │ └── b │ │ │ │ │ └── project.json │ │ │ ├── package.json │ │ │ └── tsconfig.base.json │ │ ├── nyc │ │ │ ├── .nycrc.json │ │ │ └── package.json │ │ ├── oclif │ │ │ ├── node_modules │ │ │ │ └── oclif │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── oxlint │ │ │ ├── .oxlintrc-3.json │ │ │ ├── .oxlintrc-4.json │ │ │ ├── .oxlintrc.json │ │ │ ├── node_modules │ │ │ │ └── oxlint │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── playwright-ct │ │ │ ├── node_modules │ │ │ │ └── @playwright │ │ │ │ │ └── experimental-ct-react │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── playwright-ct.config.ts │ │ │ ├── playwright │ │ │ │ ├── index.html │ │ │ │ └── index.tsx │ │ │ └── test │ │ │ │ └── some.spec.ts │ │ ├── playwright-ct2 │ │ │ ├── node_modules │ │ │ │ └── @playwright │ │ │ │ │ └── experimental-ct-vue │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── playwright-ct.config.ts │ │ │ ├── src │ │ │ │ └── unused.spec.ts │ │ │ └── tests │ │ │ │ └── component │ │ │ │ └── some.spec.ts │ │ ├── playwright │ │ │ ├── custom-reporter.ts │ │ │ ├── node_modules │ │ │ │ └── @playwright │ │ │ │ │ └── test │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── playwright.config.ts │ │ │ └── test │ │ │ │ └── some.spec.ts │ │ ├── playwright2 │ │ │ ├── integration │ │ │ │ └── some-test.ts │ │ │ ├── node_modules │ │ │ │ └── @playwright │ │ │ │ │ └── test │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── playwright.config.ts │ │ ├── plop │ │ │ ├── node_modules │ │ │ │ └── plop │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── plopfile.js │ │ │ └── template.hbs │ │ ├── postcss-cjs │ │ │ ├── node_modules │ │ │ │ ├── autoprefixer │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── postcss │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── postcss.config.cjs │ │ ├── postcss-next │ │ │ ├── node_modules │ │ │ │ ├── next │ │ │ │ │ └── package.json │ │ │ │ └── postcss-rtlcss │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── postcss.config.json │ │ ├── postcss-tailwindcss │ │ │ ├── node_modules │ │ │ │ ├── postcss │ │ │ │ │ ├── cli.js │ │ │ │ │ └── package.json │ │ │ │ └── tailwindcss │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── postcss.config.js │ │ ├── postcss-tailwindcss2 │ │ │ ├── node_modules │ │ │ │ ├── postcss │ │ │ │ │ ├── cli.js │ │ │ │ │ └── package.json │ │ │ │ └── tailwindcss │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── postcss.config.mjs │ │ ├── postcss │ │ │ ├── node_modules │ │ │ │ ├── autoprefixer │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── postcss │ │ │ │ │ ├── cli.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── postcss.config.js │ │ ├── preconstruct │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── @preconstruct │ │ │ │ │ └── cli │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── other.js │ │ │ └── package.json │ │ ├── prettier │ │ │ ├── .prettierrc │ │ │ └── package.json │ │ ├── prisma │ │ │ ├── config │ │ │ │ └── prisma.custom-config.ts │ │ │ ├── node_modules │ │ │ │ ├── prisma │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── tsx │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── prisma.config.ts │ │ │ └── prisma │ │ │ │ └── seed.ts │ │ ├── react-cosmos │ │ │ ├── __fixtures__ │ │ │ │ └── any.mdx │ │ │ ├── cosmos.config.json │ │ │ ├── node_modules │ │ │ │ ├── react-cosmos-native │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── react-cosmos-plugin-boolean-input │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── react-cosmos-plugin-open-fixture │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── react-cosmos-plugin-webpack │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── react-cosmos │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── cosmos.decorator.tsx │ │ │ │ └── my-cosmos-plugin.ts │ │ ├── react-router │ │ │ ├── app │ │ │ │ ├── entry.client.tsx │ │ │ │ ├── entry.server.tsx │ │ │ │ ├── root.tsx │ │ │ │ ├── routes.ts │ │ │ │ └── routes │ │ │ │ │ ├── another-route.tsx │ │ │ │ │ ├── home.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ └── route.(with).$special[.chars].tsx │ │ │ ├── package.json │ │ │ └── react-router.config.ts │ │ ├── relay │ │ │ ├── __generated__ │ │ │ │ └── artifact.graphql.ts │ │ │ ├── myrelay.config.js │ │ │ ├── node_modules │ │ │ │ ├── relay-compiler │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── vite-plugin-relay │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── vite │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── unused.ts │ │ │ ├── used.ts │ │ │ └── vite.config.ts │ │ ├── relay2 │ │ │ ├── node_modules │ │ │ │ ├── relay-compiler │ │ │ │ │ └── index.js │ │ │ │ ├── vite-plugin-relay │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── vite │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── relay.config.js │ │ │ ├── src │ │ │ │ └── __generated__ │ │ │ │ │ └── artifact.graphql.ts │ │ │ ├── unused.ts │ │ │ ├── used.ts │ │ │ └── vite.config.ts │ │ ├── release-it │ │ │ ├── .release-it.json │ │ │ ├── bin │ │ │ │ └── release-notes.js │ │ │ └── package.json │ │ ├── remark │ │ │ └── package.json │ │ ├── remix │ │ │ ├── app │ │ │ │ ├── entry.client.tsx │ │ │ │ ├── entry.server.tsx │ │ │ │ ├── root.tsx │ │ │ │ ├── routes │ │ │ │ │ └── index.tsx │ │ │ │ └── utils.ts │ │ │ ├── node_modules │ │ │ │ └── remix │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── remix.config.js │ │ │ ├── remix.init │ │ │ │ └── index.js │ │ │ ├── server.js │ │ │ └── tsconfig.json │ │ ├── rollup │ │ │ ├── do-not-bundle.js │ │ │ ├── node_modules │ │ │ │ └── rollup │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── rollup.config.js │ │ ├── rsbuild │ │ │ ├── node_modules │ │ │ │ └── @rsbuild │ │ │ │ │ ├── core │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ │ └── plugin-react │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── rsbuild.config.ts │ │ ├── rspack │ │ │ ├── node_modules │ │ │ │ └── @rspack │ │ │ │ │ └── cli │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── rspack.config.js │ │ │ ├── src │ │ │ │ └── entry.ts │ │ │ └── tsconfig.json │ │ ├── semantic-release │ │ │ ├── .releaserc │ │ │ └── package.json │ │ ├── sentry │ │ │ ├── package.json │ │ │ ├── sentry.client.config.ts │ │ │ ├── sentry.edge.config.ts │ │ │ └── sentry.server.config.ts │ │ ├── simple-git-hooks │ │ │ └── package.json │ │ ├── size-limit │ │ │ ├── .size-limit.cjs │ │ │ ├── node_modules │ │ │ │ └── size-limit │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── sst │ │ │ ├── handlers │ │ │ │ ├── auth.ts │ │ │ │ ├── other-auth.ts │ │ │ │ └── some-route.ts │ │ │ ├── package.json │ │ │ ├── sst.config.ts │ │ │ └── stacks │ │ │ │ ├── AuthHandlerStack.ts │ │ │ │ └── AuthStack.ts │ │ ├── sst2 │ │ │ ├── package.json │ │ │ ├── route.ts │ │ │ └── sst.config.ts │ │ ├── starlight │ │ │ ├── astro.config.mjs │ │ │ ├── components │ │ │ │ ├── Footer.astro │ │ │ │ └── Head.astro │ │ │ └── package.json │ │ ├── storybook │ │ │ ├── addon │ │ │ │ └── register.js │ │ │ ├── main.js │ │ │ ├── node_modules │ │ │ │ └── tsconfig-paths-webpack-plugin │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── preview.js │ │ ├── stryker │ │ │ ├── .stryker.conf.js │ │ │ ├── package.json │ │ │ ├── stryker.conf.cjs │ │ │ ├── stryker.conf.json │ │ │ └── stryker.conf.mjs │ │ ├── stylelint │ │ │ ├── .stylelintrc │ │ │ └── package.json │ │ ├── stylelint2 │ │ │ ├── .stylelintrc.cjs │ │ │ ├── .stylelintrc.mjs │ │ │ ├── myCustomPlugin.js │ │ │ ├── myExtendableConfig.js │ │ │ ├── node_modules │ │ │ │ ├── postcss-less │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── postcss-styl │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── stylelint-config-recommended │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── stylelint.config.js │ │ ├── stylelint3 │ │ │ ├── package.json │ │ │ └── stylelint.config.mjs │ │ ├── svelte │ │ │ ├── .svelte-kit │ │ │ │ └── tsconfig.json │ │ │ ├── knip.ts │ │ │ ├── node_modules │ │ │ │ ├── @sveltejs │ │ │ │ │ └── kit │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ ├── src │ │ │ │ │ │ └── runtime │ │ │ │ │ │ │ └── app │ │ │ │ │ │ │ ├── environment.js │ │ │ │ │ │ │ ├── forms.js │ │ │ │ │ │ │ ├── navigation.js │ │ │ │ │ │ │ └── stores.js │ │ │ │ │ │ ├── svelte-kit.js │ │ │ │ │ │ └── vite.js │ │ │ │ ├── svelte-check │ │ │ │ │ └── package.json │ │ │ │ └── vite │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── app.d.ts │ │ │ │ ├── app.html │ │ │ │ ├── hooks.client.ts │ │ │ │ ├── hooks.server.ts │ │ │ │ ├── lib │ │ │ │ │ ├── component.svelte │ │ │ │ │ ├── images │ │ │ │ │ │ ├── github.svg │ │ │ │ │ │ └── svelte-logo.svg │ │ │ │ │ └── store.svelte.ts │ │ │ │ ├── params │ │ │ │ │ └── lang.ts │ │ │ │ └── routes │ │ │ │ │ ├── +layout.svelte │ │ │ │ │ ├── +page.svelte │ │ │ │ │ ├── +page.ts │ │ │ │ │ ├── Counter.svelte │ │ │ │ │ ├── Header.svelte │ │ │ │ │ ├── login │ │ │ │ │ └── +server.ts │ │ │ │ │ └── styles.css │ │ │ ├── svelte.config.js │ │ │ ├── tsconfig.json │ │ │ └── vite.config.ts │ │ ├── svgo │ │ │ ├── icons │ │ │ │ └── index.svg │ │ │ ├── node_modules │ │ │ │ └── svgo │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── svgo.config.js │ │ ├── syncpack │ │ │ └── package.json │ │ ├── tailwind │ │ │ ├── node_modules │ │ │ │ └── tailwindcss │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── tailwind.config.js │ │ ├── tailwind2 │ │ │ ├── index.html │ │ │ ├── knip.ts │ │ │ ├── package.json │ │ │ └── styles.css │ │ ├── travis │ │ │ ├── .travis.yml │ │ │ └── package.json │ │ ├── tsdown │ │ │ ├── entry-1.ts │ │ │ ├── entry-2.ts │ │ │ ├── entry-3.ts │ │ │ ├── entry-4.ts │ │ │ ├── entry-5.ts │ │ │ ├── node_modules │ │ │ │ └── tsdown │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── tsdown.config-3.ts │ │ │ ├── tsdown.config-4.ts │ │ │ ├── tsdown.config.json │ │ │ └── tsdown.config.ts │ │ ├── tsup │ │ │ ├── entry-1.ts │ │ │ ├── entry-2.ts │ │ │ ├── entry-3.ts │ │ │ ├── entry-4.ts │ │ │ ├── entry-5.ts │ │ │ ├── node_modules │ │ │ │ └── tsup │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── tsup.config-3.ts │ │ │ ├── tsup.config-4.ts │ │ │ ├── tsup.config.json │ │ │ └── tsup.config.ts │ │ ├── tsx │ │ │ ├── node_modules │ │ │ │ └── tsx │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── test │ │ │ │ ├── a.ts │ │ │ │ └── dir │ │ │ │ └── b.ts │ │ ├── typedoc │ │ │ ├── package.json │ │ │ ├── tsconfig.json │ │ │ └── typedoc.json │ │ ├── typescript │ │ │ ├── package.json │ │ │ ├── tsconfig.app.json │ │ │ ├── tsconfig.base.json │ │ │ ├── tsconfig.ext.json │ │ │ ├── tsconfig.json │ │ │ ├── tsconfig.jsx-import-source-preact.json │ │ │ ├── tsconfig.jsx-import-source-react.json │ │ │ ├── tsconfig.jsx-preserve.json │ │ │ └── tsconfig.jsx.json │ │ ├── typescript2 │ │ │ ├── package.json │ │ │ ├── packages │ │ │ │ ├── lib │ │ │ │ │ ├── package.json │ │ │ │ │ ├── src │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── tsconfig.json │ │ │ │ └── tsconfig.json │ │ │ └── tsconfig.json │ │ ├── unbuild │ │ │ ├── build.config.ts │ │ │ ├── node_modules │ │ │ │ └── unbuild │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── unocss │ │ │ ├── main.ts │ │ │ ├── node_modules │ │ │ │ ├── @unocss │ │ │ │ │ └── cli │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── unocss │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── unocss.config.ts │ │ ├── vercel-og │ │ │ ├── app │ │ │ │ └── api │ │ │ │ │ └── og │ │ │ │ │ └── route.jsx │ │ │ ├── package.json │ │ │ └── src │ │ │ │ └── pages │ │ │ │ └── api │ │ │ │ └── og.tsx │ │ ├── vike │ │ │ ├── node_modules │ │ │ │ ├── @vitejs │ │ │ │ │ └── plugin-react │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── vike │ │ │ │ │ ├── index.js │ │ │ │ │ ├── package.json │ │ │ │ │ └── plugin.js │ │ │ │ └── vite │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── pages │ │ │ │ ├── _error │ │ │ │ │ └── +Page.tsx │ │ │ │ ├── about │ │ │ │ │ ├── +Page.tsx │ │ │ │ │ └── code.css │ │ │ │ ├── index │ │ │ │ │ ├── +Page.tsx │ │ │ │ │ └── Counter.tsx │ │ │ │ └── star-wars │ │ │ │ │ ├── @id │ │ │ │ │ ├── +Page.tsx │ │ │ │ │ └── +data.ts │ │ │ │ │ ├── index │ │ │ │ │ ├── +Page.tsx │ │ │ │ │ └── +data.ts │ │ │ │ │ └── types.ts │ │ │ ├── renderer │ │ │ │ ├── +config.ts │ │ │ │ ├── +onPageTransitionEnd.ts │ │ │ │ ├── +onPageTransitionStart.ts │ │ │ │ ├── +onRenderClient.tsx │ │ │ │ ├── +onRenderHtml.tsx │ │ │ │ ├── Layout.css │ │ │ │ ├── Layout.tsx │ │ │ │ ├── Link.tsx │ │ │ │ ├── getPageTitle.ts │ │ │ │ ├── logo.svg │ │ │ │ ├── useData.ts │ │ │ │ └── usePageContext.tsx │ │ │ ├── server │ │ │ │ ├── index.ts │ │ │ │ ├── root.ts │ │ │ │ └── tsconfig.json │ │ │ └── vite.config.ts │ │ ├── vite │ │ │ ├── node_modules │ │ │ │ ├── @vitejs │ │ │ │ │ └── plugin-react │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── vite │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ └── vite-env.d.ts │ │ │ └── vite.config.ts │ │ ├── vite2 │ │ │ ├── node_modules │ │ │ │ ├── @vitejs │ │ │ │ │ └── plugin-react │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── vite │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── mock.desktop.js │ │ │ │ └── mock.desktop.ts │ │ │ └── vite.config.ts │ │ ├── vitest-npm-script │ │ │ ├── package.json │ │ │ └── vitest.config.ts │ │ ├── vitest │ │ │ ├── __mocks__ │ │ │ │ └── mockedModule.ts │ │ │ ├── node_modules │ │ │ │ └── vitest │ │ │ │ │ ├── dist │ │ │ │ │ ├── config.cjs │ │ │ │ │ ├── config.js │ │ │ │ │ └── index.js │ │ │ │ │ ├── index.cjs │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── setupTests.ts │ │ │ │ └── vite-env.d.ts │ │ │ ├── test │ │ │ │ ├── basic.bench.ts │ │ │ │ └── basic.spec.ts │ │ │ ├── vite.config.ts │ │ │ ├── vitest-default-coverage.config.ts │ │ │ ├── vitest.config.ts │ │ │ └── vitest.workspace.ts │ │ ├── vitest2 │ │ │ ├── node_modules │ │ │ │ └── vitest │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── basic.spec.ts │ │ │ │ └── unit.vitest.ts │ │ │ └── vitest.config.ts │ │ ├── vitest3 │ │ │ ├── knip.ts │ │ │ ├── node_modules │ │ │ │ ├── @vitejs │ │ │ │ │ └── plugin-react-swc │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ ├── vite-plugin-checker │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── vite-plugin-svgr │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── vite │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── vitest │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── basic.test.ts │ │ │ │ └── unit.test.tsx │ │ │ ├── vite.config.ts │ │ │ └── vitest.config.ts │ │ ├── vitest4 │ │ │ ├── node_modules │ │ │ │ └── vitest │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ └── unused.test.ts │ │ │ ├── tests │ │ │ │ ├── adder.test.ts │ │ │ │ └── setup.ts │ │ │ └── vitest.config.ts │ │ ├── vitest5 │ │ │ ├── node_modules │ │ │ │ └── vitest │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── index.test.ts │ │ │ │ └── index.ts │ │ │ └── vite.config.ts │ │ ├── vitest6 │ │ │ ├── config │ │ │ │ ├── fiep.ts │ │ │ │ └── setup.ts │ │ │ ├── node_modules │ │ │ │ └── vitest │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ └── unused.test.ts │ │ │ └── tests │ │ │ │ └── adder.test.ts │ │ ├── vitest7 │ │ │ ├── node_modules │ │ │ │ └── vitest │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── index.test.ts │ │ │ │ └── index.ts │ │ │ └── vitest.config.ts │ │ ├── vitest8 │ │ │ ├── node_modules │ │ │ │ └── vitest │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── index.test.ts │ │ │ │ └── index.ts │ │ │ └── vitest.config.ts │ │ ├── vue-webpack │ │ │ ├── child1.vue │ │ │ ├── child2.vue │ │ │ ├── child3.vue │ │ │ ├── knip.ts │ │ │ ├── node_modules │ │ │ │ ├── @vue │ │ │ │ │ └── cli-service │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── circular-dependency-plugin │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── parent.vue │ │ │ ├── tsconfig.json │ │ │ └── vue.config.js │ │ ├── vue │ │ │ ├── index.vue │ │ │ ├── knip.ts │ │ │ ├── node_modules │ │ │ │ ├── @vue │ │ │ │ │ └── cli-service │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json │ │ │ │ └── vue │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── vue.config.js │ │ ├── webdriver-io │ │ │ ├── node_modules │ │ │ │ └── @wdio │ │ │ │ │ └── cli │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── wdio.conf.js │ │ ├── webpack-cli │ │ │ ├── node_modules │ │ │ │ ├── copy-webpack-plugin │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── webpack-cli │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── webpack.config.js │ │ ├── webpack │ │ │ ├── merge.js │ │ │ ├── node_modules │ │ │ │ ├── copy-webpack-plugin │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── esbuild │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── eslint-webpack-plugin │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── html-minimizer-webpack-plugin │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── mini-css-extract-plugin │ │ │ │ │ ├── index.js │ │ │ │ │ ├── loader.js │ │ │ │ │ └── package.json │ │ │ │ ├── terser-webpack-plugin │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ ├── vue │ │ │ │ │ └── dist │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── vue.esm.js │ │ │ │ ├── webpack-cli │ │ │ │ │ └── package.json │ │ │ │ └── webpack │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── app-dep.ts │ │ │ │ ├── app.tsx │ │ │ │ ├── entry.js │ │ │ │ ├── module1.js │ │ │ │ ├── my-custom-loader.js │ │ │ │ ├── unused.ts │ │ │ │ └── vendor.js │ │ │ ├── webpack.babel.js │ │ │ ├── webpack.common.js │ │ │ ├── webpack.config.js │ │ │ ├── webpack.dev.js │ │ │ └── webpack.prod.js │ │ ├── webpack2 │ │ │ ├── entry.dev.js │ │ │ ├── entry.prod.js │ │ │ ├── node_modules │ │ │ │ ├── webpack-cli │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ │ └── webpack │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── webpack.dev.js │ │ │ └── webpack.prod.js │ │ ├── wireit │ │ │ ├── apps │ │ │ │ ├── example-configuration │ │ │ │ │ ├── package.json │ │ │ │ │ ├── rollup.config.json │ │ │ │ │ └── tsconfig.json │ │ │ │ └── missing │ │ │ │ │ └── package.json │ │ │ ├── node_modules │ │ │ │ └── wireit │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ ├── wrangler │ │ │ ├── node_modules │ │ │ │ └── wrangler │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ ├── worker-test-entry.ts │ │ │ └── wrangler.toml │ │ ├── xo │ │ │ ├── .xo-config.js │ │ │ ├── node_modules │ │ │ │ └── xo │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── package.json │ │ │ └── xo.config.cjs │ │ ├── yarn │ │ │ ├── package.json │ │ │ ├── yarn.config.cjs │ │ │ └── yarn.lock │ │ └── yorkie │ │ │ ├── node_modules │ │ │ └── yorkie │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── package.json │ ├── preprocessors │ │ ├── identity.ts │ │ └── minimal.ts │ ├── re-exports-aliased-ns │ │ ├── 1-first.ts │ │ ├── 2-second.ts │ │ ├── 3-barrel.ts │ │ ├── 4-collect.ts │ │ ├── index.ts │ │ └── package.json │ ├── re-exports-cjs │ │ ├── 1-entry.js │ │ ├── 2-re-export-star.js │ │ ├── 3-my-module.js │ │ └── package.json │ ├── re-exports-deep │ │ ├── 1-entry.ts │ │ ├── 2-re-export-star.ts │ │ ├── 3-re-export-named.ts │ │ ├── 4-re-export-star.ts │ │ ├── 5-re-export-named.ts │ │ ├── 6-re-export-star.ts │ │ ├── 7-my-module.ts │ │ └── package.json │ ├── re-exports-default-renamed-deep │ │ ├── deep.ts │ │ ├── default-reexported │ │ │ ├── blueberry.ts │ │ │ ├── index.ts │ │ │ ├── pear.ts │ │ │ └── pineapple.ts │ │ ├── index.ts │ │ ├── intermediate.ts │ │ ├── named-reexported │ │ │ ├── apricot.ts │ │ │ ├── coconut.ts │ │ │ ├── index.ts │ │ │ └── peach.ts │ │ ├── not-reexported │ │ │ └── index.ts │ │ └── package.json │ ├── re-exports-default-renamed │ │ ├── default-reexported │ │ │ ├── blueberry.ts │ │ │ ├── index.ts │ │ │ └── pear.ts │ │ ├── index.ts │ │ ├── named-reexported │ │ │ ├── apricot.ts │ │ │ ├── index.ts │ │ │ └── peach.ts │ │ ├── not-reexported │ │ │ └── index.ts │ │ └── package.json │ ├── re-exports-enum-unused │ │ ├── index.ts │ │ ├── mid.ts │ │ ├── myEnum.ts │ │ └── package.json │ ├── re-exports-enum │ │ ├── index.ts │ │ ├── mid.ts │ │ ├── myEnum.ts │ │ ├── myNextEnum.ts │ │ └── package.json │ ├── re-exports-export-declaration │ │ ├── package.json │ │ └── src │ │ │ ├── exporter │ │ │ ├── exporterA.ts │ │ │ ├── exporterB.ts │ │ │ ├── exporterC.ts │ │ │ ├── exporterD.ts │ │ │ └── index.ts │ │ │ └── index.ts │ ├── re-exports-export-ns │ │ ├── 1-root.ts │ │ ├── 2-psuedo-re-exporter.ts │ │ ├── 3-branch.ts │ │ ├── 4-leaf-A.ts │ │ ├── 4-leaf-B.ts │ │ ├── 4-leaf-C.ts │ │ ├── index.ts │ │ └── package.json │ ├── re-exports-ignore-exports-used-in-file │ │ ├── export.ts │ │ ├── index.ts │ │ ├── package.json │ │ └── reexport.ts │ ├── re-exports-ns-member │ │ ├── index.ts │ │ ├── member-ab.ts │ │ ├── member-cd.ts │ │ ├── package.json │ │ ├── sub2-pseudo.ts │ │ ├── sub2-sub.ts │ │ └── sub3.ts │ ├── re-exports-ns-type │ │ ├── assets.tsx │ │ ├── barrel.ts │ │ ├── image.png │ │ ├── index.tsx │ │ ├── package.json │ │ ├── pluginA.ts │ │ ├── pluginB.ts │ │ ├── styled.ts │ │ └── tsconfig.json │ ├── re-exports-public │ │ ├── index.ts │ │ ├── module.ts │ │ └── package.json │ ├── re-exports-renamed │ │ ├── fileA.ts │ │ ├── fileB.ts │ │ ├── index.ts │ │ └── package.json │ ├── re-exports-with-decorator │ │ ├── barrel.ts │ │ ├── decorator.ts │ │ ├── entry.ts │ │ ├── my-module.ts │ │ └── package.json │ ├── re-exports │ │ ├── 1-entry.ts │ │ ├── 2-re-export-star.ts │ │ ├── 3-re-export-named.ts │ │ ├── 4-my-module.ts │ │ └── package.json │ ├── rules │ │ ├── exports.ts │ │ ├── index.ts │ │ ├── ns.ts │ │ ├── package.json │ │ └── unused.ts │ ├── script-visitors-bun │ │ ├── index.ts │ │ ├── node_modules │ │ │ ├── boxen-cli │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── oh-my-cli │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ └── script.ts │ ├── script-visitors-execa │ │ ├── execa-docs.mjs │ │ ├── main.js │ │ ├── methods.mjs │ │ ├── node.mjs │ │ ├── node_modules │ │ │ ├── all-contributors-cli │ │ │ │ └── package.json │ │ │ ├── c8 │ │ │ │ └── package.json │ │ │ └── dep │ │ │ │ └── package.json │ │ ├── options.mjs │ │ ├── package.json │ │ └── script.js │ ├── script-visitors-zx │ │ ├── main.js │ │ ├── node.mjs │ │ ├── node_modules │ │ │ ├── all-contributors-cli │ │ │ │ └── package.json │ │ │ ├── dep │ │ │ │ └── package.json │ │ │ └── zx │ │ │ │ └── package.json │ │ ├── package.json │ │ ├── script.js │ │ └── zx-docs.mjs │ ├── self-reference-from-plugin │ │ ├── .eslintrc.json │ │ ├── .gitignore │ │ ├── data.json │ │ ├── dist │ │ │ └── build.js │ │ ├── entry.ts │ │ ├── knip.json │ │ ├── lokal.js │ │ └── package.json │ ├── self-reference │ │ ├── .gitignore │ │ ├── entry.ts │ │ ├── knip.json │ │ ├── lib │ │ │ └── module.js │ │ ├── package.json │ │ └── tsconfig.json │ ├── skip-exports-analysis │ │ ├── e2e │ │ │ └── used.e2e.js │ │ ├── lib │ │ │ ├── index.js │ │ │ ├── used.js │ │ │ └── used.test.js │ │ ├── package.json │ │ └── src │ │ │ ├── index.js │ │ │ ├── used.js │ │ │ └── used.test.js │ ├── subpath-import-from-plugin │ │ ├── .eslintrc.json │ │ ├── entry.ts │ │ ├── knip.json │ │ ├── lib │ │ │ ├── dep-polyfill.d.ts │ │ │ └── dep-polyfill.js │ │ ├── package.json │ │ └── tsconfig.json │ ├── subpath-import │ │ ├── entry.ts │ │ ├── knip.json │ │ ├── lib │ │ │ ├── dep-polyfill.d.ts │ │ │ └── dep-polyfill.js │ │ ├── package.json │ │ └── tsconfig.json │ ├── subpath-patterns │ │ ├── knip.json │ │ ├── package.json │ │ ├── src │ │ │ ├── entry.ts │ │ │ └── internals │ │ │ │ ├── unused.ts │ │ │ │ ├── used.alt │ │ │ │ ├── used.ext │ │ │ │ └── used.ts │ │ └── tsconfig.json │ ├── tagged-template-literal │ │ ├── Component.astro │ │ ├── app.ts │ │ ├── index.astro │ │ ├── index.ts │ │ └── package.json │ ├── tags-cli │ │ ├── index.ts │ │ ├── package.json │ │ ├── tags.ts │ │ └── unimported.ts │ ├── tags-exclude │ │ ├── index.ts │ │ ├── knip.json │ │ ├── package.json │ │ └── tags.ts │ ├── tags-include │ │ ├── index.ts │ │ ├── knip.json │ │ ├── package.json │ │ └── tags.ts │ ├── trace │ │ ├── default.ts │ │ ├── index.ts │ │ ├── my-page.ts │ │ ├── named.ts │ │ └── package.json │ ├── treat-config-hints-as-errors │ │ └── package.json │ ├── treat-config-hints-as-errors2 │ │ └── package.json │ ├── tsconfig-extends │ │ ├── boilerplate │ │ │ └── tsconfig.base.json │ │ ├── node_modules │ │ │ └── @tsconfig │ │ │ │ └── esm │ │ │ │ └── tsconfig.json │ │ ├── package.json │ │ └── packages │ │ │ └── frontend │ │ │ ├── package.json │ │ │ ├── src │ │ │ └── index.tsx │ │ │ └── tsconfig.json │ ├── tsconfig-paths-extends │ │ ├── package.json │ │ ├── src │ │ │ ├── cli.ts │ │ │ ├── index.ts │ │ │ ├── lib │ │ │ │ └── main.ts │ │ │ └── util │ │ │ │ └── index.ts │ │ ├── tsconfig.base.json │ │ └── tsconfig.json │ ├── types │ │ ├── index.ts │ │ ├── node_modules │ │ │ ├── @types │ │ │ │ └── micromatch │ │ │ │ │ └── package.json │ │ │ ├── micromatch │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── webpack │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── types.d.ts │ │ ├── package.json │ │ └── tsconfig.json │ ├── workspaces-circular │ │ ├── package.json │ │ └── packages │ │ │ ├── lib-a │ │ │ ├── index.ts │ │ │ └── package.json │ │ │ ├── lib-b │ │ │ ├── index.ts │ │ │ └── package.json │ │ │ └── lib-c │ │ │ ├── index.ts │ │ │ └── package.json │ ├── workspaces-cross-reference │ │ ├── node_modules │ │ │ └── @fixtures │ │ │ │ ├── workspaces-cross-reference__lib-a │ │ │ │ └── workspaces-cross-reference__lib-b │ │ ├── package.json │ │ └── packages │ │ │ ├── lib-a │ │ │ ├── index.ts │ │ │ ├── mod-a.ts │ │ │ ├── package.json │ │ │ └── tsconfig.json │ │ │ └── lib-b │ │ │ ├── index.ts │ │ │ ├── mod-b.ts │ │ │ ├── package.json │ │ │ └── tsconfig.json │ ├── workspaces-dts │ │ ├── .gitignore │ │ ├── knip.ts │ │ ├── node_modules │ │ │ └── @fixtures │ │ │ │ ├── workspaces-dts__client │ │ │ │ ├── workspaces-dts__server │ │ │ │ └── workspaces-dts__shared │ │ ├── package.json │ │ ├── packages │ │ │ ├── client │ │ │ │ ├── client.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── server │ │ │ │ ├── index.js │ │ │ │ ├── package.json │ │ │ │ ├── server.d.ts │ │ │ │ └── tsconfig.json │ │ │ └── shared │ │ │ │ ├── build │ │ │ │ ├── index.d.ts │ │ │ │ ├── unused-function.d.ts │ │ │ │ └── used-function.d.ts │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ ├── index.js │ │ │ │ ├── unused-function.js │ │ │ │ └── used-function.js │ │ │ │ ├── tsconfig.build.json │ │ │ │ └── tsconfig.json │ │ └── tsconfig.json │ ├── workspaces-entry-files │ │ ├── .storybook │ │ │ └── main.ts │ │ ├── knip.json │ │ ├── node_modules │ │ │ └── storybook │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ └── packages │ │ │ ├── client │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── index.stories.tsx │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ │ └── shared │ │ │ ├── package.json │ │ │ ├── src │ │ │ └── index.ts │ │ │ └── tsconfig.json │ ├── workspaces-ignored │ │ ├── package.json │ │ ├── packages │ │ │ ├── a │ │ │ │ └── package.json │ │ │ ├── b1 │ │ │ │ └── package.json │ │ │ ├── b2 │ │ │ │ └── package.json │ │ │ ├── c │ │ │ │ └── package.json │ │ │ ├── d1 │ │ │ │ └── package.json │ │ │ ├── d2 │ │ │ │ └── package.json │ │ │ ├── deep │ │ │ │ └── er │ │ │ │ │ └── h2 │ │ │ │ │ └── package.json │ │ │ ├── e │ │ │ │ └── package.json │ │ │ ├── flat │ │ │ │ └── i1 │ │ │ │ │ └── package.json │ │ │ └── g │ │ │ │ └── main.c │ │ └── pnpm-workspace.yaml │ ├── workspaces-include-entry-exports │ │ ├── package.json │ │ └── packages │ │ │ ├── app │ │ │ ├── index.js │ │ │ └── package.json │ │ │ └── lib │ │ │ ├── index.js │ │ │ └── package.json │ ├── workspaces-module-resolution │ │ ├── node_modules │ │ │ └── @fixtures │ │ │ │ ├── workspace-a │ │ │ │ └── workspace-b │ │ ├── package.json │ │ ├── packages │ │ │ ├── workspace-a │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ └── index.ts │ │ │ │ └── tsconfig.json │ │ │ └── workspace-b │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ ├── exports.ts │ │ │ │ ├── index.ts │ │ │ │ ├── self.ts │ │ │ │ └── used-fn.ts │ │ │ │ └── tsconfig.json │ │ └── tsconfig.json │ ├── workspaces-nested │ │ ├── L-1-1 │ │ │ ├── L-1-2 │ │ │ │ ├── L-1-3 │ │ │ │ │ ├── .eslintrc.json │ │ │ │ │ ├── index.ts │ │ │ │ │ └── package.json │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ │ ├── index.ts │ │ │ └── package.json │ │ ├── node_modules │ │ │ ├── eslint-plugin-prefer-let │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── eslint │ │ │ │ └── package.json │ │ │ └── pm2 │ │ │ │ └── package.json │ │ └── package.json │ ├── workspaces-noconfig-plugin │ │ ├── lib │ │ │ ├── package.json │ │ │ └── src │ │ │ │ ├── util.test.ts │ │ │ │ └── util.ts │ │ ├── node_modules │ │ │ └── @workspaces-noconfig-plugin │ │ │ │ └── lib │ │ ├── package.json │ │ └── src │ │ │ ├── index.ts │ │ │ └── util.test.ts │ ├── workspaces-paths-compilers │ │ ├── knip.ts │ │ ├── package.json │ │ ├── packages │ │ │ └── app │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ ├── components │ │ │ │ │ ├── App.vue │ │ │ │ │ ├── Child.vue │ │ │ │ │ └── Sub.vue │ │ │ │ ├── main.ts │ │ │ │ ├── pages │ │ │ │ │ └── Home.vue │ │ │ │ └── router.ts │ │ │ │ └── tsconfig.json │ │ └── tsconfig.json │ ├── workspaces-paths │ │ ├── package.json │ │ └── packages │ │ │ ├── lib-a │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── dir │ │ │ │ │ └── module-a.ts │ │ │ │ ├── index.ts │ │ │ │ └── same.ts │ │ │ └── tsconfig.json │ │ │ ├── lib-b │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── dir │ │ │ │ │ └── module-b.ts │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ │ ├── lib-c │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── dir │ │ │ │ │ └── module.ts │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ │ ├── lib-d │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── dir │ │ │ │ │ └── module.ts │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ │ ├── lib-e │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── dir │ │ │ │ │ └── module-e.ts │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ │ ├── lib-f │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ ├── index.ts │ │ │ │ └── same.ts │ │ │ └── tsconfig.json │ │ │ └── lib-g │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── index.ts │ │ │ └── same.ts │ │ │ └── tsconfig.json │ ├── workspaces-plugin-circular │ │ ├── package.json │ │ ├── packages │ │ │ └── lib │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.app.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── tsconfig.spec.json │ │ └── tsconfig.base.json │ ├── workspaces-plugin-config │ │ ├── knip.json │ │ ├── node_modules │ │ │ ├── @fixtures │ │ │ │ └── workspaces-plugin-config__tailwind │ │ │ ├── @tailwindcss │ │ │ │ └── typography │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── autoprefixer │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── ava │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── jest │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── next │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── postcss-import │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── tailwind │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ ├── tailwindcss │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── vitest │ │ │ │ ├── config.js │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ └── packages │ │ │ ├── backend │ │ │ ├── config │ │ │ │ └── vitest.config.ts │ │ │ ├── eslint.config.js │ │ │ ├── index.ts │ │ │ ├── index.vitest.ts │ │ │ ├── jest.config.js │ │ │ ├── node_modules │ │ │ │ └── @fixtures │ │ │ │ │ └── workspaces-plugin-config__shared │ │ │ └── package.json │ │ │ ├── frontend │ │ │ ├── .eslintrc.js │ │ │ ├── components │ │ │ │ ├── component.js │ │ │ │ └── component.test.js │ │ │ ├── config │ │ │ │ └── vitest.config.ts │ │ │ ├── index.ts │ │ │ ├── index.vitest.ts │ │ │ ├── package.json │ │ │ ├── postcss.config.js │ │ │ └── rollup.config.ts │ │ │ ├── shared │ │ │ ├── ava.config.js │ │ │ ├── components │ │ │ │ ├── component.ava.js │ │ │ │ ├── component.js │ │ │ │ ├── component.tales.js │ │ │ │ ├── epic │ │ │ │ │ ├── component.fable.tsx │ │ │ │ │ └── component.stories.mdx │ │ │ │ └── storybook │ │ │ │ │ ├── main.ts │ │ │ │ │ ├── manager.ts │ │ │ │ │ └── preview.ts │ │ │ ├── dev-entry.js │ │ │ ├── jest-setup.ts │ │ │ ├── package.json │ │ │ ├── production-entry.js │ │ │ └── webpack.config.js │ │ │ └── tailwind │ │ │ ├── package.json │ │ │ └── postcss.js │ ├── workspaces-plugin-overlap │ │ ├── node_modules │ │ │ └── typedoc │ │ │ │ └── package.json │ │ ├── package.json │ │ └── packages │ │ │ └── workspace-a │ │ │ ├── package.json │ │ │ ├── tsconfig.json │ │ │ └── typedoc.json │ ├── workspaces-pnpm │ │ ├── apps │ │ │ ├── app-a │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ │ └── app-b │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ ├── docs │ │ │ ├── dangling.ts │ │ │ └── package.json │ │ ├── package.json │ │ ├── packages │ │ │ ├── lib-a │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ │ └── lib-b │ │ │ │ ├── index.ts │ │ │ │ └── package.json │ │ └── pnpm-workspace.yaml │ ├── workspaces-self-and-cross-ref │ │ ├── .gitignore │ │ ├── node_modules │ │ │ └── @fixtures │ │ │ │ ├── self-and-cross-ref-lib │ │ │ │ └── self-and-cross-ref-shared │ │ ├── package.json │ │ ├── packages │ │ │ ├── app │ │ │ │ ├── build │ │ │ │ │ └── types │ │ │ │ │ │ └── index.d.ts │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ └── index.ts │ │ │ │ └── tsconfig.json │ │ │ ├── lib │ │ │ │ ├── dist │ │ │ │ │ ├── alpha.d.ts │ │ │ │ │ ├── alpha.js │ │ │ │ │ ├── beta.d.ts │ │ │ │ │ ├── beta.js │ │ │ │ │ ├── index.d.ts │ │ │ │ │ └── index.js │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ │ ├── alpha.ts │ │ │ │ │ ├── beta.ts │ │ │ │ │ └── index.ts │ │ │ │ └── tsconfig.json │ │ │ └── shared │ │ │ │ ├── build │ │ │ │ └── polyfills │ │ │ │ │ ├── polyfills.client.d.ts │ │ │ │ │ └── polyfills.client.js │ │ │ │ ├── package.json │ │ │ │ ├── src │ │ │ │ └── polyfills │ │ │ │ │ └── polyfills.client.ts │ │ │ │ └── tsconfig.json │ │ ├── pnpm-workspace.yaml │ │ ├── tsconfig.base.json │ │ └── tsconfig.json │ ├── workspaces-self-reference │ │ ├── node_modules │ │ │ └── eslint │ │ │ │ └── package.json │ │ ├── package.json │ │ └── packages │ │ │ ├── eslint-config-x-self-reference │ │ │ ├── .gitignore │ │ │ ├── dist │ │ │ │ ├── build.cjs │ │ │ │ ├── build.d.cts │ │ │ │ ├── build.d.mts │ │ │ │ ├── build.mjs │ │ │ │ ├── index.cjs │ │ │ │ ├── index.d.cts │ │ │ │ ├── index.d.mts │ │ │ │ └── index.mjs │ │ │ ├── entry.ts │ │ │ ├── package.json │ │ │ └── tsconfig.json │ │ │ └── from-plugin │ │ │ ├── .eslintrc.json │ │ │ ├── data.json │ │ │ ├── entry.ts │ │ │ ├── file.js │ │ │ ├── node_modules │ │ │ └── @workspaces-self-reference │ │ │ │ └── eslint-config-x-self-reference │ │ │ ├── package.json │ │ │ └── tsconfig.json │ ├── workspaces-tooling │ │ ├── knip.json │ │ ├── node_modules │ │ │ ├── @swc │ │ │ │ └── register │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ ├── eslint │ │ │ │ └── package.json │ │ │ ├── jest │ │ │ │ └── package.json │ │ │ └── typeorm │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── package.json │ │ └── packages │ │ │ ├── backend │ │ │ ├── .eslintrc.js │ │ │ ├── index.ts │ │ │ └── package.json │ │ │ ├── eslint-config-custom │ │ │ ├── index.js │ │ │ └── package.json │ │ │ └── frontend │ │ │ ├── .eslintrc.js │ │ │ ├── index.ts │ │ │ ├── jest.config.js │ │ │ ├── jest.setup.js │ │ │ └── package.json │ ├── workspaces │ │ ├── apps │ │ │ ├── backend │ │ │ │ ├── index.ts │ │ │ │ ├── node_modules │ │ │ │ │ └── @workspaces │ │ │ │ │ │ └── tsconfig │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ ├── frontend │ │ │ │ ├── index.ts │ │ │ │ ├── node_modules │ │ │ │ │ └── @workspaces │ │ │ │ │ │ └── tsconfig │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.json │ │ │ └── ignored-workspace │ │ │ │ └── package.json │ │ ├── docs │ │ │ ├── dangling.ts │ │ │ └── package.json │ │ ├── local │ │ │ └── tsconfig │ │ │ │ ├── package.json │ │ │ │ └── tsconfig.base.json │ │ ├── node_modules │ │ │ ├── cypress │ │ │ │ └── package.json │ │ │ └── typescript │ │ │ │ ├── bin │ │ │ │ └── tsc │ │ │ │ └── package.json │ │ ├── package.json │ │ ├── packages │ │ │ ├── shared │ │ │ │ ├── index.ts │ │ │ │ ├── node_modules │ │ │ │ │ └── @workspaces │ │ │ │ │ │ └── tsconfig │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── types.ts │ │ │ └── tools │ │ │ │ ├── ignored │ │ │ │ └── index.ts │ │ │ │ ├── index.ts │ │ │ │ ├── node_modules │ │ │ │ └── @workspaces │ │ │ │ │ └── tsconfig │ │ │ │ ├── package.json │ │ │ │ ├── tsconfig.json │ │ │ │ └── utils.ts │ │ └── tsconfig.json │ ├── zero-config │ │ ├── exclude.ts │ │ ├── index.ts │ │ ├── my-module.ts │ │ ├── my-namespace.ts │ │ ├── package.json │ │ └── tsconfig.json │ └── מסמכים │ │ ├── .gitignore │ │ ├── dist │ │ └── cli.cjs │ │ ├── package.json │ │ └── src │ │ ├── icon.svg │ │ └── index.ts │ ├── license │ ├── package.json │ ├── rmdir.js │ ├── schema-jsonc.json │ ├── schema.json │ ├── scripts │ ├── create-new-plugin.ts │ ├── generate-plugin-defs.js │ ├── tsconfig.json │ └── verify-fixtures.ts │ ├── src │ ├── CacheConsultant.ts │ ├── ConfigurationChief.ts │ ├── ConsoleStreamer.ts │ ├── DependencyDeputy.ts │ ├── IssueCollector.ts │ ├── IssueFixer.ts │ ├── PackageJsonPeeker.ts │ ├── PrincipalFactory.ts │ ├── ProjectPrincipal.ts │ ├── WorkspaceWorker.ts │ ├── binaries │ │ ├── bash-parser.ts │ │ ├── fallback.ts │ │ ├── index.ts │ │ ├── package-manager │ │ │ ├── bun.ts │ │ │ ├── bunx.ts │ │ │ ├── index.ts │ │ │ ├── npm.ts │ │ │ ├── npx.ts │ │ │ ├── pnpm.ts │ │ │ ├── pnpx.ts │ │ │ └── yarn.ts │ │ ├── plugins.ts │ │ └── util.ts │ ├── cli.ts │ ├── compilers │ │ ├── astro-mdx.ts │ │ ├── astro.ts │ │ ├── compilers.ts │ │ ├── index.ts │ │ ├── mdx.ts │ │ ├── svelte.ts │ │ ├── types.ts │ │ └── vue.ts │ ├── constants.ts │ ├── graph │ │ ├── analyze.ts │ │ └── build.ts │ ├── index.ts │ ├── manifest │ │ ├── helpers.ts │ │ └── index.ts │ ├── plugins.ts │ ├── plugins │ │ ├── _template │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── angular │ │ │ ├── index.ts │ │ │ ├── types.ts │ │ │ └── update-types.sh │ │ ├── astro │ │ │ ├── index.ts │ │ │ └── resolveFromAST.ts │ │ ├── ava │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── babel │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── bun │ │ │ └── index.ts │ │ ├── c8 │ │ │ └── index.ts │ │ ├── capacitor │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── changelogen │ │ │ └── index.ts │ │ ├── changelogithub │ │ │ └── index.ts │ │ ├── changesets │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── commitizen │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── commitlint │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── convex │ │ │ └── index.ts │ │ ├── create-typescript-app │ │ │ └── index.ts │ │ ├── cspell │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── cucumber │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── cypress │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── dependency-cruiser │ │ │ └── index.ts │ │ ├── docusaurus │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── dotenv │ │ │ └── index.ts │ │ ├── drizzle │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── eleventy │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── eslint │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── expo │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── gatsby │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── github-action │ │ │ └── index.ts │ │ ├── github-actions │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── glob │ │ │ └── index.ts │ │ ├── graphql-codegen │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── hardhat │ │ │ └── index.ts │ │ ├── husky │ │ │ └── index.ts │ │ ├── i18next-parser │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── jest │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── karma │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── ladle │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── lefthook │ │ │ └── index.ts │ │ ├── lint-staged │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── linthtml │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── lockfile-lint │ │ │ └── index.ts │ │ ├── lost-pixel │ │ │ └── index.ts │ │ ├── markdownlint │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── metro │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── mocha │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── moonrepo │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── msw │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── nano-staged │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── nest │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── netlify │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── next │ │ │ ├── index.ts │ │ │ └── resolveFromAST.ts │ │ ├── node │ │ │ └── index.ts │ │ ├── nodemon │ │ │ └── index.ts │ │ ├── npm-package-json-lint │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── nuxt │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── nx │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── nyc │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── oclif │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── oxlint │ │ │ └── index.ts │ │ ├── playwright-ct │ │ │ └── index.ts │ │ ├── playwright-test │ │ │ └── index.ts │ │ ├── playwright │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── plop │ │ │ └── index.ts │ │ ├── postcss │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── preconstruct │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── prettier │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── prisma │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── react-cosmos │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── react-router │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── relay │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── release-it │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── remark │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── remix │ │ │ └── index.ts │ │ ├── rollup │ │ │ └── index.ts │ │ ├── rsbuild │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── rspack │ │ │ └── index.ts │ │ ├── semantic-release │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── sentry │ │ │ └── index.ts │ │ ├── simple-git-hooks │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── size-limit │ │ │ └── index.ts │ │ ├── sst │ │ │ ├── index.ts │ │ │ └── resolveFromAST.ts │ │ ├── starlight │ │ │ ├── index.ts │ │ │ └── resolveFromAST.ts │ │ ├── storybook │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── stryker │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── stylelint │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── svelte │ │ │ └── index.ts │ │ ├── svgo │ │ │ └── index.ts │ │ ├── syncpack │ │ │ └── index.ts │ │ ├── tailwind │ │ │ └── index.ts │ │ ├── travis │ │ │ └── index.ts │ │ ├── ts-node │ │ │ └── index.ts │ │ ├── tsdown │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── tsup │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── tsx │ │ │ └── index.ts │ │ ├── typedoc │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── typescript │ │ │ └── index.ts │ │ ├── unbuild │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── unocss │ │ │ └── index.ts │ │ ├── vercel-og │ │ │ └── index.ts │ │ ├── vike │ │ │ └── index.ts │ │ ├── vite │ │ │ ├── helpers.ts │ │ │ └── index.ts │ │ ├── vitest │ │ │ ├── helpers.ts │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── vue │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── webdriver-io │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── webpack │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── wireit │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── wrangler │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── xo │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── yarn │ │ │ └── index.ts │ │ └── yorkie │ │ │ └── index.ts │ ├── reporters │ │ ├── codeclimate.ts │ │ ├── codeowners.ts │ │ ├── compact.ts │ │ ├── disclosure.ts │ │ ├── index.ts │ │ ├── json.ts │ │ ├── markdown.ts │ │ ├── symbols.ts │ │ ├── util.ts │ │ └── watch.ts │ ├── schema │ │ ├── configuration.ts │ │ └── plugins.ts │ ├── types │ │ ├── PluginNames.ts │ │ ├── args.ts │ │ ├── cli.ts │ │ ├── config.ts │ │ ├── exports.ts │ │ ├── imports.ts │ │ ├── issues.ts │ │ ├── module-graph.ts │ │ ├── package-json.ts │ │ ├── project.ts │ │ └── workspace.ts │ ├── typescript │ │ ├── SourceFile.ts │ │ ├── SourceFileManager.ts │ │ ├── ast-helpers.ts │ │ ├── create-hosts.ts │ │ ├── find-internal-references.ts │ │ ├── get-imports-and-exports.ts │ │ ├── resolve-module-names.ts │ │ └── visitors │ │ │ ├── dynamic-imports │ │ │ ├── importCall.ts │ │ │ ├── importType.ts │ │ │ ├── index.ts │ │ │ ├── jsDocType.ts │ │ │ ├── requireCall.ts │ │ │ └── resolveCall.ts │ │ │ ├── exports │ │ │ ├── exportAssignment.ts │ │ │ ├── exportDeclaration.ts │ │ │ ├── exportKeyword.ts │ │ │ ├── exportsAccessExpression.ts │ │ │ ├── index.ts │ │ │ └── moduleExportsAccessExpression.ts │ │ │ ├── helpers.ts │ │ │ ├── imports │ │ │ ├── importDeclaration.ts │ │ │ ├── importEqualsDeclaration.ts │ │ │ ├── index.ts │ │ │ └── reExportDeclaration.ts │ │ │ ├── index.ts │ │ │ └── scripts │ │ │ ├── bun.ts │ │ │ ├── execa.ts │ │ │ ├── index.ts │ │ │ └── zx.ts │ ├── util │ │ ├── Performance.ts │ │ ├── array.ts │ │ ├── cli-arguments.ts │ │ ├── codeowners.ts │ │ ├── create-workspace-graph.ts │ │ ├── debug.ts │ │ ├── empty.ts │ │ ├── errors.ts │ │ ├── file-entry-cache.ts │ │ ├── fs.ts │ │ ├── get-included-issue-types.ts │ │ ├── get-referenced-inputs.ts │ │ ├── git.ts │ │ ├── glob-core.ts │ │ ├── glob.ts │ │ ├── graph-sequencer.ts │ │ ├── has-strictly-ns-references.ts │ │ ├── input.ts │ │ ├── is-identifier-referenced.ts │ │ ├── issue-initializers.ts │ │ ├── jiti.ts │ │ ├── loader.ts │ │ ├── log.ts │ │ ├── map-workspaces.ts │ │ ├── math.ts │ │ ├── module-graph.ts │ │ ├── modules.ts │ │ ├── object.ts │ │ ├── package-json.ts │ │ ├── package-name.ts │ │ ├── parse-and-convert-gitignores.ts │ │ ├── path.ts │ │ ├── plugin-config.ts │ │ ├── plugin.ts │ │ ├── regex.ts │ │ ├── remove-export.ts │ │ ├── reporter.ts │ │ ├── require.ts │ │ ├── resolve.ts │ │ ├── string.ts │ │ ├── table.ts │ │ ├── tag.ts │ │ ├── to-source-path.ts │ │ ├── trace.ts │ │ ├── tsconfig-loader.ts │ │ ├── unwrap-function.ts │ │ ├── watch.ts │ │ └── workspace.ts │ └── version.ts │ ├── test │ ├── class-members.test.ts │ ├── cli │ │ ├── cli-config.test.ts │ │ ├── cli-include.test.ts │ │ ├── cli-preprocessor.test.ts │ │ ├── cli-reporter-codeclimate.test.ts │ │ ├── cli-reporter-codeclimate2.test.ts │ │ ├── cli-reporter-codeclimate3.test.ts │ │ ├── cli-reporter-codeclimate4.test.ts │ │ ├── cli-reporter-json.test.ts │ │ ├── cli-reporter-json2.test.ts │ │ ├── cli-reporter-json3.test.ts │ │ ├── cli-reporter-json4.test.ts │ │ ├── cli-reporter-markdown.test.ts │ │ ├── cli-reporter.test.ts │ │ ├── cli-treat-config-hints-as-errors.test.ts │ │ └── cli.test.ts │ ├── commonjs-tsconfig.test.ts │ ├── commonjs.test.ts │ ├── compilers.test.ts │ ├── cross-workspace-inputs.test.ts │ ├── custom-paths-workspaces.test.ts │ ├── definitely-typed.test.ts │ ├── dependencies-types.test.ts │ ├── dependencies.test.ts │ ├── dts-baseurl-implicit-relative.test.ts │ ├── dts-compiled.test.ts │ ├── dts.test.ts │ ├── duplicate-exports-alias.test.ts │ ├── entry-exports-enum-members.test.ts │ ├── entry-exports-namespace.test.ts │ ├── entry-files.test.ts │ ├── entry-js.test.ts │ ├── enum-members-enumerated.test.ts │ ├── enum-members.test.ts │ ├── exports-default-interface.test.ts │ ├── exports-default-type.test.ts │ ├── exports-special-characters.test.ts │ ├── exports-value-refs-default.test.ts │ ├── exports-value-refs.test.ts │ ├── exports.test.ts │ ├── extensions-css-ts.test.ts │ ├── fix │ │ ├── fix-members.test.ts │ │ ├── fix-workspaces.test.ts │ │ ├── fix.test.ts │ │ └── format.test.ts │ ├── gitignore.test.ts │ ├── helpers │ │ ├── assertAndRemoveProperty.ts │ │ ├── baseArguments.ts │ │ ├── baseCounters.ts │ │ └── exec.ts │ ├── ignore-dependencies-binaries-json.test.ts │ ├── ignore-dependencies-binaries.test.ts │ ├── ignore-exports-used-in-file-alias-exclude.test.ts │ ├── ignore-exports-used-in-file-id-chars.test.ts │ ├── ignore-exports-used-in-file-re-export.test.ts │ ├── ignore-exports-used-in-file-shorthand.test.ts │ ├── ignore-exports-used-in-file-some.test.ts │ ├── ignore-exports-used-in-file.test.ts │ ├── ignore-members.test.ts │ ├── ignore-unresolved.test.ts │ ├── ignore-unresolved2.test.ts │ ├── import-equals.test.ts │ ├── import-errors.test.ts │ ├── import-named-default-id.test.ts │ ├── import-star-iteration.test.ts │ ├── imports-namespace-with-nsexports.test.ts │ ├── imports-namespace.test.ts │ ├── imports-prop-access-call.test.ts │ ├── imports-self.test.ts │ ├── imports-typeof.test.ts │ ├── imports.test.ts │ ├── include-entry-exports-scripts.test.ts │ ├── include-entry-exports.test.ts │ ├── include-entry-reexports.test.ts │ ├── include-libs.test.ts │ ├── js-only.test.ts │ ├── jsdoc-exports.test.ts │ ├── jsdoc.test.ts │ ├── jsx.test.ts │ ├── module-block.test.ts │ ├── module-resolution-baseurl-implicit-relative.test.ts │ ├── module-resolution-non-std-absolute.test.ts │ ├── module-resolution-non-std-implicit.test.ts │ ├── module-resolution-non-std.test.ts │ ├── module-resolution-tsconfig-paths.test.ts │ ├── negated-production-paths.test.ts │ ├── npm-scripts.test.ts │ ├── package-entry-points.test.ts │ ├── path-aliases.test.ts │ ├── path-aliases2.test.ts │ ├── pathless.test.ts │ ├── peer-dependencies-circular.test.ts │ ├── peer-dependencies-optional-host.test.ts │ ├── peer-dependencies-optional-ignored.test.ts │ ├── peer-dependencies-optional.test.ts │ ├── peer-dependencies.test.ts │ ├── plugin-config.test.ts │ ├── plugin-disable.test.ts │ ├── plugin-overlap.test.ts │ ├── plugins │ │ ├── _template.test.ts │ │ ├── angular.test.ts │ │ ├── angular2.test.ts │ │ ├── angular3.test.ts │ │ ├── astro.test.ts │ │ ├── ava.test.ts │ │ ├── ava2.test.ts │ │ ├── ava3.test.ts │ │ ├── babel.test.ts │ │ ├── bun.test.ts │ │ ├── capacitor.test.ts │ │ ├── changelogen.test.ts │ │ ├── changelogithub.test.ts │ │ ├── changesets.test.ts │ │ ├── commitizen.test.ts │ │ ├── commitlint.test.ts │ │ ├── convex.test.ts │ │ ├── create-typescript-app.test.ts │ │ ├── cspell.test.ts │ │ ├── cucumber.test.ts │ │ ├── cypress-multi-reporter.test.ts │ │ ├── cypress.test.ts │ │ ├── cypress2.test.ts │ │ ├── dependency-cruiser.test.ts │ │ ├── docusaurus.test.ts │ │ ├── drizzle.test.ts │ │ ├── eleventy.test.ts │ │ ├── eleventy2.test.ts │ │ ├── eleventy3.test.ts │ │ ├── eslint.test.ts │ │ ├── eslint2.test.ts │ │ ├── eslint3.test.ts │ │ ├── eslint4.test.ts │ │ ├── expo.test.ts │ │ ├── expo2.test.ts │ │ ├── expo3.test.ts │ │ ├── gatsby.test.ts │ │ ├── github-action.test.ts │ │ ├── github-actions-workspaces.test.ts │ │ ├── github-actions.test.ts │ │ ├── graphql-codegen-graphql-config.test.ts │ │ ├── graphql-codegen-graphql-config2.test.ts │ │ ├── graphql-codegen.test.ts │ │ ├── hardhat.test.ts │ │ ├── husky-legacy.test.ts │ │ ├── husky-v8.test.ts │ │ ├── husky-v9-1.test.ts │ │ ├── husky-v9.test.ts │ │ ├── i18next-parser.test.ts │ │ ├── jest.test.ts │ │ ├── jest2.test.ts │ │ ├── jest3.test.ts │ │ ├── karma.test.ts │ │ ├── karma2.test.ts │ │ ├── karma3.test.ts │ │ ├── ladle.test.ts │ │ ├── lefthook-ci.test.ts │ │ ├── lefthook-v1.test.ts │ │ ├── lefthook.test.ts │ │ ├── lint-staged.test.ts │ │ ├── linthtml.test.ts │ │ ├── lockfile-lint.test.ts │ │ ├── lost-pixel.test.ts │ │ ├── markdownlint.test.ts │ │ ├── metro.test.ts │ │ ├── mocha.test.ts │ │ ├── moonrepo.test.ts │ │ ├── msw.test.ts │ │ ├── nano-staged.test.ts │ │ ├── nest.test.ts │ │ ├── netlify.test.ts │ │ ├── next-middleware.test.ts │ │ ├── next.test.ts │ │ ├── node-test-runner.test.ts │ │ ├── node.test.ts │ │ ├── nodemon.test.ts │ │ ├── npm-package-json-lint.test.ts │ │ ├── nuxt.test.ts │ │ ├── nx-crystal.test.ts │ │ ├── nx.test.ts │ │ ├── nyc.test.ts │ │ ├── oclif.test.ts │ │ ├── oxlint.test.ts │ │ ├── playwright-ct.test.ts │ │ ├── playwright-ct2.test.ts │ │ ├── playwright.test.ts │ │ ├── playwright2.test.ts │ │ ├── plop.test.ts │ │ ├── postcss-cjs.test.ts │ │ ├── postcss-next.test.ts │ │ ├── postcss-tailwindcss.test.ts │ │ ├── postcss-tailwindcss2.test.ts │ │ ├── postcss.test.ts │ │ ├── preconstruct.test.ts │ │ ├── prettier.test.ts │ │ ├── prisma.test.ts │ │ ├── react-cosmos.test.ts │ │ ├── react-router.test.ts │ │ ├── relay.test.ts │ │ ├── relay2.test.ts │ │ ├── release-it.test.ts │ │ ├── remark.test.ts │ │ ├── remix.test.ts │ │ ├── rollup.test.ts │ │ ├── rsbuild.test.ts │ │ ├── rspack.test.ts │ │ ├── semantic-release.test.ts │ │ ├── sentry.test.ts │ │ ├── simple-git-hooks.test.ts │ │ ├── size-limit.test.ts │ │ ├── sst.test.ts │ │ ├── sst2.test.ts │ │ ├── starlight.test.ts │ │ ├── storybook.test.ts │ │ ├── stryker.test.ts │ │ ├── stylelint.test.ts │ │ ├── stylelint2.test.ts │ │ ├── stylelint3.test.ts │ │ ├── svelte.test.ts │ │ ├── svgo.test.ts │ │ ├── syncpack.test.ts │ │ ├── tailwind.test.ts │ │ ├── travis.test.ts │ │ ├── tsdown.test.ts │ │ ├── tsup.test.ts │ │ ├── tsx.test.ts │ │ ├── typedoc.test.ts │ │ ├── typescript.test.ts │ │ ├── typescript2.test.ts │ │ ├── unbuild.test.ts │ │ ├── unocss.test.ts │ │ ├── vercel-og.test.ts │ │ ├── vike.test.ts │ │ ├── vite.test.ts │ │ ├── vite2.test.ts │ │ ├── vitest-npm-script.test.ts │ │ ├── vitest.test.ts │ │ ├── vitest2.test.ts │ │ ├── vitest3.test.ts │ │ ├── vitest4.test.ts │ │ ├── vitest5.test.ts │ │ ├── vitest6.test.ts │ │ ├── vitest7.test.ts │ │ ├── vitest8.test.ts │ │ ├── vue-webpack.test.ts │ │ ├── vue.test.ts │ │ ├── webdriver-io.test.ts │ │ ├── webpack-cli.test.ts │ │ ├── webpack.test.ts │ │ ├── webpack2.test.ts │ │ ├── wireit.test.ts │ │ ├── wrangler.test.ts │ │ ├── xo.test.ts │ │ ├── yarn.test.ts │ │ └── yorkie.test.ts │ ├── re-exports-aliased-ns.test.ts │ ├── re-exports-cjs.test.ts │ ├── re-exports-deep.test.ts │ ├── re-exports-default-renamed-deep.test.ts │ ├── re-exports-default-renamed.test.ts │ ├── re-exports-enum-unused.test.ts │ ├── re-exports-enum.test.ts │ ├── re-exports-export-declaration.test.ts │ ├── re-exports-export-ns.test.ts │ ├── re-exports-ignore-exports-used-in-file.test.ts │ ├── re-exports-ns-member.test.ts │ ├── re-exports-public.test.ts │ ├── re-exports-renamed.test.ts │ ├── re-exports-with-decorator.test.ts │ ├── re-exports.test.ts │ ├── rules.test.ts │ ├── script-visitors-bun.test.ts │ ├── script-visitors-execa.test.ts │ ├── script-visitors-zx.test.ts │ ├── self-reference-from-plugin.test.ts │ ├── self-reference.test.ts │ ├── skip-exports-analysis.test.ts │ ├── subpath-imports-from-plugin.test.ts │ ├── subpath-imports.test.ts │ ├── subpath-patterns.test.ts │ ├── tagged-template-literal.test.ts │ ├── tags-cli.test.ts │ ├── tags-exclude.test.ts │ ├── tags-include.test.ts │ ├── trace.test.ts │ ├── tsconfig-extends.test.ts │ ├── tsconfig-paths-extends.test.ts │ ├── tsconfig.json │ ├── types.test.ts │ ├── unresolved-rtl.test.ts │ ├── util │ │ ├── codeowners.test.ts │ │ ├── convert-gitignore-patterns.test.ts │ │ ├── find-and-parse-gitignores.test.ts │ │ ├── get-included-issue-types.test.ts │ │ ├── get-inputs-from-scripts.test.ts │ │ ├── graph-sequencer.test.ts │ │ ├── has-strictly-ns-references.test.ts │ │ ├── load.test.ts │ │ ├── module.test.ts │ │ ├── remove-export.test.ts │ │ ├── serialize.test.ts │ │ ├── string.test.ts │ │ ├── table.test.ts │ │ └── workspace.test.ts │ ├── workspaces-circular.test.ts │ ├── workspaces-cross-reference.test.ts │ ├── workspaces-dts.test.ts │ ├── workspaces-entry-files.test.ts │ ├── workspaces-ignored.test.ts │ ├── workspaces-include-entry-exports.test.ts │ ├── workspaces-module-resolution.test.ts │ ├── workspaces-nested.test.ts │ ├── workspaces-noconfig-plugin.test.ts │ ├── workspaces-paths-compilers.test.ts │ ├── workspaces-paths.test.ts │ ├── workspaces-plugin-circular.test.ts │ ├── workspaces-plugin-config.test.ts │ ├── workspaces-plugin-overlap.test.ts │ ├── workspaces-pnpm.test.ts │ ├── workspaces-self-reference.test.ts │ ├── workspaces-tooling.test.ts │ ├── workspaces.test.ts │ └── zero-config.test.ts │ ├── transform-test.js │ ├── tsconfig.json │ └── vendor │ └── bash-parser │ ├── README.md │ ├── index.d.ts │ └── index.js └── templates ├── demo ├── monorepo │ ├── .gitignore │ ├── knip.ts │ ├── node_modules │ │ └── @monorepo │ │ │ ├── client │ │ │ ├── server │ │ │ └── shared │ ├── package.json │ ├── packages │ │ ├── client │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ ├── server │ │ │ ├── package.json │ │ │ ├── src │ │ │ │ └── index.ts │ │ │ └── tsconfig.json │ │ └── shared │ │ │ ├── package.json │ │ │ ├── src │ │ │ ├── exports.ts │ │ │ ├── import-numbers.ts │ │ │ ├── index.ts │ │ │ ├── numbers.ts │ │ │ └── used-fn.ts │ │ │ └── tsconfig.json │ └── tsconfig.json └── script │ └── demo.lua ├── issue-reproduction ├── basic │ ├── README.md │ ├── index.ts │ ├── knip.json │ ├── package.json │ └── tsconfig.json └── monorepo │ ├── README.md │ ├── knip.json │ ├── node_modules │ └── @monorepo │ │ ├── client │ │ ├── server │ │ └── shared │ ├── package.json │ ├── packages │ ├── client │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ ├── server │ │ ├── package.json │ │ ├── src │ │ │ └── index.ts │ │ └── tsconfig.json │ └── shared │ │ ├── package.json │ │ ├── src │ │ └── index.ts │ │ └── tsconfig.json │ └── tsconfig.json └── playground ├── basic ├── README.md ├── clutter.ts ├── index.ts ├── package.json ├── tsconfig.json └── util.ts └── monorepo ├── .gitignore ├── README.md ├── knip.ts ├── package.json ├── packages ├── client │ ├── package.json │ ├── src │ │ └── index.ts │ └── tsconfig.json ├── server │ ├── package.json │ ├── src │ │ └── index.ts │ └── tsconfig.json └── shared │ ├── package.json │ ├── src │ ├── exports.ts │ ├── index.ts │ └── used-fn.ts │ └── tsconfig.json └── tsconfig.json /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: webpro 2 | open_collective: knip 3 | polar: webpro-nl 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .idea 3 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | save-exact=true 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | packages/knip/README.md -------------------------------------------------------------------------------- /assets/screenshot-exports.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webpro-nl/knip/18842738a4acc06e11654a853c5247f0e8399d27/assets/screenshot-exports.png -------------------------------------------------------------------------------- /packages/create-config/license: -------------------------------------------------------------------------------- 1 | ../../license -------------------------------------------------------------------------------- /packages/docs/.gitignore: -------------------------------------------------------------------------------- 1 | .astro/ 2 | .DS_Store 3 | .env 4 | dist/ 5 | node_modules/ 6 | src/content/docs/reference/plugins/ 7 | -------------------------------------------------------------------------------- /packages/docs/README.md: -------------------------------------------------------------------------------- 1 | # knip.dev 2 | 3 | The source of [knip.dev][1]. 4 | 5 | [1]: https://knip.dev 6 | -------------------------------------------------------------------------------- /packages/docs/mock/testimonials.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /packages/docs/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Allow: / 3 | 4 | Sitemap: https://knip.dev/sitemap.txt 5 | -------------------------------------------------------------------------------- /packages/docs/src/components/SponsorsChart.astro: -------------------------------------------------------------------------------- 1 | --- 2 | import Chart from '../assets/venz-chart.svg'; 3 | --- 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/knip/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage 2 | /dist 3 | /tmp 4 | /node_modules 5 | !/fixtures/** 6 | .cache 7 | -------------------------------------------------------------------------------- /packages/knip/bin/knip-bun.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bun 2 | import '../dist/cli.js'; 3 | -------------------------------------------------------------------------------- /packages/knip/bin/knip.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import '../dist/cli.js'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cli-preprocessor/node_modules/knip-preprocessor/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "knip-preprocessor" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cli-preprocessor/node_modules/with-args/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "with-args" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cli-preprocessor/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/cli-preprocessor" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cli-reporter/index.js: -------------------------------------------------------------------------------- 1 | export default function () { 2 | console.log('hi from js reporter'); 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cli-reporter/index.ts: -------------------------------------------------------------------------------- 1 | export default function () { 2 | console.log('hi from ts reporter'); 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cli-reporter/node_modules/knip-reporter/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "knip-reporter" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cli-reporter/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/cli-reporter" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cli/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/cli" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/commonjs-tsconfig/dir/exports.js: -------------------------------------------------------------------------------- 1 | exports.add = () => {}; 2 | 3 | exports.unused = () => {}; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/commonjs-tsconfig/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/commonjs-tsconfig" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/commonjs-tsconfig/ts-ext.ts: -------------------------------------------------------------------------------- 1 | export default function fn() {} 2 | 3 | fn(); 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/commonjs/node_modules/resolved/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resolved" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/commonjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/commonjs", 3 | "dependencies": { 4 | "resolved": "*" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/commonjs/ts-ext.ts: -------------------------------------------------------------------------------- 1 | export default function fn() {} 2 | 3 | fn(); 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/compilers/Component.vue: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/compilers/component.tsx: -------------------------------------------------------------------------------- 1 | export default () =>
1
; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/compilers/enum.ts: -------------------------------------------------------------------------------- 1 | export enum Enum { 2 | Member = 'member', 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/compilers/grid.css: -------------------------------------------------------------------------------- 1 | @import './grid.css'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/compilers/node_modules/@mdx-js/mdx/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@mdx-js/mdx" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/compilers/readme.md: -------------------------------------------------------------------------------- 1 | # Header 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/compilers/styles.css: -------------------------------------------------------------------------------- 1 | @import './grid.css'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/compilers/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2015", 4 | "jsx": "preserve" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-async/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-async/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-async/knip.config.js: -------------------------------------------------------------------------------- 1 | module.exports = async () => ({ 2 | ignore: ['dangling.js'], 3 | }); 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-async/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-async/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-js-async" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-flat/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-flat/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-flat/knip.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ignore: ['dangling.js'], 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-flat/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-js-flat/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-js-flat" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-json/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-json/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-json/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignore": ["dangling.js"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-json/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-json/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-async/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-async/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-async/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-async/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-mjs-async" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-flat/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-flat/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-flat/knip.mjs: -------------------------------------------------------------------------------- 1 | const config = { 2 | ignore: ['dangling.js'], 3 | }; 4 | 5 | export default config; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-flat/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-mjs-flat/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-mjs-flat" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-package-json/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-package-json/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-package-json/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-async/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-async/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-async/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-async/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-ts-async" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-async/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "types": ["node"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-flat/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-flat/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-flat/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-flat/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-ts-flat" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-flat/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "types": ["node"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-function/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-function/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-function/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-function/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-ts-function" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-ts-function/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "types": ["node"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-yaml/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-yaml/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-yaml/knip.yaml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - 'dangling.js' -------------------------------------------------------------------------------- /packages/knip/fixtures/config-yaml/my-namespace.js: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | export const y = () => x; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/config-yaml/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/config-yaml" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cross-workspace-inputs/knip.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/cross-workspace-inputs/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/custom-paths-workspaces/index.ts: -------------------------------------------------------------------------------- 1 | import anything from '~/my-module'; 2 | anything; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/custom-paths-workspaces/lib/fn.ts: -------------------------------------------------------------------------------- 1 | export default () => void 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/custom-paths-workspaces/lib/index.ts: -------------------------------------------------------------------------------- 1 | export default () => void 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/custom-paths-workspaces/my-module.ts: -------------------------------------------------------------------------------- 1 | import index from '@lib'; 2 | import fn from '@lib/fn'; 3 | index; 4 | fn; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/custom-paths-workspaces/ws/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/custom-paths-workspaces__ws" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/custom-paths-workspaces/ws/util/lang.ts: -------------------------------------------------------------------------------- 1 | export default () => void 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dependencies-types/index.ts: -------------------------------------------------------------------------------- 1 | import { meta } from '@eslint/js'; 2 | import { Ajv } from 'ajv'; 3 | 4 | meta; 5 | Ajv; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/dts-baseurl-implicit-relative" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/components/Button.d.ts: -------------------------------------------------------------------------------- 1 | export const Button: () => null; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/components/Button.jsx: -------------------------------------------------------------------------------- 1 | export const Button = () => null; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/dir/subdir/index.d.ts: -------------------------------------------------------------------------------- 1 | const h: () => number; 2 | export default h; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/dir/subdir/index.js: -------------------------------------------------------------------------------- 1 | const h = () => { 2 | return 1; 3 | }; 4 | export default h; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/utils/fn.d.ts: -------------------------------------------------------------------------------- 1 | export const fn: () => void; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/utils/fn.js: -------------------------------------------------------------------------------- 1 | export const fn = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/utils/obj.cjs: -------------------------------------------------------------------------------- 1 | module.exports.obj = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/utils/obj.d.cts: -------------------------------------------------------------------------------- 1 | export const obj: () => void; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/utils/str.d.mts: -------------------------------------------------------------------------------- 1 | export const str: () => void; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/src/utils/str.mjs: -------------------------------------------------------------------------------- 1 | export const str = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-baseurl-implicit-relative/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "src" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-compiled/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/dts-compiled", 3 | "private": true, 4 | "type": "module" 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-compiled/src/ExampleQuery.graphql: -------------------------------------------------------------------------------- 1 | query ExampleQuery { 2 | example { 3 | name 4 | description 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-compiled/src/UnusedQuery.graphql: -------------------------------------------------------------------------------- 1 | query UnusedQuery { 2 | example { 3 | name 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-compiled/src/main.tsx: -------------------------------------------------------------------------------- 1 | import App from './App.tsx'; 2 | App; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-compiled/src/types.ts: -------------------------------------------------------------------------------- 1 | export type Exact = { [K in keyof T]: T[K] }; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts-compiled/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts/block.html: -------------------------------------------------------------------------------- 1 |
content
2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts/image.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts/normal.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/dts" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/dts/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/duplicate-exports-alias/index.ts: -------------------------------------------------------------------------------- 1 | import { isAlias } from './helpers'; 2 | isAlias; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/duplicate-exports-alias/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/duplicate-exports-alias" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-exports-enum-members/index.ts: -------------------------------------------------------------------------------- 1 | export { Fruit, Farmer } from './fruit'; 2 | export { Tree } from './tree'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-exports-enum-members/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/entry-exports-enum-members" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-exports-namespace/index.ts: -------------------------------------------------------------------------------- 1 | export { NS } from './mid'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-exports-namespace/main.ts: -------------------------------------------------------------------------------- 1 | import { NS } from './mid'; 2 | 3 | NS.x; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-exports-namespace/mid.ts: -------------------------------------------------------------------------------- 1 | export * as NS from './ns'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-exports-namespace/ns.ts: -------------------------------------------------------------------------------- 1 | export const x = 1; 2 | export const y = 1; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-exports-namespace/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/entry-exports-namespace" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-js/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/entry-js/index.js: -------------------------------------------------------------------------------- 1 | import { myExport } from './my-module.js'; 2 | 3 | export const ignoredExportInEntryFile = myExport; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/enum-members-enumerated/fruits.ts: -------------------------------------------------------------------------------- 1 | export enum Fruits { 2 | apple = 'apple', 3 | orange = 'orange', 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/enum-members-enumerated/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/enum-members-enumerated" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/enum-members/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/enum-members" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/export-default-type/class.js: -------------------------------------------------------------------------------- 1 | class MyClass {} 2 | 3 | export default MyClass; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/export-default-type/const.js: -------------------------------------------------------------------------------- 1 | const fruit = 1; 2 | 3 | export default fruit; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/export-default-type/function.js: -------------------------------------------------------------------------------- 1 | function fn() {} 2 | 3 | export default fn; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/export-default-type/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/export-default-type" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports-default-interface/enum.ts: -------------------------------------------------------------------------------- 1 | enum MyEnum { 2 | id = 0, 3 | } 4 | 5 | export default MyEnum; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports-default-interface/interface.ts: -------------------------------------------------------------------------------- 1 | export default interface MyInterface { 2 | id: number; 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports-default-interface/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/exports-default-interface" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports-default-interface/type.ts: -------------------------------------------------------------------------------- 1 | type MyType = unknown; 2 | 3 | export default MyType; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports-value-refs-default/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/exports-value-refs-default" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/default-arrow-function.ts: -------------------------------------------------------------------------------- 1 | export default () => 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/default-class.ts: -------------------------------------------------------------------------------- 1 | export default class {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/default-function.ts: -------------------------------------------------------------------------------- 1 | export default function () {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/default-generator-function.ts: -------------------------------------------------------------------------------- 1 | export default function* () {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/default-named-class.ts: -------------------------------------------------------------------------------- 1 | export default class ClassName {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/default-named-function.ts: -------------------------------------------------------------------------------- 1 | export default function functionName() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/default-named-generator-function.ts: -------------------------------------------------------------------------------- 1 | export default function* generatorFunctionName() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/default.ts: -------------------------------------------------------------------------------- 1 | export const NamedExport = 1; 2 | 3 | export default () => 1; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/export-is.ts: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | 3 | export = x; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/odd.ts: -------------------------------------------------------------------------------- 1 | import one = require('./export-is'); 2 | one; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/exports" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/exports/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "types": ["node"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/extensions-css-ts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/extensions-css-ts" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/extensions-css-ts/styles1.css.ts: -------------------------------------------------------------------------------- 1 | import styles from './styles1a.css.ts'; 2 | export default styles; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/extensions-css-ts/styles1a.css.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/extensions-css-ts/styles2.css.ts: -------------------------------------------------------------------------------- 1 | import styles from './styles2a.css.js'; 2 | export default styles; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/extensions-css-ts/styles2a.css.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/extensions-css-ts/styles3.css.ts: -------------------------------------------------------------------------------- 1 | import styles from './styles3a.css'; 2 | export default styles; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/extensions-css-ts/styles3a.css.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix-members/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/fix-members" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix-workspaces/ignored.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | export const b = 2; 3 | 4 | export type T = number; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix-workspaces/index.js: -------------------------------------------------------------------------------- 1 | import { a } from './ignored'; 2 | import { c } from './exports'; 3 | 4 | a; 5 | c; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix-workspaces/packages/ignored/exports.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | export const b = 2; 3 | 4 | export type T = number; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix-workspaces/packages/ignored/index.js: -------------------------------------------------------------------------------- 1 | import { a } from './exports'; 2 | 3 | a; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix-workspaces/packages/lib/ignored.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | export const b = 2; 3 | 4 | export type T = number; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix-workspaces/packages/lib/index.js: -------------------------------------------------------------------------------- 1 | import { a } from './ignored'; 2 | import { c } from './exports'; 3 | 4 | a; 5 | c; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix/access.js: -------------------------------------------------------------------------------- 1 | module.exports.USED = 1; 2 | module.exports.UNUSED = 1; 3 | module.exports['ACCESS'] = 1; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix/default-x.mjs: -------------------------------------------------------------------------------- 1 | const x = 1; 2 | 3 | export default x; 4 | 5 | export const dx = 1; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix/default.mjs: -------------------------------------------------------------------------------- 1 | export default 1; 2 | export const d = 1; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix/exports.js: -------------------------------------------------------------------------------- 1 | const identifier = 1; 2 | const identifier2 = 2; 3 | 4 | module.exports = { identifier, identifier2 }; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix/ignored.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | export const b = 2; 3 | 4 | export type T = number; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/fix/knip.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | ignore: ['ignored.ts'], 3 | ignoreDependencies: ['ignored'], 4 | }; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/gitignore/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | /b 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/gitignore/packages/a/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | dist.ts 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/gitignore/packages/a/build/dist.js: -------------------------------------------------------------------------------- 1 | export default () => 'ignored'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/gitignore/packages/a/dist.ts: -------------------------------------------------------------------------------- 1 | export const ignored = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/gitignore/packages/a/index.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/gitignore/packages/a/libs/.gitignore: -------------------------------------------------------------------------------- 1 | *.ts 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/gitignore/packages/a/libs/util/type/.gitignore: -------------------------------------------------------------------------------- 1 | *.js 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/gitignore/packages/a/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/gitignore__a" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/glob/.gitignore: -------------------------------------------------------------------------------- 1 | a/b/c 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-dependencies-binaries-json/node_modules/tsx/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tsx", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-dependencies-binaries/node_modules/tsx/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tsx", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-dependencies-eslint/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "eslint": true, 3 | "ignoreDependencies": ["^eslint-.*"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-alias-exclude/index.ts: -------------------------------------------------------------------------------- 1 | import './exports'; 2 | import './more'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-id-chars/index.ts: -------------------------------------------------------------------------------- 1 | import './imported'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-id-chars/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreExportsUsedInFile": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-id-chars/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/ignore-exports-used-in-file-id-chars" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-re-export/index.ts: -------------------------------------------------------------------------------- 1 | import Component from './component'; 2 | 3 | Component; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-re-export/interface.ts: -------------------------------------------------------------------------------- 1 | export interface ComponentProps { 2 | n: number; 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-re-export/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreExportsUsedInFile": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-shorthand/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreExportsUsedInFile": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-some/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/ignore-exports-used-in-file-some" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file-some/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "types": ["node"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreExportsUsedInFile": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/ignore-exports-used-in-file" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-exports-used-in-file/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "types": ["node"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-members/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/ignore-members" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-members/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "preserve" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-unresolved/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/ignore-unresolved", 3 | "type": "module" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-unresolved2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/ignore-unresolved2", 3 | "workspaces": ["packages/*"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/ignore-unresolved2/packages/client/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/ignore-unresolved2__client" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-equals/local.ts: -------------------------------------------------------------------------------- 1 | export default () => 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-equals/my-module.ts: -------------------------------------------------------------------------------- 1 | export const something = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-equals/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-errors/index.ts: -------------------------------------------------------------------------------- 1 | import 'package'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-errors/node_modules/package/index.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-named-default-id/index.ts: -------------------------------------------------------------------------------- 1 | import utilOne from './utils'; 2 | utilOne(); 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-named-default-id/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/import-named-default-id" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-named-default-id/utils.ts: -------------------------------------------------------------------------------- 1 | export const utilOne = () => 1; 2 | const utilTwo = () => 2; 3 | export default utilTwo; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-star-iteration/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/import-star-iteration" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/import-star-iteration/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace-with-nsexports/namespace3.ts: -------------------------------------------------------------------------------- 1 | export const identifier31 = 31; 2 | export const identifier32 = 32; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace-with-nsexports/namespace4.ts: -------------------------------------------------------------------------------- 1 | export const identifier33 = 33; 2 | export const identifier34 = 34; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace-with-nsexports/namespace5.ts: -------------------------------------------------------------------------------- 1 | export const identifier35 = 35; 2 | export const identifier36 = 36; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace-with-nsexports/namespace6.ts: -------------------------------------------------------------------------------- 1 | export const identifier37 = 37; 2 | export const identifier38 = 38; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace/namespace3.ts: -------------------------------------------------------------------------------- 1 | export const identifier31 = 31; 2 | export const identifier32 = 32; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace/namespace4.ts: -------------------------------------------------------------------------------- 1 | export const identifier33 = 33; 2 | export const identifier34 = 34; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace/namespace5.ts: -------------------------------------------------------------------------------- 1 | export const identifier35 = 35; 2 | export const identifier36 = 36; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace/namespace6.ts: -------------------------------------------------------------------------------- 1 | export const identifier37 = 37; 2 | export const identifier38 = 38; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace/namespace7.ts: -------------------------------------------------------------------------------- 1 | export const identifier39 = 39; 2 | export const identifier40 = 40; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace/namespace8.ts: -------------------------------------------------------------------------------- 1 | export const identifier41 = 41; 2 | export const identifier42 = 42; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/imports-namespace" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-namespace/re-exported-module.ts: -------------------------------------------------------------------------------- 1 | const myFunction = () => void 0; 2 | 3 | export default myFunction; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-prop-access-call/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/imports-prop-access-call" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-self/exports.js: -------------------------------------------------------------------------------- 1 | import * as NS from './exports.js'; 2 | 3 | export { NS }; 4 | 5 | export const member = 1; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-self/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/imports-self" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports-typeof/index.ts: -------------------------------------------------------------------------------- 1 | let externalModule: typeof import('external') | undefined; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/aliased-binding.ts: -------------------------------------------------------------------------------- 1 | export const named = 'named'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/await-import-call.ts: -------------------------------------------------------------------------------- 1 | import console = require('node:console'); 2 | console.log('side effect'); 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/catch.ts: -------------------------------------------------------------------------------- 1 | export const identifier15 = 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/default-and-named-binding.ts: -------------------------------------------------------------------------------- 1 | export const named = 'named'; 2 | export default 'default'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/default-identifier.ts: -------------------------------------------------------------------------------- 1 | export default 'default'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/default-prop-access.ts: -------------------------------------------------------------------------------- 1 | export default 'default-prop-access'; 2 | 3 | export const elementAccess = 1; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/dir/mod.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/empty-named-bindings.ts: -------------------------------------------------------------------------------- 1 | // side-effects 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/import-a.ts: -------------------------------------------------------------------------------- 1 | export default 'identifierA'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/import-c.ts: -------------------------------------------------------------------------------- 1 | export default 'c'; 2 | 3 | export const namedC = 'namedC'; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/import-d.ts: -------------------------------------------------------------------------------- 1 | export default 'd'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/import-e.ts: -------------------------------------------------------------------------------- 1 | export default 'e'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/named-object-binding.ts: -------------------------------------------------------------------------------- 1 | export const named = 'named'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/no-substitution-tpl-literal.ts: -------------------------------------------------------------------------------- 1 | export default 'no-substitution-tpl-literal'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/imports", 3 | "type": "module" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/promise-like.ts: -------------------------------------------------------------------------------- 1 | export default 'f'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/prop-access.ts: -------------------------------------------------------------------------------- 1 | export const propAccess = 'prop-access'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/side-effects-call.ts: -------------------------------------------------------------------------------- 1 | import console = require('node:console'); 2 | console.log('side effect'); 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/side-effects.ts: -------------------------------------------------------------------------------- 1 | // side effect 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/string-literal.ts: -------------------------------------------------------------------------------- 1 | export default 'string-literal'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/top-level-await-import.ts: -------------------------------------------------------------------------------- 1 | export default 'top-level'; 2 | 3 | export const top = 'top'; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/imports/top-level-side-effects-call.ts: -------------------------------------------------------------------------------- 1 | import console from 'node:console'; 2 | console.log('side effect'); 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-exports-scripts/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "project": ["src/**/*.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-exports-scripts/next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-exports/cli.js: -------------------------------------------------------------------------------- 1 | module.exports.a = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-exports/main.ts: -------------------------------------------------------------------------------- 1 | export const x = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-exports/mod.ts: -------------------------------------------------------------------------------- 1 | export const y = 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-exports/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/include-entry-exports" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-reexports/node_modules/@fixtures/include-entry-reexports__app: -------------------------------------------------------------------------------- 1 | ../../packages/app -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-reexports/node_modules/@fixtures/include-entry-reexports__shared: -------------------------------------------------------------------------------- 1 | ../../packages/shared -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-reexports/packages/shared/bar.mjs: -------------------------------------------------------------------------------- 1 | export const bar = () => 'bar'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-reexports/packages/shared/foo.mjs: -------------------------------------------------------------------------------- 1 | export const foo = () => 'foo'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-entry-reexports/packages/shared/index.mjs: -------------------------------------------------------------------------------- 1 | export * from './foo.mjs'; 2 | export * from './bar.mjs'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-libs/components.ts: -------------------------------------------------------------------------------- 1 | export const Apple = () => 'Apple!'; 2 | export const Orange = () => 'Orange!'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/include-libs/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "preserve" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/js-only/dangling.js: -------------------------------------------------------------------------------- 1 | export const unusedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/js-only/index.js: -------------------------------------------------------------------------------- 1 | import * as MyNamespace from './my-namespace'; 2 | 3 | export const b = MyNamespace.y; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/js-only/my-namespace.js: -------------------------------------------------------------------------------- 1 | export const x = 1; 2 | export const y = () => x; 3 | export const z = 3; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/jsdoc-exports/index.ts: -------------------------------------------------------------------------------- 1 | export { publicFn } from './module'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/jsdoc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/jsdoc" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/jsx/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "react-jsx" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/load-cjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/load-cjs", 3 | "type": "commonjs" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/load-esm-ts/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/load-esm-ts", 3 | "type": "module" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/load-esm/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/load-esm", 3 | "type": "module" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-block/index.ts: -------------------------------------------------------------------------------- 1 | import './types'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-block/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/module-block" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-block/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "isolatedModules": false 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-baseurl-implicit-relative/src/dir/main.ts: -------------------------------------------------------------------------------- 1 | import Image from 'assets/image.svg'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-baseurl-implicit-relative/src/hello/world.ts: -------------------------------------------------------------------------------- 1 | export const helloWorld = 'Hello world!'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-non-std-absolute/node_modules/x-other: -------------------------------------------------------------------------------- 1 | ../x-other -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-non-std-absolute/node_modules/x-self: -------------------------------------------------------------------------------- 1 | ../x-self -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-non-std-absolute/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-non-std-absolute/x-other/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "x-other" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-non-std-absolute/x-self/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "x-self" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-non-std-implicit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/module-resolution-non-std-implicit" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-non-std/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-non-std/node_modules/@svg-icons/fa-brands/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@svg-icons/fa-brands" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-tsconfig-paths/aliased-dir/a.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-tsconfig-paths/components/IndexComponent/index.tsx: -------------------------------------------------------------------------------- 1 | export const IndexComponent = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-tsconfig-paths/components/MyComponent.tsx: -------------------------------------------------------------------------------- 1 | export const MyComponent = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-tsconfig-paths/internal-package/index.ts: -------------------------------------------------------------------------------- 1 | export const pkg = 1; 2 | 3 | export const unused = 1; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/module-resolution-tsconfig-paths/unprefixed/module.ts: -------------------------------------------------------------------------------- 1 | export const unprefixed = 1; 2 | 3 | export const unused = 1; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/negated-production-paths/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/negated-production-paths" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/node_modules/@org/runnable/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@org/runnable", 3 | "bin": "./index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/node_modules/eslint-v6/bin/eslint.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/node_modules/eslint-v7/bin/eslint.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/node_modules/eslint-v8/bin/eslint.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/node_modules/eslint/bin/eslint.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/node_modules/express/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "express" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/node_modules/nx/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nx", 3 | "bin": { 4 | "nx": "bin/nx" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/npm-scripts/node_modules/tsup/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tsup", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/package-entry-points/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/package-entry-points/feature/internal/system/used.ts: -------------------------------------------------------------------------------- 1 | export const used = 1; 2 | export const unused = 1; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/package-entry-points/lib/index.js: -------------------------------------------------------------------------------- 1 | export const entryExport = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/package-entry-points/src/public/lib/rary/index.ts: -------------------------------------------------------------------------------- 1 | export const entryExport = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/path-aliases/lib/fn.ts: -------------------------------------------------------------------------------- 1 | export default () => void 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/path-aliases/lib/index.ts: -------------------------------------------------------------------------------- 1 | export default () => void 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/path-aliases/my-module.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/path-aliases/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/path-aliases" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/path-aliases2/node_modules/vite/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/path-aliases2/node_modules/vite/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/path-aliases2/ts/shared/file.ts: -------------------------------------------------------------------------------- 1 | import 'webpack'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/path-aliases2/webpack/shared/file.ts: -------------------------------------------------------------------------------- 1 | import 'webpack'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/pathless/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/pathless" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/pathless/src/dir/module-a.ts: -------------------------------------------------------------------------------- 1 | import same from 'same'; 2 | same; 3 | 4 | export default 1; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/pathless/src/index.ts: -------------------------------------------------------------------------------- 1 | import one from 'dir/module-a'; 2 | import same from 'same'; 3 | same; 4 | 5 | export default one; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/pathless/src/same.ts: -------------------------------------------------------------------------------- 1 | export default 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/pathless/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": "src" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional-host/index.ts: -------------------------------------------------------------------------------- 1 | import 'vue-demi'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional-host/node_modules/vue/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue", 3 | "version": "1.0.0" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional-ignored/index.ts: -------------------------------------------------------------------------------- 1 | import type { Pool, PoolClient } from 'pg'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional-ignored/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignoreDependencies": ["@types/pg", "pg"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional-ignored/node_modules/pg/index.js: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional-ignored/node_modules/pg/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pg" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional/index.ts: -------------------------------------------------------------------------------- 1 | import type { Pool, PoolClient } from 'pg'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional/node_modules/@types/pg/index.d.ts: -------------------------------------------------------------------------------- 1 | export interface Pool {} 2 | export interface PoolClient {} 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional/node_modules/pg/index.js: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies-optional/node_modules/pg/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pg" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies/index.ts: -------------------------------------------------------------------------------- 1 | import host from 'host'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies/node_modules/host/index.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: 1; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/peer-dependencies/node_modules/host/index.js: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugin-config/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugin-config/index.vitest.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugin-config/node_modules/vitest/config.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = config => config; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugin-config/node_modules/vitest/index.js: -------------------------------------------------------------------------------- 1 | export const test = (title, fn) => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugin-config/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugin-disable/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "workspaces": { 3 | "ws": {} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugin-overlap/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig/node16", 3 | "compilerOptions": {} 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/_template/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/_template" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/angular2/src/browser.ts: -------------------------------------------------------------------------------- 1 | import { environment } from './environments/environment'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/angular2/src/environments/environment.development.ts: -------------------------------------------------------------------------------- 1 | export const environment = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/angular2/src/environments/environment.ts: -------------------------------------------------------------------------------- 1 | export const environment = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/angular2/src/server.ts: -------------------------------------------------------------------------------- 1 | import { CommonEngine } from '@angular/ssr'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/angular2/tsconfig.app.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/astro/node_modules/astro/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "astro", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/astro/src/env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/ava/node_modules/ava/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ava", 3 | "bin": "index.js" 4 | } 5 | 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/ava2/ava.config.mjs: -------------------------------------------------------------------------------- 1 | const avaConfig = {}; 2 | 3 | export default avaConfig; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/ava2/index.cjs: -------------------------------------------------------------------------------- 1 | require('./mod.cjs'); 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/ava2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/ava2", 3 | "knip": { 4 | "ava": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/ava3/index.cjs: -------------------------------------------------------------------------------- 1 | require('./mod.cjs'); 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/ava3/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/ava3", 3 | "knip": { 4 | "ava": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/bun/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/bun", 3 | "scripts": { 4 | "test": "bun test" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/changelogen/changelog.config.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/changelogen/node_modules/changelogen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "changelogen", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/changelogithub/changelogithub.config.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/commitizen/.czrc: -------------------------------------------------------------------------------- 1 | { 2 | "path": "cz-conventional-changelog" 3 | } -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/convex/convex/_generated/dataModel.d.ts: -------------------------------------------------------------------------------- 1 | import schema from '../schema.js'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/convex/convex/auth.config.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/convex/convex/schema.ts: -------------------------------------------------------------------------------- 1 | import { defineSchema } from 'convex/server'; 2 | 3 | export default defineSchema({}); 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cspell/.cspell.json: -------------------------------------------------------------------------------- 1 | { 2 | "import": ["@cspell/dict-cryptocurrencies/cspell-ext.json"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cucumber/steps/step.ts: -------------------------------------------------------------------------------- 1 | import { When, Then } from '@cucumber/cucumber'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cypress-multi-reporter/node_modules/cypress/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = c => c; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cypress-multi-reporter/node_modules/cypress/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cypress" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cypress/cypress/support/e2e.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/cypress/add-commands'; 2 | import './commands'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cypress/node_modules/@nrwl/cypress/plugins/cypress-preset.js: -------------------------------------------------------------------------------- 1 | export const nxE2EPreset = (p, c) => ({}); 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cypress/node_modules/cypress/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = c => c; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cypress/node_modules/cypress/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cypress" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cypress2/node_modules/cypress/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = c => c; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/cypress2/node_modules/cypress/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cypress" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/dependency-cruiser/.dependency-cruiser.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/dependency-cruiser/baseline.config.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/dependency-cruiser/custom-depcruise-config.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/dependency-cruiser/dependency-cruise.config.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eleventy/_data/global.cjs: -------------------------------------------------------------------------------- 1 | const data = { 2 | title: 'Eleventy', 3 | }; 4 | 5 | module.exports = data; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eleventy/_includes/footer.njk: -------------------------------------------------------------------------------- 1 |
2 | Build on Eleventy 3 |
4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eleventy2/_data/global.cjs: -------------------------------------------------------------------------------- 1 | const data = { 2 | title: 'Eleventy', 3 | }; 4 | 5 | module.exports = data; 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eleventy2/_includes/footer.njk: -------------------------------------------------------------------------------- 1 |
2 | Build on Eleventy 3 |
4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eleventy3/_includes/footer.njk: -------------------------------------------------------------------------------- 1 |
2 | Build on Eleventy 3 |
4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eleventy3/src/_plugins/syntax-highlighter.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/index.ts: -------------------------------------------------------------------------------- 1 | export const x = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/@eslint/js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@eslint/js" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/@nrwl/eslint-plugin-nx/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | configs: {}, 3 | rules: {}, 4 | }; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/@nrwl/eslint-plugin-nx/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@nrwl/eslint-plugin-nx" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/@typescript-eslint/parser/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | parse: () => {}, 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/@typescript-eslint/parser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@typescript-eslint/parser" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint-config-airbnb/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rules: {}, 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint-config-airbnb/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint-config-airbnb" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint-config-prettier/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | rules: {}, 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint-config-prettier/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint-config-prettier" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint-plugin-compat/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint-plugin-compat" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint-plugin-jsdoc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint-plugin-jsdoc" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint-plugin-no-secrets/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint-plugin-no-secrets" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint-plugin-prettier/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint-plugin-prettier" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | Linter, 3 | }; -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint/node_modules/eslint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint2/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "eslint": ["eslint.config.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint2/node_modules/@eslint/js/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@eslint/js" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint2/node_modules/eslint/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | Linter, 3 | }; -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint2/node_modules/eslint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint3/index.ts: -------------------------------------------------------------------------------- 1 | export const x = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint3/node_modules/eslint/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = _ => _; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/eslint4/index.ts: -------------------------------------------------------------------------------- 1 | export const x = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/github-action/dist/index.js: -------------------------------------------------------------------------------- 1 | import 'not-found'; 2 | import './404.js'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/github-action/src/main.ts: -------------------------------------------------------------------------------- 1 | import '@actions/core'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/github-actions-workspaces/node_modules/hello/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "hello", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/hardhat/hardhat.config.ts: -------------------------------------------------------------------------------- 1 | const config = {}; 2 | 3 | export default config; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-lint-staged/node_modules/husky/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "husky", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-lint-staged/node_modules/prettier/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "prettier", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v8/.husky/post-checkout: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn install 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v8/node_modules/husky/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "husky", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v8/node_modules/lint-staged/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lint-staged", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v9-1/.husky/pre-commit: -------------------------------------------------------------------------------- 1 | lint-staged 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v9-1/node_modules/husky/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "husky", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v9-1/node_modules/lint-staged/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lint-staged", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v9/.husky/post-checkout: -------------------------------------------------------------------------------- 1 | yarn install 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v9/.husky/pre-push: -------------------------------------------------------------------------------- 1 | yarn jest 2 | yarn pretty-quick --check 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v9/.husky/pre-rebase: -------------------------------------------------------------------------------- 1 | pnpm build 2 | pnpm eslint 3 | pnpm lint-staged 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v9/node_modules/husky/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "husky", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/husky-v9/node_modules/lint-staged/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "lint-staged", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/i18next-parser/custom.config.js: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/i18next-parser/i18next-parser.config.js: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest/customSuiteProperties.cjs: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest/jest.setup.js: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest/jest.transform.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest/local-preset/jest-preset.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | testEnvironment: 'jsdom', 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest/node_modules/jest-watch-select-projects/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest/node_modules/jest-watch-select-projects/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jest-watch-select-projects" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest2/jest.environment.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest2/project1/customProperties.cjs: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest2/project1/setupFiles/setup.js: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/jest3/index.spec.ts: -------------------------------------------------------------------------------- 1 | import 'jest'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/lefthook-ci/node_modules/eslint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/lefthook-ci/node_modules/prettier/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "prettier", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/lefthook-ci/node_modules/stylelint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "stylelint", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/lefthook-v1/node_modules/eslint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/lefthook-v1/node_modules/prettier/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "prettier", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/lefthook-v1/node_modules/stylelint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "stylelint", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/lefthook/example.mjs: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/markdownlint/.markdownlint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "markdownlint/style/prettier" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/mocha/.mocharc.yml: -------------------------------------------------------------------------------- 1 | spec: 2 | - "**/*.test.ts" 3 | require: 4 | - ts-node/register 5 | - hooks.ts 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/mocha/example.test.ts: -------------------------------------------------------------------------------- 1 | import 'mocha'; 2 | 3 | describe('Tests', () => {}); 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/mocha/hooks.ts: -------------------------------------------------------------------------------- 1 | export const mochaHooks = { 2 | beforeAll: () => {}, 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/moonrepo/apps/a/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/moonrepo__a" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/moonrepo/libs/b/server/server.ts: -------------------------------------------------------------------------------- 1 | export const hi = 'hi'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/moonrepo/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'apps/*' 3 | - 'libs/*' 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/moonrepo/tools/linters/lint-readme.ts: -------------------------------------------------------------------------------- 1 | export const hi = 'hello'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/moonrepo/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@tsconfig/node20/tsconfig.json"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/msw/mocks/browser.ts: -------------------------------------------------------------------------------- 1 | import './handlers'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/msw/mocks/server.ts: -------------------------------------------------------------------------------- 1 | import './handlers'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next-middleware/src/app/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Page() { 2 | return
Page
; 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next-middleware/src/middleware.ts: -------------------------------------------------------------------------------- 1 | export function middleware() { 2 | // 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next-middleware/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "react-jsx" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next/app/api/auth/util.ts: -------------------------------------------------------------------------------- 1 | export function helloWorld() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next/app/home/page.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default () =>
; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next/app/layout.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default () =>
; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next/app/unused.ts: -------------------------------------------------------------------------------- 1 | export function unused() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next/instrumentation.ts: -------------------------------------------------------------------------------- 1 | export function register() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next/middleware.ts: -------------------------------------------------------------------------------- 1 | export function middleware() {} 2 | 3 | export const config = {}; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/next/node_modules/next/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "next", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/node-test-runner/index.test.js: -------------------------------------------------------------------------------- 1 | import { test } from 'bun:test'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/node/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/node" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nodemon/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/nodemon" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nuxt/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignore": [".nuxt/nuxt.d.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nuxt/node_modules/nuxt/config.js: -------------------------------------------------------------------------------- 1 | export const defineNuxtConfig = c => c; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nuxt/node_modules/nuxt/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nuxt", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nuxt/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./.nuxt/tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nuxt/utils/fn.ts: -------------------------------------------------------------------------------- 1 | export const fn = () => null; 2 | 3 | export const unused = () => null; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nx/apps/a/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nx/apps/b/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nx/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript": { 3 | "config": ["{apps,libs}/**/tsconfig.json"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nx/tsconfig.base.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@tsconfig/node20/tsconfig.json"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/nyc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/nyc", 3 | "devDependencies": { 4 | "nyc": "*" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/oclif/node_modules/oclif/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "oclif", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/oxlint/.oxlintrc-3.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/oxlint/.oxlintrc-4.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/oxlint/.oxlintrc.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/plop/node_modules/plop/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "plop", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/plop/template.hbs: -------------------------------------------------------------------------------- 1 | # {{ name }} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-cjs/node_modules/autoprefixer/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function plugin() {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-cjs/node_modules/autoprefixer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "autoprefixer" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-cjs/node_modules/postcss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "postcss", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-cjs/postcss.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: [require('autoprefixer')], 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-next/node_modules/next/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "next", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-next/node_modules/postcss-rtlcss/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function plugin() {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-next/node_modules/postcss-rtlcss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "postcss-rtlcss" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-tailwindcss/node_modules/postcss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "postcss", 3 | "bin": "cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-tailwindcss/node_modules/tailwindcss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tailwindcss" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss-tailwindcss2/node_modules/tailwindcss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tailwindcss" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss/node_modules/autoprefixer/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function plugin() {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss/node_modules/autoprefixer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "autoprefixer" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss/node_modules/postcss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "postcss", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/postcss/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: [require('autoprefixer')], 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/prettier/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["prettier-plugin-xml"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/prisma/node_modules/prisma/config.js: -------------------------------------------------------------------------------- 1 | export function defineConfig(obj) {} -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/react-cosmos/src/cosmos.decorator.tsx: -------------------------------------------------------------------------------- 1 | export default function MyDecorator() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/relay/node_modules/vite-plugin-relay/index.js: -------------------------------------------------------------------------------- 1 | export default null; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/relay/unused.ts: -------------------------------------------------------------------------------- 1 | export type Unused = string; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/relay/used.ts: -------------------------------------------------------------------------------- 1 | export type Used = string; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/relay2/node_modules/vite-plugin-relay/index.js: -------------------------------------------------------------------------------- 1 | export default null; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/relay2/unused.ts: -------------------------------------------------------------------------------- 1 | export type Unused = string; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/relay2/used.ts: -------------------------------------------------------------------------------- 1 | export type Used = string; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/remix/node_modules/remix/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "remix" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/rollup/node_modules/rollup/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rollup", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/rsbuild/node_modules/@rsbuild/core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@rsbuild/core" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/rsbuild/node_modules/@rsbuild/plugin-react/index.js: -------------------------------------------------------------------------------- 1 | export const pluginReact = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/rsbuild/node_modules/@rsbuild/plugin-react/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@rsbuild/plugin-react" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/rspack/node_modules/@rspack/cli/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/rspack/src/entry.ts: -------------------------------------------------------------------------------- 1 | import './index.css'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/sentry/sentry.edge.config.ts: -------------------------------------------------------------------------------- 1 | import './sentry.client.config'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/sentry/sentry.server.config.ts: -------------------------------------------------------------------------------- 1 | import './sentry.client.config'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/size-limit/.size-limit.cjs: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/size-limit/node_modules/size-limit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "size-limit", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/sst/handlers/auth.ts: -------------------------------------------------------------------------------- 1 | import 'sst-auth-dep'; 2 | 3 | export const handler = () => {}; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/sst/handlers/other-auth.ts: -------------------------------------------------------------------------------- 1 | import 'sst-auth-handler-dep'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/sst/handlers/some-route.ts: -------------------------------------------------------------------------------- 1 | import 'sst-some-dep'; 2 | 3 | export const handler = () => {}; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/sst/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/sst", 3 | "dependencies": { 4 | "sst": "*" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/sst2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/sst2", 3 | "dependencies": { 4 | "sst": "*" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/sst2/route.ts: -------------------------------------------------------------------------------- 1 | import 'sst'; 2 | 3 | export const handler = async () => {}; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/storybook/node_modules/tsconfig-paths-webpack-plugin/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/stylelint2/myCustomPlugin.js: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/stylelint2/node_modules/postcss-less/index.js: -------------------------------------------------------------------------------- 1 | module.exports = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/stylelint2/node_modules/postcss-styl/index.js: -------------------------------------------------------------------------------- 1 | module.exports = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/stylelint2/node_modules/stylelint-config-recommended/index.js: -------------------------------------------------------------------------------- 1 | module.exports = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/svelte/node_modules/@sveltejs/kit/src/runtime/app/stores.js: -------------------------------------------------------------------------------- 1 | export const page = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/svelte/node_modules/@sveltejs/kit/svelte-kit.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import './src/cli.js'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/svelte/node_modules/@sveltejs/kit/vite.js: -------------------------------------------------------------------------------- 1 | export const sveltekit = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/svelte/node_modules/svelte-check/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "svelte-check", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/svelte/node_modules/vite/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/svelte/node_modules/vite/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/svelte/src/routes/+page.ts: -------------------------------------------------------------------------------- 1 | export const prerender = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/svgo/node_modules/svgo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "svgo", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tailwind/node_modules/tailwindcss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tailwindcss", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tailwind2/styles.css: -------------------------------------------------------------------------------- 1 | @import 'tailwindcss'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/travis/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/travis" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tsdown/node_modules/tsdown/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tsdown/node_modules/tsdown/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tsdown", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tsdown/tsdown.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": ["entry-1.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tsup/node_modules/tsup/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tsup/node_modules/tsup/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tsup", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tsup/tsup.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": ["entry-1.ts"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/tsx/node_modules/tsx/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tsx", 3 | "bin": "./index.js" 4 | } -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/typedoc/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "typedocOptions": { 3 | "plugin": ["typedoc-plugin-zod"] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/typescript/tsconfig.base.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["./tsconfig.ext.json"], 3 | "compilerOptions": {} 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/typescript/tsconfig.jsx-preserve.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "preserve" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/typescript/tsconfig.jsx.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "react" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/typescript2/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/typescript2", 3 | "workspaces": ["packages/*"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/typescript2/packages/lib/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/typescript2__lib" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/typescript2/packages/lib/src/index.ts: -------------------------------------------------------------------------------- 1 | export const lib = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/unbuild/node_modules/unbuild/index.js: -------------------------------------------------------------------------------- 1 | export const defineBuildConfig = config => config; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/unbuild/node_modules/unbuild/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "unbuild" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/unocss/main.ts: -------------------------------------------------------------------------------- 1 | import 'virtual:uno.css'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/unocss/node_modules/@unocss/cli/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/unocss/node_modules/unocss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "unocss" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vike/node_modules/@vitejs/plugin-react/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vike/node_modules/@vitejs/plugin-react/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vitejs/plugin-react" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vike/node_modules/vike/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vike" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vike/node_modules/vike/plugin.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vike/node_modules/vite/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vite/node_modules/@vitejs/plugin-react/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vite/node_modules/@vitejs/plugin-react/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vitejs/plugin-react" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vite/node_modules/vite/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vite2/node_modules/@vitejs/plugin-react/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vite2/node_modules/vite/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest/__mocks__/mockedModule.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest/src/setupTests.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest2/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest3/node_modules/@vitejs/plugin-react-swc/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest3/node_modules/@vitejs/plugin-react-swc/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vitejs/plugin-react-swc" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest3/node_modules/vite-plugin-checker/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest3/node_modules/vite-plugin-checker/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite-plugin-checker" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest3/node_modules/vite-plugin-svgr/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest3/node_modules/vite-plugin-svgr/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite-plugin-svgr" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest3/node_modules/vite/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vite" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest3/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest4/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest4/tests/setup.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest5/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest6/config/setup.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest7/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vitest8/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vue-webpack/node_modules/@vue/cli-service/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vue-webpack/node_modules/@vue/cli-service/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vue/cli-service" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vue-webpack/node_modules/circular-dependency-plugin/index.js: -------------------------------------------------------------------------------- 1 | module.exports = class {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vue-webpack/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vue/index.vue: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vue/node_modules/@vue/cli-service/index.js: -------------------------------------------------------------------------------- 1 | export const defineConfig = id => id; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vue/node_modules/@vue/cli-service/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@vue/cli-service" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/vue/node_modules/vue/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack-cli/node_modules/copy-webpack-plugin/index.js: -------------------------------------------------------------------------------- 1 | module.exports = class CopyWebpackPlugin {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack-cli/node_modules/copy-webpack-plugin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "copy-webpack-plugin" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack-cli/webpack.config.js: -------------------------------------------------------------------------------- 1 | const CopyWebpackPlugin = require('copy-webpack-plugin'); 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/copy-webpack-plugin/index.js: -------------------------------------------------------------------------------- 1 | module.exports = class CopyWebpackPlugin {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/copy-webpack-plugin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "copy-webpack-plugin" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/esbuild/index.js: -------------------------------------------------------------------------------- 1 | module.exports = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/esbuild/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "esbuild" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/eslint-webpack-plugin/index.js: -------------------------------------------------------------------------------- 1 | module.exports = class EslintPlugin {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/eslint-webpack-plugin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint-webpack-plugin" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/html-minimizer-webpack-plugin/index.js: -------------------------------------------------------------------------------- 1 | module.exports = class HtmlMinimizerPlugin {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/mini-css-extract-plugin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mini-css-extract-plugin" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/terser-webpack-plugin/index.js: -------------------------------------------------------------------------------- 1 | module.exports = class TerserWebpackPlugin {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/terser-webpack-plugin/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "terser-webpack-plugin" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/vue/dist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/webpack-cli/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webpack-cli" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/node_modules/webpack/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webpack", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/src/app-dep.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack/src/app.tsx: -------------------------------------------------------------------------------- 1 | import dep from './app-dep'; 2 | import '!my-loader!./app-dep'; 3 | dep; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/webpack2/node_modules/webpack-cli/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webpack-cli", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/wireit/apps/example-configuration/rollup.config.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/wireit/apps/example-configuration/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/wireit/apps/missing/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@plugins/wireit__missing" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/wireit/node_modules/wireit/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wireit", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/wrangler/node_modules/wrangler/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wrangler", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/wrangler/wrangler.toml: -------------------------------------------------------------------------------- 1 | name = 'test' 2 | main = 'worker-test-entry.ts' 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/xo/node_modules/xo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "xo", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/plugins/yorkie/node_modules/yorkie/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yorkie", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-aliased-ns/1-first.ts: -------------------------------------------------------------------------------- 1 | export const first = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-aliased-ns/2-second.ts: -------------------------------------------------------------------------------- 1 | export const second = 2; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-aliased-ns/3-barrel.ts: -------------------------------------------------------------------------------- 1 | export * from './1-first'; 2 | export * from './2-second'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-aliased-ns/4-collect.ts: -------------------------------------------------------------------------------- 1 | import * as NS from './3-barrel'; 2 | export { NS as aliased }; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-aliased-ns/index.ts: -------------------------------------------------------------------------------- 1 | import { aliased } from './4-collect'; 2 | 3 | aliased.first; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-aliased-ns/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-aliased-ns" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-cjs/2-re-export-star.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./3-my-module'); 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-deep/1-entry.ts: -------------------------------------------------------------------------------- 1 | import { something } from './2-re-export-star'; 2 | something; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-deep/2-re-export-star.ts: -------------------------------------------------------------------------------- 1 | export * from './3-re-export-named'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-deep/3-re-export-named.ts: -------------------------------------------------------------------------------- 1 | export { something } from './4-re-export-star.js'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-deep/4-re-export-star.ts: -------------------------------------------------------------------------------- 1 | export * from './5-re-export-named'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-deep/5-re-export-named.ts: -------------------------------------------------------------------------------- 1 | export { something } from './6-re-export-star'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-deep/6-re-export-star.ts: -------------------------------------------------------------------------------- 1 | export * from './7-my-module'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-deep/7-my-module.ts: -------------------------------------------------------------------------------- 1 | export const something = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed-deep/default-reexported/pear.ts: -------------------------------------------------------------------------------- 1 | const pear = 'pear'; 2 | export default pear; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed-deep/named-reexported/apricot.ts: -------------------------------------------------------------------------------- 1 | export const apricot = 'apricot'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed-deep/named-reexported/coconut.ts: -------------------------------------------------------------------------------- 1 | export const coconut = 'coconut'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed-deep/named-reexported/peach.ts: -------------------------------------------------------------------------------- 1 | export const peach = 'peach'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed-deep/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-default-renamed-deep" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed/default-reexported/pear.ts: -------------------------------------------------------------------------------- 1 | const pear = 'pear'; 2 | export default pear; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed/named-reexported/apricot.ts: -------------------------------------------------------------------------------- 1 | export const apricot = 'apricot'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed/named-reexported/peach.ts: -------------------------------------------------------------------------------- 1 | export const peach = 'peach'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed/not-reexported/index.ts: -------------------------------------------------------------------------------- 1 | export const apple = 'apple'; 2 | export const orange = 'orange'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-default-renamed/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-default-renamed" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-enum-unused/index.ts: -------------------------------------------------------------------------------- 1 | import MyEnum from './mid'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-enum-unused/mid.ts: -------------------------------------------------------------------------------- 1 | import { MyEnum } from './myEnum'; 2 | export default MyEnum; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-enum-unused/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-enum-unused" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-enum/myEnum.ts: -------------------------------------------------------------------------------- 1 | export enum MyEnum { 2 | One = 0, 3 | Two = 1, 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-enum/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-enum" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-declaration/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-export-declaration" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-declaration/src/exporter/exporterA.ts: -------------------------------------------------------------------------------- 1 | const cb = () => {}; 2 | 3 | export { cb }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-declaration/src/exporter/exporterC.ts: -------------------------------------------------------------------------------- 1 | export { cb }; 2 | 3 | function cb() {} 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-declaration/src/exporter/exporterD.ts: -------------------------------------------------------------------------------- 1 | export { cb }; 2 | 3 | function cb() {} 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-ns/2-psuedo-re-exporter.ts: -------------------------------------------------------------------------------- 1 | import * as NS from './3-branch'; 2 | export { NS }; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-ns/4-leaf-B.ts: -------------------------------------------------------------------------------- 1 | export function fnB() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-ns/4-leaf-C.ts: -------------------------------------------------------------------------------- 1 | export function fnC() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-ns/index.ts: -------------------------------------------------------------------------------- 1 | import * as ROOT from './1-root'; 2 | 3 | export = ROOT; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-export-ns/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-export-ns" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ignore-exports-used-in-file/export.ts: -------------------------------------------------------------------------------- 1 | export const cherry = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ignore-exports-used-in-file/index.ts: -------------------------------------------------------------------------------- 1 | export * from './reexport'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ignore-exports-used-in-file/reexport.ts: -------------------------------------------------------------------------------- 1 | export { cherry } from './export'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-member/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-ns-member" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-member/sub2-pseudo.ts: -------------------------------------------------------------------------------- 1 | import * as pseudo from './member-cd'; 2 | export { pseudo }; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-member/sub2-sub.ts: -------------------------------------------------------------------------------- 1 | export * as sub from './member-ab'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-member/sub3.ts: -------------------------------------------------------------------------------- 1 | export * from './sub2-sub'; 2 | export * from './sub2-pseudo'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-type/barrel.ts: -------------------------------------------------------------------------------- 1 | export * as pluginA from './pluginA.ts'; 2 | export * as pluginB from './pluginB.ts'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-type/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-ns-type" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-type/pluginA.ts: -------------------------------------------------------------------------------- 1 | export const resolve = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-type/pluginB.ts: -------------------------------------------------------------------------------- 1 | export const resolve = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-type/styled.ts: -------------------------------------------------------------------------------- 1 | export const h1 = 'h1'; 2 | export const h2 = 'h2'; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-ns-type/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "jsx": "preserve" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-public/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-public" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-renamed/fileA.ts: -------------------------------------------------------------------------------- 1 | export const A = 'A'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-renamed/fileB.ts: -------------------------------------------------------------------------------- 1 | export * as B from './fileA.js'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-renamed/index.ts: -------------------------------------------------------------------------------- 1 | import { B as C } from './fileB.js'; 2 | 3 | C.A; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports-renamed/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/re-exports-renamed" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports/2-re-export-star.ts: -------------------------------------------------------------------------------- 1 | export * from './3-re-export-named.js'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/re-exports/3-re-export-named.ts: -------------------------------------------------------------------------------- 1 | export { something, somethingToIgnore, somethingNotToIgnore } from './4-my-module'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-bun/index.ts: -------------------------------------------------------------------------------- 1 | import { $ } from 'bun'; 2 | 3 | await $`FOO=${process.argv.at(2)} bun script.ts`; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-execa/main.js: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-execa/node.mjs: -------------------------------------------------------------------------------- 1 | import { $ } from 'execa'; 2 | 3 | await $`node main.js`; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-execa/node_modules/c8/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "c8", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-execa/node_modules/dep/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dep", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-zx/main.js: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-zx/node.mjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env zx 2 | 3 | await $`node main.js`; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-zx/node_modules/dep/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dep", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/script-visitors-zx/node_modules/zx/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "zx", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference-from-plugin/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference-from-plugin/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "hello": "world" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference-from-plugin/dist/build.js: -------------------------------------------------------------------------------- 1 | module.exports = 42; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference-from-plugin/entry.ts: -------------------------------------------------------------------------------- 1 | // 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference-from-plugin/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": ["entry.ts!"], 3 | "project": ["*.{js,ts}!"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference-from-plugin/lokal.js: -------------------------------------------------------------------------------- 1 | module.exports = 42; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": ["entry.ts!"], 3 | "project": ["**/*.{js,ts}!"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference/lib/module.js: -------------------------------------------------------------------------------- 1 | export default 42; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/self-reference/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "moduleResolution": "node16" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import-from-plugin/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "extends": ["#dep"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import-from-plugin/entry.ts: -------------------------------------------------------------------------------- 1 | // 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import-from-plugin/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": ["entry.ts!"], 3 | "project": ["*.ts!"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import-from-plugin/lib/dep-polyfill.d.ts: -------------------------------------------------------------------------------- 1 | declare const foo: string; 2 | export default foo; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import-from-plugin/lib/dep-polyfill.js: -------------------------------------------------------------------------------- 1 | export default 'dep-polyfill'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import/entry.ts: -------------------------------------------------------------------------------- 1 | import dep from '#dep'; 2 | dep; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": ["entry.ts!"], 3 | "project": ["**/*.{js,ts}!"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import/lib/dep-polyfill.d.ts: -------------------------------------------------------------------------------- 1 | declare const foo: string; 2 | export default foo; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import/lib/dep-polyfill.js: -------------------------------------------------------------------------------- 1 | export default 'dep-polyfill'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-import/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "moduleResolution": "node16" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-patterns/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "entry": ["src/entry.ts!"], 3 | "project": ["src/**/*.{js,ts}!"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-patterns/src/internals/unused.ts: -------------------------------------------------------------------------------- 1 | export default 'unused'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-patterns/src/internals/used.ext: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/subpath-patterns/src/internals/used.ts: -------------------------------------------------------------------------------- 1 | export default 'foo'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tags-exclude/index.ts: -------------------------------------------------------------------------------- 1 | import * as NS from './tags.js'; 2 | 3 | NS; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tags-exclude/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "tags": ["-lintignore", "-@tagged"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tags-include/index.ts: -------------------------------------------------------------------------------- 1 | import * as NS from './tags.js'; 2 | 3 | NS; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tags-include/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "tags": ["lintignore", "+@tagged"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/trace/default.ts: -------------------------------------------------------------------------------- 1 | export default function DefaultComponent() { 2 | return ''; 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/trace/index.ts: -------------------------------------------------------------------------------- 1 | export { MyPage } from './my-page'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/trace/named.ts: -------------------------------------------------------------------------------- 1 | export function NamedComponent() { 2 | return ''; 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/trace/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/trace" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tsconfig-extends/node_modules/@tsconfig/esm/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tsconfig-paths-extends/src/cli.ts: -------------------------------------------------------------------------------- 1 | import { main, util } from '~/main'; 2 | 3 | main; 4 | util; 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tsconfig-paths-extends/src/lib/main.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tsconfig-paths-extends/src/util/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/tsconfig-paths-extends/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.base" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/types/index.ts: -------------------------------------------------------------------------------- 1 | import m from 'micromatch'; 2 | m; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/types/node_modules/micromatch/index.js: -------------------------------------------------------------------------------- 1 | export default () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/types/node_modules/micromatch/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "micromatch", 3 | "main": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/types/node_modules/webpack/types.d.ts: -------------------------------------------------------------------------------- 1 | declare interface Webpack {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/types/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-circular/packages/lib-b/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-cross-reference/node_modules/@fixtures/workspaces-cross-reference__lib-a: -------------------------------------------------------------------------------- 1 | ../../packages/lib-a -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-cross-reference/node_modules/@fixtures/workspaces-cross-reference__lib-b: -------------------------------------------------------------------------------- 1 | ../../packages/lib-b -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-cross-reference/packages/lib-a/index.ts: -------------------------------------------------------------------------------- 1 | import a from './mod-a'; 2 | a; 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-cross-reference/packages/lib-b/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-dts/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-dts/node_modules/@fixtures/workspaces-dts__client: -------------------------------------------------------------------------------- 1 | ../../packages/client -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-dts/node_modules/@fixtures/workspaces-dts__server: -------------------------------------------------------------------------------- 1 | ../../packages/server -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-dts/node_modules/@fixtures/workspaces-dts__shared: -------------------------------------------------------------------------------- 1 | ../../packages/shared -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-dts/packages/shared/build/unused-function.d.ts: -------------------------------------------------------------------------------- 1 | export function unusedFunction(): string; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-dts/packages/shared/build/used-function.d.ts: -------------------------------------------------------------------------------- 1 | export function usedFunction(): string; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-dts/packages/shared/src/unused-function.js: -------------------------------------------------------------------------------- 1 | export const unusedFunction = () => 'bar'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-dts/packages/shared/src/used-function.js: -------------------------------------------------------------------------------- 1 | export const usedFunction = () => 'bar'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-entry-files/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/knip@5/schema.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-entry-files/packages/shared/src/index.ts: -------------------------------------------------------------------------------- 1 | export const sharedFunction = () => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-include-entry-exports/packages/app/index.js: -------------------------------------------------------------------------------- 1 | export const unused = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-include-entry-exports/packages/lib/index.js: -------------------------------------------------------------------------------- 1 | export const unused = 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-module-resolution/node_modules/@fixtures/workspace-a: -------------------------------------------------------------------------------- 1 | ../../packages/workspace-a -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-module-resolution/node_modules/@fixtures/workspace-b: -------------------------------------------------------------------------------- 1 | ../../packages/workspace-b -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-module-resolution/packages/workspace-b/src/exports.ts: -------------------------------------------------------------------------------- 1 | export const someFunction = () => 'bar'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-nested/L-1-1/L-1-2/L-1-3/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["prefer-let"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-nested/L-1-1/index.ts: -------------------------------------------------------------------------------- 1 | import pkg from 'package-1-1'; 2 | 3 | export const program = () => null; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-nested/node_modules/eslint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-noconfig-plugin/lib/src/util.ts: -------------------------------------------------------------------------------- 1 | export function funktion() { 2 | // 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-noconfig-plugin/node_modules/@workspaces-noconfig-plugin/lib: -------------------------------------------------------------------------------- 1 | ../../lib -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths-compilers/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-a/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces-paths__lib-a" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-a/src/dir/module-a.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-a/src/same.ts: -------------------------------------------------------------------------------- 1 | export default 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-b/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces-paths__lib-b" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-b/src/dir/module-b.ts: -------------------------------------------------------------------------------- 1 | export default 2; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-b/src/index.ts: -------------------------------------------------------------------------------- 1 | import two from '@/dir/module-b'; 2 | 3 | export default two; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-c/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces-paths__lib-c" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-c/src/dir/module.ts: -------------------------------------------------------------------------------- 1 | export default 3; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-c/src/index.ts: -------------------------------------------------------------------------------- 1 | import three from 'dir/module'; 2 | 3 | export default three; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-d/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces-paths__lib-d" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-d/src/dir/module.ts: -------------------------------------------------------------------------------- 1 | export default 4; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-d/src/index.ts: -------------------------------------------------------------------------------- 1 | import one from './dir/module'; 2 | 3 | export default one; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-d/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-e/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces-paths__lib-e" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-e/src/dir/module-e.ts: -------------------------------------------------------------------------------- 1 | export default 5; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-f/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces-paths__lib-f" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-f/src/index.ts: -------------------------------------------------------------------------------- 1 | import alias from '#/same'; 2 | 3 | export default alias; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-f/src/same.ts: -------------------------------------------------------------------------------- 1 | export default 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-g/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces-paths__lib-g" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-g/src/index.ts: -------------------------------------------------------------------------------- 1 | import alias from '@dir/same'; 2 | 3 | export default alias; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-paths/packages/lib-g/src/same.ts: -------------------------------------------------------------------------------- 1 | export default 0; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-circular/packages/lib/tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/@fixtures/workspaces-plugin-config__tailwind: -------------------------------------------------------------------------------- 1 | ../../packages/tailwind/ -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/autoprefixer/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "autoprefixer" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/ava/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ava", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/jest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jest", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/next/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "next", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/postcss-import/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "postcss-import" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/tailwind/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tailwind" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/tailwindcss/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tailwindcss" 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/vitest/index.js: -------------------------------------------------------------------------------- 1 | export const test = (title, fn) => {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/node_modules/vitest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vitest", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/backend/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/backend/node_modules/@fixtures/workspaces-plugin-config__shared: -------------------------------------------------------------------------------- 1 | ../../../shared -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/frontend/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['airbnb'], 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/frontend/components/component.js: -------------------------------------------------------------------------------- 1 | export default function () {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/frontend/components/component.test.js: -------------------------------------------------------------------------------- 1 | import component from './component'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/frontend/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/frontend/index.vitest.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/frontend/rollup.config.ts: -------------------------------------------------------------------------------- 1 | import commonjs from '@rollup/plugin-commonjs'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/shared/ava.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | files: ['**/*.ava.js'], 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/shared/components/component.ava.js: -------------------------------------------------------------------------------- 1 | import component from './component'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-plugin-config/packages/shared/components/component.js: -------------------------------------------------------------------------------- 1 | export default function () {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-pnpm/docs/dangling.ts: -------------------------------------------------------------------------------- 1 | export const docs = ''; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-pnpm/docs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces-pnpm__docs" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-pnpm/packages/lib-b/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | 3 | export const usedExportFromLibB = 2; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-pnpm/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - '!docs' 3 | - 'apps/*' 4 | - 'packages/*' 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | build 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/node_modules/@fixtures/self-and-cross-ref-lib: -------------------------------------------------------------------------------- 1 | ../../packages/lib -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/node_modules/@fixtures/self-and-cross-ref-shared: -------------------------------------------------------------------------------- 1 | ../../packages/shared -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/lib/dist/alpha.d.ts: -------------------------------------------------------------------------------- 1 | export declare function alpha(): void; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/lib/dist/alpha.js: -------------------------------------------------------------------------------- 1 | export function alpha() { } 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/lib/dist/beta.d.ts: -------------------------------------------------------------------------------- 1 | export declare function beta(): void; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/lib/dist/beta.js: -------------------------------------------------------------------------------- 1 | export function beta() { } 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/lib/src/alpha.ts: -------------------------------------------------------------------------------- 1 | export function alpha() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/lib/src/beta.ts: -------------------------------------------------------------------------------- 1 | export function beta() {} 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/shared/build/polyfills/polyfills.client.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/shared/build/polyfills/polyfills.client.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/packages/shared/src/polyfills/polyfills.client.ts: -------------------------------------------------------------------------------- 1 | // 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-and-cross-ref/pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - packages/* 3 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-reference/node_modules/eslint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-reference/packages/eslint-config-x-self-reference/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-reference/packages/eslint-config-x-self-reference/dist/build.mjs: -------------------------------------------------------------------------------- 1 | export default 'build'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-reference/packages/eslint-config-x-self-reference/dist/index.mjs: -------------------------------------------------------------------------------- 1 | export default 'index'; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-reference/packages/from-plugin/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "hello": "world" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-reference/packages/from-plugin/entry.ts: -------------------------------------------------------------------------------- 1 | // 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-self-reference/packages/from-plugin/file.js: -------------------------------------------------------------------------------- 1 | module.exports = 42; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-tooling/node_modules/@swc/register/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@swc/register" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-tooling/node_modules/eslint/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "eslint", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-tooling/node_modules/jest/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jest", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-tooling/node_modules/typeorm/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "typeorm", 3 | "bin": "index.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-tooling/packages/backend/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-tooling/packages/frontend/index.ts: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces-tooling/packages/frontend/jest.setup.js: -------------------------------------------------------------------------------- 1 | module.exports = {}; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/apps/backend/node_modules/@workspaces/tsconfig: -------------------------------------------------------------------------------- 1 | ../../../../local/tsconfig -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/apps/frontend/node_modules/@workspaces/tsconfig: -------------------------------------------------------------------------------- 1 | ../../../../local/tsconfig -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/docs/dangling.ts: -------------------------------------------------------------------------------- 1 | export const docs = ''; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/docs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces__docs" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/local/tsconfig/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/workspaces__tsconfig" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/node_modules/cypress/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cypress", 3 | "bin": "./cli.js" 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/node_modules/typescript/bin/tsc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/packages/shared/node_modules/@workspaces/tsconfig: -------------------------------------------------------------------------------- 1 | ../../../../local/tsconfig -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/packages/tools/node_modules/@workspaces/tsconfig: -------------------------------------------------------------------------------- 1 | ../../../../local/tsconfig -------------------------------------------------------------------------------- /packages/knip/fixtures/workspaces/packages/tools/utils.ts: -------------------------------------------------------------------------------- 1 | export const usefulUsedUtil = 0; 2 | 3 | export const helperFn = () => 1; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/zero-config/exclude.ts: -------------------------------------------------------------------------------- 1 | export const excludedFile = true; 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/zero-config/index.ts: -------------------------------------------------------------------------------- 1 | import { myExport } from './my-module.js'; 2 | 3 | export const main = myExport; 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/zero-config/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/zero-config" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/zero-config/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "include": ["*.ts"], 3 | "exclude": ["exclude.ts"] 4 | } 5 | -------------------------------------------------------------------------------- /packages/knip/fixtures/מסמכים/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /packages/knip/fixtures/מסמכים/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@fixtures/x-unresolved-rtl" 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/fixtures/מסמכים/src/index.ts: -------------------------------------------------------------------------------- 1 | import bin from '../dist/cli.cjs'; 2 | import Icon from './icon.svg?raw'; 3 | -------------------------------------------------------------------------------- /packages/knip/license: -------------------------------------------------------------------------------- 1 | ../../license -------------------------------------------------------------------------------- /packages/knip/src/plugins/capacitor/types.ts: -------------------------------------------------------------------------------- 1 | export type CapacitorConfig = { 2 | includePlugins?: string[]; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/changesets/types.ts: -------------------------------------------------------------------------------- 1 | export type ChangesetsConfig = { 2 | changelog: string | string[]; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/commitizen/types.ts: -------------------------------------------------------------------------------- 1 | export type CommitizenConfig = { 2 | path?: string; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/cspell/types.ts: -------------------------------------------------------------------------------- 1 | export type CSpellConfig = { 2 | import?: string | string[]; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/drizzle/types.ts: -------------------------------------------------------------------------------- 1 | export interface DrizzleConfig { 2 | schema?: string | string[]; 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/ladle/types.ts: -------------------------------------------------------------------------------- 1 | export type LadleConfig = { 2 | stories?: string | string[]; 3 | viteConfig?: string; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/markdownlint/types.ts: -------------------------------------------------------------------------------- 1 | export type MarkdownlintConfig = { 2 | extends?: string; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/msw/types.ts: -------------------------------------------------------------------------------- 1 | export interface MSWConfig { 2 | workerDirectory?: string; 3 | } 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/nest/types.ts: -------------------------------------------------------------------------------- 1 | export type NestConfig = { 2 | collection?: string; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/npm-package-json-lint/types.ts: -------------------------------------------------------------------------------- 1 | export type NpmPkgJsonLintConfig = { 2 | extends?: string; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/nyc/types.ts: -------------------------------------------------------------------------------- 1 | export type NycConfig = { 2 | extends?: string; 3 | require?: string[]; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/oclif/types.ts: -------------------------------------------------------------------------------- 1 | export type OclifConfig = { 2 | plugins?: string[]; 3 | devPlugins?: string[]; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/preconstruct/types.ts: -------------------------------------------------------------------------------- 1 | export type PreconstructConfig = { 2 | entrypoints?: string[]; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/prisma/types.ts: -------------------------------------------------------------------------------- 1 | export type PrismaConfig = { 2 | seed?: string; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/remark/types.ts: -------------------------------------------------------------------------------- 1 | export type RemarkConfig = { 2 | plugins?: (string | [string, boolean] | unknown)[]; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/rsbuild/types.ts: -------------------------------------------------------------------------------- 1 | export type RsbuildConfig = { 2 | plugins?: unknown[]; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/typedoc/types.ts: -------------------------------------------------------------------------------- 1 | export type TypeDocConfig = { 2 | plugin?: string[]; 3 | theme?: string[]; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/wireit/types.ts: -------------------------------------------------------------------------------- 1 | export type WireitConfig = Record; 2 | -------------------------------------------------------------------------------- /packages/knip/src/plugins/wrangler/types.ts: -------------------------------------------------------------------------------- 1 | export type WranglerConfig = { 2 | main?: string; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/knip/src/version.ts: -------------------------------------------------------------------------------- 1 | export const version = '5.59.1'; 2 | -------------------------------------------------------------------------------- /templates/demo/monorepo/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | tsconfig.tsbuildinfo 4 | -------------------------------------------------------------------------------- /templates/demo/monorepo/node_modules/@monorepo/client: -------------------------------------------------------------------------------- 1 | ../../packages/client -------------------------------------------------------------------------------- /templates/demo/monorepo/node_modules/@monorepo/server: -------------------------------------------------------------------------------- 1 | ../../packages/server -------------------------------------------------------------------------------- /templates/demo/monorepo/node_modules/@monorepo/shared: -------------------------------------------------------------------------------- 1 | ../../packages/shared -------------------------------------------------------------------------------- /templates/demo/monorepo/packages/server/src/index.ts: -------------------------------------------------------------------------------- 1 | import { usedFunction } from '@monorepo/shared'; 2 | 3 | usedFunction; 4 | -------------------------------------------------------------------------------- /templates/demo/monorepo/packages/shared/src/exports.ts: -------------------------------------------------------------------------------- 1 | export const someFunction = () => 'bar'; 2 | -------------------------------------------------------------------------------- /templates/demo/monorepo/packages/shared/src/used-fn.ts: -------------------------------------------------------------------------------- 1 | export const usedFunction = () => 'bar'; 2 | -------------------------------------------------------------------------------- /templates/issue-reproduction/basic/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/knip@5/schema.json" 3 | } 4 | -------------------------------------------------------------------------------- /templates/issue-reproduction/basic/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /templates/issue-reproduction/monorepo/knip.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/knip@5/schema.json" 3 | } 4 | -------------------------------------------------------------------------------- /templates/issue-reproduction/monorepo/node_modules/@monorepo/client: -------------------------------------------------------------------------------- 1 | ../../packages/client -------------------------------------------------------------------------------- /templates/issue-reproduction/monorepo/node_modules/@monorepo/server: -------------------------------------------------------------------------------- 1 | ../../packages/server -------------------------------------------------------------------------------- /templates/issue-reproduction/monorepo/node_modules/@monorepo/shared: -------------------------------------------------------------------------------- 1 | ../../packages/shared -------------------------------------------------------------------------------- /templates/issue-reproduction/monorepo/packages/shared/src/index.ts: -------------------------------------------------------------------------------- 1 | export const sharedFunction = () => {}; 2 | -------------------------------------------------------------------------------- /templates/playground/basic/clutter.ts: -------------------------------------------------------------------------------- 1 | export const clutter = true; 2 | -------------------------------------------------------------------------------- /templates/playground/basic/index.ts: -------------------------------------------------------------------------------- 1 | import { used } from './util.js'; 2 | 3 | used; 4 | -------------------------------------------------------------------------------- /templates/playground/basic/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /templates/playground/monorepo/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | tsconfig.tsbuildinfo 4 | -------------------------------------------------------------------------------- /templates/playground/monorepo/packages/server/src/index.ts: -------------------------------------------------------------------------------- 1 | import { usedFunction } from '@monorepo/shared'; 2 | 3 | usedFunction; 4 | -------------------------------------------------------------------------------- /templates/playground/monorepo/packages/shared/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './exports.js'; 2 | export { usedFunction } from './used-fn.js'; 3 | --------------------------------------------------------------------------------