wasp/waspc/test
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
..
Analyzer Separate user code into client, server, shared (#753) 2022-11-11 17:20:49 +01:00
AppSpec Separate user code into client, server, shared (#753) 2022-11-11 17:20:49 +01:00
FilePath Replaced couple of last usages of Path with StrongPath. 2021-07-05 17:47:28 +02:00
Generator Separate user code into client, server, shared (#753) 2022-11-11 17:20:49 +01:00
Psl Renames auth method EmailAndPassword to UsernameAndPassword (#696) 2022-08-24 10:32:46 -04:00
Test Formatted whole codebase with ormolu. 2021-04-28 17:44:00 +02:00
Util Removed duplication between waspls and waspc, made them two packages in the same cabal project (#712) 2022-09-06 14:10:42 +02:00
AnalyzerTest.hs Separate user code into client, server, shared (#753) 2022-11-11 17:20:49 +01:00
ErrorTest.hs Replace Wasp with AppSpec and Parser with Analyzer. (#423) 2022-01-20 11:45:14 +01:00
Fixtures.hs Replace Wasp with AppSpec and Parser with Analyzer. (#423) 2022-01-20 11:45:14 +01:00
SemanticVersionTest.hs Make SemanticVersion module more expressive 2022-08-26 16:46:55 +02:00
TastyDiscoverDriver.hs Moved all code into waspc directory. 2020-02-20 12:30:58 +01:00
UtilTest.hs Add support for kebab-case in project name (#590) (#700) 2022-09-02 11:54:25 +02:00
WaspignoreFileTest.hs Moved all src/ modules into Wasp module, and all cli/ modules into Wasp.Cli module. 2021-11-11 13:26:20 +01:00