Commit Graph

309 Commits

Author SHA1 Message Date
Martin Sosic
54b994bb0a Entities are now injected into operations (if declared in Wasp). 2020-10-07 15:29:21 +02:00
Martin Sosic
6e41c1dd84 Tiny naming fix. 2020-10-06 21:31:18 +02:00
Martin Sosic
a06410dad8 Fixed execution of processes/jobs -> stderr was not being forwarded. 2020-10-06 21:24:41 +02:00
Matija Sosic
330483eab1
Todo example: added per-task page. (#66) 2020-10-01 11:25:59 +02:00
Martin Sosic
0f36486ebb Added missing wasp files to examples/todoApp. 2020-09-30 13:44:46 +02:00
Matija Sosic
6135fbaedc
Todo example: Implemented 'toggle all' and 'delete completed' functionalities. (#60) 2020-09-30 10:08:20 +02:00
Martin Sosic
ca039304f9 Wasper can now specify npm dependencies. 2020-09-29 13:46:48 +02:00
Matija Sosic
d936eeba28
Todo example: task isDone can be toggled now. (#57) 2020-09-29 10:44:27 +02:00
Matija Sosic
a18167ffc6 Todo example: Removed global local state, now we use db. 2020-09-24 16:15:02 +02:00
Martin Sosic
e89b9ac358 CI now builds only master branch and PRs. 2020-09-23 15:47:52 +02:00
Martin Sosic
e115ece29a External code paths now again use StrongPath. 2020-09-23 15:44:32 +02:00
Martin Sosic
391a045164 StrongPath now specifies standard (posix/win) it uses. 2020-09-23 15:42:18 +02:00
Martin Sosic
f01de9e5c5 Tiny fixes in README. 2020-09-23 11:54:21 +02:00
Martin Sosic
5a0ddf71f5 Set node version of generated project to current LTS version. 2020-09-22 14:56:32 +02:00
Martin Sosic
d1c7343392 Added reference to documentation, in waspc README.md. 2020-09-22 14:22:26 +02:00
Martin Sosic
370d6cb2d5 fixed link to example 2020-09-22 14:12:52 +02:00
Martin Sosic
616ca79461 Updated READMEs. 2020-09-22 14:09:09 +02:00
Martin Sosic
934fe697b8 CI now creates draft releases. Moved CI badges to top README. 2020-09-21 16:11:34 +02:00
Martin Sosic
f13101e46a Created a simple windows binary package.
`wasp start` fails at calling `npm` (can't find it).
2020-09-21 15:52:17 +02:00
Martin Šošić
fda67bb8ef
Implemented automatic binary packaging + install script. 2020-09-19 16:56:28 +02:00
Matija Sosic
c1f2d6dab3
TodoApp example now uses db. (#45) 2020-09-19 16:11:09 +02:00
Matija Sosic
338c3c909e Removed unused imports. 2020-09-18 16:45:20 +02:00
Matija Sosic
08f224d03d
Implemented migrate-save and migrate-up cli db commands. (#41) 2020-09-18 16:14:14 +02:00
Martin Sosic
1be06994e4 [skip ci] Removed redundant caching from Travis. 2020-09-18 15:31:58 +02:00
Martin Sosic
2617bd5f66 Now AppVeyor CI builds Wasp on Windows and runs tests.
Also fixed path issues when running on Windows.
2020-09-18 15:22:58 +02:00
Martin Sosic
d2e1002503 Fixed deployment key. 2020-09-17 13:43:03 +02:00
Martin Sosic
a4d56b41df Added check of node version when running node commands. 2020-09-17 13:04:19 +02:00
Martin Sosic
10823208f4 Added Travis CI: dynamic binaries are built and if tagged then also
released.
2020-09-17 12:20:03 +02:00
Martin Sosic
1f02809b3d Fixed compile error from previous commit. 2020-09-15 17:39:56 +02:00
Martin Sosic
32bb439c53 'wasp start' now reloads on file change. 2020-09-15 17:00:48 +02:00
Matija Sosic
e95fae7f06
Implemented wasp db migrate cli cmd - runs only prisma migrate save for now. (#39) 2020-09-15 16:39:56 +02:00
Martin Sosic
f06c933182 wasp start now does setup and start while forwarding output.
fix
2020-09-11 17:33:10 +02:00
Matija Sosic
0bc5b2eec8
Added npm packages needed for using Prisma. (#37) 2020-09-11 15:06:38 +02:00
Martin Sosic
a70effa6db Implemented first version of CLI, with clean, new and start commands.
Start does not yet work properly.
2020-09-10 09:47:41 +02:00
Matija Sosic
ef5adc40ff Renamed prisma.schema to schema.prisma. 2020-09-09 15:56:39 +02:00
Matija Sosic
06bb7b97a8
Implemented generation of prisma.schema. (#33) 2020-09-07 16:33:47 +02:00
Martin Sosic
bc5caef944 Implemented new Action and removed old Action and Button. 2020-09-07 13:26:53 +02:00
Martin Sosic
69f45c40a7 Added HttpError on server, to be used in operations. 2020-09-04 15:14:06 +02:00
Matija Sosic
3b0b284bac
Implemented parser for new PSL-based entities. (#30) 2020-09-04 14:21:47 +02:00
Martin Sosic
faf34a7d26 Added react-query, implemented useQuery wrapper for it, refactored Todo
example app to use new queries, removed old Wasp code from it.
2020-09-03 17:52:34 +02:00
Martin Sosic
f5fe865193 Implemented simple Query generator on both FE and BE. 2020-09-01 16:58:34 +02:00
Martin Sosic
cf0208315f Added generation of external code in server. 2020-09-01 16:58:34 +02:00
Matija Sosic
9d3c5c2946 Added in-code routing and url/query params examples. 2020-08-31 14:20:40 +02:00
Matija Sosic
bcfeb9b350 Page now accepts an external component instead of inline content. 2020-08-31 14:20:40 +02:00
Martin Sosic
ce6cf2bc5a Shortened Wasp.JsImport fields. 2020-08-25 15:55:37 +02:00
Martin Sosic
495ba96284 Implemented Query parser + tests. 2020-08-25 15:08:02 +02:00
Martin Sosic
3483582fc6 JsImport now distinguishes between default and named imports. 2020-08-25 12:06:46 +02:00
Martin Šošić
c825f8f811
JsImport now supports default import or single named import. (#25)
JsImport now supports default import or single named import.
2020-07-31 15:04:45 +02:00
Matija Sosic
25d7051c6d
Route is now a separate Wasp element. Implemented both parser and generator. (#24) 2020-07-31 14:26:10 +02:00
Martin Sosic
c981d22000 Updated .hlint.yaml and added dist-newstyle/ to .gitignore. 2020-07-30 11:28:15 +02:00