forked from helsingborg-stad/Municipio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
116 lines (116 loc) · 4.73 KB
/
Copy pathcomposer.json
File metadata and controls
116 lines (116 loc) · 4.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "helsingborg-stad/municipio",
"description": "A bootstrap theme for creating municipality sites.",
"license": "MIT",
"type": "wordpress-theme",
"minimum-stability": "stable",
"authors": [
{
"name": "Kristoffer Svanmark",
"email": "kristoffer.svanmark@lexiconitkonsult.se"
},
{
"name": "Sebastian Thulin",
"email": "sebastian.thulin@helsingborg.se"
}
],
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "https://github.com/helsingborg-stad/acf-export-manager.git"
}
],
"require": {
"php": "^8.2",
"composer/installers": "^2.3",
"symfony/polyfill-mbstring": "v1.38.1",
"helsingborg-stad/acf-export-manager": ">=1.0.0",
"pragmarx/ia-arr": "^7.3",
"symfony/polyfill-php80": "v1.37.0",
"dompdf/dompdf": "v3.1.5",
"helsingborg-stad/wpservice": "^2.0",
"helsingborg-stad/acfservice": "^1.0.0",
"helsingborg-stad/schema-library": "0.5.7",
"johannheyne/advanced-custom-fields-table-field": "dev-master",
"clark-nikdel-powell/post-type-select-for-acf": "dev-master",
"jeradin/acf-website-field": "dev-master",
"ooksanen/acf-focuspoint": "^1.2.1",
"jeradin/acf-dynamic-table-field": "dev-master",
"enshrined/svg-sanitize": "dev-master",
"helsingborg-stad/acf-select-image-field": "1.6.1",
"landrok/language-detector": "dev-master",
"league/commonmark": "2.8.2",
"league/config": "v1.2.0",
"helsingborg-stad/component-library": "5.21.9",
"freshleafmedia/autofocus": "^1.0",
"astrotomic/php-deepface": "^0.4.0",
"helsingborg-stad/kirki": "^5.2",
"helsingborg-stad/wputilservice": "^0.2.44",
"helsingborg-stad/styleguide": "2.258.7"
},
"scripts": {
"test": "php -d memory_limit=512M vendor/bin/phpunit --no-coverage",
"test:coverage": "XDEBUG_MODE=coverage php -d memory_limit=512M vendor/bin/phpunit",
"lint": "vendor/bin/mago lint",
"lint:changed": "git diff --name-only origin/main | xargs vendor/bin/mago lint --",
"fix": "vendor/bin/mago lint --format-after-fix --fix",
"fix:changed": "git diff --name-only origin/main | xargs vendor/bin/mago lint --fix --",
"fix:changed:unsafe": "git diff --name-only origin/main | xargs vendor/bin/mago lint --fix --unsafe --",
"format": "vendor/bin/mago fmt",
"post-update-cmd": [],
"make-pot": "wp i18n make-pot . languages/municipio.pot --domain=municipio --allow-root --include=library,assets/dist/blocks,Modularity/source/php",
"update-po": "wp i18n update-po languages/municipio.pot languages/sv_SE.po --allow-root",
"make-mo": "wp i18n make-mo languages/sv_SE.po languages/sv_SE.mo --allow-root",
"pin-all-latest": [
"bash -c 'set -euo pipefail; composer outdated --direct --format=json --ignore-platform-req=ext-imagick | jq -c \".installed[] | select(.latest != null and .latest != \\\"[none matched]\\\" and (.latest | startswith(\\\"dev-\\\") | not)) | {name:.name, version:.latest}\" | while read -r row; do PKG=$(echo \"$row\" | jq -r .name); VER=$(echo \"$row\" | jq -r .version); CURRENT=$(jq -r --arg p \"$PKG\" \".require[\\$p] // \\\"\\\"\" composer.json); if [ -z \"$CURRENT\" ]; then echo \"Skipping $PKG (not in root composer.json)\"; elif [[ \"$CURRENT\" == dev-* ]]; then echo \"Skipping $PKG (current version is dev)\"; else echo \"Updating $PKG to $VER\"; jq --arg p \"$PKG\" --arg v \"$VER\" \".require[\\$p] = \\$v\" composer.json > composer.json.tmp && mv composer.json.tmp composer.json; fi; done'",
"composer update --lock --ignore-platform-req=ext-imagick -W"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"phpstan/extension-installer": true,
"carthage-software/mago": true
}
},
"extra": {
"installer-paths": {
"vendor/{$vendor}/{$name}": [
"type:wordpress-muplugin",
"type:wordpress-theme",
"type:wordpress-plugin",
"type:acf-plugin"
]
}
},
"require-dev": {
"helsingborg-stad/phpcs": "^0.3.1",
"php-stubs/wordpress-stubs": "^6.7",
"phpunit/phpunit": "^11.5",
"php-stubs/acf-pro-stubs": "^6.5",
"spatie/phpunit-snapshot-assertions": "dev-main",
"carthage-software/mago": "1.26.0"
},
"autoload": {
"psr-4": {
"Municipio\\": "library/",
"Modularity\\": "Modularity/source/php/",
"Municipio\\Test\\": "Test/"
}
},
"autoload-dev": {
"psr-4": {
"Municipio\\TestUtils\\": "tests/phpunit/TestUtils/"
}
},
"suggest": {
"helsingborg-stad/component-library": "Required for theme to work properly.",
"helsingborg-stad/kirki": "Required for theme to work properly."
}
}