From 26e10c299cfa78d1ed3f8c5dc4522b87b25e25b3 Mon Sep 17 00:00:00 2001 From: Thomas Steur <tsteur@users.noreply.github.com> Date: Tue, 23 Aug 2016 13:18:06 +1200 Subject: [PATCH] Fix no required Piwik version was defined (#10413) * Fix no required Piwik version was defined * plugins should specify an upper version constraint to the next major version --- plugins/ExamplePlugin/plugin.json | 2 +- plugins/ExampleTheme/plugin.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/ExamplePlugin/plugin.json b/plugins/ExamplePlugin/plugin.json index 4c96cf36c0..fa71469815 100644 --- a/plugins/ExamplePlugin/plugin.json +++ b/plugins/ExamplePlugin/plugin.json @@ -4,7 +4,7 @@ "description": "Piwik Platform showcase: how to create widgets, menus, scheduled tasks, a custom archiver, plugin tests, and a AngularJS component.", "theme": false, "require": { - "piwik": ">=PIWIK_VERSION" + "piwik": ">=PIWIK_VERSION,<3.0.0-b1" }, "authors": [ { diff --git a/plugins/ExampleTheme/plugin.json b/plugins/ExampleTheme/plugin.json index c07d680097..92b17918ec 100644 --- a/plugins/ExampleTheme/plugin.json +++ b/plugins/ExampleTheme/plugin.json @@ -3,6 +3,9 @@ "description": "Piwik Platform showcase: example of how to create a simple Theme.", "version": "0.1.0", "theme": true, + "require": { + "piwik": ">=PIWIK_VERSION,<3.0.0-b1" + }, "stylesheet": "stylesheets/theme.less", "homepage": "", "license": "GPL v3+", -- GitLab