Skip to content

Commit 2c7cb04

Browse files
committed
allowing version 2 of stimulus-bridge
1 parent 97258c3 commit 2c7cb04

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

lib/plugins/stimulus-bridge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = function(plugins, webpackConfig) {
3939
return;
4040
}
4141

42-
const createPlugin = require('@symfony/stimulus-bridge/webpack-helper'); // eslint-disable-line node/no-unpublished-require
42+
const createPlugin = require('@symfony/stimulus-bridge/webpack-helper'); // eslint-disable-line node/no-unpublished-require
4343

4444
plugins.push({
4545
plugin: createPlugin(JSON.parse(fs.readFileSync(webpackConfig.stimulusOptions.controllersJsonPath))),

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@babel/preset-react": "^7.0.0",
5858
"@babel/preset-typescript": "^7.0.0",
5959
"@symfony/mock-module": "file:fixtures/stimulus/mock-module",
60-
"@symfony/stimulus-bridge": "^1.1.0",
60+
"@symfony/stimulus-bridge": "^1.1.0 || ^2.0.0",
6161
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
6262
"@vue/babel-preset-jsx": "^1.0.0",
6363
"@vue/compiler-sfc": "^3.0.2",

yarn.lock

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -995,12 +995,12 @@
995995
"@symfony/mock-module@file:fixtures/stimulus/mock-module":
996996
version "1.0.0"
997997

998-
"@symfony/stimulus-bridge@^1.1.0":
999-
version "1.1.0"
1000-
resolved "https://registry.yarnpkg.com/@symfony/stimulus-bridge/-/stimulus-bridge-1.1.0.tgz#34548c633fe49bcda84cc812939f63640e698af7"
1001-
integrity sha512-Sz8iwKQHBjrgCnxCGwH87S/J/Min0gX3EuXJaHi4vpibY3BjVm+WYuP8+OYPkMIROPyNZKYgTffFfJLBAFLwFQ==
998+
"@symfony/stimulus-bridge@^1.1.0 || ^2.0.0":
999+
version "2.0.0"
1000+
resolved "https://registry.yarnpkg.com/@symfony/stimulus-bridge/-/stimulus-bridge-2.0.0.tgz#52cbf5c8524dec1a6c154a535bc82fedf1987b06"
1001+
integrity sha512-sq8FMQDmG5rtcmXwK+SQ2o5dEEqjaxpFjP/EYzl3qbGnED099XxOQDPnbrtVSIRRPlWEsuoTalD9B1fAdeFp0Q==
10021002
dependencies:
1003-
webpack-virtual-modules "^0.3.2"
1003+
acorn "^8.0.5"
10041004

10051005
"@types/anymatch@*":
10061006
version "1.3.1"
@@ -1473,7 +1473,7 @@ acorn@^7.4.0:
14731473
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"
14741474
integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==
14751475

1476-
acorn@^8.0.4:
1476+
acorn@^8.0.4, acorn@^8.0.5:
14771477
version "8.0.5"
14781478
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.0.5.tgz#a3bfb872a74a6a7f661bc81b9849d9cac12601b7"
14791479
integrity sha512-v+DieK/HJkJOpFBETDJioequtc3PfxsWMaxIdIwujtF7FEV/MAyDQLlm6/zPvr7Mix07mLh6ccVwIsloceodlg==
@@ -2616,7 +2616,7 @@ [email protected]:
26162616
dependencies:
26172617
ms "2.1.2"
26182618

2619-
debug@^3.0.0, debug@^3.1.1, debug@^3.2.6:
2619+
debug@^3.1.1, debug@^3.2.6:
26202620
version "3.2.7"
26212621
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
26222622
integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==
@@ -7579,13 +7579,6 @@ webpack-sources@^2.1.1, webpack-sources@^2.2.0:
75797579
source-list-map "^2.0.1"
75807580
source-map "^0.6.1"
75817581

7582-
webpack-virtual-modules@^0.3.2:
7583-
version "0.3.2"
7584-
resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.3.2.tgz#b7baa30971a22d99451f897db053af48ec29ad2c"
7585-
integrity sha512-RXQXioY6MhzM4CNQwmBwKXYgBs6ulaiQ8bkNQEl2J6Z+V+s7lgl/wGvaI/I0dLnYKB8cKsxQc17QOAVIphPLDw==
7586-
dependencies:
7587-
debug "^3.0.0"
7588-
75897582
webpack@^5.12:
75907583
version "5.18.0"
75917584
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.18.0.tgz#bbcf13094aa0da0534d513f27d7ee72d74e499c6"

0 commit comments

Comments
 (0)