Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: migrate to typescript #50

Merged
merged 33 commits into from Nov 2, 2020

Conversation

kiwicopple
Copy link
Member

@kiwicopple kiwicopple commented Oct 14, 2020

What kind of change does this PR introduce?

Migrates the repo to Typescript.

BREAKING CHANGES

  • Errors are now returned and not thrown
  • Auth now uses @supabase/gotrue-js interface
  • supabase.getSubscriptions() only returns open subscriptions

@kiwicopple kiwicopple changed the title Feature/migrate to typescript Feature: migrate to typescript Oct 14, 2020
@kiwicopple kiwicopple marked this pull request as ready for review October 15, 2020 10:38
src/Client.ts Outdated Show resolved Hide resolved
@thorwebdev
Copy link
Member

When I try to build locally I get a couple of dependency errors:
image
Do you only have these dependencies locally atm? Or maybe package.json is out of date?

@kiwicopple
Copy link
Member Author

It looks like the PR for PostgREST didn't get picked up by Semantic Releases:
supabase/postgrest-js#119

I'll bump both of these today to make sure they are in NPM

src/SupabaseClient.ts Outdated Show resolved Hide resolved
@thorwebdev
Copy link
Member

thorwebdev commented Oct 21, 2020

Couple of updates across libraries:

@kiwicopple
Copy link
Member Author

Merge this PR 🥳

Will do this as soon as all the docs are completed

kiwicopple added a commit to supabase/supabase that referenced this pull request Nov 2, 2020
## What kind of change does this PR introduce?

Updates the docs with the new developer experience: https://deploy-preview-253--supabase.netlify.app/docs

- Documents the new Auth using `gotrue-js`
- Fixes #179 
- Fixes OAuth links #241 (comment) 
- [x] Add docs on Policies

## Additional context

Related PR on `supabase-js` supabase/supabase-js#50

* Updates the docs for the new Auth DX.

* docs: adds docs for subscribing to rows

* Updates all the reads

* Updates all the docs with the new format

* docs: Replaces all { error, data} with data first, because I subjectively think it looks better

* Adds some of the breaking changes to a blog post

* Adds headings

* removes the blog post since it is now in notion

* Adds the Oauth changes

* removes recharts because we no longer use it

* Adds basic structure for GoTrue ref

* Adds styles for the api reference docs

* Adds more generated docs

* Downloads the files to work locally

* Adds a supabase generator

* Moves some of the guides into the "tools" folder

* Re-shuffles some of the pages around

* Generated everythign related to the Supabase Client

* Refactors and categorieses the pages

* Changes the names to be more readable

* Migrates almost all of the filters into the API reference

* Moves most of the stored procedure filters

* Adds realtime-js to the mix

* More desciptive titles

* Moves all the generated docs to the docs folder

* Moves over some of the data manipulators

* Extracts most of the client functionality to the API ref

* Adds more detail to the guides

* Removes the reference to the emulator

* Adds the supabase 1.0 blog post

* Adds a redirects for netlify

* chore: Updates packages

* Updates broken links

* Adding docs for the server

* Adds comments to gotrue and pgapi

* Adds a twitter icon to our navbar

* Updates the auth with the new user and session return values

* Updates the sponsors

* Styles for cards

* Adds a default value to all of the Tabs
@kiwicopple kiwicopple merged commit 076b4b9 into supabase:master Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants