Skip to content

Commit 2bc8980

Browse files
committed
bug #902 next stimulus-bridge will actually be 2.0 (weaverryan)
This PR was merged into the main branch. Discussion ---------- next stimulus-bridge will actually be 2.0 Discussing with @tgalopin, to make life simpler (and more semver, even though stimulus-bridge is experimental), the stimulus-bridge that contains the plugin/loader changes will be 2.0. Commits ------- 34df603 next stimulus-bridge will actually be 2.0
2 parents d549499 + 34df603 commit 2bc8980

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/plugins/stimulus-bridge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = function(plugins, webpackConfig) {
2828
loaderFeatures.ensurePackagesExistAndAreCorrectVersion('stimulus');
2929

3030
const version = packageHelper.getPackageVersion('@symfony/stimulus-bridge');
31-
if (semver.satisfies(version, '^1.2.0')) {
31+
if (semver.satisfies(version, '^2.0.0')) {
3232
// package is new and doesn't require this plugin
3333

3434
return;

test/functional.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@ module.exports = {
19201920
const appDir = testSetup.createTestAppDir();
19211921

19221922
const version = packageHelper.getPackageVersion('@symfony/stimulus-bridge');
1923-
if (!semver.satisfies(version, '^1.2.0')) {
1923+
if (!semver.satisfies(version, '^2.0.0')) {
19241924
// we support the old version, but it's not tested
19251925
this.skip();
19261926

0 commit comments

Comments
 (0)