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 @@
-
+
+
{x.name}
-+
{x.official ? ( - Official + Official ) : ( - Unofficial + Unofficial )}