Closed tacman closed 9 months ago
Thanks for the PR 😍
Define the SYMFONY_ENDPOINT
environment variable:
# On Unix-like (BSD, Linux and macOS)
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1245/index.json
# On Windows
SET SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1245/index.json
Install the package(s) related to this recipe:
composer req 'symfony/flex:^1.16'
composer req 'symfony/asset-mapper:^6.4'
Don't forget to unset the SYMFONY_ENDPOINT
environment variable when done:
# On Unix-like (BSD, Linux and macOS)
unset SYMFONY_ENDPOINT
# On Windows
SET SYMFONY_ENDPOINT=
In order to help with the review stage, I'm in charge of computing the diff between the various versions of patched recipes. I'm going keep this comment up to date with any updates of the attached patch.
can you ask someone else to do a second review? Happy to make changes if there are still issues, it's a nice way for me to learn about both assetmapper and symfony recipes.
We'll wait a day or two to see if someone from the core team notices this. Then I can poke a little bit :). You've done great on this
Thanks! Unrelated, well, related to AssetMapper but not to the recipe, can you see if there's an easy fix to https://github.com/symfony/symfony/discussions/51918? I, too, am obsessed with AssetMapper!
On Tue, Oct 10, 2023 at 1:00 PM Ryan Weaver @.***> wrote:
We'll wait a day or two to see if someone from the core team notices this. Then I can poke a little bit :). You've done great on this
— Reply to this email directly, view it on GitHub https://github.com/symfony/recipes/pull/1245#issuecomment-1755874941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXIQM2FGBWVF2W3OLOSULX6V5JBAVCNFSM6AAAAAA5ZCU2E2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJVHA3TIOJUGE . You are receiving this because you authored the thread.Message ID: @.***>
Oops, I'm not sure if I'm doing this right. Looks like there were two reviews that reviewed and approved this, is there another step to merge it?
Thanks, @weaverryan and @maxhelias !
A core team (membre of the repository) approval is identifiable with the green validated one and not the gray one like mine.
I'm getting this warning in the javascript console, can it be fixed in the recipe?
link rel=preload> must have a valid `as` value
symfony new demo-64 --webapp --version=next && cd demo-64
composer config extra.symfony.allow-contrib true
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/symfony/recipes/flex/pull-1245/index.json
composer req symfony/asset-mapper:^6.4
composer req symfony/stimulus-bundle:2.x-dev
bin/console make:controller -i AppController
symfony server:start -d
symfony open:local --path=/app
Thanks for catching that - I made a PR to fix that
I'm not sure how to describe what entrypoint does, that should be in the comment section of the importmap, where preload used to be.