Skip to content

Releases: webpro-nl/knip

Release 1.13.1

28 Feb 13:38
Compare
Choose a tag to compare
  • Fix some (absolute) path handling for Windows (6de24be)

Release 1.13.0

28 Feb 13:14
Compare
Choose a tag to compare
  • Misc. minor improvements in binary helpers/tests (db25d0c)
  • Add babel-node to fallback arg resolver (b7b7829)
  • Add support for basic expansions in bash command parser (2f38296)
  • Add .mjs, .cjs and .jsx extensions to default glob patterns (2e204bd)
  • Add (deprecated) default entry file to cypress plugin (ad1058b)
  • Fix incomplete entry file resolver in eslint plugin (a51fc7e)
  • Improve jest plugin and return entryFiles (d787e09)
  • Add package.json to stryker fixture (2ae3d4c)
  • Simplify plugin callback type (0122d9f)
  • Add typedoc plugin (73c3c5f)
  • Add lefthook plugin (54718ba)
  • Add entryFiles and missing .jsx extension to storybook plugin (0dfad1a)
  • Fix incomplete entry file resolver in webpack plugin (1463f08)

Release 1.12.4

23 Feb 15:33
Compare
Choose a tag to compare
  • Remove comment since isBuiltin has been added to @types/node (7aaa01d)
  • Suppress TS issue since CompilerOptions types of ts-getconfig and type-fest differ slightly (64b5640)
  • Update dependencies (2b8df2b)
  • Add cjs extension to stryker plugin and add tests (fca3e00)
  • Load .mjs directly through import call (0920366)

Release 1.12.3

29 Jan 23:33
Compare
Choose a tag to compare
  • Default to custom dependency resolver in eslint plugin (fallback to eslint itself) (a93ae15)
  • Minor refactorings (fd99098)
  • Store binaries before potential lookup in dependency reference check (a86577a)

Release 1.12.2

27 Jan 12:56
Compare
Choose a tag to compare
  • Fix file paths in node resolver that can't be a package (83a0a34)

Release 1.12.1

26 Jan 20:56
Compare
Choose a tag to compare
  • Tweak pnpm/yarn resolvers (4b7d129)
  • Refactor getBinariesFromScript to improve names and recursive calls (0e8410d)
  • Minor refactoring for consistency (2cb9b98)
  • Refactor Performance class/usage (3d46dd9)
  • Refactor a few things around posix paths (e78da3e)

Release 1.12.0

25 Jan 22:22
Compare
Choose a tag to compare
  • Start using entry files from Webpack config (bbf63f5)

Release 1.11.0

25 Jan 21:26
Compare
Choose a tag to compare
  • Update dependencies (a7d8286)
  • Add try/catch to loadJSON (2ece814)
  • Fix absolute path check for Windows (ba2b65c)
  • Refactor enabled plugins mechanics and improve decoupling (ee12307)
  • Refactor and improve script parser & binaries resolution (bccf192)
  • Enable plugins to return entry files as well (451c7ff)
  • Resolve node file paths and also return entry files from manifest resolver (9bde5df)
  • Add bun and sh to IGNORED_GLOBAL_BINARIES (9675888)
  • Use bash-parser and minimist to find binaries in all kinds of scripts (0f09983)
  • Update comment about import/order issue (5fa2753)
  • Add example + note about root workspace to docs (218fd67)

Release 1.10.0

22 Jan 02:09
Compare
Choose a tag to compare
  • Support rule.loader and rule or use as a function in webpack config (332a7f6)
  • Prettier config + fixes (df5bf8a)
  • Introduce two passes for webpack config resolution + extend tests (e183975)
  • Ignore (only) error thrown by @rushstack/eslint-patch in eslint plugin (56e275e)
  • Minor refactorings (355472f)
  • Install dummy extension handlers for non JS/TS files (6154b4b)
  • Ignore only specific error from get-tsconfig, re-throw everything else (7b44475)
  • Re-throw all esm-loader exceptions (6079848)
  • Improve heuristic to find first positional arg (fixes #55) (000e7d3)
  • Fix removal of project path on Windows (3d61ca5)

Release 1.9.0

20 Jan 13:14
Compare
Choose a tag to compare
  • Add --version and impove --help (fixes #51) (68efc69)
  • Remove unused file (af0205b)
  • Clarify unresolved configuration debug object (#54) (1e50aae)
  • Document, fix and test usage of knip.ts as config file (8ace8ca)
  • Update .gitignore (c2509a1)
  • Fix some $schema locations (ed85d96)