forked from emsesp/EMS-ESP32
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/emsesp/EMS-ESP32 into dev2
- Loading branch information
Showing
78 changed files
with
2,259 additions
and
1,819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: GitHub Releases To Discord | ||
uses: SethCohen/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,25 +11,33 @@ jobs: | |
name: 'Automatic pre-release build' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
- uses: actions/setup-python@v5 | ||
|
||
- name: Install python 3.11 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
- name: Use Node.js 20.x | ||
|
||
- name: Install Node.js 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
- name: Get EMS-ESP source code and version | ||
|
||
- name: Get EMS-ESP version | ||
id: build_info | ||
run: | | ||
version=`grep -E '^#define EMSESP_APP_VERSION' ./src/version.h | awk -F'"' '{print $2}'` | ||
echo "VERSION=$version" >> $GITHUB_OUTPUT | ||
- name: Install PlatformIO | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U platformio | ||
- name: Build WebUI | ||
run: | | ||
cd interface | ||
|
@@ -38,9 +46,11 @@ jobs: | |
sed -i "s/= 'pl'/= 'en'/" ./src/i18n/i18n-util.ts | ||
yarn build | ||
yarn webUI | ||
- name: Build all target environments from default_envs | ||
- name: Build all PIO target environments from default_envs | ||
run: | | ||
platformio run | ||
- name: Create GitHub Release | ||
id: 'automatic_releases' | ||
uses: emsesp/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,22 +11,27 @@ jobs: | |
name: 'Tagged Release' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Enable Corepack | ||
run: corepack enable | ||
- uses: actions/setup-python@v5 | ||
|
||
- name: Install python 3.11 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
- name: Use Node.js 20.x | ||
|
||
- name: Install Node.js 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
|
||
- name: Install PlatformIO | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U platformio | ||
platformio upgrade | ||
pio pkg update | ||
- name: Build WebUI | ||
run: | | ||
cd interface | ||
|
@@ -35,9 +40,11 @@ jobs: | |
sed -i "s/= 'pl'/= 'en'/" ./src/i18n/i18n-util.ts | ||
yarn build | ||
yarn webUI | ||
- name: Build all target environments from default_envs | ||
- name: Build all PIO target environments from default_envs | ||
run: | | ||
platformio run | ||
- name: Create GitHub Release | ||
uses: emsesp/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,3 +65,6 @@ interface/tsconfig.tsbuildinfo | |
|
||
# python virtual environment | ||
venv/ | ||
|
||
# cspell | ||
words-found-verbose.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,6 @@ | |
"**/ArduinoJson/**" | ||
], | ||
"cSpell.enableFiletypes": [ | ||
"!typescript", | ||
"ini", | ||
"makefile" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", | ||
"version": "0.2", | ||
"dictionaryDefinitions": [ | ||
{ | ||
"name": "project-words", | ||
"path": "./project-words.txt", | ||
"addWords": true | ||
} | ||
], | ||
"dictionaries": ["project-words"], | ||
"ignorePaths": ["node_modules", "**/venv/**", "lib/eModbus", "lib/ESPAsyncWebServer", "lib/espMqttClient", "analyse.html", "dist", "**/*.csv", "locale_translations.h", "TZ.tsx", "**/*.txt","build/**", "**/i18n/**", "/project-words.txt"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"name": "EMS-ESP", | ||
"version": "3.7", | ||
"description": "Build the EMS-ESP WebUI", | ||
"version": "3.7.0", | ||
"description": "EMS-ESP WebUI", | ||
"homepage": "https://emsesp.org", | ||
"author": "proddy", | ||
"author": "proddy, emsesp.org", | ||
"license": "MIT", | ||
"private": true, | ||
"type": "module", | ||
|
@@ -24,8 +24,8 @@ | |
"@alova/adapter-xhr": "2.0.7", | ||
"@emotion/react": "^11.13.3", | ||
"@emotion/styled": "^11.13.0", | ||
"@mui/icons-material": "^6.0.2", | ||
"@mui/material": "^6.0.2", | ||
"@mui/icons-material": "^6.1.0", | ||
"@mui/material": "^6.1.0", | ||
"@table-library/react-table-library": "4.1.7", | ||
"alova": "3.0.16", | ||
"async-validator": "^4.2.5", | ||
|
@@ -43,26 +43,25 @@ | |
"devDependencies": { | ||
"@babel/core": "^7.25.2", | ||
"@eslint/js": "^9.10.0", | ||
"@preact/compat": "^17.1.2", | ||
"@preact/compat": "^18.3.1", | ||
"@preact/preset-vite": "^2.9.0", | ||
"@trivago/prettier-plugin-sort-imports": "^4.3.0", | ||
"@types/babel__core": "^7", | ||
"@types/formidable": "^3", | ||
"@types/node": "^22.5.4", | ||
"@types/react": "^18.3.5", | ||
"@types/react-dom": "^18.3.0", | ||
"@types/react-router-dom": "^5.3.3", | ||
"concurrently": "^9.0.0", | ||
"concurrently": "^9.0.1", | ||
"eslint": "^9.10.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"formidable": "^3.5.1", | ||
"prettier": "^3.3.3", | ||
"rollup-plugin-visualizer": "^5.12.0", | ||
"terser": "^5.32.0", | ||
"typescript-eslint": "8.5.0", | ||
"vite": "^5.4.3", | ||
"vite": "^5.4.4", | ||
"vite-plugin-imagemin": "^0.6.1", | ||
"vite-tsconfig-paths": "^5.0.1" | ||
}, | ||
"packageManager": "[email protected].0" | ||
"packageManager": "[email protected].1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.