Skip to content

fix: add yaml@2.x dependency to resolve postcss-load-config peer conflict#505

Merged
jamespepper81 merged 1 commit into
mainfrom
fix/yaml-dependency-conflict
Jan 27, 2026
Merged

fix: add yaml@2.x dependency to resolve postcss-load-config peer conflict#505
jamespepper81 merged 1 commit into
mainfrom
fix/yaml-dependency-conflict

Conversation

@jamespepper81
Copy link
Copy Markdown
Contributor

Summary

  • Adds yaml@^2.8.2 as a direct dependency to fix CI failures
  • Resolves the invalid peer dependency error with postcss-load-config@6.0.1

Problem

The postcss-load-config@6.0.1 (from tailwindcss) has an optional peer dependency on yaml@^2.4.2. Without an explicit yaml@2.x in the dependency tree, npm was incorrectly deduping to yaml@1.10.2, causing npm ci to fail in CI.

Solution

Add yaml@^2.8.2 as a direct dependency to ensure correct resolution.

Test plan

  • npm ci succeeds locally
  • npm ls yaml shows no invalid dependencies
  • CI checks pass

🤖 Generated with Claude Code

…lict

The postcss-load-config@6.0.1 (from tailwindcss) has an optional peer
dependency on yaml@^2.4.2. Without an explicit yaml@2.x in the dependency
tree, npm was incorrectly deduping to yaml@1.10.2, causing CI failures.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jamespepper81 jamespepper81 merged commit f5b7e65 into main Jan 27, 2026
11 checks passed
@jamespepper81 jamespepper81 deleted the fix/yaml-dependency-conflict branch January 27, 2026 20:59
jamespepper81 added a commit that referenced this pull request Jan 27, 2026
* fix: add yaml@2.x dependency to resolve postcss-load-config peer conflict (#505)

The postcss-load-config@6.0.1 (from tailwindcss) has an optional peer
dependency on yaml@^2.4.2. Without an explicit yaml@2.x in the dependency
tree, npm was incorrectly deduping to yaml@1.10.2, causing CI failures.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

* ci(deps): bump actions/checkout from 4 to 6 (#488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@jamespepper81 jamespepper81 mentioned this pull request Jan 27, 2026
jamespepper81 added a commit that referenced this pull request Jan 27, 2026
* fix: add yaml@2.x dependency to resolve postcss-load-config peer conflict (#505)

The postcss-load-config@6.0.1 (from tailwindcss) has an optional peer
dependency on yaml@^2.4.2. Without an explicit yaml@2.x in the dependency
tree, npm was incorrectly deduping to yaml@1.10.2, causing CI failures.



* ci(deps): bump actions/checkout from 4 to 6 (#488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...




---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
jamespepper81 added a commit that referenced this pull request Jan 27, 2026
…tions. (#508)

* Rebase (#506)

* fix: add yaml@2.x dependency to resolve postcss-load-config peer conflict (#505)

The postcss-load-config@6.0.1 (from tailwindcss) has an optional peer
dependency on yaml@^2.4.2. Without an explicit yaml@2.x in the dependency
tree, npm was incorrectly deduping to yaml@1.10.2, causing CI failures.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

* ci(deps): bump actions/checkout from 4 to 6 (#488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci(deps): bump actions/cache from 4 to 5 (#487)

Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: James Pepper <james@bitsleuth.ai>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
jamespepper81 added a commit that referenced this pull request Jan 27, 2026
* Rebase (#506)

* fix: add yaml@2.x dependency to resolve postcss-load-config peer conflict (#505)

The postcss-load-config@6.0.1 (from tailwindcss) has an optional peer
dependency on yaml@^2.4.2. Without an explicit yaml@2.x in the dependency
tree, npm was incorrectly deduping to yaml@1.10.2, causing CI failures.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

* ci(deps): bump actions/checkout from 4 to 6 (#488)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci(deps): bump actions/cache from 4 to 5 (#487)

Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: James Pepper <james@bitsleuth.ai>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

1 participant