SychO Thanks for replying!
Yes, that's what I suspected.
The path to the extension is the following:
packages\mbl\flarum-hello-world
Here's the composer file generated by the flarum-cli init command (which is located in the extension folder mentioned above):
{
"name": "mbl/flarum-hello-world",
"description": "Testing first extension",
"keywords": [
"flarum"
],
"type": "flarum-extension",
"license": "CC-BY-NC-ND-2.0",
"require": {
"flarum/core": "^1.2.0"
},
"authors": [
{
"name": "Mike Lundahl",
"email": "mike@madebylundahl.com",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"Mbl\\FlarumHelloWorld\\": "src/"
}
},
"extra": {
"flarum-extension": {
"title": "Flarum-hello-world",
"category": "",
"icon": {
"name": "",
"color": "",
"backgroundColor": ""
}
},
"flarum-cli": {
"modules": {
"admin": true,
"forum": true,
"js": true,
"jsCommon": true,
"css": true,
"locale": true,
"gitConf": true,
"githubActions": true,
"prettier": true,
"typescript": true,
"bundlewatch": false,
"backendTesting": true,
"editorConfig": true,
"styleci": true
}
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload-dev": {
"psr-4": {
"Mbl\\FlarumHelloWorld\\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"
},
"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."
},
"require-dev": {
"flarum/testing": "^1.0.0"
}
}