Skip to content

Commit a324add

Browse files
authored
Merge pull request #90 from Luligu/dev
Release 1.0.10
2 parents 5c49259 + 8cc7099 commit a324add

34 files changed

Lines changed: 2625 additions & 1950 deletions

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,29 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-shelly and sponsoring it.
5+
If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-shelly and sponsoring it here https://www.buymeacoffee.com/luligugithub.
6+
7+
You can also sponsor Tamer here https://buymeacoffee.com/6sjde6vkzl for his invaluable contribution to this project.
8+
9+
## [1.0.10] - 2024-11-21
10+
11+
### Added
12+
13+
- [edge]: Preliminary updates to support Matterbridge edge (matter.js new API).
14+
- [Jest]: Refactor Jest real tests for Gen3 devices
15+
- [Jest]: Refactor Jest mock tests for Gen3 devices
16+
- [Jest]: Added Jest mock tests for shellyswitch25 switch and cover mode
17+
18+
### Changed
19+
20+
- [ShellyCommandHandler]: Refactor shellyCommandHandlers.
21+
- [BTHome]: Update scanBTHomeComponents to the new BLU firmware 1.0.20 (model identification changes from v1.0.18).
22+
- [log]: Show username and password with **** in logs.
23+
- [package]: Updated dependencies.
24+
25+
<a href="https://www.buymeacoffee.com/luligugithub">
26+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
27+
</a>
628

729
## [1.0.9] - 2024-11-11
830

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ I would like to express my appreciation to [Tamer Salah](https://github.com/tamm
5757
Follow these steps to install or update Matterbridge if it is not already installed and up to date:
5858

5959
```
60-
npm install -g matterbridge
60+
npm install -g matterbridge --omit=dev
6161
```
6262

6363
on Linux you may need the necessary permissions:
6464

6565
```
66-
sudo npm install -g matterbridge
66+
sudo npm install -g matterbridge --omit=dev
6767
```
6868

6969
See the complete guidelines on [Matterbridge](https://github.com/Luligu/matterbridge/blob/main/README.md) for more information.
@@ -107,15 +107,15 @@ On windows:
107107

108108
```
109109
cd $HOME\Matterbridge
110-
npm install -g matterbridge-shelly
110+
npm install -g matterbridge-shelly --omit=dev
111111
matterbridge -add matterbridge-shelly
112112
```
113113

114114
On linux:
115115

116116
```
117117
cd ~/Matterbridge
118-
sudo npm install -g matterbridge-shelly
118+
sudo npm install -g matterbridge-shelly --omit=dev
119119
matterbridge -add matterbridge-shelly
120120
```
121121

eslint.config.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import eslintPluginPrettier from 'eslint-plugin-prettier/recommended';
88
export default [
99
{
1010
name: 'global ignores',
11-
ignores: ['dist/', 'build/', 'node_modules/', 'coverage/', 'frontend/', 'rock-s0/'],
11+
ignores: ['**/dist/', '**/build/', '**/node_modules/', '**/coverage/', '**/frontend/', '**/rock-s0/'],
1212
},
1313
eslint.configs.recommended,
1414
...tseslint.configs.strict,
@@ -20,13 +20,6 @@ export default [
2020
languageOptions: {
2121
ecmaVersion: 'latest',
2222
sourceType: 'module',
23-
/*
24-
parser: tseslint.parser,
25-
parserOptions: {
26-
project: './tsconfig.eslint.json',
27-
tsconfigRootDir: import.meta.dirname,
28-
},
29-
*/
3023
},
3124
linterOptions: {
3225
reportUnusedDisableDirectives: 'warn',
@@ -41,7 +34,7 @@ export default [
4134
{
4235
name: 'javascript',
4336
files: ['**/*.js'],
44-
// ...tseslint.configs.disableTypeChecked,
37+
...tseslint.configs.disableTypeChecked,
4538
},
4639
{
4740
name: 'typescript',
@@ -66,13 +59,11 @@ export default [
6659
{
6760
name: 'jest',
6861
files: ['**/__test__/*', '**/*.test.ts', '**/*.spec.ts'],
69-
// ...tseslint.configs.disableTypeChecked,
7062
plugins: {
7163
'@typescript-eslint': tseslint.plugin,
7264
jest: jesteslint,
7365
},
74-
rules: {
75-
...jesteslint.configs['flat/recommended'].rules,
76-
},
66+
...tseslint.configs.disableTypeChecked,
67+
...jesteslint.configs['flat/recommended'],
7768
},
7869
];

link-matterbridge-script.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)