Skip to content

Commit 697b51a

Browse files
authored
Merge pull request #6 from dathbe/development
Development
2 parents 7a1fe31 + da11f1d commit 697b51a

7 files changed

Lines changed: 987 additions & 19 deletions

File tree

.github/workflow/automated-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Automated Tests
22
on:
33
push:
4-
branches: [master, develop]
4+
branches: [main, development]
55
pull_request:
6-
branches: [master, develop]
6+
branches: [main, development]
77

88
permissions:
99
contents: read

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Dependency directories
2+
node_modules/
3+
jspm_packages/
4+
15
# Logs
26
logs
37
*.log
@@ -38,10 +42,6 @@ bower_components
3842
# Compiled binary addons (https://nodejs.org/api/addons.html)
3943
build/Release
4044

41-
# Dependency directories
42-
node_modules/
43-
jspm_packages/
44-
4545
# Snowpack dependency directory (https://snowpack.dev/)
4646
web_modules/
4747

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.0.4](https://github.com/dathbe/MMM-CustomText/compare/1.0.3...v1.0.4) - 2025-05-06
8+
9+
- Bump dev dependencies versions
10+
- Update logging
11+
712
## [1.0.3](https://github.com/dathbe/MMM-CustomText/compare/1.0.2...v1.0.3) - 2025-04-24
813

914
- Bump devDependencies versions

MMM-CustomText.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Module.register('MMM-CustomText', {
2121

2222
// Define start sequence.
2323
start() {
24+
Log.info('Starting module: ' + this.name)
25+
2426
this.notification = false
2527
this.messageText = this.config.initialMessage
2628
},
@@ -40,7 +42,7 @@ Module.register('MMM-CustomText', {
4042

4143
notificationReceived(notification, payload, sender) {
4244
if (notification === 'CUSTOMTEXT_UPDATE' && (payload.uniqueID == this.config.uniqueID || !this.config.uniqueID)) {
43-
Log.debug(`Received notification: ${notification} with payload.message: ${payload.message} from sender: ${sender}`)
45+
Log.debug(`[MMM-CustomText] Received notification: ${notification} with payload.message: ${payload.message} from sender: ${sender}`)
4446
this.messageText = payload.message
4547
this.notification = true
4648
this.updateDom(this.config.animationSpeed)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ The main differences between this and [MMM-CustomMessage](https://github.com/jpc
88

99
Suggestions are welcome.
1010

11+
[![Platform](https://img.shields.io/badge/platform-MagicMirror²-informational)](https://MagicMirror.builders)
12+
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE.md)
13+
1114
## Installation
1215

1316
```bash

0 commit comments

Comments
 (0)