-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from JustJoostNL/rebuild
V3.0.0
- Loading branch information
Showing
277 changed files
with
17,064 additions
and
20,512 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,75 @@ | ||
{ | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
"node": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:prettier/recommended" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": ["vite.config.ts", "codegen.ts"], | ||
"rules": { | ||
"import/no-default-export": "off" | ||
} | ||
} | ||
], | ||
"ignorePatterns": ["node_modules/", "dist/", "build/", "out/", "dist-electron/"], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"plugins": [ | ||
"unused-imports", | ||
"import", | ||
"react", | ||
"react-hooks", | ||
"@typescript-eslint", | ||
"prettier" | ||
], | ||
"rules": { | ||
"prettier/prettier": [ | ||
"warn", | ||
{}, | ||
{ | ||
"usePrettierrc": true | ||
} | ||
], | ||
"linebreak-style": ["error", "windows"], | ||
"quotes": ["error", "double"], | ||
"semi": ["error", "always"], | ||
"object-curly-spacing": ["warn", "always"], | ||
"object-shorthand": ["warn", "always"], | ||
"import/order": [ | ||
"error", | ||
{ "pathGroups": [{ "pattern": "@/**", "group": "internal" }] } | ||
], | ||
"import/first": "error", | ||
"import/no-amd": "error", | ||
"import/no-webpack-loader-syntax": "error", | ||
"import/no-default-export": "warn", | ||
"import/no-duplicates": "error", | ||
"unused-imports/no-unused-imports": "error", | ||
"react-hooks/rules-of-hooks": "error", | ||
"react/no-unescaped-entities": "off", | ||
"react/jsx-curly-brace-presence": "warn", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } | ||
], | ||
"@typescript-eslint/ban-ts-comment": "off" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -4,49 +4,46 @@ on: | |
push: | ||
branches: | ||
- master | ||
- rebuild | ||
|
||
jobs: | ||
release: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [macos-12, ubuntu-latest, windows-latest] | ||
os: [macos-14, ubuntu-latest, windows-latest] | ||
|
||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v1 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js, NPM and Yarn | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Build/release Electron app | ||
uses: Yan-Jobs/[email protected] | ||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile --network-timeout 400000 | ||
|
||
- name: Build app | ||
run: yarn build | ||
env: | ||
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} | ||
APPLE_ID: ${{ secrets.APPLE_ID }} | ||
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }} | ||
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASS }} | ||
CSC_LINK: ${{ secrets.CSC_LINK }} | ||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | ||
with: | ||
# GitHub token, automatically provided to the action | ||
# (No need to define this secret in the repo settings) | ||
github_token: ${{ secrets.github_token }} | ||
|
||
# If the commit is tagged with a version (e.g. "v1.0.0"), | ||
# release the app after building | ||
release: ${{ startsWith(github.ref, 'refs/tags/v') }} | ||
GH_TOKEN: ${{ secrets.github_token }} | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/upload-artifact@v3.1.1 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: build | ||
name: ${{ runner.os }}-build | ||
path: | | ||
out/win-unpacked | ||
out/linux-unpacked | ||
out/*.dmg | ||
out/*.AppImage | ||
out/*.exe | ||
out/*.exe |
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 |
---|---|---|
|
@@ -7,6 +7,6 @@ output/* | |
dist/* | ||
release/* | ||
dist-electron/* | ||
|
||
.prettierrc | ||
.prettierrc.json | ||
codegen.yml | ||
yarn-error.log | ||
``` |
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,3 @@ | ||
{ | ||
"endOfLine": "auto" | ||
} |
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,3 @@ | ||
{ | ||
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"] | ||
} |
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,19 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit" | ||
}, | ||
"editor.formatOnSave": true, | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact" | ||
], | ||
"files.autoSave": "onFocusChange", | ||
"files.insertFinalNewline": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.readonlyInclude": { | ||
"**/node_modules/**": true | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
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,37 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## Version 3.0.0 - 2024-03-07 | ||
|
||
**Important**: This update will reset your configuration due to major application changes, you will need to reconfigure your devices and events. There is no way around this, sorry for the inconvenience. | ||
|
||
### Changed | ||
- Complete UI redesign of the app | ||
- Major performance improvements | ||
- Major stability improvements | ||
- Insane amount of bug fixes | ||
- Updated dependencies | ||
- Device selection pages will no longer open in a new window | ||
- Add support for multiple Elgato Stream Deck devices | ||
- Improved error handling | ||
- Remove unused analytics | ||
- Improved update process | ||
- Major changes to configuration handling | ||
- **Effects are now called events, here is everything you need to know:** | ||
- Effects are now called events | ||
- An event can have multiple triggers | ||
- Events will replace the custom colors, and "go back to static". | ||
- Events can be shared with a hyperlink. | ||
- You can achieve the same "go back to static" behavior as before, by creating an event that ends with delay (1000 ms) and sets the color to the wanted static color. | ||
- New event triggers are added, such as: Chequered flag, DRS Enabled, DRS Disabled, Time penalty, Pit exit open, and more. *Let me know if you want to see more triggers.* | ||
- You can now simulate events on the event editor page. | ||
- You can now duplicate events. | ||
|
||
For questions or ideas, please contact me on Discord :) | ||
|
||
|
||
|
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.