From f9236b266cacbe2ee73db4fadb42f04051249bd7 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Fri, 3 Dec 2021 15:06:25 -0500 Subject: [PATCH] updating recipe for Stimulus 3 --- .../1.9/assets/controllers/hello_controller.js | 2 +- symfony/webpack-encore-bundle/1.9/package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/symfony/webpack-encore-bundle/1.9/assets/controllers/hello_controller.js b/symfony/webpack-encore-bundle/1.9/assets/controllers/hello_controller.js index 8c79f65a..e847027b 100644 --- a/symfony/webpack-encore-bundle/1.9/assets/controllers/hello_controller.js +++ b/symfony/webpack-encore-bundle/1.9/assets/controllers/hello_controller.js @@ -1,4 +1,4 @@ -import { Controller } from 'stimulus'; +import { Controller } from '@hotwired/stimulus'; /* * This is an example Stimulus controller! diff --git a/symfony/webpack-encore-bundle/1.9/package.json b/symfony/webpack-encore-bundle/1.9/package.json index ba0e4f41..813010a7 100644 --- a/symfony/webpack-encore-bundle/1.9/package.json +++ b/symfony/webpack-encore-bundle/1.9/package.json @@ -1,10 +1,10 @@ { "devDependencies": { - "@symfony/stimulus-bridge": "^2.0.0", - "@symfony/webpack-encore": "^1.0.0", + "@hotwired/stimulus": "^3.0.0", + "@symfony/stimulus-bridge": "^3.0.0", + "@symfony/webpack-encore": "^1.7.0", "core-js": "^3.0.0", "regenerator-runtime": "^0.13.2", - "stimulus": "^2.0.0", "webpack-notifier": "^1.6.0" }, "license": "UNLICENSED",