Parcourir la source

chg: dev: upgrade webpack encore and remove unnecessary dependencies #1

master
Laszlo Lang il y a 3 mois
Parent
révision
f83531d316
9 fichiers modifiés avec 183 ajouts et 218 suppressions
  1. +2
    -5
      .gitignore
  2. +3
    -0
      assets/css/app.css
  3. +1
    -2
      composer.json
  4. +130
    -203
      composer.lock
  5. +1
    -0
      config/bundles.php
  6. +4
    -0
      config/packages/prod/webpack_encore.yaml
  7. +2
    -0
      config/packages/test/webpack_encore.yaml
  8. +25
    -0
      config/packages/webpack_encore.yaml
  9. +15
    -8
      symfony.lock

+ 2
- 5
.gitignore Voir le fichier

@@ -1,4 +1,3 @@

###> symfony/framework-bundle ###
/.env
/public/bundles/
@@ -26,11 +25,9 @@ npm-debug.log
/public/images/cache
###< system7 - project ###



###> symfony/webpack-encore-pack ###
###> symfony/webpack-encore-bundle ###
/node_modules/
/public/build/
npm-debug.log
yarn-error.log
###< symfony/webpack-encore-pack ###
###< symfony/webpack-encore-bundle ###

+ 3
- 0
assets/css/app.css Voir le fichier

@@ -0,0 +1,3 @@
body {
background-color: lightgray;
}

+ 1
- 2
composer.json Voir le fichier

@@ -13,13 +13,12 @@
"symfony/console": "^4.0",
"symfony/flex": "^1.0",
"symfony/framework-bundle": "^4.0",
"symfony/lts": "^4@dev",
"symfony/monolog-bundle": "^3.0",
"symfony/orm-pack": "^1.0",
"symfony/requirements-checker": "^1.0",
"symfony/swiftmailer-bundle": "^3.0",
"symfony/twig-bundle": "^4.0",
"symfony/webpack-encore-pack": "^1.0",
"symfony/webpack-encore-bundle": "^1.0",
"symfony/yaml": "^4.0"
},
"require-dev": {


+ 130
- 203
composer.lock Voir le fichier

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "e0f9e404e416e98c143aee44555a1ef2",
"content-hash": "69b9976edffb0730c02b026e7ad34be0",
"packages": [
{
"name": "cocur/slugify",
@@ -2786,21 +2786,21 @@
},
{
"name": "monolog/monolog",
"version": "1.25.3",
"version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
"reference": "fa82921994db851a8becaf3787a9e73c5976b6f1"
"reference": "c861fcba2ca29404dc9e617eedd9eff4616986b8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/fa82921994db851a8becaf3787a9e73c5976b6f1",
"reference": "fa82921994db851a8becaf3787a9e73c5976b6f1",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/c861fcba2ca29404dc9e617eedd9eff4616986b8",
"reference": "c861fcba2ca29404dc9e617eedd9eff4616986b8",
"shasum": ""
},
"require": {
"php": ">=5.3.0",
"psr/log": "~1.0"
"php": "^7.2",
"psr/log": "^1.0.1"
},
"provide": {
"psr/log-implementation": "1.0.0"
@@ -2808,33 +2808,36 @@
"require-dev": {
"aws/aws-sdk-php": "^2.4.9 || ^3.0",
"doctrine/couchdb": "~1.0@dev",
"graylog2/gelf-php": "~1.0",
"jakub-onderka/php-parallel-lint": "0.9",
"elasticsearch/elasticsearch": "^6.0",
"graylog2/gelf-php": "^1.4.2",
"jakub-onderka/php-parallel-lint": "^0.9",
"php-amqplib/php-amqplib": "~2.4",
"php-console/php-console": "^3.1.3",
"phpunit/phpunit": "~4.5",
"phpunit/phpunit-mock-objects": "2.3.0",
"phpspec/prophecy": "^1.6.1",
"phpunit/phpunit": "^8.3",
"predis/predis": "^1.1",
"rollbar/rollbar": "^1.3",
"ruflin/elastica": ">=0.90 <3.0",
"sentry/sentry": "^0.13",
"swiftmailer/swiftmailer": "^5.3|^6.0"
},
"suggest": {
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
"doctrine/couchdb": "Allow sending log messages to a CouchDB server",
"elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
"ext-mongo": "Allow sending log messages to a MongoDB server",
"ext-mbstring": "Allow to work properly with unicode symbols",
"ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
"mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver",
"mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
"php-console/php-console": "Allow sending log messages to Google Chrome",
"rollbar/rollbar": "Allow sending log messages to Rollbar",
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
"sentry/sentry": "Allow sending log messages to a Sentry server"
"ruflin/elastica": "Allow sending log messages to an Elastic Search server"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
"dev-master": "2.x-dev"
}
},
"autoload": {
@@ -2860,7 +2863,7 @@
"logging",
"psr-3"
],
"time": "2019-12-20T14:15:16+00:00"
"time": "2019-12-20T14:22:59+00:00"
},
{
"name": "ocramius/package-versions",
@@ -4309,29 +4312,29 @@
},
{
"name": "symfony/cache",
"version": "v4.4.2",
"version": "v5.0.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/cache.git",
"reference": "6af64bab165e588300378a87bcd2df3c7c31c144"
"reference": "6e8d978878ae5de705ec9fabbb6011cc18776bc9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/cache/zipball/6af64bab165e588300378a87bcd2df3c7c31c144",
"reference": "6af64bab165e588300378a87bcd2df3c7c31c144",
"url": "https://api.github.com/repos/symfony/cache/zipball/6e8d978878ae5de705ec9fabbb6011cc18776bc9",
"reference": "6e8d978878ae5de705ec9fabbb6011cc18776bc9",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"php": "^7.2.5",
"psr/cache": "~1.0",
"psr/log": "~1.0",
"symfony/cache-contracts": "^1.1.7|^2",
"symfony/service-contracts": "^1.1|^2",
"symfony/var-exporter": "^4.2|^5.0"
"symfony/var-exporter": "^4.4|^5.0"
},
"conflict": {
"doctrine/dbal": "<2.5",
"symfony/dependency-injection": "<3.4",
"symfony/dependency-injection": "<4.4",
"symfony/http-kernel": "<4.4",
"symfony/var-dumper": "<4.4"
},
@@ -4346,14 +4349,14 @@
"doctrine/dbal": "~2.5",
"predis/predis": "~1.1",
"psr/simple-cache": "^1.0",
"symfony/config": "^4.2|^5.0",
"symfony/dependency-injection": "^3.4|^4.1|^5.0",
"symfony/config": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/var-dumper": "^4.4|^5.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
"dev-master": "5.0-dev"
}
},
"autoload": {
@@ -4384,7 +4387,7 @@
"caching",
"psr6"
],
"time": "2019-12-16T10:45:21+00:00"
"time": "2019-12-12T13:03:32+00:00"
},
{
"name": "symfony/cache-contracts",
@@ -5552,26 +5555,26 @@
},
{
"name": "symfony/inflector",
"version": "v4.4.2",
"version": "v5.0.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/inflector.git",
"reference": "98581481d9ddabe4db3a66e10202fe1fa08d791b"
"reference": "aaeb5e293294070d1b061fa3d7889bac69909320"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/inflector/zipball/98581481d9ddabe4db3a66e10202fe1fa08d791b",
"reference": "98581481d9ddabe4db3a66e10202fe1fa08d791b",
"url": "https://api.github.com/repos/symfony/inflector/zipball/aaeb5e293294070d1b061fa3d7889bac69909320",
"reference": "aaeb5e293294070d1b061fa3d7889bac69909320",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"php": "^7.2.5",
"symfony/polyfill-ctype": "~1.8"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
"dev-master": "5.0-dev"
}
},
"autoload": {
@@ -5606,28 +5609,28 @@
"symfony",
"words"
],
"time": "2019-11-06T12:02:32+00:00"
"time": "2019-11-18T17:27:11+00:00"
},
{
"name": "symfony/intl",
"version": "v4.4.2",
"version": "v5.0.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/intl.git",
"reference": "727fed5372915b5ea5e8177070f5e7e547063f24"
"reference": "41f910d47883c6ab37087ca4a3332e21e1d682f4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/intl/zipball/727fed5372915b5ea5e8177070f5e7e547063f24",
"reference": "727fed5372915b5ea5e8177070f5e7e547063f24",
"url": "https://api.github.com/repos/symfony/intl/zipball/41f910d47883c6ab37087ca4a3332e21e1d682f4",
"reference": "41f910d47883c6ab37087ca4a3332e21e1d682f4",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"php": "^7.2.5",
"symfony/polyfill-intl-icu": "~1.0"
},
"require-dev": {
"symfony/filesystem": "^3.4|^4.0|^5.0"
"symfony/filesystem": "^4.4|^5.0"
},
"suggest": {
"ext-intl": "to use the component with locales other than \"en\""
@@ -5635,7 +5638,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
"dev-master": "5.0-dev"
}
},
"autoload": {
@@ -5681,101 +5684,7 @@
"l10n",
"localization"
],
"time": "2019-11-26T23:16:41+00:00"
},
{
"name": "symfony/lts",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/symfony/lts.git",
"reference": "c1affae45b78aee036effa1759237e7fa96d4af2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/lts/zipball/c1affae45b78aee036effa1759237e7fa96d4af2",
"reference": "c1affae45b78aee036effa1759237e7fa96d4af2",
"shasum": ""
},
"conflict": {
"symfony/asset": ">=5",
"symfony/browser-kit": ">=5",
"symfony/cache": ">=5",
"symfony/class-loader": ">=5",
"symfony/config": ">=5",
"symfony/console": ">=5",
"symfony/css-selector": ">=5",
"symfony/debug": ">=5",
"symfony/debug-bundle": ">=5",
"symfony/dependency-injection": ">=5",
"symfony/doctrine-bridge": ">=5",
"symfony/dom-crawler": ">=5",
"symfony/dotenv": ">=5",
"symfony/event-dispatcher": ">=5",
"symfony/expression-language": ">=5",
"symfony/filesystem": ">=5",
"symfony/finder": ">=5",
"symfony/form": ">=5",
"symfony/framework-bundle": ">=5",
"symfony/http-foundation": ">=5",
"symfony/http-kernel": ">=5",
"symfony/inflector": ">=5",
"symfony/intl": ">=5",
"symfony/ldap": ">=5",
"symfony/lock": ">=5",
"symfony/messenger": ">=5",
"symfony/monolog-bridge": ">=5",
"symfony/options-resolver": ">=5",
"symfony/process": ">=5",
"symfony/property-access": ">=5",
"symfony/property-info": ">=5",
"symfony/proxy-manager-bridge": ">=5",
"symfony/routing": ">=5",
"symfony/security": ">=5",
"symfony/security-bundle": ">=5",
"symfony/security-core": ">=5",
"symfony/security-csrf": ">=5",
"symfony/security-guard": ">=5",
"symfony/security-http": ">=5",
"symfony/serializer": ">=5",
"symfony/stopwatch": ">=5",
"symfony/symfony": ">=5",
"symfony/templating": ">=5",
"symfony/translation": ">=5",
"symfony/twig-bridge": ">=5",
"symfony/twig-bundle": ">=5",
"symfony/validator": ">=5",
"symfony/var-dumper": ">=5",
"symfony/web-link": ">=5",
"symfony/web-profiler-bundle": ">=5",
"symfony/web-server-bundle": ">=5",
"symfony/workflow": ">=5",
"symfony/yaml": ">=5"
},
"type": "metapackage",
"extra": {
"branch-alias": {
"dev-master": "4-dev"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Enforces Long Term Supported versions of Symfony components",
"homepage": "https://symfony.com",
"abandoned": "symfony/flex",
"time": "2018-10-03T12:03:19+00:00"
"time": "2019-11-26T23:25:11+00:00"
},
{
"name": "symfony/mime",
@@ -5841,33 +5750,33 @@
},
{
"name": "symfony/monolog-bridge",
"version": "v4.4.2",
"version": "v5.0.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/monolog-bridge.git",
"reference": "da3718c84f29d4b1ef607e2a13c496186a5975c1"
"reference": "dfac10ea8a5863949966d9b6030984c079bec665"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/da3718c84f29d4b1ef607e2a13c496186a5975c1",
"reference": "da3718c84f29d4b1ef607e2a13c496186a5975c1",
"url": "https://api.github.com/repos/symfony/monolog-bridge/zipball/dfac10ea8a5863949966d9b6030984c079bec665",
"reference": "dfac10ea8a5863949966d9b6030984c079bec665",
"shasum": ""
},
"require": {
"monolog/monolog": "^1.25.1",
"php": "^7.1.3",
"symfony/http-kernel": "^4.3",
"monolog/monolog": "^1.25.1|^2",
"php": "^7.2.5",
"symfony/http-kernel": "^4.4|^5.0",
"symfony/service-contracts": "^1.1|^2"
},
"conflict": {
"symfony/console": "<3.4",
"symfony/http-foundation": "<3.4"
"symfony/console": "<4.4",
"symfony/http-foundation": "<4.4"
},
"require-dev": {
"symfony/console": "^3.4|^4.0|^5.0",
"symfony/console": "^4.4|^5.0",
"symfony/http-client": "^4.4|^5.0",
"symfony/security-core": "^3.4|^4.0|^5.0",
"symfony/var-dumper": "^3.4|^4.0|^5.0"
"symfony/security-core": "^4.4|^5.0",
"symfony/var-dumper": "^4.4|^5.0"
},
"suggest": {
"symfony/console": "For the possibility to show log messages in console commands depending on verbosity settings.",
@@ -5877,7 +5786,7 @@
"type": "symfony-bridge",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
"dev-master": "5.0-dev"
}
},
"autoload": {
@@ -5904,7 +5813,7 @@
],
"description": "Symfony Monolog Bridge",
"homepage": "https://symfony.com",
"time": "2019-12-10T10:33:21+00:00"
"time": "2019-12-10T11:06:55+00:00"
},
{
"name": "symfony/monolog-bundle",
@@ -6990,26 +6899,26 @@
},
{
"name": "symfony/stopwatch",
"version": "v4.4.2",
"version": "v5.0.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/stopwatch.git",
"reference": "5745b514fc56ae1907c6b8ed74f94f90f64694e9"
"reference": "d410282956706e0b08681a5527447a8e6b6f421e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/5745b514fc56ae1907c6b8ed74f94f90f64694e9",
"reference": "5745b514fc56ae1907c6b8ed74f94f90f64694e9",
"url": "https://api.github.com/repos/symfony/stopwatch/zipball/d410282956706e0b08681a5527447a8e6b6f421e",
"reference": "d410282956706e0b08681a5527447a8e6b6f421e",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"php": "^7.2.5",
"symfony/service-contracts": "^1.0|^2"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
"dev-master": "5.0-dev"
}
},
"autoload": {
@@ -7036,7 +6945,7 @@
],
"description": "Symfony Stopwatch Component",
"homepage": "https://symfony.com",
"time": "2019-11-05T16:11:08+00:00"
"time": "2019-11-18T17:27:11+00:00"
},
{
"name": "symfony/swiftmailer-bundle",
@@ -7564,32 +7473,31 @@
},
{
"name": "symfony/var-dumper",
"version": "v4.4.2",
"version": "v5.0.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "be330f919bdb395d1e0c3f2bfb8948512d6bdd99"
"reference": "d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/be330f919bdb395d1e0c3f2bfb8948512d6bdd99",
"reference": "be330f919bdb395d1e0c3f2bfb8948512d6bdd99",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a",
"reference": "d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php72": "~1.5"
"php": "^7.2.5",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
"symfony/console": "<3.4"
"phpunit/phpunit": "<5.4.3",
"symfony/console": "<4.4"
},
"require-dev": {
"ext-iconv": "*",
"symfony/console": "^3.4|^4.0|^5.0",
"symfony/console": "^4.4|^5.0",
"symfony/process": "^4.4|^5.0",
"twig/twig": "^1.34|^2.4|^3.0"
"twig/twig": "^2.4|^3.0"
},
"suggest": {
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
@@ -7602,7 +7510,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
"dev-master": "5.0-dev"
}
},
"autoload": {
@@ -7636,7 +7544,7 @@
"debug",
"dump"
],
"time": "2019-12-18T13:41:29+00:00"
"time": "2019-12-18T13:50:31+00:00"
},
{
"name": "symfony/var-exporter",
@@ -7699,36 +7607,57 @@
"time": "2019-12-01T08:48:26+00:00"
},
{
"name": "symfony/webpack-encore-pack",
"version": "v1.0.3",
"name": "symfony/webpack-encore-bundle",
"version": "v1.7.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/webpack-encore-pack.git",
"reference": "8d7f51379d7ae17aea7cf501d910a11896895ac4"
"url": "https://github.com/symfony/webpack-encore-bundle.git",
"reference": "787c2fdedde57788013339f05719c82ce07b6058"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/webpack-encore-pack/zipball/8d7f51379d7ae17aea7cf501d910a11896895ac4",
"reference": "8d7f51379d7ae17aea7cf501d910a11896895ac4",
"url": "https://api.github.com/repos/symfony/webpack-encore-bundle/zipball/787c2fdedde57788013339f05719c82ce07b6058",
"reference": "787c2fdedde57788013339f05719c82ce07b6058",
"shasum": ""
},
"require": {
"symfony/asset": "^3.3|^4.0"
"php": "^7.1.3",
"symfony/asset": "^3.4 || ^4.0 || ^5.0",
"symfony/config": "^3.4 || ^4.0 || ^5.0",
"symfony/dependency-injection": "^3.4 || ^4.0 || ^5.0",
"symfony/http-kernel": "^3.4 || ^4.0 || ^5.0",
"symfony/service-contracts": "^1.0 || ^2.0"
},
"type": "symfony-pack",
"require-dev": {
"symfony/framework-bundle": "^3.4 || ^4.0 || ^5.0",
"symfony/phpunit-bridge": "^4.3.5 || ^5.0",
"symfony/twig-bundle": "^3.4 || ^4.0 || ^5.0",
"symfony/web-link": "^3.4 || ^4.0 || ^5.0"
},
"type": "symfony-bundle",
"extra": {
"thanks": {
"name": "symfony/webpack-encore",
"url": "https://github.com/symfony/webpack-encore"
}
},
"autoload": {
"psr-4": {
"Symfony\\WebpackEncoreBundle\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "A pack for Symfony Encore",
"abandoned": "symfony/webpack-encore-bundle",
"time": "2018-07-16T10:15:28+00:00"
"authors": [
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Integration with your Symfony app & Webpack Encore!",
"time": "2019-11-26T14:48:41+00:00"
},
{
"name": "symfony/yaml",
@@ -8229,40 +8158,40 @@
},
{
"name": "symfony/web-profiler-bundle",
"version": "v4.4.2",
"version": "v5.0.2",
"source": {
"type": "git",
"url": "https://github.com/symfony/web-profiler-bundle.git",
"reference": "92453ec17c365c561d9e65b06050b9e2a65e9306"
"reference": "6cc40446060e174a690e0f6da90731133b29b664"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/web-profiler-bundle/zipball/92453ec17c365c561d9e65b06050b9e2a65e9306",
"reference": "92453ec17c365c561d9e65b06050b9e2a65e9306",
"url": "https://api.github.com/repos/symfony/web-profiler-bundle/zipball/6cc40446060e174a690e0f6da90731133b29b664",
"reference": "6cc40446060e174a690e0f6da90731133b29b664",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/config": "^4.2|^5.0",
"php": "^7.2.5",
"symfony/config": "^4.4|^5.0",
"symfony/framework-bundle": "^4.4|^5.0",
"symfony/http-kernel": "^4.4",
"symfony/routing": "^3.4|^4.0|^5.0",
"symfony/twig-bundle": "^4.2|^5.0",
"twig/twig": "^1.41|^2.10|^3.0"
"symfony/http-kernel": "^4.4|^5.0",
"symfony/routing": "^4.4|^5.0",
"symfony/twig-bundle": "^4.4|^5.0",
"twig/twig": "^2.10|^3.0"
},
"conflict": {
"symfony/form": "<4.3",
"symfony/messenger": "<4.2"
"symfony/form": "<4.4",
"symfony/messenger": "<4.4"
},
"require-dev": {
"symfony/console": "^3.4|^4.0|^5.0",
"symfony/dependency-injection": "^3.4|^4.0|^5.0",
"symfony/stopwatch": "^3.4|^4.0|^5.0"
"symfony/console": "^4.4|^5.0",
"symfony/dependency-injection": "^4.4|^5.0",
"symfony/stopwatch": "^4.4|^5.0"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "4.4-dev"
"dev-master": "5.0-dev"
}
},
"autoload": {
@@ -8289,14 +8218,12 @@
],
"description": "Symfony WebProfilerBundle",
"homepage": "https://symfony.com",
"time": "2019-11-20T10:44:55+00:00"
"time": "2019-11-21T07:02:40+00:00"
}
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"symfony/lts": 20
},
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": {


+ 1
- 0
config/bundles.php Voir le fichier

@@ -23,4 +23,5 @@ return [
Sonata\MediaBundle\SonataMediaBundle::class => ['all' => true],
App\Application\Sonata\MediaBundle\ApplicationSonataMediaBundle::class => ['all' => true],
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
];

+ 4
- 0
config/packages/prod/webpack_encore.yaml Voir le fichier

@@ -0,0 +1,4 @@
#webpack_encore:
# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Available in version 1.2
#cache: true

+ 2
- 0
config/packages/test/webpack_encore.yaml Voir le fichier

@@ -0,0 +1,2 @@
#webpack_encore:
# strict_mode: false

+ 25
- 0
config/packages/webpack_encore.yaml Voir le fichier

@@ -0,0 +1,25 @@
webpack_encore:
# The path where Encore is building the assets - i.e. Encore.setOutputPath()
output_path: '%kernel.project_dir%/public/build'
# If multiple builds are defined (as shown below), you can disable the default build:
# output_path: false

# if using Encore.enableIntegrityHashes() and need the crossorigin attribute (default: false, or use 'anonymous' or 'use-credentials')
# crossorigin: 'anonymous'

# preload all rendered script and link tags automatically via the http2 Link header
# preload: true

# Throw an exception if the entrypoints.json file is missing or an entry is missing from the data
# strict_mode: false

# if you have multiple builds:
# builds:
# pass "frontend" as the 3rg arg to the Twig functions
# {{ encore_entry_script_tags('entry1', null, 'frontend') }}

# frontend: '%kernel.project_dir%/public/frontend/build'

# Cache the entrypoints.json (rebuild Symfony's cache when entrypoints.json changes)
# Put in config/packages/prod/webpack_encore.yaml
# cache: true

+ 15
- 8
symfony.lock Voir le fichier

@@ -366,9 +366,6 @@
"symfony/intl": {
"version": "v4.4.2"
},
"symfony/lts": {
"version": "4-dev"
},
"symfony/maker-bundle": {
"version": "1.0",
"recipe": {
@@ -564,14 +561,24 @@
"config/routes/dev/web_profiler.yaml"
]
},
"symfony/webpack-encore-pack": {
"version": "1.0",
"symfony/webpack-encore-bundle": {
"version": "1.6",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "1.0",
"ref": "e18b0c550c3ee79142dc314b3e38193caafe4bb5"
}
"version": "1.6",
"ref": "69e1d805ad95964088bd510c05995e87dc391564"
},
"files": [
"assets/css/app.css",
"assets/js/app.js",
"config/packages/assets.yaml",
"config/packages/prod/webpack_encore.yaml",
"config/packages/test/webpack_encore.yaml",
"config/packages/webpack_encore.yaml",
"package.json",
"webpack.config.js"
]
},
"symfony/yaml": {
"version": "v4.4.2"


Chargement…
Annuler
Enregistrer