Commit Graph

16 Commits

Author SHA1 Message Date
Shayne Czyzewski
fc29a891dc
Update example versions (#836) 2022-11-26 10:02:25 -05:00
Shayne Czyzewski
c71c810585
Update examples styling (#807) 2022-11-16 07:57:31 -05:00
Filip Sodić
2fe7398462
Adapt example apps to project struct change (#809)
* 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

* Update docs for new project structure

* Update todoApp example to new structure

* Update ItWaspsOnMyMachine

* Update thoughts

* Update Waspello to new structure

* Update Waspleau to new structure

* Update Realworld to new structure, fix warnings

* Fix directory tree watching on wasp start

* Implement review feedback

* Fix typo in docs

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

* Fix typo in docs

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

* Fix another typo in docs

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

* Add src prefix to file path in docs

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

* Remove env server file

* Apply suggestions from code review

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

* Address code review comments

* Fix incorrect path in docs

* Fix references to ext in docs

* Edit changelog and add migration guide

* Further update docs to new structure

* Update blogs about example apps to new structure

* Fix typo in docs

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

* Update typo on frontpage

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

* Add missing src in docs

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

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 18:58:29 +01:00
Anthony Suárez
0cde880f24
Feat: Validate wasp version from spec (#786)
* Add wasp field to AppSpec.App

* Validate app.wasp.version in AppSpec.Valid

* Add app.wasp.version field on .wasp file generated by CreateNewProject

* Add app.wasp.version to .wasp files of e2e tests

* Add app.wasp.version to examples' .wasp files

* Add app.wasp.version to docs

* Change waspc version from 0.6.0.0 to 0.6.0

* Change app.wasp.version validation to use regular semver

* Format code

* Refactor app.wasp.version validation

* Refactor app.wasp.version validation

* Update supported app.wasp.version format in docs

* Add TODO to validateWaspVersion

* Refactor app.wasp.version using toEnum

* Create Wasp.Version module with waspVersion constant

* Fix parseWaspVersionRange regex

Fixed:
  - The regex wasn't checking the string *starts* with ^.
  - The . symbols were not escaped.
  - The $ token is not specified as supported in the regex-tdfa docs.
    \' is used instead.

* Add comment explaining wasp version validation restrictions

* Use Wasp.Version.waspVersion instead of Paths_wasp.version
2022-10-31 23:00:03 +01:00
Joshua Farayola
5473aba6a0 Waspello: Implemented add card and copy list actions in list popover 2022-10-28 13:09:19 +02:00
Anup Aglawe
ba0773c07c fix: drag n drop like trello in example 2022-10-28 12:52:00 +02:00
Hari Sankar
6d0affac49
Add README for [example/Waspello] (fix #663) (#738)
* Add README for [example/Waspello] (fix #663)

* Fix typo

* link to the wasp docs

* Fix typo [example/Waspello]

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

* Mention the backend

Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
Co-authored-by: Max Khamrovskyi <maksim36ua@gmail.com>
2022-10-12 14:39:23 +03:00
Shayne Czyzewski
1a7a04b87c
Updates React to 17, plus some other minor version updates (#720) 2022-09-16 09:55:26 -04:00
Shayne Czyzewski
6cd38b0f94
Adds Google as an authentication method (#669) 2022-09-06 14:35:59 -04:00
Shayne Czyzewski
bc92b024e1
Renames auth method EmailAndPassword to UsernameAndPassword (#696) 2022-08-24 10:32:46 -04:00
h4r1337
602c57bd33
Added header to example apps that points to their source code 2022-07-08 17:53:43 +02:00
Shayne Czyzewski
09a72a7e1a
Upgrade Prisma to version 3.9.1 (#452) 2022-02-11 17:55:41 -05:00
Matija Sosic
9546dcf200 Waspello: added Wasp top bar. 2022-02-11 10:34:33 +01:00
Matija Sosic
b11f07bb3f
Migrated Waspello to the new Wasp DSL syntax. (#458) 2022-02-11 10:21:36 +01:00
Matija Sosic
f463f75ab8 [Waspello] cleanup - removed unused query. 2022-01-12 16:47:05 +01:00
Matija Sosic
f57a492345 renamed trello example to waspello. 2021-10-11 14:03:03 +02:00