Skip to content

Commit d6f2ed9

Browse files
committed
Configure plugin to be installed with Kirby Composer Installer
1 parent 6b0fcc1 commit d6f2ed9

4 files changed

Lines changed: 246 additions & 246 deletions

File tree

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
*.sublime-*
2+
composer.lock
3+
.phpunit.result.cache
4+
5+
# files of Composer dependencies that are not needed for the plugin
16
vendor/*
27
!vendor/composer
38
!vendor/mzur/kirby-form
49
!vendor/mzur/kirby-flash
510
!vendor/autoload.php
6-
*.sublime-*
7-
composer.lock
8-
.phpunit.result.cache

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mzur/kirby-uniform",
33
"description": "A versatile Kirby plugin to handle web form actions.",
4-
"type": "library",
4+
"type": "kirby-plugin",
55
"license": "GPL-2.0-or-later",
66
"keywords": ["kirby", "form"],
77
"authors": [
@@ -16,7 +16,8 @@
1616
"docs": "http://kirby-uniform.readthedocs.io"
1717
},
1818
"require": {
19-
"mzur/kirby-form": "^3.0"
19+
"mzur/kirby-form": "^3.0",
20+
"getkirby/composer-installer": "^1.2"
2021
},
2122
"require-dev": {
2223
"phpunit/phpunit": "^9.0",
@@ -37,10 +38,8 @@
3738
"Uniform\\Tests\\": "tests/"
3839
}
3940
},
40-
"extra": {
41-
"kirby-cms-path": "vendor/getkirby/kirby"
42-
},
4341
"config": {
42+
"optimize-autoloader": true,
4443
"allow-plugins": {
4544
"getkirby/composer-installer": true
4645
}

config.php

Lines changed: 0 additions & 237 deletions
This file was deleted.

0 commit comments

Comments
 (0)