Skip to content

Commit

Permalink
Big update
Browse files Browse the repository at this point in the history
Move deprecate command line arguments ip-range, scan-on-host-ip, deconz, disable-online-discover, TZ to bridgeConfig and WebUI.
Move from create-react-app to vite.
Add the option to remove the certificate.
Add temporary log level change in WebUI.
  • Loading branch information
hendriksen-mark committed Nov 17, 2024
1 parent 0010aa8 commit cf8a41d
Show file tree
Hide file tree
Showing 47 changed files with 325 additions and 29,793 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- name: Clone repository
Expand All @@ -27,7 +27,9 @@ jobs:

# Share artifact inside workflow
- name: Share artifact inside workflow
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: DiyHueUI
path: build
path: |
build
dist
32 changes: 13 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]

steps:
- name: Clone repository
Expand All @@ -30,10 +30,12 @@ jobs:

# Share artifact inside workflow
- name: Share artifact inside workflow
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: DiyHueUI
path: build
path: |
build
dist
release-project:
name: Create Release
Expand All @@ -42,7 +44,7 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: DiyHueUI
- name: Test artifact download
Expand All @@ -51,23 +53,15 @@ jobs:
- name: Archive artifact
uses: thedoctor0/zip-release@main
with:
filename: DiyHueUI.zip
filename: DiyHueUI-release.zip

- name: Create Release
- name: Create and Upload Release
id: create_release
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: DiyHue UI release ${{ github.ref }}

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: DiyHueUI.zip
asset_name: DiyHueUI-release.zip
asset_content_type: application/zip
tag_name: ${{ github.ref_name }}
name: DiyHue UI release ${{ github.ref_name }}
files: DiyHueUI-release.zip
make_latest: true
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
build
build
dist
.DS_Store
21 changes: 21 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="diyHue - A Hue Bridge Emulator">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/assets/images/favicon.ico" />
<link rel="apple-touch-icon" href="/assets/images/apple-touch-icon-180x180.png" sizes="180x180" />
<meta name="msapplication-TileColor" content="#FFFFFF">
<meta name="theme-color" content="#ffffff">
<title>DIYHue App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

<script type="module" src="/src/index.jsx"></script>
</body>
</html>

Loading

0 comments on commit cf8a41d

Please sign in to comment.