Skip to content

Commit

Permalink
update for node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsounet committed Jun 30, 2024
1 parent dad2be8 commit a84298f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/esbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
name: Run esbuild
runs-on: ubuntu-latest
steps:
- name: "Use Node.js v20.x (latest)"
uses: actions/setup-node@v4
with:
node-version: "20.x"
check-latest: true

- name: Checkout code
uses: actions/checkout@v4

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ jobs:
name: Run eslint scanning
runs-on: ubuntu-latest
steps:
- name: "Use Node.js v20.x (latest)"
uses: actions/setup-node@v4
with:
node-version: "20.x"
check-latest: true

- name: Checkout code
uses: actions/checkout@v4

Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,5 @@ In addition, you can use some plugins:

Read the docs in [wiki](https://wiki.bugsounet.fr/EXT-VLCServer)

# Support and Helping
New forum and support for all @bugsounet modules is now localized [there](https://forum.bugsounet.fr) !

# Donate
[Donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TTHRH94Y4KL36&source=url), if you love this module !
13 changes: 2 additions & 11 deletions installer/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@

rebuild=0
minify=0
bugsounet=0

while getopts ":rmb" option; do
while getopts ":rm" option; do
case $option in
r) # -r option for magicmirror rebuild
rebuild=1;;
m) # -m option for minify all sources
minify=1;;
b) # -b option display bugsounet credit
bugsounet=1;;
esac
done

Expand Down Expand Up @@ -51,7 +48,7 @@ cd ..

if [[ $rebuild == 1 ]]; then
Installer_info "Rebuild MagicMirror..."
MagicMirror-rebuild 2>/dev/null || {
electron-rebuild 1>/dev/null || {
Installer_error "Rebuild Failed"
exit 255
}
Expand All @@ -62,10 +59,4 @@ fi
# module name
Installer_module="$(grep -Eo '\"name\"[^,]*' ./package.json | grep -Eo '[^:]*$' | awk -F'\"' '{print $2}')"

# the end...
if [[ $bugsounet == 1 ]]; then
Installer_warning "Support is now moved in a dedicated Server: https://forum.bugsounet.fr"
Installer_warning "@bugsounet"
echo
fi
Installer_success "$Installer_module is now installed !"
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "EXT-VLCServer",
"version": "1.0.1",
"rev": "240504",
"version": "1.1.0",
"rev": "240701",
"description": "VLC Media Server plugin for MMM-GoogleAssistant",
"main": "EXT-VLCServer.js",
"scripts": {
"preinstall": "installer/preinstall.sh -d 'vlc'",
"postinstall": "installer/postinstall.sh -b -m",
"postinstall": "installer/postinstall.sh -m",
"update": "installer/update.sh",
"reset": "git reset --hard",
"clean": "rm -rf node_modules package-lock.json",
Expand All @@ -24,12 +24,12 @@
"player"
],
"engines": {
"node": ">=18"
"node": ">=20"
},
"author": "bugsounet",
"license": "MIT",
"bugs": {
"url": "https://forum.bugsounet.fr"
"url": "https://github.com/bugsounet/EXT-VLCServer/issues"
},
"repository": {
"type": "git",
Expand All @@ -43,7 +43,7 @@
},
"devDependencies": {
"@eslint/js": "^8.57.0",
"@stylistic/eslint-plugin": "1.8.1",
"@stylistic/eslint-plugin": "^1.8.1",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1"
}
Expand Down

0 comments on commit a84298f

Please sign in to comment.