Skip to content

Commit

Permalink
build(client): switch to vite + electron-forge, plus misc
Browse files Browse the repository at this point in the history
- vite (including PWA setup)
- electron-forge
- switch eslint base config from erb directly to airbnb-typescript
- adjust injected constants to vite
- consistently prefix injected constants with two underscores
- adjust gql tag import
- migrate preload to TypeScript

Regression:
- with electron-forge there is no way to get auto-updates for AppImage, this will be broken for the foreseeable future
  • Loading branch information
neopostmodern committed Dec 8, 2024
1 parent ab56863 commit e3f1559
Show file tree
Hide file tree
Showing 62 changed files with 15,516 additions and 37,863 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Deploy via FTP
uses: sebastianpopp/ftp-action@releases/v2
with:
localDir: ./client/release/app/dist/web/
localDir: ./client/out/web/
remoteDir: ./
host: amsr102.websitehostserver.net:21
user: [email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Deploy via FTP
uses: sebastianpopp/ftp-action@releases/v2
with:
localDir: ./client/release/app/dist/web/
localDir: ./client/out/web/
remoteDir: ./
host: amsr102.websitehostserver.net:21
user: [email protected]
Expand All @@ -99,7 +99,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Installer ${{ runner.os }}
path: client/release/build/structure-*
path: client/out/make/**/*
if-no-files-found: error

deploy-backend:
Expand Down
7 changes: 0 additions & 7 deletions client/.erb/configs/.eslintrc

This file was deleted.

128 changes: 0 additions & 128 deletions client/.erb/configs/webpack.config.base.ts

This file was deleted.

3 changes: 0 additions & 3 deletions client/.erb/configs/webpack.config.eslint.ts

This file was deleted.

82 changes: 0 additions & 82 deletions client/.erb/configs/webpack.config.main.prod.ts

This file was deleted.

83 changes: 0 additions & 83 deletions client/.erb/configs/webpack.config.renderer.dev.dll.ts

This file was deleted.

Loading

0 comments on commit e3f1559

Please sign in to comment.