Commit Graph

46 Commits

Author SHA1 Message Date
Will Chen
d6d6918d1b Safe send (#421) 2025-06-16 21:58:20 -07:00
Will Chen
c1aa6803ce Click to edit UI (#385)
- [x] add e2e test - happy case (make sure it clears selection and next
prompt is empty, and preview is cleared); de-selection case
- [x] shim - old & new file
- [x] upgrade path
- [x] add docs
- [x] add try-catch to parser script
- [x] make it work for next.js
- [x] extract npm package
- [x] make sure plugin doesn't apply in prod
2025-06-11 13:05:27 -07:00
Will Chen
34ea593928 Fix bug with copy app (#371)
Fixes #361
2025-06-09 14:58:55 -07:00
Will Chen
d3fbb48472 Copy app (#349)
Fixes #12
2025-06-05 22:26:17 -07:00
Will Chen
3558663ab7 Support native Git (experimental) (#338) 2025-06-04 21:37:05 -07:00
Will Chen
e060f780b9 Use npm install --legacy-peer-deps (#326)
Fixes #309 

Unfortunately a lot of React.js apps have this problem with peer deps
because older dependencies specify pre-v19. Because Dyad app templates
do (and should) explicitly specify React as a dependnecy, using
`--legacy-peer-deps` gives us the right behavior where it effectively
does not install peer deps and avoids the React version errors.

For pnpm, we have an explicit lockfiles for our templates so there isn't
an issue.

Context:
https://stackoverflow.com/questions/66239691/what-does-npm-install-legacy-peer-deps-do-exactly-when-is-it-recommended-wh

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-03 22:26:39 -07:00
Will Chen
a915d892f7 Support Next.js template & template hub (#241) 2025-05-27 00:16:30 -07:00
Will Chen
4d2b4783bc Fix scaffold copy and better error handling for create app (#202)
I was over-eager in https://github.com/dyad-sh/dyad/pull/200 and removed
copyDirectoryRecursive which is actually needed to copy the scaffold
out.
2025-05-19 17:58:49 -07:00
Will Chen
68cb6b3d7d Robust app folder rename (#200)
Fixes #89
2025-05-19 14:59:55 -07:00
Will Chen
cbfe26bac1 Rename branch (#199)
This is more important now that import app is available and not every
git repo will be initialized with `main` as the default branch. This
handles the other common case which is the `master` branch.
2025-05-19 14:41:18 -07:00
Will Chen
6e08bc5c62 Import app (#189)
Fixes #163
2025-05-19 14:03:10 -07:00
Will Chen
5966dd7f4b Proxy server to inject shim (#178)
things to test:

- [x] allow real URL to open in new window
- [x] packaging in electron?
- [ ] does it work on windows?
- [x] make sure it works with older apps
- [x] what about cache / reuse? - maybe use a bigger range of ports??
2025-05-16 23:28:26 -07:00
Will Chen
cd7eaa8ece Prep for custom models: support reading custom providers (#131) 2025-05-12 14:52:48 -07:00
Will Chen
c71638a508 Simplify handlers & IPC client: move from Result pattern to throwing errors (#120) 2025-05-09 15:14:12 -07:00
Will Chen
2537fbb342 lint using oxlint (#106) 2025-05-08 17:21:35 -07:00
Will Chen
0d56651220 Run prettier on everything (#104) 2025-05-06 23:02:28 -07:00
Will Chen
939c7db2ec make sure supabase is configured before retrieiving supabase app info (#97) 2025-05-06 12:26:38 -07:00
Will Chen
20362d7b08 Fix undo and redo by using initial commit hash for chat (#94) 2025-05-06 12:15:42 -07:00
Will Chen
1fcb58a141 Refactor version handlers (#90)
refactor version handlers
2025-05-06 10:16:09 -07:00
Will Chen
a720e0073d Max versions shown (#83) 2025-05-05 14:29:06 -07:00
Will Chen
b9dc2cc0f9 Undo button (#76) 2025-05-02 15:35:39 -07:00
Will Chen
46cb7ca577 redo reverts code (when possible) (#75) 2025-05-02 14:55:46 -07:00
Will Chen
3529627172 Undo chat history (#74) 2025-05-02 13:47:59 -07:00
Will Chen
aec5882c8d Fix bug in extract codebase that artificially limited to 30 files (#32) 2025-04-28 13:45:32 -07:00
Will Chen
4294ce5767 Supabase support: client, auth & SQL 2025-04-23 12:59:09 -07:00
Will Chen
ec43482d6c Basic Supabase OAuth integration & project-app binding 2025-04-23 12:59:09 -07:00
Will Chen
ee3d2e7f4e Provide a rebuild option (restart w/ re-install node modules) 2025-04-21 16:46:10 -07:00
Will Chen
87ff4ee870 Add help button which opens GitHub issue w/ system report | explicitly log with electron-log & scrub logs 2025-04-21 14:28:21 -07:00
Will Chen
7ac07aa0ce Use npm as fallback if pnpm isn't available & more robust pnpm installation 2025-04-18 21:43:46 -07:00
Will Chen
14d09f080f Remove uncessary check in checkout-version 2025-04-18 15:58:00 -07:00
Will Chen
aa36986771 fix pnpm command 2025-04-18 10:29:56 -07:00
Will Chen
e1911162e3 Use pnpm and more clean-up of sandbox mode 2025-04-17 17:33:09 -07:00
Will Chen
24c1be224b Remove runtime mode selection & have unified setup flow for node.js + API access 2025-04-17 16:52:20 -07:00
Will Chen
42e179653c Clean up ANSI escape codes from stdout/stderr (interfered with port detection) 2025-04-15 21:48:13 -07:00
Will Chen
26fb5c8dc6 Kill on port 32100 on restart app (clean up orphan process) 2025-04-15 21:42:01 -07:00
Will Chen
52c0893fe5 Restructure reset all so dyad apps deletion is last 2025-04-15 17:16:35 -07:00
Will Chen
6b0df21a05 show version & bump 2025-04-15 00:22:19 -07:00
Will Chen
1c325eccf4 Commit with GitHub user email (needed for vercel deployment) 2025-04-14 22:39:42 -07:00
Will Chen
6a4f538879 Update setup/settings flow for runtime 2025-04-12 23:53:38 -07:00
Will Chen
3074634c88 remove stray variable 2025-04-12 22:40:37 -07:00
Will Chen
6ad73b8f2c fix path 2025-04-12 22:39:09 -07:00
Will Chen
4b641a3303 Infra for serving sandpack locally 2025-04-12 00:09:21 -07:00
Will Chen
a4a763a06d working sandpack 2025-04-11 23:11:56 -07:00
Will Chen
37579d011a refactor app handler 2025-04-11 14:31:23 -07:00
Will Chen
6ca060d207 Fix env var handling for MacOs 2025-04-11 10:33:10 -07:00
Will Chen
43f67e0739 Initial open-source release 2025-04-11 09:38:16 -07:00