mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
e771b908d5
Seems composer has a vulnerability, see https://github.com/advisories/GHSA-7c6p-848j-wh5h Affected versions >= 2.0.0-alpha1, < 2.2.23 -- patched in 2.2.23 >= 2.3.0-rc1, < 2.7.0 -- patched in 2.7.0 --- Let's raise the minimum to enforce the latest. Thank you @peopleinside for reporting this.
107 lines
3.1 KiB
JSON
Executable File
107 lines
3.1 KiB
JSON
Executable File
{
|
|
"name": "flarum/extension-manager",
|
|
"description": "An extension manager to install, update and remove extension packages from the interface (Wrapper around composer).",
|
|
"keywords": [
|
|
"extensions",
|
|
"composer",
|
|
"packages",
|
|
"manager",
|
|
"updater"
|
|
],
|
|
"type": "flarum-extension",
|
|
"license": "MIT",
|
|
"authors": [
|
|
{
|
|
"name": "Flarum",
|
|
"email": "info@flarum.org",
|
|
"homepage": "https://flarum.org/team"
|
|
}
|
|
],
|
|
"support": {
|
|
"issues": "https://github.com/flarum/framework/issues",
|
|
"source": "https://github.com/flarum/extension-manager"
|
|
},
|
|
"require": {
|
|
"flarum/core": "^2.0",
|
|
"composer/composer": "^2.7"
|
|
},
|
|
"require-dev": {
|
|
"flarum/testing": "^2.0",
|
|
"flarum/tags": "*"
|
|
},
|
|
"extra": {
|
|
"flarum-extension": {
|
|
"title": "Extension Manager",
|
|
"icon": {
|
|
"name": "fas fa-box-open",
|
|
"backgroundColor": "#117187",
|
|
"color": "#fff"
|
|
}
|
|
},
|
|
"flarum-cli": {
|
|
"excludeScaffolding": [
|
|
".github/workflows/backend.yml",
|
|
"js/src/admin/index.ts",
|
|
"tests/phpunit.integration.xml",
|
|
"tests/integration/setup.php"
|
|
],
|
|
"excludeScaffoldingConfigKeys": {
|
|
"composer.json": [
|
|
"scripts.test:setup"
|
|
]
|
|
},
|
|
"modules": {
|
|
"admin": true,
|
|
"forum": false,
|
|
"js": true,
|
|
"jsCommon": false,
|
|
"css": true,
|
|
"gitConf": true,
|
|
"githubActions": true,
|
|
"prettier": true,
|
|
"typescript": true,
|
|
"bundlewatch": false,
|
|
"backendTesting": true,
|
|
"editorConfig": true,
|
|
"styleci": true
|
|
}
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Flarum\\ExtensionManager\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Flarum\\ExtensionManager\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": [
|
|
"@test:unit",
|
|
"@test:integration"
|
|
],
|
|
"test:unit": "phpunit -c tests/phpunit.unit.xml",
|
|
"test:integration": "phpunit -c tests/phpunit.integration.xml",
|
|
"test:setup": [
|
|
"@php tests/integration/setup.php",
|
|
"cd ${FLARUM_TEST_TMP_DIR_LOCAL:-${FLARUM_TEST_TMP_DIR:-./tests/integration/tmp}} && composer install"
|
|
]
|
|
},
|
|
"scripts-descriptions": {
|
|
"test": "Runs all tests.",
|
|
"test:unit": "Runs all unit tests.",
|
|
"test:integration": "Runs all integration tests.",
|
|
"test:setup": "Sets up a database for use with integration tests. Execute this only once."
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"repositories": [
|
|
{
|
|
"type": "path",
|
|
"url": "../../*/*"
|
|
}
|
|
]
|
|
}
|