An open-source, cross-platform terminal for seamless workflows
Go to file
Evan Simkowitz 8971e2feba
Set up electron-builder for new app (#113)
Adds electron-builder, which we will use to package and distribute our
application, same as in the existing app.
Replaces explicit port assignments with dynamic ones, which are then
stored into environment variables.
Adds a ~/.w2-dev folder for use when running a dev build.

The build-helper pipeline from the old repo is included here too, but it
is not updated yet so it will fail.

Also removes some redundant utility functions and cleans up some let vs.
const usage.

The packaging can be run using the `package:prod` and `package:dev`
tasks.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
2024-07-17 18:42:49 -07:00
.github/workflows Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
.storybook Fix bad merge 2024-06-26 12:26:27 -07:00
.vscode Integrate Faraday layout system (#16) 2024-06-04 13:05:44 -07:00
build remove wails deps 2024-06-12 11:58:17 -07:00
cmd Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
db Break layout node into its own Wave Object (#21) 2024-06-05 17:21:40 -07:00
emain Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
frontend Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
pkg Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
public move codeedit to directory. new useLongClick hook. show quick navig… (#105) 2024-07-08 23:13:12 -07:00
.editorconfig Fix prettier formatting 2024-05-28 12:12:28 -07:00
.gitignore Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
.prettierignore Add filewatcher for config files (#63) 2024-06-19 23:59:41 -07:00
.yarnrc.yml Fix prettier formatting 2024-05-28 12:12:28 -07:00
electron-builder.config.cjs Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
electron.vite.config.ts Fix Storybook for TileLayout (#81) 2024-06-26 12:22:27 -07:00
eslint.config.js Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
go.mod SSH Port (#111) 2024-07-15 18:00:10 -07:00
go.sum SSH Port (#111) 2024-07-15 18:00:10 -07:00
index.html Simplify frontend/wave path in index.html (#48) 2024-06-13 17:00:07 -07:00
package.json Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
prettier.config.cjs Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
README.md Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
Taskfile.yml Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00
tsconfig.json dynamic header updates (#102) 2024-07-08 15:04:48 -07:00
version.cjs Get version for Taskfile from version.js (#49) 2024-06-13 18:11:21 -07:00
vitest.config.ts Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
yarn.lock Set up electron-builder for new app (#113) 2024-07-17 18:42:49 -07:00

The Next Wave

Prereqs:

You'll need to install "task" (which we're using as a build/run system):

brew install go-task

On first checkout:

yarn
go mod tidy

Then, run the following command to start the app using the Vite dev server (this will enable Hot Module Reloading):

task electron:dev

To run the app without the dev server, run the following instead:

task electron:start