An open-source, cross-platform terminal for seamless workflows
Go to file
Evan Simkowitz 0d4be9cb88
Fix Vite CJS deprecation warning when using Storybook (#52)
This was a weird one, apparently Storybook still uses CJS but Vite has fully deprecated CJS support. So we need to dynamically import the electron.vite.config.ts file for Storybook, but this breaks because Typescript doesn't resolve and properly compile the dynamic import. To get around this, I am using the `tsx` package, which can dynamically compile typescript imports.
2024-06-13 23:03:57 -07:00
.storybook Fix Vite CJS deprecation warning when using Storybook (#52) 2024-06-13 23:03:57 -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 unify the logging between electron and wavesrv (emain now proxies the wavesrv logs) 2024-06-12 19:33:44 -07:00
db Break layout node into its own Wave Object (#21) 2024-06-05 17:21:40 -07:00
emain Remove unnecessary await in emain (#47) 2024-06-13 16:53:52 -07:00
frontend Rename LeafNode to DisplayNode 2024-06-13 19:36:06 -07:00
pkg Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
public Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
.editorconfig Fix prettier formatting 2024-05-28 12:12:28 -07:00
.gitignore port to electron (#33) 2024-06-11 17:42:10 -07:00
.prettierignore Undo formatting of minified files (#9) 2024-05-28 12:24:49 -07:00
.yarnrc.yml Fix prettier formatting 2024-05-28 12:12:28 -07:00
electron.vite.config.ts Fix Vite CJS deprecation warning when using Storybook (#52) 2024-06-13 23:03:57 -07:00
eslint.config.js Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
go.mod Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
go.sum Switch to using electron-vite instead of WebPack (#45) 2024-06-13 16:49:25 -07:00
index.html Simplify frontend/wave path in index.html (#48) 2024-06-13 17:00:07 -07:00
package.json Fix Vite CJS deprecation warning when using Storybook (#52) 2024-06-13 23:03:57 -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 Get version for Taskfile from version.js (#49) 2024-06-13 18:11:21 -07:00
tsconfig.json port to electron (#33) 2024-06-11 17:42:10 -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 Fix Vite CJS deprecation warning when using Storybook (#52) 2024-06-13 23:03:57 -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