Skip to content

Commit d625be5

Browse files
committed
Alternative approach of fetching custom modules via composer
1 parent ae357ac commit d625be5

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

composer.json

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,31 @@
1414
"type": "composer",
1515
"url": "https://asset-packagist.org"
1616
},
17-
"os2web_simplesaml": {
18-
"type": "github",
19-
"url": "https://github.com/OS2web/os2web_simplesaml",
20-
"no-api": true
17+
{
18+
"type": "package",
19+
"package": {
20+
"name": "os2web/os2web_simplesaml",
21+
"version": "2.0",
22+
"type":"drupal-module",
23+
"source": {
24+
"url": "https://github.com/OS2web/os2web_simplesaml",
25+
"type": "git",
26+
"reference": "8.x"
27+
}
28+
}
2129
},
22-
"os2web_simplesaml_checklist": {
23-
"type": "github",
24-
"url": "https://github.com/OS2web/os2web_simplesaml_checklist",
25-
"no-api": true
30+
{
31+
"type": "package",
32+
"package": {
33+
"name": "os2web/os2web_simplesaml_checklist",
34+
"version": "2.0",
35+
"type":"drupal-module",
36+
"source": {
37+
"url": "https://github.com/OS2web/os2web_simplesaml_checklist",
38+
"type": "git",
39+
"reference": "8.x"
40+
}
41+
}
2642
}
2743
},
2844
"require": {
@@ -51,7 +67,7 @@
5167
"drupal/token": "^1.5",
5268
"drupal/entity": "^1.0-rc3",
5369
"drupal/admin_toolbar": "^2.0",
54-
"os2web/os2web_simplesaml": "8.x-dev",
55-
"os2web/os2web_simplesaml_checklist": "8.x-dev"
70+
"os2web/os2web_simplesaml": "^2.0",
71+
"os2web/os2web_simplesaml_checklist": "^2.0",
5672
}
5773
}

0 commit comments

Comments
 (0)