File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1+ # v1.5.1
2+ ## 03/17/2021
3+
4+ 1 . [ ] ( #improved )
5+ * Clearer instructions for composer initialization [ #62 ] ( https://github.com/getgrav/grav-plugin-devtools/pull/62 )
6+ * Comment out autoload subscription event by default now that Grav 1.7 is out [ #62 ] ( https://github.com/getgrav/grav-plugin-devtools/pull/62 )
7+
18# v1.5.0
29## 02/18/2021
310
Original file line number Diff line number Diff line change 11name : DevTools
22slug : devtools
33type : plugin
4- version : 1.5.0
4+ version : 1.5.1
55description : Plugin and Theme scaffolding utilities
66icon : cogs
77author :
@@ -14,7 +14,7 @@ bugs: https://github.com/getgrav/grav-plugin-devtools/issues
1414license : MIT
1515
1616dependencies :
17- - { name: grav, version: '>=1.6 .0' }
17+ - { name: grav, version: '>=1.7 .0' }
1818
1919form :
2020 validation : strict
Original file line number Diff line number Diff line change @@ -244,7 +244,7 @@ protected function createComponent(): bool
244244 $ this ->output ->writeln ('Path: <cyan> ' . $ component_folder . '</cyan> ' );
245245 $ this ->output ->writeln ('' );
246246 if ($ type === 'plugin ' ) {
247- $ this ->output ->writeln ('<yellow>Make sure to run `composer update` to initialize the autoloader</yellow> ' );
247+ $ this ->output ->writeln ('<yellow>Please run `cd user/plugins/ ' . $ name . ' ` and `composer update` to initialize the autoloader</yellow> ' );
248248 $ this ->output ->writeln ('' );
249249 }
250250
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ class {{ component.name|camelize }}Plugin extends Plugin
2424 {
2525 return [
2626 ' onPluginsInitialized' => [
27- [' autoload' , 100000 ], // TODO: Remove when plugin requires Grav >=1.7
27+ // Uncomment following line when plugin requires Grav < 1.7
28+ // ['autoload', 100000],
2829 [' onPluginsInitialized' , 0 ]
2930 ]
3031 ];
You can’t perform that action at this time.
0 commit comments