Skip to content

Commit 5e4518f

Browse files
authored
Update symfony template (#6)
* squashed commit updating template * Update Symfony recipes and add .env.dev file The Symfony recipe version was updated from 1.0 to 2.4. Additionally, the .env.dev file has been added to the recipe configuration, introducing a new environment-specific configuration file. This enhances flexibility for development setups. * Update Symfony lock file and remove CSRF protection config Updated the Symfony lock file to reference a new commit hash, ensuring up-to-date dependencies. Removed the `csrf_protection` configuration from `framework.yaml`, likely aligning with updated framework defaults or project requirements. * Update Symfony recipes reference in symfony.lock Updated the reference for Symfony recipes to a new commit hash. This ensures the latest configuration and improvements are applied. No functional changes to the application behavior are expected. * Update Symfony recipes reference in symfony.lock Updated the reference for Symfony recipes to a new commit hash. This ensures the latest configuration and improvements are applied. No functional changes to the application behavior are expected. * Update Babel dependencies to latest versions This commit updates various Babel-related dependencies in the `package-lock.json` file to their newest versions. These updates include performance, compatibility, and feature improvements, ensuring better support for the latest JavaScript standards. Additionally, unused dependencies like `@aashutoshrathi/word-wrap` have been removed to optimize the package footprint.
1 parent 37b11d4 commit 5e4518f

File tree

12 files changed

+4124
-3562
lines changed

12 files changed

+4124
-3562
lines changed

.editorconfig

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ trim_trailing_whitespace = false
2727
[*.sh]
2828
indent_style = tab
2929

30-
[*.xml{,.dist}]
30+
[*.xml.dist]
3131
indent_style = space
3232
indent_size = 4
3333

@@ -40,19 +40,18 @@ indent_size = 2
4040
[.gitmodules]
4141
indent_style = tab
4242

43-
[.php_cs{,.dist}]
43+
[.php_cs.dist]
4444
indent_style = space
4545
indent_size = 4
4646

4747
[composer.json]
4848
indent_size = 4
4949

50-
[{,docker-}compose{,.*}.{yaml,yml}]
51-
indent_style = space
50+
[{compose,docker-compose}.*.{yaml,yml}]
5251
indent_size = 2
5352

54-
[{,*.*}Dockerfile]
53+
[*.*Dockerfile]
5554
indent_style = tab
5655

57-
[{,*.*}Caddyfile]
56+
[*.*Caddyfile]
5857
indent_style = tab
File renamed without changes.

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: docker/setup-buildx-action@v3
2525
-
2626
name: Build Docker images
27-
uses: docker/bake-action@v4
27+
uses: docker/bake-action@v6
2828
with:
2929
pull: true
3030
load: true
@@ -44,6 +44,9 @@ jobs:
4444
-
4545
name: Check HTTPS reachability
4646
run: curl -vk --fail-with-body https://localhost
47+
-
48+
name: Check Mercure reachability
49+
run: curl -vkI --fail-with-body https://localhost/.well-known/mercure?topic=test
4750
-
4851
name: Create test database
4952
run: docker compose exec -T php bin/console -e test doctrine:database:create

compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
DATABASE_URL: postgresql://${POSTGRES_USER:-app}:${POSTGRES_PASSWORD:-!ChangeMe!}@database:5432/${POSTGRES_DB:-app}?serverVersion=${POSTGRES_VERSION:-16}&charset=${POSTGRES_CHARSET:-utf8}
1111
# Run "composer require symfony/mercure-bundle" to install and configure the Mercure integration
1212
MERCURE_URL: ${CADDY_MERCURE_URL:-http://php/.well-known/mercure}
13-
MERCURE_PUBLIC_URL: ${CADDY_MERCURE_PUBLIC_URL:-https://${SERVER_NAME:-localhost}/.well-known/mercure}
13+
MERCURE_PUBLIC_URL: ${CADDY_MERCURE_PUBLIC_URL:-https://${SERVER_NAME:-localhost}:${HTTPS_PORT:-443}/.well-known/mercure}
1414
MERCURE_JWT_SECRET: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}
1515
volumes:
1616
- caddy_data:/data

0 commit comments

Comments
 (0)