Skip to content

Commit 9658034

Browse files
authored
Merge pull request #1 from wasp-lang/main
Pull changes from upstream
2 parents 2a64914 + cc943df commit 9658034

File tree

13 files changed

+89
-82
lines changed

13 files changed

+89
-82
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
id: setup-node
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: '20'
27+
node-version: '22'
2828

2929
- name: Docker setup
3030
uses: docker/setup-buildx-action@v3

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The template itself is built on top of some very powerful tools and frameworks,
2323
- 🚀 [Astro](https://starlight.astro.build/) - Astro's lightweight "Starlight" template for documentation and blog
2424
- 💸 [Stripe](https://stripe.com) or [Lemon Squeezy](https://lemonsqueezy.com/) (with Polar.sh and Paddle coming soon!) - for products and payments
2525
- 💅 [ShadCN UI](https://tailwindcss.com) - for components & styling (plus admin dashboard!)
26+
- 🤖 [AI-Ready](https://docs.opensaas.sh/) - full set of Cursor rules & llms-full.txt for ai-assisted coding
2627
- 📈 [Plausible](https://plausible.io) or [Google](https://analytics.google.com/) Analytics
2728
- 🤖 [OpenAI](https://openai.com) - OpenAI API w/ function calling example
2829
- 📦 [AWS S3](https://aws.amazon.com/s3/) - for file uploads

opensaas-sh/app_diff/main.wasp.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- "<meta name='twitter:image' content='https://your-saas-app.com/public-banner.webp' />",
2929
+ "<meta property='og:title' content='Open SaaS' />",
3030
+ "<meta property='og:url' content='https://opensaas.sh' />",
31-
+ "<meta property='og:description' content='Free, open-source SaaS boilerplate starter for React & NodeJS.' />",
31+
+ "<meta property='og:description' content='Free, open-source SaaS boilerplate starter for React & NodeJS. Powered by Wasp.' />",
3232
+ "<meta property='og:image' content='https://opensaas.sh/public-banner.webp' />",
3333
+
3434
+ "<meta name=\"twitter:title\" content=\"Open SaaS\" />",

opensaas-sh/app_diff/src/landing-page/components/Hero/Hero.tsx.diff

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
--- template/app/src/landing-page/components/Hero/Hero.tsx
22
+++ opensaas-sh/app/src/landing-page/components/Hero/Hero.tsx
3-
@@ -0,0 +1,82 @@
3+
@@ -0,0 +1,85 @@
44
+import { ArrowRight } from 'lucide-react';
55
+import { Link as ReactRouterLink } from 'react-router-dom';
66
+import { useAuth } from 'wasp/client/auth';
77
+import { Link as WaspRouterLink, routes } from 'wasp/client/router';
88
+import { Button } from '../../../components/ui/button';
9-
+import { DocsUrl } from '../../../shared/common';
9+
+import { DocsUrl, WaspUrl } from '../../../shared/common';
1010
+import Orbit from './Orbit';
1111
+
1212
+export default function Hero() {
@@ -16,17 +16,20 @@
1616
+ <div className='relative pt-32 w-full'>
1717
+ <TopGradient />
1818
+ <BottomGradient />
19-
+ <div className='flex flex-col lg:flex-row max-w-7xl mx-auto'>
19+
+ <div className='flex flex-col lg:flex-row max-w-7xl mx-auto overflow-x-hidden'>
2020
+ <div className='py-24 sm:py-32'>
2121
+ <div className='max-w-8xl px-6 lg:px-8'>
2222
+ <div className='lg:mb-18 mx-auto max-w-3xl text-center md:text-left'>
2323
+ <h1 className='text-5xl font-extrabold text-foreground md:text-6xl'>
2424
+ The <span className='italic'>free</span> SaaS template with{' '}
2525
+ <span className='text-gradient-primary font-black'>superpowers</span>
2626
+ </h1>
27-
+ <p className='mt-6 max-w-2xl text-lg leading-8 text-muted-foreground font-mono'>
28-
+ An open-source, feature-rich, full-stack React + NodeJS template that manages features for
29-
+ you.
27+
+ <p className='mt-6 max-w-2xl text-md leading-8 text-muted-foreground font-mono'>
28+
+ An open-source, feature-rich, full-stack React + NodeJS starter kit that manages boilerplate
29+
+ for you. Powered by
30+
+ <a href={WaspUrl} className='group font-bold transition-all duration-300'>
31+
+ {' Wasp =}'}
32+
+ </a>
3033
+ </p>
3134
+ <div className='mt-10 flex items-center justify-center md:justify-start gap-x-6'>
3235
+ <Button size='lg' variant='outline' asChild>

opensaas-sh/app_diff/src/landing-page/contentSections.tsx.diff

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--- template/app/src/landing-page/contentSections.tsx
22
+++ opensaas-sh/app/src/landing-page/contentSections.tsx
3-
@@ -0,0 +1,247 @@
3+
@@ -0,0 +1,244 @@
44
+import { routes } from 'wasp/client/router';
55
+import type { NavigationItem } from '../client/components/NavBar/NavBar';
66
+import blog from '../client/static/assets/blog.webp';
@@ -15,7 +15,7 @@
1515
+import scribeist from '../client/static/examples/scribeist.webp';
1616
+import searchcraft from '../client/static/examples/searchcraft.webp';
1717
+import logo from '../client/static/logo.webp';
18-
+import { BlogUrl, DocsUrl, GithubUrl } from '../shared/common';
18+
+import { BlogUrl, DocsUrl, GithubUrl, WaspUrl } from '../shared/common';
1919
+import { GridFeature } from './components/FeaturesGrid';
2020
+
2121
+export const landingPageNavigationItems: NavigationItem[] = [
@@ -115,7 +115,7 @@
115115
+ {
116116
+ name: 'Jonathan Cocharan',
117117
+ role: 'Entrepreneur',
118-
+ avatarSrc: 'https://pbs.twimg.com/profile_images/1910056203863883776/jtfVWaEG_400x400.jpg',
118+
+ avatarSrc: 'https://pbs.twimg.com/profile_images/1950172296376639488/sZ0JIqfR_400x400.jpg',
119119
+ socialUrl: 'https://twitter.com/JonathanCochran',
120120
+ quote:
121121
+ 'In just 6 nights... my SaaS app is live 🎉! Huge thanks to the amazing @wasplang community 🙌 for their guidance along the way. These tools are incredibly efficient 🤯!',
@@ -175,7 +175,6 @@
175175
+ "This is exactly the framework I've been dreaming of ever since I've been waiting to fully venture into the JS Backend Dev world. I believe Wasp will go above 50k stars this year. The documentation alone gives me the confidence that this is my permanent Nodejs framework and I'm staying with Wasp. Phenomenal work by the team... Please keep up your amazing spirits. Thank you",
176176
+ },
177177
+];
178-
+
179178
+export const faqs = [
180179
+ {
181180
+ id: 1,
@@ -198,12 +197,10 @@
198197
+ { name: 'Blog', href: BlogUrl },
199198
+ ],
200199
+ company: [
201-
+ { name: 'About', href: 'https://wasp.sh' },
202-
+ { name: 'Privacy', href: '#' },
203-
+ { name: 'Terms of Service', href: '#' },
200+
+ { name: 'Terms of Service', href: GithubUrl + '/blob/main/LICENSE' },
201+
+ { name: 'Made by the Wasp team = }', href: WaspUrl },
204202
+ ],
205203
+};
206-
+
207204
+export const examples = [
208205
+ {
209206
+ name: 'Microinfluencers',
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--- template/app/src/shared/common.ts
22
+++ opensaas-sh/app/src/shared/common.ts
3-
@@ -1,2 +1,3 @@
3+
@@ -1,2 +1,4 @@
44
export const DocsUrl = 'https://docs.opensaas.sh';
55
export const BlogUrl = 'https://docs.opensaas.sh/blog';
66
+export const GithubUrl = 'https://github.com/wasp-lang/opensaas';
7+
+export const WaspUrl = 'https://wasp.sh';

opensaas-sh/blog/src/content/docs/start/getting-started.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you prefer video tutorials, you can watch this walkthrough below which will g
1717
### Pre-requisites
1818

1919
You must have Node.js (and NPM) installed on your machine and available in `PATH` to use Wasp.
20-
Your version of Node.js must be >= 20.
20+
Your version of Node.js must be >= 22.12.
2121

2222
To switch easily between Node.js versions, we recommend using [nvm](https://github.com/nvm-sh/nvm).
2323

@@ -81,7 +81,7 @@ Once Rosetta is installed, you should be able to run Wasp without any issues.
8181

8282
### Windows
8383

84-
In order to use Wasp on Windows, you need to install WSL2 (Windows Subsystem for Linux) and a Linux distribution of your choice. We recommend using Ubuntu.
84+
In order to use Wasp on Windows, you need to install WSL2 (Windows Subsystem for Linux) and a Linux distribution of your choice. We recommend using Ubuntu.
8585

8686
**You can refer to this [article](https://wasp.sh/blog/2023/11/21/guide-windows-development-wasp-wsl) for a step by step guide to using Wasp in the WSL environment.** If you need further help, reach out to us on [Discord](https://discord.gg/rzdnErX).
8787

@@ -127,7 +127,7 @@ curl -sSL https://get.wasp.sh/installer.sh | sh
127127
</summary>
128128
If you are using WSL2, make sure that your Wasp project is not on the Windows file system, <b>but instead on the Linux file system</b>. Otherwise, Wasp won't be able to detect file changes, due to this <a href='https://github.com/microsoft/WSL/issues/4739'>issue in WSL2</a>.
129129
</details>
130-
:::
130+
:::
131131

132132
### Finalize Installation
133133

template/app/src/client/Main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
--muted-foreground: 0 0% 63.9%;
159159
--accent: 31 57% 93%;
160160
--accent-foreground: 210 100% 13%;
161-
--destructive: 0 62.8% 30.6%;
161+
--destructive: 0 62.8% 63%;
162162
--destructive-foreground: 0 0% 98%;
163163
--success: 141 71% 48%;
164164
--success-foreground: 0 0% 98%;

template/app/src/demo-ai-app/DemoAppPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ function Schedule({ schedule }: { schedule: GeneratedSchedule }) {
336336

337337
function TaskCard({ task, taskItems }: { task: ScheduleTask; taskItems: TaskItem[] }) {
338338
const taskPriorityToColorMap: Record<TaskPriority, string> = {
339-
high: 'bg-destructive/20 border-destructive/40 text-red-500',
339+
high: 'bg-destructive/10 border-destructive/20 text-red-500',
340340
medium: 'bg-warning/10 border-warning/20 text-warning',
341341
low: 'bg-success/10 border-success/20 text-success',
342342
};

template/e2e-tests/ci-start-app-and-db.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)