-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING CHANGE: Switch to vite
with electron-forge
#469
Merged
Merged
Changes from all commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
26d1dcc
wip: Install deps
RobertGemmaJr 653e1c2
wip: Add boilerplate for vite configurations
RobertGemmaJr 7fe39ad
ref: Move vite config files outside of seperate config folder
RobertGemmaJr cb99c62
wip: Add configs from the vite template
RobertGemmaJr 842b0ab
wip: Add env.d.ts file
RobertGemmaJr 26d3d0f
wip: Update index.html and other files
RobertGemmaJr ba92d9d
wip: Update config file extensions and gitignore
RobertGemmaJr bacb205
wip: Get the app running
RobertGemmaJr 237d998
wip: Remove uneeded public files
RobertGemmaJr d09c0fb
wip: Clean up vite main process
RobertGemmaJr c9c8da4
wip: Clean up global variables from electron forge
RobertGemmaJr cb71b38
wip: remove old electron code form public folder
RobertGemmaJr 5e274c3
wip: Use VITE_ for environment variables
RobertGemmaJr 2ad6a37
wip: Clean up trigger export
RobertGemmaJr 57ece84
chore: cleanup renderer
RobertGemmaJr 134f2c5
chore: index.html cleanup
RobertGemmaJr d12f5d1
fix: USE_PROLIFIC checks against null instead of undefined
RobertGemmaJr d74c74a
BREAKING_CHANGE: Update scripts
RobertGemmaJr 2185667
ref: Clean up workflows with the new commands
RobertGemmaJr e4ba93b
BREAKING CHANGE: Remove the github pages deployment workflow
RobertGemmaJr be72c15
chore: Update firebase scripts
RobertGemmaJr 7680b9e
chore: Update firebase.json
RobertGemmaJr c4364e1
ci: Test Firebase preview link without pre-configured script
RobertGemmaJr 06a35c4
chore: Ci
RobertGemmaJr d310a3e
ci: Remove Firebase
RobertGemmaJr 4369ff4
ci: Add back Firebase actions
RobertGemmaJr 75418f5
ci: Add build step back to firebase acitons
RobertGemmaJr b9ee57a
ci: Test firebase predwploy script with firebase.json
RobertGemmaJr d8d57dc
chore: Update predeploy script
RobertGemmaJr 684fb90
Merge pull request #470 from brown-ccv/feat-vite
RobertGemmaJr 6f84705
chore: lock
RobertGemmaJr 15fcc12
wip: Set type as module
RobertGemmaJr 14a579c
ref: Rename vite configs with js extension
RobertGemmaJr cde924e
ref: Rename extension for version
RobertGemmaJr 4f106f2
ref: Use forge config as a type module
RobertGemmaJr 81ea139
wip: Build .vite dev server as cjs
RobertGemmaJr d6de43e
ref: Use Electron code as CJS
RobertGemmaJr 4cd465d
chore: cleanup
RobertGemmaJr de17e26
chore: Remove console log
RobertGemmaJr 1a984b6
chore: comments
RobertGemmaJr f735da8
ref: Separate window logic between dev and prod
RobertGemmaJr 431e9aa
ref: Use app.isPackaged for the window size
RobertGemmaJr 52ba7fe
chore: comments
RobertGemmaJr d236e45
chore: Remove installer
RobertGemmaJr 8e20317
build: Uninstall uneeded dependencies
RobertGemmaJr 119e0bc
ci: Update actions
RobertGemmaJr 1bf10c1
chore: update make scripts
RobertGemmaJr d933dae
wip: Move the serialport code into its own file
RobertGemmaJr f92177c
chore: UPdate forge config
RobertGemmaJr c1262cc
ref: Remove react strict mode
RobertGemmaJr e98d14b
chore: COnfig cleanup
RobertGemmaJr eb4c396
chore: comments
RobertGemmaJr efb6a63
ref: Update file saving paths in Honeycomb desktop
RobertGemmaJr 4712a4a
ref: Update data paths
RobertGemmaJr 6153a98
chore: TODO
RobertGemmaJr 6163b67
wip: Add utility functions for getting the data and output paths
RobertGemmaJr ce07550
wip: Fix path functions
RobertGemmaJr 4dd06f9
chore: Reorder constants
RobertGemmaJr 47dd09e
chore: TODOs
RobertGemmaJr 2ac1ce3
chore: Comments
RobertGemmaJr f70713d
Merge pull request #474 from brown-ccv/feat-developer-tools
RobertGemmaJr 5acf003
Merge branch 'type-module' into fix-window
RobertGemmaJr 4aeb7bd
Merge pull request #473 from brown-ccv/fix-window
RobertGemmaJr 35360c9
Merge branch 'type-module' into fix-serialport
RobertGemmaJr 5befd11
Merge branch 'type-module' into ref-paths
RobertGemmaJr 420a8fc
Merge pull request #475 from brown-ccv/fix-serialport
RobertGemmaJr 09d8e07
Merge branch 'feat-v4' into feat-forge-vite
RobertGemmaJr 481687f
Merge branch 'feat-forge-vite' into type-module
RobertGemmaJr d2e26ff
Merge branch 'type-module' of https://github.com/brown-ccv/honeycomb …
RobertGemmaJr a382c55
Merge branch 'type-module' into ref-paths
RobertGemmaJr 227c48d
chore: lock
RobertGemmaJr bf2c5e1
Update src/Electron/main.js
RobertGemmaJr ecaaa68
Update src/Electron/main.js
RobertGemmaJr 5caa0b7
Update src/Electron/main.js
RobertGemmaJr 48a7c04
Merge pull request #476 from brown-ccv/ref-paths
RobertGemmaJr 0ec443c
Merge pull request #471 from brown-ccv/type-module
RobertGemmaJr 65fba7c
ref: Cleanup forge config
RobertGemmaJr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
REACT_APP_USE_EEG="true" | ||
REACT_APP_USE_PHOTODIODE="true" | ||
REACT_APP_VOLUME="true" | ||
VITE_USE_EEG="true" | ||
VITE_USE_PHOTODIODE="true" | ||
VITE_VOLUME="true" | ||
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,7 +1,7 @@ | ||
REACT_APP_FIREBASE="true" | ||
REACT_APP_API_KEY="AIzaSyB6C2nVXk__dqxdyyROFEC-ue50O_OsjTE" | ||
REACT_APP_AUTH_DOMAIN="ccv-honeycomb.firebaseapp.com" | ||
REACT_APP_PROJECT_ID="ccv-honeycomb" | ||
REACT_APP_STORAGE_BUCKET="ccv-honeycomb.appspot.com" | ||
REACT_APP_MESSAGING_SENDER_ID="449496296276" | ||
REACT_APP_APP_ID="1:449496296276:web:0479c82b8b068ca9e6b6c1" | ||
VITE_FIREBASE="true" | ||
VITE_API_KEY="AIzaSyB6C2nVXk__dqxdyyROFEC-ue50O_OsjTE" | ||
VITE_AUTH_DOMAIN="ccv-honeycomb.firebaseapp.com" | ||
VITE_PROJECT_ID="ccv-honeycomb" | ||
VITE_STORAGE_BUCKET="ccv-honeycomb.appspot.com" | ||
VITE_MESSAGING_SENDER_ID="449496296276" | ||
VITE_APP_ID="1:449496296276:web:0479c82b8b068ca9e6b6c1" |
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 +1 @@ | ||
REACT_APP_VIDEO="true" | ||
VITE_VIDEO="true" |
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you need to change those?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, they're only used for the build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, these are the "equipment" that users can turn on or off with environment variables