Skip to content

Commit dd09c9c

Browse files
committed
Prepare bundle rework.
1 parent 37569e0 commit dd09c9c

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

composer.json

+16-17
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name":"metamodels/attribute_select",
33
"description":"MetaModels attribute for selects",
44
"keywords":["contao", "metamodels", "attribute", "select", "nontranslatable"],
5-
"type":"contao-module",
5+
"type":"contao-bundle",
66
"homepage":"http://now.metamodel.me/",
77
"license":"LGPL-3.0+",
88
"authors":[
@@ -26,42 +26,41 @@
2626
"source":"https://github.com/MetaModels/attribute_select"
2727
},
2828
"require":{
29-
"php": ">=5.4",
30-
"contao/core": "^3.5.5",
31-
"contao-community-alliance/composer-plugin": "~2.0",
32-
"contao-community-alliance/dc-general": "~2.0@beta",
33-
"metamodels/core":"~2.0@alpha"
29+
"php": ">=5.6",
30+
"contao/core-bundle": "^4.4",
31+
"contao-community-alliance/dc-general": "~2.1@dev",
32+
"metamodels/core": "~2.1@dev",
33+
"symfony/dependency-injection": "^3.3",
34+
"symfony/http-kernel": "^3.3"
3435
},
3536
"require-dev": {
3637
"cyberspectrum/contao-toolbox": "~0.6",
37-
"phpcq/all-tasks": "~1.1",
38-
"metamodels/base-unit-tests": "~1.0"
38+
"phpcq/all-tasks": "~1.2",
39+
"contao/manager-plugin": "~2.1"
3940
},
4041
"autoload": {
41-
"psr-0": {
42-
"MetaModels\\": "src"
42+
"psr-4": {
43+
"MetaModels\\AttributeSelectBundle\\": "src"
4344
}
4445
},
4546
"autoload-dev": {
46-
"psr-0": {
47-
"MetaModels\\Test\\": "tests"
47+
"psr-4": {
48+
"MetaModels\\AttributeSelectBundle\\Test\\": "tests"
4849
}
4950
},
5051
"extra":{
52+
"contao-manager-plugin": "MetaModels\\AttributeSelectBundle\\ContaoManager\\Plugin",
5153
"contao": {
52-
"sources":{
53-
"contao": "system/modules/metamodelsattribute_select"
54-
},
5554
"transifex": {
5655
"project": "metamodels",
5756
"prefix": "attribute_select-",
58-
"languages_cto": "contao/languages",
57+
"languages_cto": "src/Resourcescontao/languages",
5958
"languages_tx": ".tx"
6059
}
6160
},
6261
"branch-alias": {
6362
"dev-master": "2.0.x-dev",
64-
"dev-develop": "2.1.x-dev"
63+
"dev-feature/contao4": "2.1.x-dev"
6564
}
6665
}
6766
}

0 commit comments

Comments
 (0)