set module ids

This commit is contained in:
Daniel Seifert 2023-12-08 14:37:49 +01:00
parent 12099309ba
commit 23066e7a1d
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F
2 changed files with 10 additions and 8 deletions

View File

@ -1,12 +1,13 @@
{ {
"name": "d3/modulename", "name": "d3/smtpchecker",
"description": "the module description", "description": "SMTP checker",
"type": "oxideshop-module", "type": "oxideshop-module",
"keywords": [ "keywords": [
"oxid", "oxid",
"modules", "modules",
"eShop", "eShop",
"d3" "d3",
"testing"
], ],
"authors": [ "authors": [
{ {
@ -25,7 +26,8 @@
], ],
"require": { "require": {
"php": ">=7.3", "php": ">=7.3",
"oxid-esales/oxideshop-ce": "6.8 - 6.10" "oxid-esales/oxideshop-ce": "6.8 - 6.14",
"pear/net_smtp": "^1.11"
}, },
"require-dev": { "require-dev": {
"php": "^7.4", "php": "^7.4",
@ -43,12 +45,12 @@
"*.xml", "*.xml",
"*.neon" "*.neon"
], ],
"target-directory": "d3/thismodule" "target-directory": "d3/smtpchecker"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"D3\\ThisModule\\": "../../../source/modules/d3/thismodule" "D3\\SMTPChecker\\": "../../../source/modules/d3/smtpchecker"
} }
}, },
"scripts": { "scripts": {

View File

@ -15,7 +15,7 @@ declare(strict_types=1);
$sMetadataVersion = '2.1'; $sMetadataVersion = '2.1';
$sModuleId = 'd3moduleid'; $sModuleId = 'd3smtpchecker';
$logo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em">'; $logo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em">';
/** /**
@ -23,7 +23,7 @@ $logo = '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="he
*/ */
$aModule = [ $aModule = [
'id' => $sModuleId, 'id' => $sModuleId,
'title' => $logo.' Module Name', 'title' => $logo.' SMTP Checker',
'description' => [ 'description' => [
'de' => '', 'de' => '',
'en' => '', 'en' => '',