Skip to content

fix: including dependency cruiser base config#269

Merged
Komoszek merged 1 commit into
mainfrom
fix/dependency-cruiser-config
Apr 13, 2026
Merged

fix: including dependency cruiser base config#269
Komoszek merged 1 commit into
mainfrom
fix/dependency-cruiser-config

Conversation

@Komoszek

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR ensures @leancodepl/folder-structure-cruiser publishes and exposes its dependency-cruiser base configuration so downstream projects can extend it via @leancodepl/folder-structure-cruiser/.dependency-cruiser.json.

Changes:

  • Added a packaged .dependency-cruiser.json at the package root containing the base rule(s) and options.
  • Exposed the config via package.json#exports and ensured it’s included in the published artifact via files.
  • Updated tests to reference the new config location.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/folder-structure-cruiser/package.json Exposes ./.dependency-cruiser.json via exports and includes it in files for publishing.
packages/folder-structure-cruiser/.dependency-cruiser.json Adds the base dependency-cruiser configuration intended for consumers to extend.
packages/folder-structure-cruiser/tests/shared-components.spec.ts Updates config path to point to the new root config file location.
packages/folder-structure-cruiser/tests/no-orphans.spec.js Updates config path to point to the new root config file location.
packages/folder-structure-cruiser/tests/cross-feature-imports.spec.ts Updates config path to point to the new root config file location.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Komoszek Komoszek merged commit bd3f66d into main Apr 13, 2026
5 checks passed
@Komoszek Komoszek deleted the fix/dependency-cruiser-config branch April 13, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants