-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
83 lines (83 loc) · 3.34 KB
/
composer.json
File metadata and controls
83 lines (83 loc) · 3.34 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
{
"description": "Use secrets from Google Secrets Manager in NEOS CMS",
"license": "Apache-2.0",
"type": "neos-package",
"name": "codenamephp/googlesecretsmanager",
"require": {
"php": "^8.1",
"neos/flow": "~8.3.0",
"google/cloud-secret-manager": "^1.10"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"neos/buildessentials": "~8.3.0",
"phpunit/phpunit": "^10.0.9"
},
"autoload": {
"psr-4": {
"CodenamePHP\\GoogleSecretsManager\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"CodenamePHP\\GoogleSecretsManager\\Tests\\": "Tests"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"neos/composer-plugin": true
},
"vendor-dir": "Packages/Libraries",
"bin-dir": "bin"
},
"extra": {
"neos": {
"package-key": "CodenamePHP.GoogleSecretsManager"
}
},
"scripts": {
"create-package-symlink": "mkdir -pm777 Packages/Application && rm -f Packages/Application/CodenamePHP.GoogleSecretsManager && ln -sf ./../.. Packages/Application/CodenamePHP.GoogleSecretsManager",
"post-update-cmd": [
"@create-package-symlink",
"Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall"
],
"post-install-cmd": [
"@create-package-symlink",
"Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall"
],
"post-package-update": [
"@create-package-symlink",
"Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall"
],
"post-package-install": [
"@create-package-symlink",
"Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall"
],
"phive-update": "XDEBUG_MODE=off phive update && git add tools/* phive.xml && git commit tools/* -m 'Updated phive dependencies'",
"phpunit:unit": "XDEBUG_MODE=coverage bin/phpunit -c Tests/phpunit.dist.xml Tests/Unit/",
"phpunit:functional": "XDEBUG_MODE=off bin/phpunit -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml --migrate-configuration > /dev/null; XDEBUG_MODE=coverage bin/phpunit -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml Tests/Functional/",
"psalm": "XDEBUG_MODE=off tools/psalm --threads=10 --long-progress --no-diff",
"composer-unused": "XDEBUG_MODE=off tools/composer-unused --no-progress --no-interaction",
"composer-require-checker": "XDEBUG_MODE=off tools/composer-require-checker --no-interaction",
"infection": "XDEBUG_MODE=coverage tools/infection --min-msi=57 --min-covered-msi=89 --threads=4 --no-progress --show-mutations",
"phive:update": "XDEBUG_MODE=off phive update && git add tools/* phive.xml && git commit tools/* -m 'Updated phive dependencies'",
"ci-all": [
"@psalm",
"@composer-unused",
"@phpunit:unit",
"@phpunit:functional",
"@infection"
]
},
"scripts-descriptions": {
"phive-update": "Runs a phive update and commits all tools and the phive.xml so PHPStorm won't run code formatting on the phars",
"phpunit": "Runs phpunit tests",
"psalm": "Runs psalm static analysis",
"composer-unused": "Checks for unused composer packages",
"composer-require-checker": "Checks for missing required composer packages",
"infection": "Creates mutation tests to discover missing test coverage",
"phive:update": "Updates phive dependencies and commits them",
"ci-all": "Runs all ci tools in sequence"
}
}