Commit Graph

42 Commits

Author SHA1 Message Date
Martin Sosic
a13e4ad130 examples/thoughts now uses wasp-config from 0.15, not from rc2. 2024-10-10 20:32:42 +02:00
Filip Sodić
1e1545f88c
Update migration doc for 0.15 and migrate apps (#2338) 2024-10-10 17:05:02 +02:00
Martin Šošić
8cdb5755fe
Moved examples/thoughts to Wasp TS config. (#2337)
* Moved examples/thoughts to Wasp TS config.

* fix
2024-10-10 16:58:16 +02:00
Mihovil Ilakovac
05dfcc860e
Bumps Wasp to 0.15.0 (#2321) 2024-10-04 13:53:34 +02:00
Mihovil Ilakovac
db29f84c9b
Cleanup & bump some deps (#2316) 2024-10-04 12:03:40 +02:00
Mihovil Ilakovac
d1f0c79d89
Bumps react-router-dom to v6 (#2256) 2024-09-30 13:21:46 +02:00
Mihovil Ilakovac
ac38c6a85a
Update Prisma to v5 (#2231) 2024-09-04 15:16:25 +02:00
Mihovil Ilakovac
e3fec74b8e
Migrate thoughts app to 0.14.0 (#2158) 2024-07-08 18:02:54 +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
5dbd3f0ec2
Bumps Wasp version in docs and example apps (#1902) 2024-03-18 17:47:32 +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ć
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
Martin Šošić
dbe8266bb6
Again migrated thoughts to 0.12. (#1789)
* Again migrated thoughts to 0.12.

* fix
2024-02-21 13:41:00 +01:00
Martin Šošić
d5755487e5
Updated examples/thoughts to 0.12. (#1742)
* Updated examples/thoughts to 0.12.

* Reordered imports.
2024-02-12 14:52:00 +01:00
Mihovil Ilakovac
633e25c125
Injected auth models (#1583) 2024-01-03 14:40:08 +01:00
Martin Šošić
b8dc241f0b
Fixed links to examples, added examples/README.md, improved some names. (#1542)
* Fixed links to examples, added examples/README.md, improved some names.

Co-authored-by: Filip Sodić <filip.sodic@gmail.com>

* fix

---------

Co-authored-by: Filip Sodić <filip.sodic@gmail.com>
2023-11-17 15:02:32 +01:00
Filip Sodić
5e45dad54a
Make example app names more descriptive (#1512)
Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com>
2023-10-16 16:29:44 +02:00
Martin Sosic
2782f7cb5f Deployed Thoughts example app to Fly.io. 2023-10-13 13:56:55 +02:00
Martin Šošić
7c1e9879ab
Removed JS extension from imports on client (in examples, docs, ...). (#1276) 2023-06-21 19:19:13 +02:00
Martin Šošić
590a08bb14
Upgrade React to v18 and Vite accordingly (#1248) 2023-06-14 21:56:26 +02:00
Martin Sosic
2edebdbcb3 Updated app to v0.10, added db seeding. 2023-04-07 18:26:24 +02:00
Martin Šošić
91a8063081
Implemented wasp start db (managed dev db) (#1044)
Implemented 'wasp start db' + docs + e2e tests + refactoring.
2023-03-21 16:37:20 +01:00
Mihovil Ilakovac
7a0f8b5d58
Replaces Create React App with Vite (#1019) 2023-03-01 17:14:14 +01:00
Shayne Czyzewski
d5488d4963
Update examples to 0.8.0 (#919) 2023-01-02 12:11:39 -05:00
Martin Sosic
9d370c498a Upgraded example/thoughts to 0.7.0 2022-11-25 18:21:10 +01: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
Filip Sodić
a9376c423d
Fix errors in example apps (#727)
* upgrade frontend deps and react to 17

* update examples

* upgrade server deps

* do not upgrade to prisma 4 in this PR

* update e2e

* update pg-boss URLs

* Fix errors in thoughts

* Fix controlled component error in realworld

Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-09-19 14:03:07 +02: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
Martin Šošić
8d2c33ab28
Replace Wasp with AppSpec and Parser with Analyzer. (#423) 2022-01-20 11:45:14 +01:00
Martin Sosic
0785378a53 Added information on where the examples are deployed. 2021-10-06 16:16:41 +02:00
Martin Sosic
5606cc3751 Added feedback to examples/thoughts README.md. 2021-07-13 21:10:42 +02:00
Martin Sosic
a37600ad0c Connected thoughts and tags to user. 2021-07-13 21:09:18 +02:00
cursorial
a67c3f07c1
refactor(examples:thoughts): Create reusable tag component (#255)
Fixes #252

Co-authored-by: Michael Curry <michael.curry@thebeansgroup.com>
2021-06-17 10:25:03 +02:00
cursorial
7207d98c7a
refactor(examples:thoughts): Create a reusable Layout component for page layout (#253)
Fixes #252

In order to remove duplication for the TopNavbar and the TagsSidebar on
these pages we need a base Layout component. This PR eliminates the
duplication we were seeing before.

Co-authored-by: Michael Curry <michael.curry@thebeansgroup.com>
2021-06-16 14:32:10 +02:00
Michael Curry
2c417ee188 Clean up lint errors in Thoughts
Removed unused imports, variables and functions from Thoughts source files
2021-05-31 21:11:01 +02:00
Martin Sosic
62d5049f7e Implemented first version of 'thoughts' example app. 2021-05-14 15:00:43 +02:00