There is a v2 branch of bootstrap_styles (2.0.x-dev).

I'd like to test this in my project / create a patch against that branch but I cannot update bootstrap_styles because layout_builder_blocks has this in the composer.json under require:
"drupal/bootstrap_styles": "^1.0",

So I get this message:

 Problem 1
    - drupal/layout_builder_blocks is locked to version 1.0.1 and an update of this package was not requested.
    - drupal/layout_builder_blocks 1.0.1 requires drupal/bootstrap_styles ^1.0 -> found drupal/bootstrap_styles[dev-1.0.x, 1.0.0-alpha1, ..., 1.0.x-dev (alias of dev-1.0.x)] but it conflicts with your root composer.json require (2.0.x-dev@dev).
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

flyke created an issue. See original summary.

flyke’s picture

Added patch that allows bootstrap_styles 2.0 for testing.

socialnicheguru’s picture

Status: Active » Needs review

flyke’s picture

Since patches don't resolve the package version requirements because they are applied after composer resolves packages, I use this by adding the MR to the repotitories section inside my projects composer.json file:

    "repositories": [
        {
            "type": "git",
            "url": "https://git.drupalcode.org/issue/layout_builder_blocks-3327090.git"
        },

And then add this repo to the project via:
composer require drupal/layout_builder_blocks:"dev-3327090-d11-bootstrap-styles-2 as 1.0.x-dev" -W

rajab natshah made their first commit to this issue’s fork.

rajab natshah’s picture

rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Version: 1.0.x-dev » 1.1.x-dev
rajab natshah’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.