Skip to content

Commit f4507d6

Browse files
authored
Merge pull request #8 from Luligu/dev
Release 1.0.22
2 parents 6cd0973 + 4499182 commit f4507d6

6 files changed

+144
-147
lines changed

.github/workflows/build-matterbridge-plugin.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@ jobs:
3434
run: npm -v
3535

3636
- name: Install matterbridge
37-
run: npm install -g matterbridge
37+
run: npm install -g matterbridge --omit=dev
3838

3939
- name: Install dependencies
4040
run: npm ci
4141

42+
- name: Link matterbridge
43+
run: npm link matterbridge
44+
4245
- name: Lint the project
4346
run: npm run lint
4447

.github/workflows/publish-matterbridge-plugin.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@ jobs:
3131
run: npm -v
3232

3333
- name: Install matterbridge
34-
run: npm install -g matterbridge
34+
run: npm install -g matterbridge --omit=dev
3535

3636
- name: Install dependencies
3737
run: npm ci
3838

39+
- name: Link matterbridge
40+
run: npm link matterbridge
41+
3942
- name: Lint the project
4043
run: npm run lint
4144

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

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

5+
## [1.0.22] - 2024-10-01
6+
7+
### Changed
8+
9+
- [package]: Upgrade to new workflows.
10+
- [package]: Updated dependencies.
11+
12+
<a href="https://www.buymeacoffee.com/luligugithub">
13+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
14+
</a>
15+
516
## [1.0.21] - 2024-09-23
617

718
### Changed

link-matterbridge-script.js

+1-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1 @@
1-
/* eslint-disable no-console */
2-
import { exec } from 'child_process';
3-
4-
const command = process.platform === 'win32' ? 'npm link matterbridge' : 'sudo npm link matterbridge';
5-
6-
exec(command, (error, stdout, stderr) => {
7-
if (error) {
8-
console.error(`exec error: ${error}`);
9-
return;
10-
}
11-
console.log(`stdout: ${stdout}`);
12-
if (stderr) {
13-
console.error(`stderr: ${stderr}`);
14-
}
15-
});
1+
// Nothing to do in production, just a script to link the matterbridge package in development

0 commit comments

Comments
 (0)