Skip to content

Commit 7590820

Browse files
committed
Merge branch 'main' into release
2 parents 6c1b2f1 + adf37c1 commit 7590820

File tree

9 files changed

+267
-70
lines changed

9 files changed

+267
-70
lines changed

.github/workflows/ci.yaml renamed to .github/workflows/waspc-ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
name: CI
1+
name: WASPC-CI
22

33
on:
44
push:
5+
paths:
6+
- "waspc/**"
57
branches:
68
- main
79
- release
8-
pull_request: { }
10+
pull_request:
11+
paths:
12+
- "waspc/**"
913
create: { tags: [v*] }
1014
schedule:
1115
# Additionally run once per week (At 00:00 on Sunday) to avoid loosing cache

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919

2020
<br>
2121

22-
Wasp (**W**eb **A**pplication **Sp**ecification) is a Rails-like framework for React, Node.js and Prisma.
22+
Wasp (**W**eb **A**pplication **Sp**ecification) is a Rails-like framework for React, Node.js, and Prisma.
2323
Build your app in a day and deploy it with a single CLI command!
2424

2525
### Why is Wasp awesome
2626
- 🚀 **Quick start**: Due to its expressiveness, you can create and deploy a production-ready web app from scratch with very few lines of concise, consistent, declarative code.
2727
- 😌 **No boilerplate**: By abstracting away complex full-stack features, there is less boilerplate code. That means less code to maintain and understand! It also means easier upgrades.
28-
- 🔓 **No lock-in**: You can deploy Wasp app anywhere you like. There is no lock-in into specific providers, you have full control over the code (and can actually check it out in .wasp/ dir if you are interested ).
28+
- 🔓 **No lock-in**: You can deploy the Wasp app anywhere you like. There is no lock-in into specific providers; you have full control over the code (and can actually check it out in .wasp/ dir if you are interested ).
2929

3030
### Features
3131
🔒 Full-stack Auth, 🖇️ RPC (Client <-> Server), 🚀 Simple Deployment, ⚙ ️Jobs, ✉️ Email Sending, 🛟 Full-stack Type Safety, ...
@@ -46,7 +46,7 @@ app todoApp {
4646

4747
route RootRoute { path: "/", to: MainPage }
4848
page MainPage {
49-
authRequired: true, // Limit access to logged in users.
49+
authRequired: true, // Limit access to logged-in users.
5050
component: import Main from "@client/Main.tsx" // Your React code.
5151
}
5252

@@ -72,7 +72,7 @@ The rest of the code you write in React / Node.js / Prisma and just reference it
7272

7373
Given a simple .wasp configuration file that describes the high-level details of your web app, and .js(x)/.css/..., source files with your unique logic, Wasp compiler generates the full source of your web app in the target stack: front-end, back-end and deployment.
7474

75-
This unique approach is what makes Wasp "smart" and gives it its super powers!
75+
This unique approach is what makes Wasp "smart" and gives it its superpowers!
7676

7777
For more information about Wasp, check [**docs**](https://wasp-lang.dev/docs).
7878

@@ -84,7 +84,7 @@ curl -sSL https://get.wasp-lang.dev/installer.sh | sh
8484
```
8585
to install Wasp on OSX/Linux/WSL(Win). From there, just follow the instructions to run your first app in less than a minute!
8686

87-
For more details check out [the docs](https://wasp-lang.dev/docs).
87+
For more details, check out [the docs](https://wasp-lang.dev/docs).
8888

8989
# This repository
9090

@@ -95,15 +95,15 @@ This is the main repo of the Wasp universe, containing core code (mostly `waspc`
9595
Currently, Wasp is in beta, with most features flushed out and working well.
9696
However, there are still a lot of improvements and additions that we have in mind for the future, and we are working on them constantly, so you can expect a lot of changes and improvements in the future.
9797

98-
While the idea is to support multiple web tech stacks in the future, right now we are focusing on the specific stack: React + react-query, NodeJS + ExpressJS, Prisma.
98+
While the idea is to support multiple web tech stacks in the future, right now, we are focusing on the specific stack: React + react-query, NodeJS + ExpressJS, and Prisma.
9999

100100
# Contributing
101101

102102
Any way you want to contribute is a good way :)!
103103

104-
The best place to start is to check out [waspc/](waspc/), where you can find detailed steps for the first time contributors + technical details about the Wasp compiler.
104+
The best place to start is to check out [waspc/](waspc/), where you can find detailed steps for first-time contributors + technical details about the Wasp compiler.
105105

106-
Core of Wasp is built in Haskell, but there is also a lot of non-Haskell parts of Wasp, so you will certainly be able to find something for you!
106+
The core of Wasp is built in Haskell, but there are also a lot of non-Haskell parts of Wasp, so you will certainly be able to find something for you!
107107

108108
Even if you don't plan to submit any code, just joining the discussion on discord [![Discord](https://img.shields.io/discord/686873244791210014?label=chat%20on%20discord)](https://discord.gg/rzdnErX) and giving your feedback is already great and helps a lot (motivates us and helps us figure out how to shape Wasp)!
109109

@@ -118,7 +118,7 @@ Check our [careers](https://wasp-lang.notion.site/Wasp-Careers-59fd1682c80d446f9
118118

119119
# Sponsors
120120

121-
<a href="https://github.com/michelwaechter"><img src="https://github.com/michelwaechter.png" width="50px" alt="michelwaechter" /></a> - Our first sponsor ever! Thanks so much Michel ❤️ , from the whole Wasp Team, for bravely going where nobody has been before :)!
121+
<a href="https://github.com/michelwaechter"><img src="https://github.com/michelwaechter.png" width="50px" alt="michelwaechter" /></a> - Our first sponsor ever! Thanks so much, Michel ❤️ , from the whole Wasp Team, for bravely going where nobody has been before :)!
122122

123123
<a href="https://github.com/shayneczyzewski"><img src="https://github.com/shayneczyzewski.png" width="50px" alt="shayneczyzewski" /></a> - Thanks Shayne, for all the contributions you did so far and for your continuous support!
124124

waspc/docs/design-docs/db-seeding.org

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ I might want to have multiple such states, each of them named.
1313

1414
I imagine this would actually be easier to do by doing snapshots of db then having seeding script, so I don't think this is what Prisma is targeting with their =seed=.
1515
So I probably went here a bit into a different use case -> still interesting though.
16-
Actuall, I read a bit more and seeding script is also valid way to do this.
16+
Actually, I read a bit more and seeding script is also valid way to do this.
1717

1818
As for snapshots -> I guess this would come down to doing postgre exports and then saving those in git and loading them.
1919
I saw this being called "SQL backup file" somewhere.

waspc/docs/design-docs/server-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The solution that people suggested was an async function that returns an object
3838

3939
### Basic
4040
- Dev can specify, through wasp language, a JS function that will be executed on server start.
41-
Such function would be async, take no arguments, and return an object that would be avaialable in operations (through `context`).
41+
Such function would be async, take no arguments, and return an object that would be available in operations (through `context`).
4242

4343
### Advanced
4444
- Instead of returning an object that will be added to `context`, function could return a function that modifies the `context`.

waspc/docs/wasplang/src/index.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ \subsection{Syntax}
4242
parse wasp, a quoter starting with \texttt{\{=tag} must contain all text until
4343
the first \texttt{tag=\}} or until the end of the input.
4444

45-
The nonterminals for strings, numbers, and identifers are not shown.
45+
The nonterminals for strings, numbers, and identifiers are not shown.
4646

4747
\subsection{Type System}
4848

@@ -308,7 +308,7 @@ \subsection{Extensibility}
308308
\subsection{Simplicity}
309309

310310
While wasp is much more complex than old wasp, it is still fairly simple.
311-
Noteably, control flow is absent. I wanted wasp to be as simple as possible
311+
Notably, control flow is absent. I wanted wasp to be as simple as possible
312312
to make experimenting with its implementation less painful. Hopefully, when
313313
a good implementation is found, it will be flexible enough to bring
314314
in more complex features as needed.
@@ -345,7 +345,7 @@ \subsection{Type checking}
345345
newtype PageParam = PageParam { name :: String
346346
, paramType :: ParamType
347347
} deriving (Generic)
348-
newtype Page = Page { componenent :: Analyzer.Primitive.Import
348+
newtype Page = Page { component :: Analyzer.Primitive.Import
349349
, authRequired :: Maybe Bool
350350
, params :: Maybe [PageParam]
351351
} deriving (Generic)

waspc/src/Wasp/Generator/DbGenerator.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ genPrismaSchema spec = do
6060
AS.Db.PostgreSQL -> return ("postgresql", makeEnvVarField databaseUrlEnvVarName)
6161
AS.Db.SQLite ->
6262
if AS.isBuild spec
63-
then logAndThrowGeneratorError $ GenericGeneratorError "SQLite (a default database) is not supported in production. To build your Wasp app for production, switch to a different database. Switching to PostgreSQL: https://wasp-lang.dev/docs/language/features#migrating-from-sqlite-to-postgresql ."
63+
then logAndThrowGeneratorError $ GenericGeneratorError "SQLite (a default database) is not supported in production. To build your Wasp app for production, switch to a different database. Switching to PostgreSQL: https://wasp-lang.dev/docs/data-model/backends#migrating-from-sqlite-to-postgresql ."
6464
else return ("sqlite", "\"file:./dev.db\"")
6565

6666
let templateData =

0 commit comments

Comments
 (0)