Commit Graph

43 Commits

Author SHA1 Message Date
Mihovil Ilakovac
8ead2e0910
Using Prisma file alongside Wasp (#2035) 2024-07-03 13:51:29 +02:00
Martin Šošić
1f757462cc
Again updated default .gitignore: removed !.env.client. (#2090)
* Again updated default .gitignore: removed !.env.client.

* Update web/docs/project/env-vars.md
2024-06-10 20:37:40 +02:00
Martin Šošić
3679ab6ed4
Improved default gitignore regarding .env rules. (#2083)
* Improved default gitignore regarding .env rules.

* Update web/docs/project/env-vars.md

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>

* Uncommented dotenv info in docs.

* Updated gitignores of example apps.

* Added to ChangeLog.

---------

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2024-06-07 10:41:02 +02:00
Mihovil Ilakovac
76580648bc
Adds "module" to tsconfig.json (#2012) 2024-05-08 11:57:31 +02:00
Filip Sodić
25079cea3f
Fix autocomplete for the wasp package (#1921) 2024-03-29 16:10:33 +01:00
Filip Sodić
21839ff2df
Add latest changes to examples updated to 0.12.0 (#1816)
* Add latest changes to examples updated to 0.12.0

* Add latest 0.12.0 changes to waspc/examples

* Remove stray todo from examples

* Update e2e tests
2024-02-26 15:20:52 +01:00
Filip Sodić
1c0bfd20ca
Update the tutorial for 0.12.0 (#1799) 2024-02-26 14:33:28 +01:00
Filip Sodić
c50b0e1f62
Restore lost .gitignore contents (#1811) 2024-02-26 14:08:19 +01:00
Filip Sodić
69255d327f
Move phantom dir to .wasp (#1814) 2024-02-26 13:15:41 +01:00
Filip Sodić
2969ef8829
Revert "Uses extends in the user land tsconfig.json (#1793)" (#1803)
This reverts commit c11e83311e.
2024-02-22 17:10:37 +01:00
Mihovil Ilakovac
c11e83311e
Uses extends in the user land tsconfig.json (#1793) 2024-02-21 16:12:52 +01:00
Mihovil Ilakovac
52a1910a74
Adds .DS_Store to .waspignore (#1784) 2024-02-19 16:13:06 +01:00
Filip Sodić
d9136bb489
Update examples and guide for 0.12.x (#1727) 2024-02-09 17:26:28 +01:00
Mihovil Ilakovac
d38de37861
Update the local templates to work with 0.12 (#1715) 2024-02-06 16:15:51 +01:00
Filip Sodić
f7587a2c9c Sort out restructuring leftovers 2024-01-29 17:20:35 +01:00
Filip Sodić
cbd7310b16
Implement Wasp SDK generation (#1626) 2024-01-29 16:08:15 +01:00
Filip Sodić
df5a1358e6
Adapt Prisma for the new structure (#1604) 2024-01-29 15:10:47 +01:00
Filip Sodić
d3e9fdc4c6
Implement project install step for restructuring (#1690) 2024-01-29 14:57:22 +01:00
Filip Sodić
6f0714ad23
Create restructuring prototype (#1584) 2024-01-29 14:00:20 +01:00
Martin Sosic
47c4b8cb16 Merge branch 'main' into wasp-ai 2023-12-11 20:19:46 +01:00
Mihovil Ilakovac
88d9534fd3
Allow customising the Vite config (#1465) 2023-10-09 15:40:33 +02:00
Mihovil Ilakovac
16fa3bd487 Merge branch 'main' into wasp-ai 2023-09-14 12:23:29 +02:00
Martin Šošić
179ec45aa9
Updated default .gitignore for new Wasp project to be more robust regarding .env files (#1425) 2023-08-31 15:50:17 +02:00
Mihovil Ilakovac
66a04a07ce
Updates tutorial link in templates (#1423) 2023-08-31 10:26:41 +02:00
Mihovil Ilakovac
feeb9217de Updates data files list 2023-06-28 11:54:28 +02:00
Mihovil Ilakovac
a10e4fdff1 Adds missing basic template files 2023-06-27 10:35:28 +02:00
Martin Sosic
2e9a33d167 Extracted core skeleton files from the local template(s). 2023-06-20 19:58:15 +02:00
Mihovil Ilakovac
3f218fbbc5
Improve the scaffolding experience (#1140) 2023-05-03 12:57:17 +02:00
Mihovil Ilakovac
7a0f8b5d58
Replaces Create React App with Vite (#1019) 2023-03-01 17:14:14 +01:00
Filip Sodić
1f7f9005b0
Update Todo app tutorial (#840)
* Update todo app tutorial

* Remove trailing spaces from clocks

* Match MainPage with tutorial

* Add newline to end of action.js

* Fix newline at the end of action.js

* Fix typo in tutorial

* Update web/docs/tutorials/todo-app/creating-new-project.md

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Update web/docs/tutorials/todo-app/creating-new-project.md

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Fix jsx typo in tutorial

* Remove React import from e2e tests

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-26 19:32:43 +01:00
Filip Sodić
5da642e8eb
TypeScript fixes before Beta (#831)
* Change typescript modules to esnext

* Fix tsconfigs and use recommended settings

* Fix server not loading env variables

* Fix TS output overwriting error

* Fix wrong types

* Change MainPage.tsx to MainPage.jsx

* Remove duplication for Node tsconfig

* Update e2e tests for TS fixes

* Fix formatting
2022-11-25 20:10:10 +01:00
Filip Sodić
784c47c317
Server-side TypeScript support (#827) 2022-11-24 14:38:39 +01:00
Filip Sodić
31df276a25
Client-side TypeScript support (#824)
* Add typescript support to generator

* Change jsconfig to tsconfig for client

* Change Main.js to Main.tsx

* Implement TypeScript support on client

* Fix formatting

* Fixes in actions/index.ts

* Remove extra types from comments

* Update waspc/src/Wasp/Generator/ServerGenerator.hs

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Remove server-specific typescript stuff

* Fix useQuery type

* Add typeroots to client tsconfig

* Improve TypeScript support on client

* Remove tsx extension from template wasp file

* Format code

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-24 14:28:37 +01:00
Filip Sodić
67eca7ecf6
Add peek and go to definition for JS files (#795)
* Separate ext code to client and server

* Use skeleton in createNewProject and refactor

* Refactor Lib.hs to use ExceptT

* Fix formatting

* Pop up returns

* Extract liftIO and add a do block

Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com>

* Address some review comments

* Add skeleton comment

* Extract common CommandError message

* Separate skeleton comment into two rows

* Move server and client dirs into src

* Simplify maybeToEither

* Further refactor Lib.hs

* Further simplify skeleton comment

* Add shared code directory to project structure

* Update e2e test inputs

* Update e2e test outputs

* Fix formatting

* Fix bug in compile function

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Change map to fmap in compile function

* Fix formatting

* Force git to include empty directories

* Remove extra empty line from .gitkeep files

* Add .jsconfig to enable go-to-definition

* Watch shared directory for changes

* Add final newline to jsconfigs

* Fix regular and e2e tests

* Update e2e tests

* Fix cli template packaging and update todoApp

* Add a shared function demo to todoApp

* Update waspc and e2e tests

* Fix compiler warnings and rename function

* Rename mkError to mkParserError

* Remove redundant empty line

* Fix test warnings

* Fix formatting

* Update waspc.cabal with jsconfigs

* Minimize jsconfig.json files

* Add jsconfigs to waspc todoApp

* Update e2e tests

* Update e2e tests

* Fix directory tree watching on wasp start

* Implement review feedback

Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 17:38:38 +01:00
Filip Sodić
86e0893d6f
Separate user code into client, server, shared (#753)
* Separate ext code to client and server

* Use skeleton in createNewProject and refactor

* Refactor Lib.hs to use ExceptT

* Fix formatting

* Pop up returns

* Extract liftIO and add a do block

Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com>

* Address some review comments

* Add skeleton comment

* Extract common CommandError message

* Separate skeleton comment into two rows

* Move server and client dirs into src

* Simplify maybeToEither

* Further refactor Lib.hs

* Further simplify skeleton comment

* Add shared code directory to project structure

* Update e2e test inputs

* Update e2e test outputs

* Fix formatting

* Fix bug in compile function

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>

* Change map to fmap in compile function

* Fix formatting

* Force git to include empty directories

* Remove extra empty line from .gitkeep files

* Watch shared directory for changes

* Fix regular and e2e tests

* Fix cli template packaging and update todoApp

* Add a shared function demo to todoApp

* Update waspc and e2e tests

* Fix compiler warnings and rename function

* Rename mkError to mkParserError

* Remove redundant empty line

* Fix test warnings

* Fix formatting

* Fix directory tree watching on wasp start

* Implement review feedback

Co-authored-by: Shayne Czyzewski <523636+shayneczyzewski@users.noreply.github.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2022-11-11 17:20:49 +01:00
Shayne Czyzewski
fa9f487e2a
Adds opt-in support for Tailwind (#777) 2022-11-04 09:39:13 -04:00
Martin Šošić
8d2c33ab28
Replace Wasp with AppSpec and Parser with Analyzer. (#423) 2022-01-20 11:45:14 +01:00
ShawSumma
70ba7f0608 fix spelling mistake in react component 2021-10-06 22:17:25 +02:00
Saatvik Shah
347cca6d9b
Move bash completion logic to Haskell (#305)
This patch moves majority of the bash completion logic from Bash to
Haskell taking advantage of the environment variables exposed by the
`complete` builtin to infer and suggest possible outputs.

Co-authored-by: sshah1 <saatvik.shah@imc.com>
2021-09-06 13:09:03 +02:00
Trieu Huy Vu
a18be1ab27
feat(cli): CLI now supports bash completion (#224)
Co-authored-by: Trieu Vu <trieuv@strategicdata.com.au>
2021-06-16 13:40:31 +02:00
Martin Sosic
80ab13d4e4 Improved error message when node is missing or too low version. 2021-02-09 15:49:48 +01:00
Martin Sosic
693cf13d69 Polished 'wasp new' template a little bit. 2021-02-09 14:31:00 +01:00
Matija Sosic
0207276a01
Added welcome page to the newly created app. (#178) 2021-02-09 13:13:51 +01:00