Martin Sosic
20c06bc9e7
fix
2023-06-29 14:00:33 +02:00
Martin Sosic
f989bd7fca
Now we do multiple attempts to fix wasp file if there are compile errors left.
2023-06-29 13:36:50 +02:00
Martin Sosic
d553f29f70
Merge branch 'main' into wasp-ai
2023-06-29 12:46:05 +02:00
Craig McIlwrath
c1d86b1f91
Show multiple parse errors from Wasp Analyzer ( #1298 )
...
* allow multiple errors to come out of analyzer
basically just plumbing. does add one new thing: all the concrete parse
errors get reported now 🥳
* add statement level error recovery to abstract parser
* add expression level parse recovery
recovers from errors inside dict entries, lists,
and tuples.
* document parser error recovery
* run formatter
2023-06-29 12:34:31 +02:00
Mihovil Ilakovac
a2a41ea0a0
Fixes imports example
2023-06-29 00:23:37 +02:00
Mihovil Ilakovac
1b4e7cd765
Formatting
...
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-28 23:51:24 +02:00
Mihovil Ilakovac
f4b76f0e34
Merge branch 'main' into wasp-ai
2023-06-28 23:40:57 +02:00
Mihovil Ilakovac
7caf367d41
Adds Tailwind support. Small prompt adjustments.
2023-06-28 23:40:00 +02:00
Martin Sosic
302936bf7f
Added reporting of tokens usage.
2023-06-28 23:19:06 +02:00
Martin Sosic
08c235d12e
Added fixing of NodeJS operations files.
2023-06-28 22:04:57 +02:00
Martin Sosic
286117b404
Added fixing of individual Operations.
2023-06-28 20:28:37 +02:00
Martin Sosic
cf8877479c
Small fix of plan fixing.
2023-06-28 17:11:33 +02:00
Martin Sosic
1d6277846b
Implemented fixing of Wasp file.
2023-06-28 16:48:22 +02:00
Mihovil Ilakovac
feeb9217de
Updates data files list
2023-06-28 11:54:28 +02:00
Martin Sosic
5d13b4d607
tiny plan fixing fix.
2023-06-28 11:40:33 +02:00
Martin Sosic
15ce1bf5bb
Now new-ai can be called programmaticaly more easily.
2023-06-28 11:25:09 +02:00
Martin Šošić
6c2049ad5a
Added plan fixing. ( #1296 )
2023-06-28 09:42:08 +02:00
Martin Sosic
349875b242
Upped number of retries for JSON from 1 to 2. Added pretty debugging of chatGPT prompts.
2023-06-27 18:24:12 +02:00
Martin Šošić
69129df3ce
If chatGPT responds with invalid JSON, ask it to fix it. ( #1293 )
2023-06-27 16:03:06 +02:00
Martin Šošić
3cb1dbd9f9
Update README.md with instructions on updating starter templates before release.
2023-06-27 12:31:36 +02:00
Mihovil Ilakovac
a10e4fdff1
Adds missing basic template files
2023-06-27 10:35:28 +02:00
Martin Sosic
db52fdbeac
Merge branch 'main' into wasp-ai
2023-06-26 19:12:41 +02:00
Martin Šošić
466e33d50c
Wasp ai retry ( #1288 )
...
* Wasp AI now retries requests to chat GPT.
* Improved retry.
* Got tests for retry working.
* one more test.
* Improved retry tests a bit.
* Finished tests.
* fix
2023-06-26 17:48:08 +02:00
Mihovil Ilakovac
0e5e653832
Add info about Auto CRUD and Websockets to ChangeLog.
...
Co-authored-by: Craig McIlwrath <craigmc08@gmail.com>
2023-06-26 14:44:32 +02:00
Martin Sosic
ee18f8bb2d
Enriched ChangeLog with more info on 0.11.
2023-06-26 14:19:09 +02:00
Mihovil Ilakovac
c50aef34f8
Rewrite templates to include description ( #1283 )
2023-06-23 16:44:24 +02:00
Craig McIlwrath
d5c04a002a
[waspls] fix debouncer tests ( #1284 )
2023-06-23 10:28:22 -04:00
Martin Sosic
001068ca1a
Merge branch 'main' into wasp-ai
2023-06-23 12:45:59 +02:00
Martin Sosic
afb148e19d
wasp cli now exits with code 1 on internal errors.
2023-06-23 12:44:43 +02:00
Martin Sosic
83ef006a98
Improved messaging for missing OpenAI Api key.
2023-06-23 12:09:09 +02:00
Craig McIlwrath
7c0d13d242
[waspls] diagnostics for external imports and goto definition ( #1268 )
2023-06-22 15:37:07 -04:00
Craig McIlwrath
066b832127
Adjust how dictionary types are displayed ( #1280 )
2023-06-22 14:13:18 -04:00
Mihovil Ilakovac
dc1c3aab49
Adds extra type info to middleware customization fn ( #1279 )
...
* Adds extra type info to middleware customization
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
* Fixes e2e tests
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
---------
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-22 16:52:52 +02:00
Mihovil Ilakovac
d3454a5f58
Merge branch 'main' into wasp-ai
2023-06-22 10:48:36 +02:00
Mihovil Ilakovac
e3873a6148
Fixes oAuth redirect behaviour in development ( #1275 )
2023-06-22 10:47:47 +02:00
Mihovil Ilakovac
67f88cc50e
Fixes Websocket Typescript issues ( #1277 )
2023-06-22 10:30:03 +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
Mihovil Ilakovac
b80f8946cf
Updates broken imports for Auth components ( #1274 )
2023-06-21 16:09:10 +02:00
Martin Sosic
122dc2a058
Headless tests playwright package-lock.json update.
2023-06-21 11:18:02 +02:00
Martin Sosic
cfa09771e1
Merge branch 'main' into wasp-ai
2023-06-21 11:06:45 +02:00
Martin Sosic
98fa699011
Fix with non-optional jsImports field that should have been optional.
2023-06-21 11:01:31 +02:00
Craig McIlwrath
802e0c5e5d
show error message when database is not running ( #1218 )
...
Co-authored-by: Martin Šošić <Martinsos@users.noreply.github.com>
Co-authored-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-06-20 14:34:14 -04:00
Martin Sosic
2e9a33d167
Extracted core skeleton files from the local template(s).
2023-06-20 19:58:15 +02:00
Martin Sosic
2379877b14
Removed debugging output.
2023-06-20 18:37:36 +02:00
Martin Sosic
6d4a39a976
Merge commit resolutions I ommited commiting by accident.
2023-06-20 18:32:50 +02:00
Martin Sosic
8b6fdc7b6e
Merge branch 'main' into wasp-ai
2023-06-20 18:30:20 +02:00
Craig McIlwrath
e43b8f986c
[waspls] add dictionary autocomplete and signature help ( #1230 )
2023-06-20 07:31:20 -04:00
Martin Sosic
85cf960121
Reorganized creation of new project a bit.
2023-06-20 11:08:34 +02:00
Martin Sosic
170d63ae63
fix
2023-06-19 23:08:57 +02:00
Martin Sosic
9a079f90d2
Moved command for AI project generation to better place.
2023-06-19 23:06:38 +02:00
Martin Sosic
e54171da01
Moved AI/GenerateNewProject to waspc-lib.
2023-06-19 22:54:26 +02:00
Martin Sosic
5ad6d9a8fe
Made GenerateNewProject independent of CLI.
2023-06-19 21:34:14 +02:00
Martin Sosic
6333c6157f
Moved CodeAgent and OpenAI modules under Wasp.AI.
2023-06-19 20:44:12 +02:00
Martin Sosic
30ad72df6f
A bit of refactoring.
2023-06-19 20:19:58 +02:00
Martin Šošić
1584721299
Updated telemetry docs. ( #1237 )
2023-06-19 12:29:05 +02:00
Shayne Czyzewski
3e85b0f067
Adds WebSocket support ( #1203 )
2023-06-19 10:49:57 +02:00
Filip Sodić
fb4001a5a0
Update axios and tanstack-query to latest versions ( #1260 )
2023-06-16 18:26:45 +02:00
Filip Sodić
90bbff3b64
Ensure Auth entity has a unique username ( #1257 )
2023-06-16 17:01:55 +02:00
Martin Sosic
b1778cd505
It works! Web app calls wasp-cli and works.
2023-06-16 15:43:16 +02:00
Martin Sosic
f78ddf17d4
Fixes.
2023-06-15 21:13:54 +02:00
Martin Sosic
67a5f37b33
Now new-ai can work for human or for machine.
2023-06-15 20:37:53 +02:00
Martin Sosic
fb33dc9836
Put down basics for Page generation, need to finalize prompt.
2023-06-15 18:11:24 +02:00
Martin Sosic
d925836ac7
All operations are now being generated.
2023-06-15 17:07:39 +02:00
Martin Sosic
9ffc115fcd
Actions are now generated.
2023-06-15 15:44:52 +02:00
Mihovil Ilakovac
94d736f485
Auto CRUD: docs update & type bug fix ( #1256 )
2023-06-15 15:35:23 +02:00
Mihovil Ilakovac
b37cc22fc4
Adds support for a client public folder ( #1229 )
2023-06-15 15:17:10 +02:00
Martin Sosic
cbb3962508
Plan is now nicely printed.
2023-06-15 10:49:55 +02:00
Martin Sosic
c57ef72117
Planing working relatively ok!
2023-06-14 23:05:18 +02:00
Martin Sosic
dcb633a557
Implemented generation of plan, got it to compile.
2023-06-14 22:48:43 +02:00
Martin Šošić
590a08bb14
Upgrade React to v18 and Vite accordingly ( #1248 )
2023-06-14 21:56:26 +02:00
Martin Sosic
5900914faf
Implemented generation of wasp skeleton, next is planning.
2023-06-14 17:11:28 +02:00
Mihovil Ilakovac
3faee611ac
Automatic CRUD ( #1197 )
2023-06-14 16:55:07 +02:00
Filip Sodić
89dbb49160
Ensure operation payloads are serializable ( #1252 )
2023-06-14 15:53:39 +02:00
Filip Sodić
b6cf4ec8ae
Update TypeScript to version 5.1 ( #1143 )
2023-06-14 15:42:19 +02:00
Martin Sosic
a89f52b026
Command.AI.New is now in order.
2023-06-13 21:57:49 +02:00
Martin Sosic
1a8db2abf8
Wrote basic skeleton of GenerateNewProject.hs
2023-06-13 18:07:02 +02:00
Martin Sosic
4401d4a89f
Implemented first version of CodeAgent monad.
2023-06-13 16:09:48 +02:00
Mihovil Ilakovac
e840835d4b
Auth UI component refactor ( #1216 )
2023-06-13 12:24:13 +02:00
Martin Sosic
65ec766ad6
fix
2023-06-12 22:41:56 +02:00
Martin Sosic
d16b3da33b
Created a new skeleton for wasp ai, in Wasp.Cli.Command.AI.GenerateNewProject.hs.
2023-06-12 22:41:27 +02:00
Mihovil Ilakovac
e2ba85153b
Narrows down what can be saved when signing up ( #1236 )
2023-06-07 14:23:27 +02:00
Craig McIlwrath
ec307d0a3d
move Wasp/Generator/Node/Version -> Wasp/Node/Version ( #1226 )
2023-06-05 07:52:51 -04:00
Craig McIlwrath
a48ea5311a
fix auth/me route to use correct field of request ( #1231 )
2023-06-02 21:43:39 +02:00
Craig McIlwrath
00e4966f06
Add test framework for language server autocompletion ( #1223 )
2023-06-01 11:03:01 -04:00
Craig McIlwrath
ce587a9fad
Improve waspc node version checking and error messages ( #1210 )
...
* increase minimum version of process dependency
* improve node version error messages
2023-05-26 08:47:58 -04:00
Shayne Czyzewski
e8e5466971
Prep main
for v0.10.6 ( #1219 )
2023-05-24 11:31:21 -04:00
Shayne Czyzewski
8d5530519b
Adds --org
and launch secrets to wasp deploy
( #1196 )
2023-05-23 10:25:37 -04:00
Shayne Czyzewski
cb26d71947
Handles updated flyctl launch
toml file ( #1211 )
2023-05-19 11:05:45 -04:00
Mihovil Ilakovac
5e86039a29
Adds headless testing ( #1186 )
2023-05-17 14:54:47 +02:00
Fran Zekan
53ee9297f9
Wrap all react-router routes with Switch ( #1188 )
2023-05-11 16:09:09 +02:00
Filip Sodić
29889a9c37
Expose Sanitized User on the frontend ( #1190 )
2023-05-04 11:47:56 +02:00
Richard
3f16e92b58
Fix typo in auth provider error message ( #1189 )
2023-05-04 11:40:59 +02:00
Shayne Czyzewski
d1614372bf
Propagates error exit code for wasp deploy
( #1165 )
2023-05-03 10:05:35 -04:00
Mihovil Ilakovac
3f218fbbc5
Improve the scaffolding experience ( #1140 )
2023-05-03 12:57:17 +02:00
Mihovil Ilakovac
2168282473
Merge branch 'main' into release-with-main-02-05
2023-05-02 10:14:47 +02:00
Mihovil Ilakovac
683c4fd43c
Hotfixes issues with HttpError import ( #1178 )
2023-04-30 22:28:00 +02:00
Mihovil Ilakovac
2cb0386acf
Cherry pick #1168 : fixes circular imports ( #1170 )
2023-04-27 12:51:45 +02:00
Mihovil Ilakovac
561390dfc4
Updates imports for throwInvalidCredentialsError ( #1168 )
2023-04-27 12:14:36 +02:00
Martin Sosic
7881b06bfd
Wrote initial prompt, works so so.
2023-04-26 23:05:48 +02:00
Shayne Czyzewski
013a13dee2
Adds middleware customization ( #1092 )
2023-04-24 12:16:54 -04:00
Martin Sosic
6742c5d286
Failed wasp CLI commands now return exit code 1.
2023-04-21 19:38:55 +02:00
Martin Sosic
25b5b62e14
Wrote instructions for myself.
2023-04-20 21:35:33 +02:00
Martin Sosic
33f8257549
Got asking GPT questions working.
2023-04-19 21:26:44 +02:00
Shayne Czyzewski
30078233f3
Adds building of examples/todoApp
to CI ( #1146 )
2023-04-19 10:03:39 -04:00
Mihovil Ilakovac
eb81959d86
Release 0.10.2 from main ( #1151 )
2023-04-19 01:14:06 +02:00
Mihovil Ilakovac
a87a9ca3ec
Fixes e2e tests after version bump ( #1150 )
2023-04-19 01:01:12 +02:00
Mihovil Ilakovac
8729c1caf1
Updates version to 0.10.2 ( #1149 )
2023-04-19 00:40:25 +02:00
Mihovil Ilakovac
6b9adf80b2
Fixes Haskell list to JS array utility ( #1147 )
2023-04-19 00:34:27 +02:00
Filip Sodić
c9d3eae376
Merge branch 'release'
2023-04-18 19:19:34 +02:00
Filip Sodić
6ed68c60bb
Update changelog for v0.10.1 ( #1145 )
2023-04-18 18:51:05 +02:00
Filip Sodić
949b462d21
Fix build errors in Wasp 0.10.0 ( #1144 )
2023-04-18 18:07:09 +02:00
vincanger
3065999359
Merge branch 'release'
2023-04-18 16:38:54 +02:00
Mihovil Ilakovac
e03301930a
Fixes e-mail auth docs ( #1142 )
...
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
2023-04-17 14:17:12 +02:00
Martin Sosic
b8fb9a71be
fixed small coloring mistake in CLI help.
2023-04-12 16:32:21 +02:00
Filip Sodić
7995c90505
Update changelog ( #1127 )
2023-04-12 15:56:36 +02:00
Filip Sodić
4171f5608b
Fix full-stack type support errors ( #1123 )
2023-04-12 15:36:52 +02:00
Martin Sosic
89979beaf5
Small dx improvements for db starting.
2023-04-12 14:01:54 +02:00
Mihovil Ilakovac
d580d62c45
Adds input padding for Auth UI ( #1122 )
2023-04-12 11:16:17 +02:00
Mihovil Ilakovac
ae85d1a285
Registers User
entity as dependency of getMe
( #1116 )
2023-04-11 18:25:30 +02:00
Mihovil Ilakovac
ee5272e6de
Improves error messages in auth ( #1120 )
2023-04-11 16:49:26 +02:00
Martin Sosic
71acb26bbc
fix
2023-04-11 14:24:00 +02:00
Filip Sodić
d8f7a633ed
Fix type errors preventing build ( #1118 )
2023-04-07 19:20:06 +02:00
Martin Sosic
e960ad3208
Regenerated e2e tests.
2023-04-07 18:26:24 +02:00
shayneczyzewski
5312425f69
update mock user
2023-04-07 18:26:24 +02:00
Martin Sosic
218df5d989
Clarified docs regarding docker and managed dev db.
2023-04-07 18:26:24 +02:00
Martin Sosic
da71a3ca60
Small doc fixes, updated Prisma to 4.12.0
2023-04-07 18:26:24 +02:00
Martin Sosic
06ad8a0b55
Made prefixed output of underlying processes a bit nicer.
2023-04-07 18:26:24 +02:00
shayneczyzewski
3708430ca2
bump todoapp version
2023-04-07 18:26:24 +02:00
Mihovil Ilakovac
a2936b78a0
Add e-mail auth docs ( #1113 )
2023-04-07 16:21:06 +02:00
shayneczyzewski
67cffa3d14
Bump version in ChangeLog.md
2023-04-06 15:35:01 -04:00
Filip Sodić
ea714642fe
Update waspc.cabal version to 0.10.0 ( #1109 )
2023-04-06 21:20:07 +02:00
Filip Sodić
945d777133
Add full-stack compile-time type safety ( #1090 )
2023-04-06 21:12:18 +02:00
Mihovil Ilakovac
5be9d1fa5e
Auth UI integration with email & polish ( #1107 )
2023-04-06 20:29:05 +02:00
Mihovil Ilakovac
809eb90386
Adds scaffolding based on giget ( #1105 )
2023-04-06 16:15:34 +02:00
Shayne Czyzewski
5119f0fa4f
Updates docs about social and usernameAndPassword
field coupling ( #1106 )
2023-04-06 09:05:04 -04:00
Mihovil Ilakovac
7f32a4ccb9
Adding e-mail auth (e-mail verfication, password reset) ( #1087 )
2023-04-05 23:25:03 +02:00
Matija Sosic
8ad582ac7b
Implemented Auth UI. ( #1093 )
2023-04-05 22:56:05 +02:00
Martin Šošić
0e5aa85014
Implement database seeding via 'wasp db seed'
2023-04-05 11:33:52 +02:00
Shayne Czyzewski
89f12ea35b
Relax dependency between oauth and usernameAndPassword fields ( #1102 )
2023-04-04 14:35:14 -04:00
Martin Šošić
a1ef7bc2b8
Db seeding rfc ( #1064 )
...
* First version of db seeding RFC.
* done
2023-04-03 14:25:37 +02:00
Shayne Czyzewski
5d2b278e75
Adds vitest
for testing client code ( #1055 )
2023-03-30 12:22:40 -04:00
Martin Sosic
7cd31d39df
Created initial skeleton for 'wasp ai new' command.
2023-03-24 17:54:38 +01:00
Mihovil Ilakovac
6dbeedca60
Adds support for e-mail sending ( #1050 )
2023-03-24 12:42:22 +01:00
Shayne Czyzewski
3e90323da2
Upgrade pg-boss
to 8.4.2 ( #1078 )
2023-03-23 08:52:24 -04:00
Mihovil Ilakovac
a86f3fdb7c
Fixes localstorage clearing bug ( #1058 )
2023-03-22 14:05:39 +01: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
326737759d
Refactor auth to conform to providers interface ( #998 )
2023-03-16 10:42:57 +01:00
Mihovil Ilakovac
7bd217595a
Opens React app by default when running wasp start
( #1059 )
2023-03-15 14:46:37 +01:00
Shayne Czyzewski
9f3f5234ef
Adds api
for defining custom HTTP routes ( #1043 )
2023-03-14 14:04:51 -04:00
Mihovil Ilakovac
6d979c1c7f
Adds support for FE listening on multiple addresses ( #1048 )
2023-03-10 11:30:48 +01:00
Martin Sosic
81f0eeae15
Bumped Wasp version to 0.9.0.
2023-03-08 23:09:29 +01:00
Mihovil Ilakovac
cb691c8dd7
Fixes tsconfig.json use of extends ( #1045 )
2023-03-07 22:52:21 +01:00
Mihovil Ilakovac
0048bd126c
Updates e2e tests ( #1040 )
2023-03-03 12:38:20 +01:00
Mihovil Ilakovac
4c60f3c5b7
Vite related docs and changelog update ( #1037 )
2023-03-02 16:31:53 +01:00
Mihovil Ilakovac
bbaf8bdf3b
Adds new complex e2e test ( #1030 )
2023-03-02 15:05:24 +01:00
Shayne Czyzewski
6dcfb290d9
Cast server setupFn
for backwards compatibility ( #1038 )
2023-03-02 08:34:51 -05:00
Mihovil Ilakovac
7a0f8b5d58
Replaces Create React App with Vite ( #1019 )
2023-03-01 17:14:14 +01:00
Shayne Czyzewski
8991043eed
Add Express app
and http server
to server setupFn
( #1017 )
2023-02-27 12:19:17 -05:00
Filip Sodić
32188075c6
Add docs for TypeScript support in Wasp ( #1029 )
2023-02-27 11:19:09 +01:00
Filip Sodić
3264b7c66b
Fix environment variable overriding in processes ( #1028 )
2023-02-24 14:00:10 +01:00
Mihovil Ilakovac
799db73f34
Increase clickable area for auth buttons ( #1027 )
2023-02-23 14:30:33 +01:00
Mihovil Ilakovac
5e1c025bd1
Invalidate queries after oAuth login ( #1024 )
2023-02-23 14:11:02 +01:00
Mihovil Ilakovac
b5684ce184
Add mjs template files ( #1026 )
2023-02-23 11:44:25 +01:00
Mihovil Ilakovac
19841401ac
Updates social auth button styles ( #1018 )
2023-02-22 21:50:07 +01:00
Shayne Czyzewski
1515d04b5a
Fix server env validation during deploy ( #1022 )
2023-02-22 14:16:30 -05:00
Mihovil Ilakovac
85b3e3480a
Add missing dotenv dependency ( #1021 )
2023-02-22 15:30:22 +01:00
Mihovil Ilakovac
75b3d7db01
Adds env validation and shared templates folder ( #994 )
2023-02-21 11:52:37 +01:00
Mihovil Ilakovac
9665571c63
Moves root component inside of Router
( #1016 )
2023-02-21 11:52:14 +01:00
Mihovil Ilakovac
9b2c8ca0a5
Fixes user query cache invalidation ( #1014 )
2023-02-20 16:28:26 +01:00
Mihovil Ilakovac
c2a3e04283
Adds support for root component ( #1009 )
2023-02-20 11:15:54 +01:00
Shayne Czyzewski
bfbb57ecd0
Build server during Docker build, not when starting app ( #1008 )
2023-02-17 13:33:25 -05:00
Shayne Czyzewski
868362d103
Allow Fly to build locally ( #1006 )
2023-02-16 10:27:30 -05:00
Mihovil Ilakovac
2622f3c4cd
Bumps Wasp to 0.8.2 ( #1010 )
2023-02-16 10:49:18 +01:00
Mihovil Ilakovac
0a5ae144aa
Reverts Wasp version bump to make e2e tests pass
2023-02-15 14:51:51 +01:00
Mihovil Ilakovac
a4b9b802d1
Uses release ci.yaml and bumps Wasp version
2023-02-14 23:08:54 +01:00
Mihovil Ilakovac
b139a0bcff
Merge branch 'main' into release-with-main
2023-02-14 23:04:01 +01:00
Filip Sodić
2327a8f9d9
Stop weakening the AST ( #628 )
2023-02-14 10:09:21 +01:00
Mihovil Ilakovac
a8daaf4dd7
Updates type for relative import paths ( #1004 )
2023-02-13 21:58:36 +01:00
Shayne Czyzewski
b080f7be0b
Fixes a locked file error on latest Macs ( #1000 )
2023-02-13 12:13:44 -05:00
Mihovil Ilakovac
07b03fec5d
Generate all JS import statements in Haskell ( #956 )
2023-02-13 16:57:31 +01:00
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
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
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
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
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
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
Filip Sodić
68c7d03814
Make odoApp in waspc compatible with TypeScript ( #960 )
2023-01-19 15:19:11 +01:00
Martin Šošić
572d9d6307
Fixed link to Tasty library in README.md
2023-01-13 10:01:14 +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
Shayne Czyzewski
d5488d4963
Update examples to 0.8.0 ( #919 )
2023-01-02 12:11:39 -05:00
Shayne Czyzewski
ba0eef3c33
Fix changelog ( #918 )
2023-01-02 11:51:46 -05:00
Shayne Czyzewski
e8a142f155
Bump version for 0.8.0 release ( #917 )
2023-01-02 10:44:24 -05:00
Shayne Czyzewski
2182b9088d
Adds GitHub login and refactors Passport.js ( #872 )
2022-12-20 09:12:08 -05:00
Martin Sosic
67761dcfb6
Updated e2e tests.
2022-12-14 23:53:52 +01:00
Martin Sosic
7ac6205b04
Updated Wasp version to 0.7.3.
2022-12-14 23:53:52 +01:00