Closed bnomei closed 6 years ago
Yeah, there is no 4.0 release yet. I'm still waiting for the Kirby guys to resolve my pull request.
i see but...
composer require mzur/kirby-uniform:"dev-master as 4.0.0"
fails as well.
Problem 1
- Installation request for mzur/kirby-uniform dev-master as 4.0.0 -> satisfiable by mzur/kirby-uniform[dev-master].
- mzur/kirby-uniform dev-master requires getkirby/cms dev-develop || >=3.0.0-beta-4.2 -> no matching package found.
for my plugins i am using
"require": {
"getkirby/cms": "dev-master as 3.0.0"
},
https://github.com/bnomei/kirby3-autoid/blob/master/composer.json#L28
and
"minimum-stability": "beta"
because of this... https://github.com/k-next/devkit/blob/master/composer.json#L13
I've never seen a syntax like dev-master as 4.0.0
before. Can you point me to where it is documented? As far as I know you have to use just dev-master
instead.
You can also use @beta
to override the minimum stability settings for a package (example). But this would not work for Uniform yet as there is not even a 4.0 beta.
its a shorthand, usefull in terminal when calling require
, for an alias.
the dev-master as 3.0.0
is for the getkirby/cms requirement. and yes for uniform i could just use dev-master
but i wanted to hint that using 3.x
will not work.
and yes as well – alias are considered bad practice and i will stop using them once kirby next is released.
about beta
in plugins coomposer.json: thats needed to make the plugin install with the kirby devkit which is flagged as beta. composer will reject the require otherwise.
i tried using the zip and call composer there but requirements kirby-form and kirby-flash also have the same setup. i can not get it to work with the devkit oneway or the other.
Try installing getkirby/cms:>=3.0.0-beta-4.2
(from the beta releases in the Notion journal) and then install Uniform with mzur/uniform:dev-master
.
solved it: using dev-master
for getkirby/cms
and kirby-uniform
does work with my and @omz13 plugins.
"require": {
"getkirby/cms": "dev-master",
"bnomei/kirby3-feed": "^1.0",
"omz13/kirby3-xmlsitemap": "^0.4.4",
"mzur/kirby-uniform": "dev-master"
}
composer require mzur/kirby-uniform:^4.0