diff --git a/.github/workflows/deploy_vercel_prod.yml b/.github/workflows/deploy_vercel_prod.yml index 3bf31cbdad8..dceb61fbcde 100644 --- a/.github/workflows/deploy_vercel_prod.yml +++ b/.github/workflows/deploy_vercel_prod.yml @@ -12,6 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 + # remove ./studio/pages/api folder before deploying to vercel + - uses: JesseTG/rm@v1.0.2 + with: + path: ./studio/pages/api - uses: amondnet/vercel-action@v19 with: vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required diff --git a/.github/workflows/deploy_vercel_staging.yml b/.github/workflows/deploy_vercel_staging.yml index bef19d9ea0b..d6bb3760187 100644 --- a/.github/workflows/deploy_vercel_staging.yml +++ b/.github/workflows/deploy_vercel_staging.yml @@ -12,6 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 + # remove ./studio/pages/api folder before deploying to vercel + - uses: JesseTG/rm@v1.0.2 + with: + path: ./studio/pages/api - uses: amondnet/vercel-action@v19 with: vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required diff --git a/.github/workflows/docs-compilation-check.yml b/.github/workflows/docs-compilation-check.yml index aa386f17f3c..ce774357678 100644 --- a/.github/workflows/docs-compilation-check.yml +++ b/.github/workflows/docs-compilation-check.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: - node-version: [14.x] + node-version: [16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.github/workflows/studio-build.yml b/.github/workflows/studio-build.yml new file mode 100644 index 00000000000..bb90e12f18c --- /dev/null +++ b/.github/workflows/studio-build.yml @@ -0,0 +1,32 @@ +name: Studio Build + +on: + pull_request: + branches: + - master + - studio + paths: + - 'studio/**' +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [14.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - name: Install deps + run: npm i + working-directory: ./studio + - name: Run build + run: npm run build + working-directory: ./studio diff --git a/DEVELOPERS.md b/DEVELOPERS.md index 7b871e48edf..5d52ce97bb1 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -56,7 +56,7 @@ To build Supabase, you clone the source code repository: ### Choosing Directory -Before you start a development server, you must choose if you want to work on the [Supabase Website](https://supabase.com), [Supabase Docs](https://supabase.com/docs), or [Supabase Studio](https://app.supabase.io). +Before you start a development server, you must choose if you want to work on the [Supabase Website](https://supabase.com), [Supabase Docs](https://supabase.com/docs), or [Supabase Studio](https://app.supabase.com). 1. Go to the [Supabase Website](https://supabase.com) directory @@ -70,7 +70,7 @@ Before you start a development server, you must choose if you want to work on th cd web ``` - Go to the [Supabase Studio](https://app.supabase.io) directory + Go to the [Supabase Studio](https://app.supabase.com) directory ```sh cd studio @@ -186,7 +186,6 @@ Then edit and visit any of the following sites: - `/apps/temp-community-tutorials`: http://localhost:3003 - pulls all our DEV articles (which community members can write) into a nextjs site. Temporary/POC - ### Shared components The monorepo has a set of shared components under `/packages`: @@ -194,6 +193,7 @@ The monorepo has a set of shared components under `/packages`: - `/packages/common`: Common React code, shared between all sites. - `/packages/config`: All shared config - `/packages/tsconfig`: Shared Typescript settings + ### Installing packages Installing a package with NPM workspaces requires you to add the `-w` flag to tell NPM which workspace you want to install into. @@ -211,8 +211,6 @@ You do not need to install `devDependencies` in each workspace. These can all be `npm run dev` - - ## Finally After making your changes to the file(s) you'd like to update, it's time to open a pull request. Once you submit your pull request, others from the Supabase team/community will review it with you. diff --git a/LICENSE b/LICENSE index 4a283904229..438f239eb5d 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2021 Supabase + Copyright 2022 Supabase Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index df86cdc1e3e..d251a2bf678 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@

- + +

--- @@ -38,7 +39,7 @@ To see how to Contribute, visit [Getting Started](./DEVELOPERS.md) ## Status - [x] Alpha: We are testing Supabase with a closed set of customers -- [x] Public Alpha: Anyone can sign up over at [app.supabase.io](https://app.supabase.io). But go easy on us, there are a few kinks +- [x] Public Alpha: Anyone can sign up over at [app.supabase.com](https://app.supabase.com). But go easy on us, there are a few kinks - [x] Public Beta: Stable enough for most non-enterprise use-cases - [ ] Public: Production-ready @@ -54,7 +55,7 @@ Supabase is a combination of open source tools. We’re building the features of **Architecture** -Supabase is a [hosted platform](https://app.supabase.io). You can sign up and start using Supabase without installing anything. +Supabase is a [hosted platform](https://app.supabase.com). You can sign up and start using Supabase without installing anything. You can also [self-host](https://supabase.com/docs/guides/hosting/overview) and [develop locally](https://supabase.com/docs/guides/local-development). ![Architecture](https://supabase.com/docs/assets/images/supabase-architecture-9050a7317e9ec7efb7807f5194122e48.png) diff --git a/apps/temp-docs/components/AuthProviders.tsx b/apps/temp-docs/components/AuthProviders.tsx index 660f2c2e1f3..65f20a09feb 100644 --- a/apps/temp-docs/components/AuthProviders.tsx +++ b/apps/temp-docs/components/AuthProviders.tsx @@ -11,11 +11,11 @@ export default function AuthProviders() {

{x.name}

-

+

{x.official ? ( - Official + Official ) : ( - Unofficial + Unofficial )}

diff --git a/apps/temp-docs/components/Footer.tsx b/apps/temp-docs/components/Footer.tsx index bc398116b64..01b64edd282 100644 --- a/apps/temp-docs/components/Footer.tsx +++ b/apps/temp-docs/components/Footer.tsx @@ -8,7 +8,7 @@ const Footer = () => { return (