Skip to content

Commit

Permalink
Merge pull request #90 from Luligu/dev
Browse files Browse the repository at this point in the history
Release 1.0.10
  • Loading branch information
Luligu authored Nov 21, 2024
2 parents 5c49259 + 8cc7099 commit a324add
Show file tree
Hide file tree
Showing 34 changed files with 2,625 additions and 1,950 deletions.
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,29 @@

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

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.
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.

You can also sponsor Tamer here https://buymeacoffee.com/6sjde6vkzl for his invaluable contribution to this project.

## [1.0.10] - 2024-11-21

### Added

- [edge]: Preliminary updates to support Matterbridge edge (matter.js new API).
- [Jest]: Refactor Jest real tests for Gen3 devices
- [Jest]: Refactor Jest mock tests for Gen3 devices
- [Jest]: Added Jest mock tests for shellyswitch25 switch and cover mode

### Changed

- [ShellyCommandHandler]: Refactor shellyCommandHandlers.
- [BTHome]: Update scanBTHomeComponents to the new BLU firmware 1.0.20 (model identification changes from v1.0.18).
- [log]: Show username and password with **** in logs.
- [package]: Updated dependencies.

<a href="https://www.buymeacoffee.com/luligugithub">
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
</a>

## [1.0.9] - 2024-11-11

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ I would like to express my appreciation to [Tamer Salah](https://github.com/tamm
Follow these steps to install or update Matterbridge if it is not already installed and up to date:

```
npm install -g matterbridge
npm install -g matterbridge --omit=dev
```

on Linux you may need the necessary permissions:

```
sudo npm install -g matterbridge
sudo npm install -g matterbridge --omit=dev
```

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

```
cd $HOME\Matterbridge
npm install -g matterbridge-shelly
npm install -g matterbridge-shelly --omit=dev
matterbridge -add matterbridge-shelly
```

On linux:

```
cd ~/Matterbridge
sudo npm install -g matterbridge-shelly
sudo npm install -g matterbridge-shelly --omit=dev
matterbridge -add matterbridge-shelly
```

Expand Down
17 changes: 4 additions & 13 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import eslintPluginPrettier from 'eslint-plugin-prettier/recommended';
export default [
{
name: 'global ignores',
ignores: ['dist/', 'build/', 'node_modules/', 'coverage/', 'frontend/', 'rock-s0/'],
ignores: ['**/dist/', '**/build/', '**/node_modules/', '**/coverage/', '**/frontend/', '**/rock-s0/'],
},
eslint.configs.recommended,
...tseslint.configs.strict,
Expand All @@ -20,13 +20,6 @@ export default [
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
/*
parser: tseslint.parser,
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: import.meta.dirname,
},
*/
},
linterOptions: {
reportUnusedDisableDirectives: 'warn',
Expand All @@ -41,7 +34,7 @@ export default [
{
name: 'javascript',
files: ['**/*.js'],
// ...tseslint.configs.disableTypeChecked,
...tseslint.configs.disableTypeChecked,
},
{
name: 'typescript',
Expand All @@ -66,13 +59,11 @@ export default [
{
name: 'jest',
files: ['**/__test__/*', '**/*.test.ts', '**/*.spec.ts'],
// ...tseslint.configs.disableTypeChecked,
plugins: {
'@typescript-eslint': tseslint.plugin,
jest: jesteslint,
},
rules: {
...jesteslint.configs['flat/recommended'].rules,
},
...tseslint.configs.disableTypeChecked,
...jesteslint.configs['flat/recommended'],
},
];
1 change: 0 additions & 1 deletion link-matterbridge-script.js

This file was deleted.

Loading

0 comments on commit a324add

Please sign in to comment.