Skip to content

Commit

Permalink
[DX] Cleanup package js (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee authored Oct 11, 2024
2 parents 7e53fa6 + 0c6f0b0 commit 83f601d
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 64 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
php: ["8.3"]
symfony: ["^6.4", "^7.0"]
symfony: ["^6.4", "^7.1"]
node: ["20.x"]
mysql: ["8.4"]

Expand All @@ -38,7 +38,7 @@ jobs:

steps:
-
uses: actions/checkout@v2
uses: actions/checkout@v4

-
name: Setup PHP
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"require": {
"php": "^8.2",
"sylius/sylius": "^2.0.0-alpha.2",
"sylius/sylius": "2.0.x-dev",
"symfony/dotenv": "^6.4 || ^7.1",
"symfony/flex": "^2.4",
"symfony/runtime": "^6.4 || ^7.1"
Expand Down
4 changes: 1 addition & 3 deletions config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
Sylius\Bundle\GridBundle\SyliusGridBundle::class => ['all' => true],
winzou\Bundle\StateMachineBundle\winzouStateMachineBundle::class => ['all' => true],
Sonata\BlockBundle\SonataBlockBundle::class => ['all' => true],
JMS\SerializerBundle\JMSSerializerBundle::class => ['all' => true],
FOS\RestBundle\FOSRestBundle::class => ['all' => true],
Knp\Bundle\GaufretteBundle\KnpGaufretteBundle::class => ['all' => true],
Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true],
Liip\ImagineBundle\LiipImagineBundle::class => ['all' => true],
Expand All @@ -57,7 +55,7 @@
SyliusLabs\DoctrineMigrationsExtraBundle\SyliusLabsDoctrineMigrationsExtraBundle::class => ['all' => true],
League\FlysystemBundle\FlysystemBundle::class => ['all' => true],
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
Sylius\TwigHooks\TwigHooksBundle::class => ['all' => true],
Sylius\TwigHooks\SyliusTwigHooksBundle::class => ['all' => true],
Symfony\UX\TwigComponent\TwigComponentBundle::class => ['all' => true],
Symfony\UX\LiveComponent\LiveComponentBundle::class => ['all' => true],
Symfony\UX\Autocomplete\AutocompleteBundle::class => ['all' => true],
Expand Down
12 changes: 0 additions & 12 deletions config/packages/dev/jms_serializer.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions config/packages/fos_rest.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions config/packages/jms_serializer.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions config/packages/prod/jms_serializer.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ security:
enable_csrf: true
csrf_parameter: _csrf_shop_security_token
csrf_token_id: shop_authenticate
json_login:
check_path: sylius_shop_json_login_check
username_path: _username
password_path: _password
success_handler: sylius.authentication.success_handler
failure_handler: sylius.authentication.failure_handler
remember_me:
secret: "%env(APP_SECRET)%"
name: APP_SHOP_REMEMBER_ME
Expand Down
3 changes: 0 additions & 3 deletions config/packages/test_cached/fos_rest.yaml

This file was deleted.

21 changes: 3 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,15 @@
"watch": "encore dev --watch"
},
"dependencies": {
"@popperjs/core": "^2.11.8",
"@sylius-ui/admin": "file:vendor/sylius/sylius/src/Sylius/Bundle/AdminBundle",
"@sylius-ui/shop": "file:vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle",
"@symfony/stimulus-bridge": "^3.2.2",
"@symfony/ux-autocomplete": "file:vendor/symfony/ux-autocomplete/assets",
"@symfony/ux-live-component": "file:vendor/symfony/ux-live-component/assets",
"apexcharts": "^3.41.0",
"bootstrap": "^5.3.3",
"chart.js": "^3.7.1",
"flag-icons": "^7.2.3",
"infinite-tree": "^1.17.1",
"slugify": "^1.6",
"stimulus-use": "^0.52.2",
"@tabler/core": "^1.0.0-beta21"
"@symfony/ux-live-component": "file:vendor/symfony/ux-live-component/assets"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.18.9",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.18.10",
"@babel/register": "^7.0.0",
"@hotwired/stimulus": "^3.2.2",
"@symfony/stimulus-bridge": "^3.2.2",
"@symfony/webpack-encore": "^3.1.0",
"@hotwired/stimulus": "^3.0.0",
"@symfony/stimulus-bridge": "^3.2.0",
"sass": "^1.54.8",
"sass-loader": "^13.0.0",
"tom-select": "^2.2.2"
Expand Down

0 comments on commit 83f601d

Please sign in to comment.