Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webpro-nl/knip
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.33.3
Choose a base ref
...
head repository: webpro-nl/knip
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.33.4
Choose a head ref
  • 6 commits
  • 103 files changed
  • 1 contributor

Commits on Oct 16, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3638fb2 View commit details
  2. Remove unused lockfiles

    webpro committed Oct 16, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    589c69a View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9fd764b View commit details
  4. Update readme w/ Bun support

    webpro committed Oct 16, 2023
    Copy the full SHA
    6a1cbb3 View commit details
  5. Copy the full SHA
    176777e View commit details
  6. Release 2.33.4

    webpro committed Oct 16, 2023
    Copy the full SHA
    6cd5a1d View commit details
Showing with 612 additions and 3,617 deletions.
  1. +2 −0 README.md
  2. +0 −34 fixtures/include-entry-reexports/package-lock.json
  3. +0 −3,210 fixtures/plugins/vitest3/package-lock.json
  4. +1 −1 fixtures/plugins/webpack/webpack.config.js
  5. +2 −1 fixtures/plugins/webpack/webpack.dev.js
  6. +1 −1 fixtures/plugins/webpack/webpack.prod.js
  7. +7 −1 fixtures/workspaces-plugin-config/knip.json
  8. 0 fixtures/workspaces-plugin-config/node_modules/ava/index.js
  9. +4 −0 fixtures/workspaces-plugin-config/node_modules/ava/package.json
  10. 0 fixtures/workspaces-plugin-config/node_modules/jest/index.js
  11. +4 −0 fixtures/workspaces-plugin-config/node_modules/jest/package.json
  12. 0 fixtures/workspaces-plugin-config/node_modules/next/index.js
  13. +4 −0 fixtures/workspaces-plugin-config/node_modules/next/package.json
  14. +4 −0 fixtures/workspaces-plugin-config/package.json
  15. +1 −0 fixtures/workspaces-plugin-config/packages/frontend/components/component.js
  16. +1 −0 fixtures/workspaces-plugin-config/packages/frontend/components/component.test.js
  17. +6 −0 fixtures/workspaces-plugin-config/packages/frontend/package.json
  18. +3 −0 fixtures/workspaces-plugin-config/packages/package1/ava.config.js
  19. +1 −0 fixtures/workspaces-plugin-config/packages/package1/components/component.ava.js
  20. +1 −0 fixtures/workspaces-plugin-config/packages/package1/components/component.js
  21. 0 fixtures/workspaces-plugin-config/packages/package1/components/component.tales.js
  22. +3 −0 fixtures/workspaces-plugin-config/packages/package1/components/storybook/main.ts
  23. 0 fixtures/workspaces-plugin-config/packages/package1/components/storybook/manager.ts
  24. 0 fixtures/workspaces-plugin-config/packages/package1/components/storybook/preview.ts
  25. 0 fixtures/workspaces-plugin-config/packages/package1/dev-entry.js
  26. +10 −0 fixtures/workspaces-plugin-config/packages/package1/package.json
  27. 0 fixtures/workspaces-plugin-config/packages/package1/production-entry.js
  28. +13 −0 fixtures/workspaces-plugin-config/packages/package1/webpack.config.js
  29. +2 −2 package-lock.json
  30. +1 −1 package.json
  31. +15 −28 src/WorkspaceWorker.ts
  32. +1 −1 src/binaries/bash-parser.ts
  33. +17 −22 src/index.ts
  34. +32 −3 src/plugins/_template/index.ts
  35. +1 −0 src/plugins/_template/types.ts
  36. +14 −12 src/plugins/angular/index.ts
  37. +12 −10 src/plugins/ava/index.ts
  38. +10 −5 src/plugins/babel/index.ts
  39. +6 −2 src/plugins/capacitor/index.ts
  40. +9 −5 src/plugins/changesets/index.ts
  41. +7 −4 src/plugins/commitizen/index.ts
  42. +1 −1 src/plugins/commitizen/types.ts
  43. +6 −2 src/plugins/commitlint/index.ts
  44. +7 −3 src/plugins/cspell/index.ts
  45. +1 −1 src/plugins/cspell/types.ts
  46. +10 −4 src/plugins/cypress/index.ts
  47. +6 −4 src/plugins/drizzle/index.ts
  48. +5 −1 src/plugins/eslint/fallback.ts
  49. +9 −9 src/plugins/eslint/helpers.ts
  50. +11 −14 src/plugins/eslint/index.ts
  51. +7 −9 src/plugins/gatsby/index.ts
  52. +2 −2 src/plugins/github-actions/README.md
  53. +7 −7 src/plugins/github-actions/index.ts
  54. +5 −2 src/plugins/husky/index.ts
  55. +11 −10 src/plugins/jest/index.ts
  56. +5 −0 src/plugins/jest/types.ts
  57. +6 −4 src/plugins/lefthook/index.ts
  58. +8 −8 src/plugins/lint-staged/index.ts
  59. +7 −7 src/plugins/markdownlint/index.ts
  60. +12 −6 src/plugins/mocha/index.ts
  61. +4 −0 src/plugins/mocha/types.ts
  62. +7 −6 src/plugins/npm-package-json-lint/index.ts
  63. +8 −4 src/plugins/nx/index.ts
  64. +8 −7 src/plugins/nyc/index.ts
  65. +3 −0 src/plugins/nyc/types.ts
  66. +14 −5 src/plugins/playwright-ct/index.ts
  67. +11 −7 src/plugins/playwright/index.ts
  68. +7 −5 src/plugins/postcss/index.ts
  69. +4 −15 src/plugins/prettier/index.ts
  70. +11 −0 src/plugins/prettier/types.ts
  71. +11 −9 src/plugins/release-it/index.ts
  72. +7 −5 src/plugins/remark/index.ts
  73. +1 −5 src/plugins/remix/index.ts
  74. +1 −1 src/plugins/rollup/README.md
  75. +1 −1 src/plugins/rollup/index.ts
  76. +8 −5 src/plugins/semantic-release/index.ts
  77. +1 −1 src/plugins/semantic-release/types.ts
  78. +14 −12 src/plugins/storybook/index.ts
  79. +11 −6 src/plugins/stryker/index.ts
  80. +7 −5 src/plugins/stylelint/index.ts
  81. +7 −4 src/plugins/typedoc/index.ts
  82. +1 −1 src/plugins/typedoc/types.ts
  83. +16 −10 src/plugins/typescript/index.ts
  84. +5 −2 src/plugins/vite/index.ts
  85. +12 −8 src/plugins/vitest/index.ts
  86. +28 −17 src/plugins/webpack/index.ts
  87. +6 −1 src/plugins/webpack/types.ts
  88. +1 −1 src/types/config.ts
  89. +1 −1 src/types/plugins.ts
  90. +3 −3 src/typescript/SourceFileManager.ts
  91. +16 −8 src/util/debug.ts
  92. +1 −1 src/util/glob.ts
  93. +1 −2 src/util/path.ts
  94. +7 −1 src/util/plugin.ts
  95. +1 −1 src/util/require.ts
  96. +1 −1 src/version.ts
  97. +2 −0 test/helpers/index.ts
  98. +2 −2 test/plugins/_template.test.ts
  99. +3 −3 test/plugins/ava.test.ts
  100. +4 −4 test/plugins/mocha.test.ts
  101. +4 −4 test/plugins/vitest.test.ts
  102. +3 −3 test/plugins/webpack.test.ts
  103. +27 −3 test/workspaces-plugin-config.test.ts
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -87,6 +87,8 @@ npm install -D knip

Knip supports LTS versions of Node.js, and currently requires at least Node.js v16.17 or v18.6.

Since v2.33.0, the Bun runtime is also supported.

### Default Configuration

Knip has good defaults and aims for no or little configuration. The (simplified) default config:
34 changes: 0 additions & 34 deletions fixtures/include-entry-reexports/package-lock.json

This file was deleted.

Loading