Commit Graph

224 Commits

Author SHA1 Message Date
Trieu Huy Vu
a18be1ab27
feat(cli): CLI now supports bash completion (#224)
Co-authored-by: Trieu Vu <trieuv@strategicdata.com.au>
2021-06-16 13:40:31 +02:00
tolarianwiz
2d54d005e5
refactor: extract server npm dev dependencies
Now dev dependencies in package.json are no more hardcoded, instead they are generated (like dependencies) from ServerGenerator.hs and inserted as devDepsChunk.
2021-05-31 20:30:08 +02:00
Martin Sosic
dea6986d82 fix: 'wasp db migrate-dev' now works when interactivity is needed. Fixes #229 2021-05-20 14:35:46 +02:00
tolarianwiz
f363ed1c24 feat(cli): add 'wasp deps' command that lists dependencies used in the project by wasp (#238) 2021-05-20 14:15:36 +02:00
caz-gh
df619ff943 feat: add 'helmet' to node server dependencies 2021-05-19 16:40:56 +02:00
Martin Sosic
8d3e3830f4 fix: bumped Prisma version to 2.22.1. 2021-05-18 21:18:05 +02:00
Sameer Kolhar
092bb70db2
cli: clean up /build before wasp build (#230)
fix: build/ dir is now cleaned before creating new build (#230)
2021-05-17 16:10:08 +02:00
tolarianwiz
79bb1c7a82
Improved error message when wasp build detects that SQLite is used (#226)
Improved error message when wasp build detects that SQLite is used.
2021-05-11 16:34:32 +02:00
Martin Šošić
f399fa5076
Update README.md 2021-05-04 18:07:06 +02:00
Martin Sosic
1219a57bc9 Formatted whole codebase with ormolu. 2021-04-28 17:44:00 +02:00
Sameer Kolhar
6844313144 feat(cli): Enriched wasp telemetry CLI command to show more telemetry info. 2021-04-28 17:07:25 +02:00
Martin Sosic
dfaca5b58c Added -haddock flag to stack so that we have docs for all dependencies when developing. 2021-04-28 15:07:32 +02:00
Martin Sosic
21dcdb2e6b Small fixes in Haskell code, mostly haddock fixes. 2021-04-28 14:38:24 +02:00
Manikandan Sundararajan
bf6299c0dd fix(cli): Check if project name is valid when creating new project. 2021-04-27 18:12:30 +02:00
Martin Sosic
932912617e Added commit convention to README. 2021-04-26 20:29:35 +02:00
Martin Sosic
3a5c1cae73 Small updates in the waspc/README. 2021-04-26 18:16:37 +02:00
Martin Sosic
04f35b4e8f Updated wasp version to 0.2.0.1. 2021-04-25 08:46:31 +02:00
Martin Sosic
0d98334c88 Fixed GH actions. They now fully work, with releases. 2021-04-25 08:44:48 +02:00
Martin Sosic
fe73794566 Tiny fix in README. 2021-04-21 20:05:36 +02:00
Martin Sosic
40b6b0b5fc Updated wasp version to 0.2.0.0. 2021-04-21 14:22:55 +02:00
Martin Šošić
f9e8f88b66
Upgraded to Prisma 2.21 (stable migrations) + postgre can be used in local dev.
- `wasp db migrate-save` and `wasp db migrate-up` got replaced with `wasp db migrate-dev`.
- Wasp now has a declarative way to express which db is used, postgresql or sqlite: `db { system: PostgreSQL }`.
- Prisma is now at the latest version, 2.21. PSL parser was upgraded to work with this.
- PostgreSQL can now be used for local development.
- We migrated examples/realworld to work with this new version of Wasp.
2021-04-21 14:06:25 +02:00
Martin Sosic
57cd5a8a6f Updated wasp version to 0.1.11.0. 2021-04-16 13:01:48 +02:00
Martin Šošić
92937b5e65
Implemented support for dotenv file. (#208) 2021-04-16 12:43:57 +02:00
Martin Sosic
7c855f42df Bumped react-scripts version from 4.0.2 to 4.0.3. 2021-04-06 21:55:23 +02:00
Martin Sosic
ad50214e56 Updated wasp version to 0.1.10.2. 2021-03-30 23:42:48 +02:00
Martin Sosic
300b4caafe Switched from Control.Exception to UnliftIO.Exception, that handles async exceptions by default. 2021-03-30 23:41:20 +02:00
Martin Šošić
779cff3745
Enabled input in proxied CLI commands + fixed encoding of proxied output. (#202)
Co-authored-by: Matija Sosic <matija.sosic@gmail.com>
2021-03-15 17:11:04 +01:00
Martin Šošić
ad3bdd32ae
Implemented PSL model parser, used it for Entity. (#201) 2021-03-15 17:10:01 +01:00
Craig McIlwrath
82ea947981
Add ext/.waspignore file (#196) 2021-03-03 09:35:27 +01:00
Trieu Vu
2bb96cf9fb missing mustache delimiter 2021-02-23 12:08:02 +01:00
Trieu Vu
7eca9b37a3 generate userEntityLower for signup.js 2021-02-23 12:08:02 +01:00
Trieu Vu
4e95c4dcda remove createNewUser, use a direct call to prisma 2021-02-23 12:08:02 +01:00
Martin Šošić
b34d450f37
Clarified development steps in README 2021-02-23 12:00:56 +01:00
Sameer Kolhar
486ea76d19
cli: add telemetry command (#186) 2021-02-22 18:32:04 +01:00
Matija Sosic
696455d469 Updated wasp version to 0.1.10.1. 2021-02-22 16:10:37 +01:00
Matija Sosic
3eb926ef22
Fixes #187 - copying files from ext that do not exist. (#189) 2021-02-22 16:09:17 +01:00
Martin Sosic
19bba532a5 Updated linux/osx strings in installer telemetry to match cli telemetry values. 2021-02-11 22:35:52 +01:00
Martin Sosic
89300a9e0a Added very basic telemetry to installer script. 2021-02-11 22:26:30 +01:00
Martin Sosic
69d93911e1 Updated wasp version to 0.1.10.0. 2021-02-10 15:50:30 +01:00
Martin Sosic
80d6278798 Updated axios version in web app (to fix security vulnerability. 2021-02-09 22:26:32 +01:00
Martin Sosic
118a50b060 Updated CRA from 4.0.0 to 4.0.2 . 2021-02-09 21:13:08 +01:00
Martin Sosic
9c23b17b99 Added 'Wasp is in Alpha' note to CLI. 2021-02-09 17:29:08 +01:00
Jack Carroll
01642db6fa
Handle case when JWT token verification fails (#177)
* handle case when JWT token verification fails

* added more verbose error handling to to jwt verify

* updated error handling to throw unknown errors

* Fix

Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
2021-02-09 17:00:31 +01:00
Martin Sosic
80ab13d4e4 Improved error message when node is missing or too low version. 2021-02-09 15:49:48 +01:00
Jack Carroll
d0ce3ed672
added documentation for bypassing stack build errors on macOS Big Sur (#179) 2021-02-09 15:40:32 +01:00
Martin Sosic
693cf13d69 Polished 'wasp new' template a little bit. 2021-02-09 14:31:00 +01:00
Matija Sosic
0207276a01
Added welcome page to the newly created app. (#178) 2021-02-09 13:13:51 +01:00
Martin Sosic
e32bca9007 Prettified CLI usage output. 2021-02-09 11:19:29 +01:00
Martin Sosic
e1aa7723b5 Cleaned up output on success from 'wasp new'. 2021-02-08 15:28:37 +01:00
Martin Sosic
819f11b7b3 Updated install script to be more user friendly. 2021-02-08 15:13:47 +01:00
Matija Sosic
f07f8e199b
Using material-ui in waspc todo example. (#171) 2021-02-06 13:41:22 +01:00
Martin Sosic
aada425e44 Updated wasp version to 0.1.9.7. 2021-02-05 14:43:34 +01:00
Martin Sosic
0e98099028 Added tracking of 'build' command in telemetry. 2021-02-05 14:40:46 +01:00
Martin Sosic
332fe32c4c compileIOWithOptions now has nicer code. 2021-02-05 12:18:12 +01:00
Martin Sosic
3ef8cf425f Updated wasp version to 0.1.9.6. 2021-02-04 17:46:14 +01:00
Martin Sosic
6abcf496c4 Fixed migrations not being copied on 'wasp build'. 2021-02-04 17:45:38 +01:00
Martin Sosic
cd015d59e8 Fixed missing isAuthEnabled in ToJSON for RouterTemplateData. 2021-02-04 14:54:50 +01:00
Martin Sosic
69bbc3268f Updated wasp version to 0.1.9.5. 2021-02-04 14:19:28 +01:00
Martin Sosic
ecd2fd36f2 Fixed places where auth stuff was used even when no auth. 2021-02-04 14:18:59 +01:00
Matija Sosic
316c727a8c
Implemented app.head property. (#170) 2021-02-04 11:42:01 +01:00
Martin Sosic
45015c4264 Updated wasp version to 0.1.9.4. 2021-02-03 19:38:27 +01:00
Martin Sosic
93b7ce3ea7 Fixed warnings in Haskell. 2021-02-03 19:38:10 +01:00
Martin Šošić
cfa6985abd
Added support for manual deployment of generated code (backend and frontend) (#167) 2021-02-03 19:26:14 +01:00
Matija Sosic
eddfe4c569 Updated wasp version to 0.1.9.3. 2021-02-01 17:54:55 +01:00
Matija Sosic
647814e920
Implemented "wasp build" cmd - generates different schema.prisma. (#166)
* Implemented "wasp build" cmd - generates different schema.prisma.

* PR fixes.
2021-02-01 17:37:42 +01:00
Matija Sosic
68155711e8
Implemented FE ACL & updated the examples. (#165)
* Implemented FE ACL & updated the examples.

* PR fixes, fixed tests.
2021-02-01 16:32:07 +01:00
Martin Sosic
181ae7894b Updated wasp version to 0.1.9.2. 2021-01-25 22:05:48 +01:00
Martin Sosic
57d847d6e3 Implemented CLI telemetry. 2021-01-25 22:00:10 +01:00
Matija Sosic
242c51f6a8
Made auth more flexible - not generating pages & routes anymore, just the forms. (#161) 2021-01-25 19:39:50 +01:00
Martin Sosic
56284ae7bc Updated wasp version to 0.1.9.1. 2020-12-18 11:29:09 +01:00
Martin Sosic
2d0eb0a967 Fix #159: error if 'auth' not defined. 2020-12-18 11:25:43 +01:00
Martin Sosic
7d7a2cb016 Updated wasp version to 0.1.9. 2020-12-10 15:54:57 +01:00
Martin Sosic
f52b719291 Fixed prisma version to 2.12.1 . 2020-12-10 15:54:17 +01:00
Martin Sosic
75e17f4dc4 Install script is now posix compliant. 2020-12-07 17:22:46 +01:00
Martin Sosic
6a4469c370 Merge branch 'master' into realworld 2020-12-01 11:54:57 +01:00
Matija Sosic
26cd45af88 Updated wasp version to 0.1.8. 2020-11-27 18:18:24 +01:00
Matija Sosic
6527319581
Added password hashing middleware to Prisma instance - dev cannot change/update password without it being hashed. (#149) 2020-11-27 18:11:54 +01:00
Martin Sosic
57412b8b3c Added favorited articles. 2020-11-26 22:48:35 +01:00
Martin Sosic
609bb19846 Added popular tags to homepage. 2020-11-26 16:35:38 +01:00
Matija Sosic
4ac627e652
Generating simple login & signup pages when auth is enabled. (#145) 2020-11-23 16:51:46 +01:00
Matija Sosic
8e451dbe6c
Implemented simple signup function for Wasp developer to use out-of-the-box. (#142) 2020-11-19 16:28:42 +01:00
Martin Sosic
bec5a94303 Made PATH warning in install script more prominent. 2020-11-10 14:30:20 +01:00
Matija Sosic
3056ad1be8 Updated wasp version to 0.1.7. 2020-11-05 16:29:12 +01:00
Martin Sosic
1a29500570 Fixed new-release script. 2020-11-05 16:27:16 +01:00
Martin Sosic
3f5143f8a6 Fixed new-release script name. 2020-11-05 16:02:45 +01:00
Martin Sosic
1c47a28e41 Small fixes 2020-11-05 11:04:05 +01:00
Martin Sosic
e90762f9d6 Stderr output from jobs is now marked as such. 2020-11-05 09:44:01 +01:00
Matija Sosic
46a1cbab32
Added wasp db studio command. (#120) 2020-11-04 15:26:35 +01:00
Martin Sosic
e5b8f52728 Updated installer script. 2020-11-02 19:31:32 +01:00
Martin Sosic
e2bddb2004 Updated wasp version to 0.1.6. 2020-10-31 20:40:23 +01:00
Martin Sosic
c2562e12e2 Added new-release script for automatic drafting of new releases. 2020-10-31 11:08:33 +01:00
Martin Sosic
bf363c0791 Fixed some old docs links and created init version of realworld app. 2020-10-30 16:28:50 +01:00
Martin Sosic
199b28a474 Bumped version to 0.1.5 2020-10-30 16:10:01 +01:00
Martin Sosic
0c4ae72495 Fixed jobs to terminate if interrupted by exception. 2020-10-29 18:11:39 +01:00
Martin Sosic
4889fefd0f Added 'version' command to cli. 2020-10-29 13:15:13 +01:00
Matija Sosic
821e5c02b0
Fix: api.js is now generated when no auth. (#107) 2020-10-28 23:53:02 +01:00
Matija Sosic
4ea507312c
Fixed #103: app crashes when no auth. (#106) 2020-10-28 18:12:27 +01:00
Martin Sosic
3a571ce045 Bumped version to 0.1.2. 2020-10-28 18:01:46 +01:00
Matija Sosic
61d028d32a
Fixed a bug with Prisma migrations. (#104) 2020-10-28 15:28:58 +01:00
Martin Sosic
a64f4b8a77 Updated react-scripts to 4.0.0, fixes #84. 2020-10-26 16:55:22 +01:00