Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-substantive changes to conform to recommendations #43

Merged
merged 10 commits into from
May 13, 2024
Merged

Non-substantive changes to conform to recommendations #43

merged 10 commits into from
May 13, 2024

Conversation

dathbe
Copy link
Contributor

@dathbe dathbe commented Mar 25, 2024

Non-substantive changes as recommended here https://github.com/KristjanESPERANTO/MagicMirror-3rd-Party-Modules/blob/main/result.md#MMM-MoonPhase-by-NolanKingdon

They also recommend:

  • replacing the deprecated grunt references in package.json with "something better"
  • replacing eslintrc with a "flat config"
  • Changing the primary branch name to main

Update: I don't recommend changing the branch name as it will mess with git pull

Add repository info
Add keywords
michmich > magicmirror
new Date() >new Date(Date.now())
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
Add keyword
@dathbe
Copy link
Contributor Author

dathbe commented Mar 26, 2024

Added astronomy (which has the added benefit of fixing the trailing comma)

package.json Outdated Show resolved Hide resolved
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this file being used anywhere - Is it different from 2023-09-15-example-moons.png?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I duplicated one of the images and gave it a filename that would make it show up as the thumbnail here https://kristjanesperanto.github.io/MagicMirror-3rd-Party-Modules/. Probably not "used" anywhere.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this PR in its current state, the image for this module will not change in the new module list. The first image containing the word "example" would be used there, and that would still be 2019-06-22-example-moons.png.

I think it would be best to remove all unused images and leave only the used one. This will be used in the list 🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh...containing the word "example". I thought it had to start with that word. Will make the change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Though I just renamed the old image in case you ever have a need for it again.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good, with that you could remove example1.png 🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did that, but forgot to commit. Committed now.

@NolanKingdon
Copy link
Owner

replacing the deprecated grunt references in package.json with "something better"

Grunt is actually unused and references to it within package.json can be removed entirely. I think it came as a part of the test framework in the module template I copied to start this repo.

If you wanted to do that in this PR I'd appreciate it.

Remove grunt
@dathbe
Copy link
Contributor Author

dathbe commented Apr 12, 2024

If you wanted to do that in this PR I'd appreciate it.

Done.

@NolanKingdon NolanKingdon merged commit 23475b3 into NolanKingdon:master May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants