There was an error while loading. Please reload this page.
1 parent ac637e0 commit ea6b8bcCopy full SHA for ea6b8bc
2 files changed
src/themes/leaf3/composer.json
@@ -1,5 +1,5 @@
1
{
2
"require": {
3
- "leafs/leaf": "5.0-alpha"
+ "leafs/leaf": "^5.0"
4
}
5
tests/commands.test.php
@@ -92,3 +92,11 @@
92
93
expect(substr_count($banner, trim($version)))->toBe(1);
94
});
95
+
96
+test('the lite theme requires stable leaf', function () {
97
+ $theme = json_decode(file_get_contents(dirname(__DIR__) . '/src/themes/leaf3/composer.json'), true);
98
99
+ // the lite preset copies this file into new projects — an exact or
100
+ // pre-release pin here breaks `leaf create --lite` for everyone
101
+ expect($theme['require']['leafs/leaf'])->toStartWith('^');
102
+});
0 commit comments