Обновлен Sculpin
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -5,7 +5,7 @@ build-assets: | ||||
| 	./tools/npm run build | ||||
|  | ||||
| build-site: | ||||
| 	./tools/sculpin generate --clean --env=dev --no-interaction | ||||
| 	./tools/sculpin generate --clean --env=dev --no-interaction -vvv | ||||
|  | ||||
| build: build-site build-assets | ||||
|  | ||||
|   | ||||
| @@ -1,15 +1,15 @@ | ||||
| <?php | ||||
|  | ||||
| use Homepage\HtmlPrettierBundle\HtmlPrettierBundle; | ||||
| use Nickpeirson\Sculpin\Bundle\SitemapBundle\SculpinSitemapBundle; | ||||
| //use Nickpeirson\Sculpin\Bundle\SitemapBundle\SculpinSitemapBundle; | ||||
| use Sculpin\Bundle\SculpinBundle\HttpKernel\AbstractKernel; | ||||
|  | ||||
| class SculpinKernel extends AbstractKernel | ||||
| { | ||||
|     protected function getAdditionalSculpinBundles() | ||||
|     protected function getAdditionalSculpinBundles(): array | ||||
|     { | ||||
|         return [ | ||||
|             SculpinSitemapBundle::class, | ||||
| //            SculpinSitemapBundle::class, | ||||
|             HtmlPrettierBundle::class, | ||||
|         ]; | ||||
|     } | ||||
|   | ||||
| @@ -1,3 +1,16 @@ | ||||
| sculpin: | ||||
|   ignore: | ||||
|     - _assets/ | ||||
|  | ||||
| sculpin_content_types: | ||||
|   posts: | ||||
|     enabled: false | ||||
|   albums: | ||||
|     type: path | ||||
|     path: _albums | ||||
|     singular_name: album | ||||
|     layout: internal | ||||
|     permalink: albums/:basename/ | ||||
|     enabled: true | ||||
|     taxonomies: | ||||
|       - tags | ||||
|   | ||||
| @@ -6,5 +6,4 @@ use Symfony\Component\HttpKernel\Bundle\Bundle; | ||||
|  | ||||
| class HtmlPrettierBundle extends Bundle | ||||
| { | ||||
|     public const class_name = __CLASS__; | ||||
| } | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| services: | ||||
|  | ||||
|   homepage.html_prettier: | ||||
|     class: \Homepage\HtmlPrettierBundle\HtmlPrettier | ||||
|     tags: | ||||
|       - { name: kernel.event_subscriber } | ||||
|     public: yes | ||||
|   | ||||
| @@ -11,10 +11,9 @@ | ||||
|     "require": { | ||||
|     }, | ||||
|     "require-dev": { | ||||
|         "nickpeirson/sculpin-sitemap-bundle": "^0.1.1", | ||||
|         "sculpin/sculpin": "dev-develop", | ||||
|         "gajus/dindent": "^2.0", | ||||
|         "friendsofphp/php-cs-fixer": "^2.12" | ||||
|         "friendsofphp/php-cs-fixer": "^2.12", | ||||
|         "sculpin/sculpin": "3.0.0-rc1" | ||||
|     }, | ||||
|     "autoload": { | ||||
|         "psr-4": { | ||||
|   | ||||
							
								
								
									
										645
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										645
									
								
								composer.lock
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user