Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Commit a63e37c

Browse files
author
Grant Kinney
committed
Adds piwik submodules using composer
1 parent fe706ff commit a63e37c

File tree

3 files changed

+77
-3
lines changed

3 files changed

+77
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ dist
4646
.vagrant
4747
vendor
4848
plugins/
49+
misc/

composer.json

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,39 @@
22
"name": "creativecoder/piwik-analytics",
33
"type": "project",
44
"repositories": [
5+
{
6+
"type": "package",
7+
"package": {
8+
"name": "piwik/piwik-icons",
9+
"type": "piwik-plugin",
10+
"version": "0.0.2",
11+
"dist": {
12+
"url": "https://github.com/piwik/piwik-icons/archive/master.zip",
13+
"type": "zip"
14+
},
15+
"require": {
16+
"composer/installers": "~1.0"
17+
},
18+
"extra": {
19+
"installer-name": "icons"
20+
}
21+
}
22+
},
23+
{
24+
"type": "package",
25+
"package": {
26+
"name": "piwik/piwik-log-analytics",
27+
"type": "piwik-plugin",
28+
"version": "0.0.1",
29+
"dist": {
30+
"url": "https://github.com/piwik/piwik-log-analytics/archive/master.zip",
31+
"type": "zip"
32+
},
33+
"extra": {
34+
"installer-name": "log-analytics"
35+
}
36+
}
37+
},
538
{
639
"type": "package",
740
"package": {
@@ -56,7 +89,10 @@
5689
"ext-mbstring": "*",
5790
"piwik/plugin-SecurityInfo": "^3.0",
5891
"geoip2/geoip2": "^2.6",
59-
"diabl0/piwik-geoip2": "^0.1.5"
92+
"diabl0/piwik-geoip2": "^0.1.5",
93+
"piwik/piwik-icons": "^0.0",
94+
"piwik/piwik-log-analytics": "^0.0.1",
95+
"composer/installers": "^1.4"
6096
},
6197
"license": "GPL-3.0",
6298
"authors": [
@@ -67,6 +103,12 @@
67103
],
68104
"minimum-stability": "stable",
69105
"scripts": {
70-
"post-install-cmd": "cp -R plugins/* vendor/piwik/piwik/plugins/ && cp index.php vendor/piwik/piwik/ && cp config.ini.php vendor/piwik/piwik/config/"
106+
"post-install-cmd": "cp -R plugins/* vendor/piwik/piwik/plugins/ && cp -R misc/* vendor/piwik/piwik/misc/ && cp -R icons/* vendor/piwik/piwik/plugins/Morpheus/icons/ && cp index.php vendor/piwik/piwik/ && cp config.ini.php vendor/piwik/piwik/config/"
107+
},
108+
"extra": {
109+
"installer-paths": {
110+
"{$name}/": ["piwik/piwik-icons"],
111+
"misc/{$name}": ["piwik/piwik-log-analytics"]
112+
}
71113
}
72114
}

composer.lock

Lines changed: 32 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)