JamieMason / JamieMason/syncpack

feat(config): disallow redefining dependencies already defined in the root

Open
#194 2 comments 0 reactions 0 assignees View on GitHub
Priority: Low Status: To Do Type: Feat workaround available
Dominant language
Rust
Stars
2.1k
Forks
72
PR merge metrics
No merged PRs in 30d

Description

## Description

I'd really like the ability to prevent having a dependency in a monorepo package that's already defined at the root.

Say I have `jest` defined in `./package.json`, syncpack could be configured to disallow `./apps/my-app/package.json` having that dependency too.

## Suggested Solution

Honestly I have no idea how you'd want to configure this. I'm happy with something as simple as the above, but I'm sure others would love to customise it further for their own needs.

## Help Needed

The ability to produce a sweet ass config interface.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing syncpack’s existing configuration interface and dependency validation behavior. Define how root and package dependencies should be detected, how users configure the restriction, and what tests should demonstrate that duplicate dependencies are rejected while supported customization works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.