Shayne Czyzewski
f0ec477dbd
fix: error when running prisma generate without entities ( #457 )
2022-02-10 07:24:50 -05:00
Martijn Faassen
55d9e1bbd8
Resolve dependencies refactor ( #449 )
...
Create a new resolveDependencies
Use Map to do differences between Wasp and user package.json dependencies.
This is now used internally in resolveNpmDeps.
Also fixes a bug in the conflict error message, where the wasp and user dependency
were previously not properly distinguished.
Add .vscode and move everything that appears text editor related to a section
2022-02-09 14:02:19 +01:00
Martijn Faassen
8a97732c71
Merge pull request #450 from wasp-lang/269-compile-and-npm-install
...
269 compile and npm install
2022-02-08 17:12:53 +01:00
Martin Sosic
a0b7477d19
Renamed all references to master branch into main branch.
2022-02-08 15:34:32 +01:00
Martijn Faassen
91a40a6105
Revert to the previous behavior for now.
...
Leave comments in place on what to do once we can skip `npm install`.
2022-02-08 11:00:24 +01:00
Matija Sosic
811fe57d63
blog: added martijn's intro post. ( #447 )
2022-02-08 09:48:11 +01:00
Shayne Czyzewski
2ccc0408c4
Adds Prisma client generation during app generation ( #444 )
...
Closes #427
2022-02-07 15:09:22 -05:00
Martijn Faassen
55d9bd1ef1
We now run compile and install each time the wasp file changes
2022-02-07 12:56:46 +01:00
Martijn Faassen
988929fbdc
Factor out this function into its own module
...
We also need to reuse it during watch
2022-02-07 12:56:41 +01:00
Martijn Faassen
ae5f498b65
Rename to compileAndSetup
...
Until (and if) we ever rename setup, we should use this simpler name.
And it involves npm install of two projects, not one one anyway.
2022-02-07 12:55:24 +01:00
Martijn Faassen
4f1088ddf5
Remove commented out code
2022-02-07 12:55:24 +01:00
Martijn Faassen
901a9b9f0e
Factor out a compileAndInstall
2022-02-07 12:55:24 +01:00
Martijn Faassen
a93269c88a
Add .vscode local config to gitignore
2022-02-07 12:55:24 +01:00
Martin Sosic
2e9c9c63e1
Updated wasp version to 0.3.0.0.
2022-02-04 11:52:30 +01:00
Martin Sosic
f59b432269
Added CHANGELOG entry for 0.3.0.0 version, added simple error when 'app' is missing.
2022-02-04 11:51:58 +01:00
Shayne Czyzewski
c2f9eff3b8
fix: todo example error from missing entity ( #446 )
...
Co-authored-by: shayneczyzewski <shayne.czyzewski@gmail.com>
2022-02-02 19:38:47 +01:00
Shayne Czyzewski
f9ff48824b
Update Waspleau example and blog post to use new Analyzer syntax ( #443 )
2022-01-31 11:41:47 -05:00
Martijn Faassen
43c14c12c1
Merge pull request #441 from wasp-lang/martijn-node-version
...
We cannot build unless we use the right version of npm
2022-01-31 17:05:31 +01:00
Martijn Faassen
f8ddebfb0f
Merge pull request #440 from wasp-lang/martijn-no-env-in-build
...
When we build, do not copy .env. Fixes #413
2022-01-31 14:40:28 +01:00
Martijn Faassen
cbfadd69ad
We cannot build unless we use the right version of npm
...
The engines field in package.json only gets blocked with the appropriate
.npmrc, which is provided.
If we allow earlier versions of npm to operate together with later
versions, we get massive package-lock.json changes switching it
from v1 to v2 and back again. We want to avoid this churn.
2022-01-31 14:29:29 +01:00
Martijn Faassen
cb33f2d545
When we build, do not generate .env
2022-01-31 14:09:07 +01:00
Shayne Czyzewski
0abefb460b
Adds Waspleau blog post ( #432 )
2022-01-27 16:43:46 -05:00
Shayne Czyzewski
c516113f11
feat: Warns user if Prisma needs to be migrated because of schema.prisma changes ( #424 )
...
Closes #214
2022-01-27 15:14:29 -05:00
Shayne Czyzewski
82cb481c96
feat: Adds Generator monad for more flexible error and warning handling ( #433 )
...
Closes #123
2022-01-23 09:21:31 -05:00
Martin Šošić
a4ab848c0b
Update Notes.md
2022-01-21 21:05:09 +01:00
Martin Šošić
13f4081faf
Fixed some grammatical errors
2022-01-20 13:53:09 +01:00
Martin Šošić
8d2c33ab28
Replace Wasp with AppSpec and Parser with Analyzer. ( #423 )
2022-01-20 11:45:14 +01:00
Shayne Czyzewski
b74eb88ff0
Makes DbGenerator responsible for movement of migrations dir ( #420 )
...
Closes #105
2022-01-12 11:28:21 -05:00
Matija Sosic
f463f75ab8
[Waspello] cleanup - removed unused query.
2022-01-12 16:47:05 +01:00
Himanshu
7c1fc37459
[feature] img+caption component ( #416 )
...
[Blog] #410 - added image with caption React component.
2022-01-11 14:19:27 +01:00
Martin Šošić
fe915158d9
Polished AppSpec: added missing fields + deps are not tuples. ( #417 )
2022-01-11 13:59:13 +01:00
Martin Šošić
5f534f7bcf
Added concept of SourceRegion to Ctx. ( #409 )
2022-01-08 23:55:52 +01:00
Martin Šošić
424def31d6
TypeError now uses WithCtx internally. ( #408 )
2022-01-08 23:54:32 +01:00
Martin Šošić
7a0f75b539
Enriched Evaluation errors with parse context + made them showable. ( #407 )
2022-01-08 23:52:26 +01:00
Martin Šošić
82bec83769
Better type error messages (and context). ( #400 )
...
- Enriched Parser.AST, TypeChecker.AST and TypeError with Ctx.
2022-01-08 23:50:48 +01:00
Shayne Czyzewski
cdee0ff0d3
feature: Makes CLI output easier to see success and failure ( #418 )
...
Closes #212
2022-01-05 09:15:38 -05:00
Shayne Czyzewski
86441c8cee
Basic MVP of Waspleau example ( #412 )
2021-12-22 10:06:39 -05:00
Matija Sosic
78508e0c19
Added image tag to the latest blog posts, so they are expanded correctly on Twitter.
2021-12-21 21:07:18 +01:00
Martin Sosic
c7ce883b5a
Improved parse errors (added expected tokens, nicer error messages).
...
- Added expected tokens.
- Nice error messages + source position.
2021-12-21 16:36:49 +01:00
shayneczyzewski
470d4a5889
Added Shayne intro interview blog post.
2021-12-20 16:46:05 +01:00
Matija Sosic
de817ed58d
Wrote a blog post introducing Waspello.
2021-12-17 23:39:33 +01:00
Shayne Czyzewski
081f3c149a
feature: Delays recompilation until no file changes in last 1s ( #403 )
...
Closes #191
2021-12-17 08:39:59 -05:00
Shayne Czyzewski
4156cebb20
fix: Propagates deletion of DB migrations dir from Wasp src to the generated project ( #383 )
...
Fixes #211
2021-12-13 12:06:42 -05:00
Shayne Czyzewski
f444eaae47
feat(auth): Added flexible validation checks for User entity email and password ( #376 )
...
Adds an additional Prisma middleware for User entity validation checks that the user can disable and/or extend
Closes #88 and fixes #100
2021-12-07 13:22:56 -05:00
Martin Sosic
6756fa4d88
Added tuple to Wasp language.
2021-12-07 15:05:41 +01:00
Martin Šošić
880cd39226
Added support for custom evaluation to Analyzer. ( #375 )
2021-12-07 14:44:01 +01:00
Martin Šošić
bb3964ae6f
Made Dependencies and Entity full-featured (in AppSpec and Analyzer) ( #374 )
2021-11-26 15:26:03 +01:00
Martin Sosic
4eb5fac817
Added Server and Database to AppSpec / Analyzer.
2021-11-25 14:09:46 +01:00
Martin Sosic
c86ecdf62c
Added Dependencies to AppSpec and Analyzer.
2021-11-25 14:09:46 +01:00
Martin Sosic
032e57a46b
Added Action to AppSpec and Analyzer.
2021-11-25 14:09:46 +01:00