Skip to content

Commit 4523c86

Browse files
committed
Update packages, add ergebnis/composer-normalize
1 parent 399259a commit 4523c86

File tree

2 files changed

+646
-149
lines changed

2 files changed

+646
-149
lines changed

composer.json

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"name": "wp-languages/wp-languages.github.io",
33
"description": "Composer language packs for WordPress translations. This includes translations for core and official themes and few plugins.",
4+
"license": "MIT",
5+
"type": "library",
46
"keywords": [
57
"package",
68
"repository",
@@ -9,11 +11,6 @@
911
"languages",
1012
"gh-pages"
1113
],
12-
"homepage": "https://wp-languages.github.io/",
13-
"issues": "https://github.com/wp-languages/wp-languages.github.io/issues",
14-
"forum": "https://discourse.roots.io/t/install-update-wordpress-languages-with-composer/2021",
15-
"type": "library",
16-
"license": "MIT",
1714
"authors": [
1815
{
1916
"name": "Onni Hakala",
@@ -24,11 +21,31 @@
2421
"homepage": "https://github.com/ivuorinen"
2522
}
2623
],
24+
"homepage": "https://wp-languages.github.io/",
25+
"require": {
26+
"php": "^7.4 || >=8",
27+
"ext-json": "*",
28+
"composer/satis": "^1.0",
29+
"illuminate/collections": "^8.55",
30+
"rmccue/requests": "^1.8"
31+
},
32+
"require-dev": {
33+
"ergebnis/composer-normalize": "^2.25"
34+
},
35+
"bin": [
36+
"bin/cache"
37+
],
38+
"config": {
39+
"allow-plugins": {
40+
"ergebnis/composer-normalize": true
41+
}
42+
},
2743
"scripts": {
28-
"run-all": [
29-
"@cleanup",
30-
"@cache",
31-
"@build"
44+
"build": "@php -d memory_limit=-1 ./vendor/bin/satis build ./satis.json ./docs/",
45+
"build-ci": "@php -d memory_limit=-1 ./vendor/bin/satis build ./satis.json ./",
46+
"cache": [
47+
"Composer\\Config::disableProcessTimeout",
48+
"@php ./bin/cache"
3249
],
3350
"cache-build": [
3451
"@cache",
@@ -39,21 +56,12 @@
3956
"@build-ci"
4057
],
4158
"cleanup": "rm ./cache/*.json",
42-
"cache": [
43-
"Composer\\Config::disableProcessTimeout",
44-
"@php ./bin/cache"
45-
],
46-
"build": "@php -d memory_limit=-1 ./vendor/bin/satis build ./satis.json ./docs/",
47-
"build-ci": "@php -d memory_limit=-1 ./vendor/bin/satis build ./satis.json ./"
59+
"run-all": [
60+
"@cleanup",
61+
"@cache",
62+
"@build"
63+
]
4864
},
49-
"bin": [
50-
"bin/cache"
51-
],
52-
"require": {
53-
"php": ">=7.3||>=8",
54-
"composer/satis": "^1.0",
55-
"rmccue/requests": "^1.8",
56-
"illuminate/collections": "^8.55",
57-
"ext-json": "*"
58-
}
65+
"forum": "https://discourse.roots.io/t/install-update-wordpress-languages-with-composer/2021",
66+
"issues": "https://github.com/wp-languages/wp-languages.github.io/issues"
5967
}

0 commit comments

Comments
 (0)