diff --git a/assets/controllers/hello_controller.js b/assets/controllers/hello_controller.js deleted file mode 100644 index e847027bd..000000000 --- a/assets/controllers/hello_controller.js +++ /dev/null @@ -1,16 +0,0 @@ -import { Controller } from '@hotwired/stimulus'; - -/* - * This is an example Stimulus controller! - * - * Any element with a data-controller="hello" attribute will cause - * this controller to be executed. The name "hello" comes from the filename: - * hello_controller.js -> "hello" - * - * Delete this file or adapt it for your use! - */ -export default class extends Controller { - connect() { - this.element.textContent = 'Hello Stimulus! Edit me in assets/controllers/hello_controller.js'; - } -} diff --git a/package.json b/package.json index fbf67384e..53a1f6743 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "lato-font": "^3.0.0", "moment": "^2.29.1", "moment-timezone": "^0.5.40", - "regenerator-runtime": "^0.13.2", + "regenerator-runtime": "^0.13", "sass": "1.32.*", "sass-loader": "^13.2", "stimulus": "^2.0.0", diff --git a/symfony.lock b/symfony.lock index fa042c19d..c29a0b487 100644 --- a/symfony.lock +++ b/symfony.lock @@ -319,18 +319,15 @@ ] }, "symfony/webpack-encore-bundle": { - "version": "1.17", + "version": "2.1", "recipe": { "repo": "github.com/symfony/recipes", "branch": "main", - "version": "1.10", - "ref": "eff2e505d4557c967b6710fe06bd947ba555cae5" + "version": "2.0", + "ref": "082d754b3bd54b3fc669f278f1eea955cfd23cf5" }, "files": [ "assets/app.js", - "assets/bootstrap.js", - "assets/controllers.json", - "assets/controllers/hello_controller.js", "assets/styles/app.css", "config/packages/webpack_encore.yaml", "package.json", diff --git a/yarn.lock b/yarn.lock index 299550aec..0de126ab3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3469,7 +3469,7 @@ regenerate@^1.4.2: version "1.4.2" resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz" -regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.2: +regenerator-runtime@^0.13, regenerator-runtime@^0.13.11: version "0.13.11" resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz"