Skip to content

Commit

Permalink
Minimum version constraint for Composer scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Feb 26, 2024
1 parent 59a3e82 commit 82df330
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- Composer installation commands suggested by the Plugin Store now include a minimum version constraint.
- Fixed a bug where it wasn’t possible to eager-load Matrix block revisions, or load them via GraphQL. ([#14448](https://github.com/craftcms/cms/issues/14448))

## 4.7.4 - 2024-02-22
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/pluginstore/dist/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/pluginstore/dist/css/app.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/pluginstore/dist/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/pluginstore/dist/js/app.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@
{
name: 'Shell',
handle: 'shell',
copyValue: `composer require ${this.plugin.packageName} -w && php craft plugin/install ${this.plugin.handle}`,
copyValue: `composer require "${this.plugin.packageName}:^${this.plugin.version}" -w && php craft plugin/install ${this.plugin.handle}`,
},
{
name: 'DDEV',
handle: 'ddev',
copyValue: `ddev composer require ${this.plugin.packageName} -w && ddev craft plugin/install ${this.plugin.handle}`,
copyValue: `ddev composer require "${this.plugin.packageName}:^${this.plugin.version}" -w && ddev craft plugin/install ${this.plugin.handle}`,
},
];
},
Expand Down

0 comments on commit 82df330

Please sign in to comment.