Commit Graph

1182 Commits

Author SHA1 Message Date
Mihovil Ilakovac
0fce66f21e
Drop the npm version requirement (#1002) 2023-02-13 16:10:40 +01:00
Filip Sodić
b79f694eef
Fix structural typing bug with operation types (#982)
* Support typing backend queries

* Implement types for actions and extract entities

* Add Prisma entities to the frontend

* Add frontend types to internal todoApp

* Undo moving for easier review

* Revert back to generating a query.js file

* Rename buildEntityData

* Fix structural typing bug

* Rename function for making entity json data

* Expand EntityMap to improve readability

* Remove leftover testing artifacts

* Remove wasp prefix from _entityName

* Remove solved todo in schema template

* Fix docs in method

* Adding uninstall command (#953)

* Adding uninstall command

* Updates docs and changelog related to the uninstall command

* Use StrongPath instead of FilePath

* Fix review feedback

* Move prisma client generation messages

* Generalize FileDraft functions

* Generate prisma clients using ENV

* Fix schema checksum check

* Small refactor in db generator

* Run prisma generate from server root dir

* Fix types for useAction

* Fix type error for useAction

* Fix schema generation in Dockerfile

* Refactor passing env vars to prisma schema

* Fix useAction types

* Replace Prelude readFile with SP readFile

* Add comment for prisma/client in web app

* Replace Prelude writeFile with SP writeFile

* Replace do and if with ifM

* Rename readProjectTelemetryFile

* Refactor readOrCreateUserSignatureFile

* Remove redundant comment

* Fix typo in variable name

* Simulate unions with a type class

* Further improve strongpath types

* Add expand types to types index

* Remove redundant comment

* Organize internal type modules

* Fix formatting

* Remove leftover code

* Generate prisma clients after migration

* Change ModuleRootDir to ComponentRootDir

* Remove solved todo

* Improve naming

* Remove redundant env variable

* Improve formatting

* Fix errors after merging

* Include input and output types

* Temporarily delete _types

* Restore _types index

* Add types to queries

* Rename WaspEntity to Entity

* Change local function name

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

* Rename local function again

* Update changelog

* Fix error type in useQuery

* Rename Component to AppComponent

* Refactor DbGenerator

* Explain Abs paths in SP helpers

* Update e2e tests

* Fix formatting

* Change signature for doesFileExist

* Change signature for SP functions

* Remove redundant do block

* Fix formatting

* Reorder functions

* Rename module to appComponent in functions

* Rename module to component in functions

* Rename telemetry cache function

* Fix formatting

* Update changelog

* Remove redundant import

* Update e2e tests

---------

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2023-02-13 15:17:08 +01:00
Matija Sosic
0964b883ef lp: updated RoR question. 2023-02-13 14:51:35 +01:00
Filip Sodić
c41f065ef4
Bring Prisma entities to the frontend (#962)
* Support typing backend queries

* Implement types for actions and extract entities

* Add Prisma entities to the frontend

* Add frontend types to internal todoApp

* Undo moving for easier review

* Revert back to generating a query.js file

* Rename buildEntityData

* Remove solved todo in schema template

* Fix docs in method

* Adding uninstall command (#953)

* Adding uninstall command

* Updates docs and changelog related to the uninstall command

* Use StrongPath instead of FilePath

* Fix review feedback

* Move prisma client generation messages

* Generalize FileDraft functions

* Generate prisma clients using ENV

* Fix schema checksum check

* Small refactor in db generator

* Run prisma generate from server root dir

* Fix types for useAction

* Fix type error for useAction

* Fix schema generation in Dockerfile

* Refactor passing env vars to prisma schema

* Fix useAction types

* Replace Prelude readFile with SP readFile

* Add comment for prisma/client in web app

* Replace Prelude writeFile with SP writeFile

* Replace do and if with ifM

* Rename readProjectTelemetryFile

* Refactor readOrCreateUserSignatureFile

* Remove redundant comment

* Fix typo in variable name

* Simulate unions with a type class

* Further improve strongpath types

* Generate prisma clients after migration

* Change ModuleRootDir to ComponentRootDir

* Remove solved todo

* Improve naming

* Remove redundant env variable

* Improve formatting

* Fix errors after merging

* Change local function name

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

* Rename local function again

* Update changelog

* Fix error type in useQuery

* Rename Component to AppComponent

* Refactor DbGenerator

* Explain Abs paths in SP helpers

* Update e2e tests

* Fix formatting

* Change signature for doesFileExist

* Change signature for SP functions

* Remove redundant do block

* Fix formatting

* Reorder functions

* Rename module to appComponent in functions

* Rename module to component in functions

* Rename telemetry cache function

* Fix formatting

---------

Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
2023-02-13 14:31:49 +01:00
Bas Dirks
e4e29eec0b
Add Input type to operations (#989)
* feat: add type variable for operation input argument

* Pass where object by name.

* Change default type of operator input to `never`.

* Update e2e checksums.

* Rename operation Result type to Output, remove redundant default types.

---------

Co-authored-by: Bas Dirks <bas.dirks@bettyblocks.com>
2023-02-10 16:56:53 +01:00
Mihovil Ilakovac
a7f499f71b
Fixes CI issues (#997)
* Adds a workaround for GHCup CI issue

* Fix Node.js to 18.12 to use the right npm version
2023-02-09 12:46:58 +01:00
Mihovil Ilakovac
6b887d6f24 Fix Node.js to 18.12 to use the right npm version 2023-02-09 11:44:24 +01:00
Shayne Czyzewski
b14ed945fc
Adds wasp deploy CLI command for Fly.io (#961) 2023-02-07 10:29:25 -05:00
Shayne Czyzewski
979904d5c8
Set index-state in dev-tool.project to match cabal.project (#990) 2023-02-06 15:41:10 -05:00
vincanger
05ae9dde30
Merge pull request #981 from wasp-lang/vince-improve-auth-integrations
Big Auth / Integrations Docs Update
2023-02-06 14:41:41 -05:00
vincanger
1c36da8ad3
Merge pull request #988 from wasp-lang/vince-truncate-posts
Blog: truncate 2 posts
2023-02-06 14:41:17 -05:00
vincanger
3502f9465c truncate 1 more post 2023-02-03 15:12:00 +01:00
vincanger
421d0fc934 too much junk in the trunk 2023-02-03 14:37:57 +01:00
vincanger
6c3e0b92e3 Merge branch 'release' 2023-02-02 15:35:29 +01:00
vincanger
05c2a6d58a Merge branch 'release' of https://github.com/wasp-lang/wasp into release 2023-02-02 15:29:03 +01:00
vincanger
d8c83725ef
Merge pull request #986 from wasp-lang/vince-add-framework-blogpost
add 'best framework doesn't exist' post
2023-02-02 15:23:45 +01:00
Matija Sosic
8526208dea Blog: beta launch review 2023-02-02 13:56:35 +01:00
Matija Sosic
c666bc214b Blog: beta launch review 2023-02-02 13:11:17 +01:00
vincanger
592716467d add framework blogpost 2023-02-02 12:25:15 +01:00
Mihovil Ilakovac
1017e20bf4
Adding uninstall command (#953)
* Adding uninstall command

* Updates docs and changelog related to the uninstall command
2023-02-01 11:18:24 +01:00
vincanger
7b90f5c12e Update sidebars.js 2023-01-31 14:44:47 +01:00
vincanger
b610addef9 Update features.md 2023-01-31 11:35:12 +01:00
vincanger
7c29fcae2a Update features.md 2023-01-31 11:28:15 +01:00
vincanger
f91b2a4fad cleanup and improvements 2023-01-31 11:18:52 +01:00
vincanger
f359ef6e18 big auth/integrations update 2023-01-30 13:48:05 +01:00
Martin Šošić
0002414fa1
Telemetry now recognizes when running on CI. (#963)
* Telemetry now recognizes when running on CI.

* Bumped cabal version from 0.8.0 to 0.8.1 .

* fixed e2e tests.
2023-01-28 14:31:35 +01:00
Matija Sosic
b698924fa9 Blog: added newsletter CTA to Dec '23 update post. 2023-01-25 13:37:27 +01:00
Matija Sosic
2165ced0f7 blog: fixed image in Dec '23 update post. 2023-01-25 13:00:18 +01:00
Matija Sosic
91d4fbfe1e Blog: added December '23 update. 2023-01-25 12:45:27 +01:00
Matija Sosic
5d6b229d6a
Fix for misaligned contents of auth buttons. (#966) 2023-01-25 10:19:01 +01:00
Filip Sodić
71038c277d
Add automatic TypeScript support for operations (#952)
* Support typing backend queries

* Implement types for actions and extract entities

* Automatically generate specific operation types

* Eta reduce functions

* Add CR fixes

* Add type to imports and exports for entities

* Change query extensions back to .js

* Tidy up default arguments for operation types

* Don't throw syntax error when there are no entities

* Update e2e tests

* Fix formatting

* Address CR comments

* Fix typo in comment

* Add duplication comment

* Update e2e tests

* Fix duplication comments

* Update changelog and bump project version

* Update changelog

* Update e2e tests
2023-01-24 15:12:57 +01:00
Filip Sodić
81ffa6c27c
Add manual TypeScript support for Operations (#945)
* Support typing backend queries

* Implement types for actions and extract entities

* Add CR fixes

* Add type to imports and exports for entities

* Change query extensions back to .js

* Tidy up default arguments for operation types

* Don't throw syntax error when there are no entities

* Update e2e tests

* Fix formatting

* Fix typo in comment

* Update changelog and bump project version
2023-01-24 14:45:35 +01:00
vincanger
2ed921a442 Merge branch 'release' 2023-01-20 09:49:49 +01:00
vincanger
04286874d6
Merge pull request #959 from wasp-lang/vince-improve-google-auth-docs
improve docs -- auth & intro video
2023-01-20 09:48:23 +01:00
Filip Sodić
68c7d03814
Make odoApp in waspc compatible with TypeScript (#960) 2023-01-19 15:19:11 +01:00
vincanger
da42c6cb40 add Intro Video link 2023-01-18 18:06:53 +01:00
vincanger
2c166e8701 Update features.md 2023-01-18 17:50:10 +01:00
Matija Sosic
a17abcbfec lp: added Wasp intro video. 2023-01-17 17:12:40 +01:00
vincanger
b0c20a1f6d Merge branch 'release' 2023-01-17 10:41:43 +01:00
vincanger
9ca12d4768
Merge pull request #886 from wasp-lang/vince-add-todo-ts-example
add todo app w/ typescript
2023-01-17 10:40:22 +01:00
vincanger
db73046c60 filips suggestions 2023-01-16 18:11:29 +01:00
vincanger
9a9b6120d6 add filip's suggested changes 2023-01-16 17:09:09 +01:00
vincanger
f8468c9f18 Merge branch 'release' into vince-add-todo-ts-example 2023-01-16 16:20:24 +01:00
Matija Sosic
3f4d2346a9 blog: linked to Amicus website in Amicus use case. 2023-01-16 09:47:17 +01:00
Martin Šošić
572d9d6307
Fixed link to Tasty library in README.md 2023-01-13 10:01:14 +01:00
vincanger
afd59877ca Added Betathon blog post. 2023-01-12 16:59:36 +01:00
Matija Sosic
44fec49992 gtag tracking id update. 2023-01-11 13:28:10 +01:00
Martin Šošić
4e6d1500f6
Updated README.md to tell devs to update wasp version with every PR 2023-01-04 23:23:57 +01:00
Martin Šošić
ff25d1ed38
Delete feature_request.md 2023-01-04 22:47:16 +01:00
Martin Šošić
1a3fed14ec
Update config.yml 2023-01-04 22:46:40 +01:00