Skip to content

Conversation

@Kocal
Copy link
Member

@Kocal Kocal commented Dec 10, 2025

Q A
Bug fix? yes
New feature? no
Deprecations? no
Documentation? no
Issues Fix #...
License MIT

Minor modifications where I think we can avoid installing root deps & running build-packages.php script in order to setup E2E apps (in the CI or locally).

@Kocal Kocal self-assigned this Dec 10, 2025
@carsonbot carsonbot added Bug Bug Fix Status: Needs Review Needs to be reviewed labels Dec 10, 2025
@Kocal Kocal force-pushed the apps-simplify-ux-pkgs branch from a28b3bf to e8eef0c Compare December 10, 2025 18:31
@Kocal Kocal added Status: Needs Work Additional work is needed and removed Status: Needs Review Needs to be reviewed labels Dec 10, 2025
@carsonbot carsonbot added Status: Needs Review Needs to be reviewed and removed Status: Needs Work Additional work is needed labels Dec 10, 2025
@Kocal Kocal force-pushed the apps-simplify-ux-pkgs branch from 82bc017 to 69044c9 Compare December 10, 2025 18:43
@Kocal Kocal force-pushed the apps-simplify-ux-pkgs branch from 71a0db9 to 6e4eca9 Compare December 10, 2025 19:17
@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Dec 10, 2025
@Kocal
Copy link
Member Author

Kocal commented Dec 10, 2025

Current state with:

  • "minimum-stability": "dev"
  • *@dev as constraint version
  • branch-alias "dev-main": "2.x-dev" in src/**/composer.json files
  • Composer repository config in apps/*/composer.json files
    "repositories": {
        "ux":         {
            "type": "path",
            "url": "../../src/*",
            "only": ["symfony/stimulus-bundle", "symfony/ux-*"],
            "canonical": true,
            "options": {
                "symlink": true
            }
        }
    },
Problem 1
    - Root composer.json requires symfony/ux-chartjs *@dev -> satisfiable by symfony/ux-chartjs[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c].
    - symfony/ux-chartjs dev-4ebda0163748da1fa2f05d341b0ded08c554b15c requires symfony/stimulus-bundle ^2.9.1 -> satisfiable by symfony/stimulus-bundle[v2.9.1, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 2
    - Root composer.json requires symfony/ux-live-component *@dev -> satisfiable by symfony/ux-live-component[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c].
    - symfony/ux-live-component dev-4ebda0163748da1fa2f05d341b0ded08c554b15c requires symfony/stimulus-bundle ^2.9 -> satisfiable by symfony/stimulus-bundle[v2.9.0, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 3
    - Root composer.json requires symfony/ux-map *@dev -> satisfiable by symfony/ux-map[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c].
    - symfony/ux-map dev-4ebda0163748da1fa2f05d341b0ded08c554b15c requires symfony/stimulus-bundle ^2.18.1 -> satisfiable by symfony/stimulus-bundle[v2.18.1, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 4
    - Root composer.json requires symfony/ux-notify *@dev -> satisfiable by symfony/ux-notify[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c].
    - symfony/ux-notify dev-4ebda0163748da1fa2f05d341b0ded08c554b15c requires symfony/stimulus-bundle ^2.9.1 -> satisfiable by symfony/stimulus-bundle[v2.9.1, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 5
    - Root composer.json requires symfony/ux-react *@dev -> satisfiable by symfony/ux-react[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c].
    - symfony/ux-react dev-4ebda0163748da1fa2f05d341b0ded08c554b15c requires symfony/stimulus-bundle ^2.9.1 -> satisfiable by symfony/stimulus-bundle[v2.9.1, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 6
    - Root composer.json requires symfony/ux-svelte *@dev -> satisfiable by symfony/ux-svelte[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c].
    - symfony/ux-svelte dev-4ebda0163748da1fa2f05d341b0ded08c554b15c requires symfony/stimulus-bundle ^2.9.1 -> satisfiable by symfony/stimulus-bundle[v2.9.1, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 7
    - Root composer.json requires symfony/ux-turbo *@dev -> satisfiable by symfony/ux-turbo[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c].
    - symfony/ux-turbo dev-4ebda0163748da1fa2f05d341b0ded08c554b15c requires symfony/stimulus-bundle ^2.9.1 -> satisfiable by symfony/stimulus-bundle[v2.9.1, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 8
    - Root composer.json requires symfony/ux-vue *@dev -> satisfiable by symfony/ux-vue[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c].
    - symfony/ux-vue dev-4ebda0163748da1fa2f05d341b0ded08c554b15c requires symfony/stimulus-bundle ^2.9.1 -> satisfiable by symfony/stimulus-bundle[v2.9.1, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
  Problem 9
    - Root composer.json requires symfony/ux-google-map *@dev -> satisfiable by symfony/ux-google-map[v2.19.0, ..., 2.x-dev, 3.x-dev].
    - symfony/ux-google-map[v2.19.0, ..., v2.20.0] require symfony/ux-map ^2.19 -> satisfiable by symfony/ux-map[v2.19.0, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/ux-map[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.
    - symfony/ux-google-map[v2.21.0, ..., 2.x-dev, 3.x-dev] require symfony/stimulus-bundle ^2.18.1 -> satisfiable by symfony/stimulus-bundle[v2.18.1, ..., 2.x-dev] from composer repo (https://repo.packagist.org/) but symfony/stimulus-bundle[dev-4ebda0163748da1fa2f05d341b0ded08c554b15c] from path repo (../../src/*) has higher repository priority. The packages from the higher priority repository do not match your constraint and are therefore not installable. That repository is canonical so the lower priority repo's packages are not installable. See https://getcomposer.org/repoprio for details and assistance.

I feel like we should add the following configuration in src/**/composer.json files?

    "repositories": {
        "ux":         {
            "type": "path",
            "url": "../../src/*",
            "only": ["symfony/stimulus-bundle", "symfony/ux-*"],
            "canonical": true,
            "options": {
                "symlink": true
            }
        }
    },

I don't feel it, and I don't like over-tinkering with composer.json files.

If only we could have PNPM workspaces with Composer 🙏🏻

@Kocal Kocal closed this Dec 10, 2025
@Kocal Kocal deleted the apps-simplify-ux-pkgs branch December 10, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug Fix Status: Reviewed Has been reviewed by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants