Skip to content

v0.5.0

Compare
Choose a tag to compare
@QuiiBz QuiiBz released this 14 Nov 14:41
· 49 commits to main since this release

Support excluded paths

Add support for excluded paths in the workspace, starting with a !. In this example, all packages under packages will be registered, plus the docs package, but excluding the packages/abc package and any package matching packages/d*:

packages:
  - 'packages/*'
  - 'docs'
  - '!packages/abc'
  - '!packages/d*'

New non-existant-packages rule

All paths defined in the workspace (the root package.json' workspaces field or pnpm-workspace.yaml) should match at least one package.

More rules autofixable

--fix now supports the non-existant-packages and packages-without-package-json rules, and fixes a bug in types-in-dependencies. See #6 for more information.

What's Changed

  • feat: support excluded paths by @QuiiBz in #25
  • fix(multiple-dependency-versions): increase versions padding by @QuiiBz in #26
  • feat: new non-existant-packages rule by @QuiiBz in #27
  • fix(types-in-dependencies): autofix when package doesn't have devDependencies by @QuiiBz in #28
  • fix(multiple-dependency-versions): improve formatting for single packages by @QuiiBz in #29
  • feat: autofix non-existant-packages by @QuiiBz in #30
  • feat: autofix packages-without-package-json by @QuiiBz in #31

Full Changelog: v0.4.2...v0.5.0