Capitalize the name of the module, because module names are proper nouns.
Also according to Drupal standards, modules should include dependencies in the .info.yml file.
Dependencies should be namespaced in the format {project}:{module}, where {project} is the project name as it appears in the Drupal.org URL (e.g. drupal.org/project/views) and {module} is the module's machine name.
https://www.drupal.org/docs/8/creating-custom-modules/let-drupal-8-know-...
Patch to follow, thanks!

CommentFileSizeAuthor
#2 dark_mode-info-3016789-2.patch348 bytesalonaoneill

Comments

alonaoneill created an issue. See original summary.

alonaoneill’s picture

Assigned: alonaoneill » Unassigned
Status: Active » Needs review
StatusFileSize
new348 bytes

I uploaded a patch that Capitalize the name of the module and dependency namespacing in the .info.yml file.
Thanks!

daggerhart’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies cleanly. Tested on simplytest and now the module name appears in capital letters.

rajveergangwar’s picture

@daggerhart and @alonaoneill

1st thanks alonaoneill for identifying the issue and thanks doggerhart for reviewing the patch.

Can you please tell how can i apply patch to uploaded module and assign credit to alonaoneill.

rajveergangwar’s picture

Issue has been fixed to 8.x-3.x-dev and created new release 8.x-4.1

rajveergangwar’s picture

Status: Reviewed & tested by the community » Fixed

Issue has been fixed on 8.x-3.x-dev and above release

rajveergangwar’s picture

Status: Fixed » Closed (fixed)