Skip to content

Commit

Permalink
major updatee
Browse files Browse the repository at this point in the history
  • Loading branch information
dashkt committed Nov 11, 2023
1 parent 3c2318f commit a8f5c9c
Show file tree
Hide file tree
Showing 34 changed files with 583 additions and 366 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: CI

on:
push:
branches: [main]
branches: [ main ]
pull_request:
branches: [main]
branches: [ main ]

jobs:
build:
strategy:
matrix:
node-version: [18.x]
node-version: [ 18.x ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

name: Build with ${{ matrix.node-version }}
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
test:
strategy:
matrix:
node-version: [18.x]
node-version: [ 18.x ]

name: Run all tests
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
workflow_run:
workflows: ['CI']
workflows: [ 'CI' ]
types:
- completed
branches:
Expand All @@ -12,7 +12,7 @@ jobs:
release:
strategy:
matrix:
node-version: [18.x]
node-version: [ 18.x ]

name: Create a new release
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
update:
strategy:
matrix:
node-version: [18.x]
node-version: [ 18.x ]

name: Update all dependencies
runs-on: ubuntu-latest
Expand Down
29 changes: 14 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,52 @@
# [2.1.0](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/compare/v2.0.1...v2.1.0) (2023-09-21)


### Features

* **auth:** login added ([6ca6940](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/6ca6940aa2a22e75daf807573afd8057db000808))
* **auth:** login
added ([6ca6940](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/6ca6940aa2a22e75daf807573afd8057db000808))

## [2.0.1](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/compare/v2.0.0...v2.0.1) (2023-07-31)


### Bug Fixes

* **build:** build fixes ([7bdeaeb](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/7bdeaeb4cc8581a7027919ac04b957a6f941c6d0))
* **build:** build
fixes ([7bdeaeb](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/7bdeaeb4cc8581a7027919ac04b957a6f941c6d0))

# [2.0.0](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/compare/v1.0.3...v2.0.0) (2023-07-31)


### Features

* **core:** server actions ([4bc69f6](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/4bc69f6c90a61e097635f4871520e4cde55736fc))

* **core:** server
actions ([4bc69f6](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/4bc69f6c90a61e097635f4871520e4cde55736fc))

### BREAKING CHANGES

* **core:** implicit auth -> pkce

## [1.0.3](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/compare/v1.0.2...v1.0.3) (2023-02-26)


### Bug Fixes

* **upgrade:** upgrade to next 13.2 ([7ac20ea](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/7ac20ea9926645d85120f19c81aeb8184f25fe97))
* **upgrade:** upgrade to next
13.2 ([7ac20ea](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/7ac20ea9926645d85120f19c81aeb8184f25fe97))

## [1.0.2](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/compare/v1.0.1...v1.0.2) (2023-02-14)


### Bug Fixes

* **tailwindcss:** production build ([5872cf3](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/5872cf38a4d704ecf319d0d12c4ca211e2dc17b4))
* **tailwindcss:** production
build ([5872cf3](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/5872cf38a4d704ecf319d0d12c4ca211e2dc17b4))

## [1.0.1](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/compare/v1.0.0...v1.0.1) (2023-02-08)


### Bug Fixes

* **react-no-ssr:** remove react no ssr ([0030eaa](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/0030eaab147b3f4184c42dca160d8030bb944cfe))
* **react-no-ssr:** remove react no
ssr ([0030eaa](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/0030eaab147b3f4184c42dca160d8030bb944cfe))

# 1.0.0 (2023-02-08)


### Features

* **items:** ability to view and add items ([9610939](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/9610939028ecd510757c3d89ab2124c3d452bb64))
* **items:** ability to view and add
items ([9610939](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/commit/9610939028ecd510757c3d89ab2124c3d452bb64))
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

![NextBase Lite Open Source Free Boilerplate](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/blob/main/.github/litebanner.png?raw=true)

Nextbase Lite is a simple Next.js 13 + Supabase boilerplate. It includes a Next.js 13 app with Typescript, Supabase and Tailwind CSS. It includes the all new `app` folder, `layout` components, React `server components` and more!
Nextbase Lite is a simple Next.js 13 + Supabase boilerplate. It includes a Next.js 13 app with Typescript, Supabase and
Tailwind CSS. It includes the all new `app` folder, `layout` components, React `server components` and more!

## Features

- 🚀 Next.js 13 with async components
- 💻 Data fetching examples in React server and client components. Suspenseful data fetching with minimal loading screens.
- 💻 Data fetching examples in React server and client components. Suspenseful data fetching with minimal loading
screens.
- ⚛️ React query setup configured
- 🔥 React Hot Toast component
- 💻 Fully typed with Typescript. Includes automatic type generation for Supabase tables
Expand All @@ -27,7 +29,8 @@ Nextbase Lite is a simple Next.js 13 + Supabase boilerplate. It includes a Next.
2. Install dependencies with `yarn`
3. Create a Supabase account if you don't have one already
4. Create a new project in Supabase
5. Link Supabase to your project using `yarn supabase link --project-ref <project-ref>`. You can get your project ref from the Supabase Project dashboard (Project Settings -> API)
5. Link Supabase to your project using `yarn supabase link --project-ref <project-ref>`. You can get your project ref
from the Supabase Project dashboard (Project Settings -> API)
6. Duplicate `.env.local.example` and rename it to `.env.local` and add the Project ref, Supabase URL and anon key.
7. Push the database schema to your Supabase project using `yarn supabase db push`.
8. Generate types for your Supabase tables using `yarn generate:types:local`.
Expand All @@ -40,7 +43,8 @@ Nextbase Lite is a simple Next.js 13 + Supabase boilerplate. It includes a Next.

### Deployment

This is a simple Next.js project. Deployment is the same as any other Next.js project. You can deploy it to Vercel, Netlify, or any other hosting provider.
This is a simple Next.js project. Deployment is the same as any other Next.js project. You can deploy it to Vercel,
Netlify, or any other hosting provider.

### Contributing

Expand All @@ -56,6 +60,7 @@ Checkout the [TROUBLESHOOTING.md](./TROUBLESHOOTING.md) file for common issues.

## Premium NextBase Boilerplate

Also checkout our premium boilerplate with more features. It includes a fully functional authentication system, user profiles, organisations, row level security, and more.
Also checkout our premium boilerplate with more features. It includes a fully functional authentication system, user
profiles, organisations, row level security, and more.

[![NextBase Boilerplate](https://github.com/imbhargav5/nextbase-nextjs13-supabase-starter/blob/main/.github/banner.png?raw=true)](https://usenextbase.com)
6 changes: 4 additions & 2 deletions TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## HUSKY setup

If you have trouble running husky pre commit hooks, make sure they have executable permissions. You can do this by running
If you have trouble running husky pre commit hooks, make sure they have executable permissions. You can do this by
running

```bash
chmod ug+x .husky/*
Expand All @@ -9,4 +10,5 @@ chmod ug+x .git/hooks/*

## Github Actions

`GH_TOKEN` - Needs to have write access for semantic release action. Generate a personal access token else RELEASE action will fail.
`GH_TOKEN` - Needs to have write access for semantic release action. Generate a personal access token else RELEASE
action will fail.
2 changes: 1 addition & 1 deletion commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
module.exports = {extends: ['@commitlint/config-conventional']};
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PlaywrightTestConfig, devices } from '@playwright/test'
import {devices, PlaywrightTestConfig} from '@playwright/test'
import path from 'path'

// Use process.env.PORT by default and fallback to port 3000
Expand Down
Loading

0 comments on commit a8f5c9c

Please sign in to comment.