Merge pull request #399 from ykdojo/fix/javascript-case

fix: Javascript -> JavaScript, Typescript -> TypeScript
This commit is contained in:
Ant Wilson authored and GitHub committed 2020-12-16 23:08:19 +00:00
commit 0ce0eaf5f8
17 files changed
+21 -21

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
Live Example: [https://auth-vanilla-js.vercel.app/](https://auth-vanilla-js.vercel.app/)
How to sign up and login using supabase and supabase-js using HTML and Javascript only
How to sign up and login using supabase and supabase-js using HTML and JavaScript only
<img width="558" alt="image" src="https://user-images.githubusercontent.com/458736/88377414-b6fb4180-cdd1-11ea-8061-103ec4577b7b.png">
@@ -46,9 +46,9 @@ You can now enable Email Confirmations for new users. This can be toggled on or
<source src="/videos/confirm-email.mp4" type="video/mp4" loop muted playsInline />
</video>
### Typescript support
### TypeScript support
The biggest communty contribution to date, [@thorwebdev](https://twitter.com/thorwebdev) added Typescript support to Supabase. He even [live streamed the process](https://twitter.com/thorwebdev/status/1292722189788016641).
The biggest communty contribution to date, [@thorwebdev](https://twitter.com/thorwebdev) added TypeScript support to Supabase. He even [live streamed the process](https://twitter.com/thorwebdev/status/1292722189788016641).
![This git shows how TypeScript makes it even easier to use Supabase, through VSCode's intellisense.](/img/typescript-support.gif)
+2 -2
View File
@@ -19,7 +19,7 @@ Today we're releasing [supabase-js](https://github.com/supabase/supabase-js) ver
Before digging into the improvements, we're excited to point out our new [developer docs](/docs/client/supabase-client). While they're still a work in progress, here are some things we think you'll like:
- The [Reference Docs](/docs/client/supabase-client) are auto-generated from our Typescript definitions and then enriched with examples. This forces us to document our code and makes it easier to keep everything in sync.
- The [Reference Docs](/docs/client/supabase-client) are auto-generated from our TypeScript definitions and then enriched with examples. This forces us to document our code and makes it easier to keep everything in sync.
- We added placeholders for the other languages that the community is developing. They have already started with Python, C#, Dart, Rust, and Swift. Expect to see the docs filling up soon!
- We've added sections for all of the open source tools we use, including [Postgres](/docs/postgres/server/about), [PostgREST](/docs/postgrest/server/about), [GoTrue](/docs/gotrue/server/about), and [Realtime](/docs/realtime/server/about). We'll be filling these with lots of valuable information including self-hosting, benchmarks, and simple guides.
@@ -77,7 +77,7 @@ const { user, error } = await supabase.auth.signUp({
### Enhancements and fixes
- Native Typescript. All of our libraries are now natively built with Typescript: [`supabase-js`](https://github.com/supabase/supabase-js), [`postgrest-js`](https://github.com/supabase/postgrest-js), [`gotrue-js`](https://github.com/supabase/gotrue-js), and [`realtime-js`](https://github.com/supabase/realtime-js).
- Native TypeScript. All of our libraries are now natively built with TypeScript: [`supabase-js`](https://github.com/supabase/supabase-js), [`postgrest-js`](https://github.com/supabase/postgrest-js), [`gotrue-js`](https://github.com/supabase/gotrue-js), and [`realtime-js`](https://github.com/supabase/realtime-js).
- Better realtime scalability: we only generate one socket connection per Supabase client. Previously we would create a connection for every subscription.
- We've added support for OAuth providers.
- 60% of minor bugs outstanding for `supabase-js` have been [solved](https://github.com/supabase/supabase-js/pull/50).
+1 -1
View File
@@ -11,7 +11,7 @@ All JavaScript libraries are built directly by the Supabase team.
Other languages are built by the community and supported by Supabase.
## Javascript
## JavaScript
```bash
npm install @supabase/supabase-js
+2 -2
View File
@@ -12,7 +12,7 @@ We're building as fast as we can! And we are even adding a few things that Fireb
- User Authentication to sign up users and edit access rules on your database.
- Real-time database listeners
- JS library and APIs
- Functions (kinda). These exist as database stored procedures, which can be written in SQL, Javascript, Python, and Java.
- Functions (kinda). These exist as database stored procedures, which can be written in SQL, JavaScript, Python, and Java.
### How can you be a Firebase alternative if you're built with a relational database?
@@ -28,5 +28,5 @@ At the moment we only support PostgreSQL. It's unlikely we'll ever move away fro
### Do you have a library for `[some other language]`?
We currently have a Javascript library. You can [vote on a new client library](https://github.com/supabase/supabase/issues/5) for your favourite language.
We currently have a JavaScript library. You can [vote on a new client library](https://github.com/supabase/supabase/issues/5) for your favourite language.
+1 -1
View File
@@ -11,7 +11,7 @@ All JavaScript libraries are built directly by the Supabase team.
Other languages are built by the community and supported by Supabase.
## Javascript
## JavaScript
```bash
npm install @supabase/gotrue-js
+1 -1
View File
@@ -11,7 +11,7 @@ All JavaScript libraries are built directly by the Supabase team.
Other languages are built by the community and supported by Supabase.
## Javascript
## JavaScript
```bash
npm install @supabase/postgrest-js
+1 -1
View File
@@ -11,7 +11,7 @@ All JavaScript libraries are built directly by the Supabase team.
Other languages are built by the community and supported by Supabase.
## Javascript
## JavaScript
```bash
npm install @supabase/realtime-js
+1 -1
View File
@@ -43,7 +43,7 @@ We have set up some simple examples that show how to use this server:
## Client libraries
- Javascript: [@supabase/realtime-js](https://github.com/supabase/realtime-js)
- JavaScript: [@supabase/realtime-js](https://github.com/supabase/realtime-js)
## Server
+1 -1
View File
@@ -28,7 +28,7 @@
},
"comment": {
"shortText": "Supabase Client.",
"text": "An isomorphic Javascript client for interacting with Postgres.\n"
"text": "An isomorphic JavaScript client for interacting with Postgres.\n"
},
"children": [
{
+1 -1
View File
@@ -51,7 +51,7 @@ pages:
Other languages are built by the community and supported by Supabase.
## Javascript
## JavaScript
```bash
npm install @supabase/gotrue-js
+1 -1
View File
@@ -66,7 +66,7 @@ pages:
Other languages are built by the community and supported by Supabase.
## Javascript
## JavaScript
```bash
npm install @supabase/postgrest-js
+1 -1
View File
@@ -36,7 +36,7 @@ pages:
Other languages are built by the community and supported by Supabase.
## Javascript
## JavaScript
```bash
npm install @supabase/realtime-js
+1 -1
View File
@@ -25,7 +25,7 @@
},
"comment": {
"shortText": "Supabase Client.",
"text": "An isomorphic Javascript client for interacting with Postgres.\n"
"text": "An isomorphic JavaScript client for interacting with Postgres.\n"
},
"children": [
{
+1 -1
View File
@@ -100,7 +100,7 @@ pages:
Other languages are built by the community and supported by Supabase.
## Javascript
## JavaScript
```bash
npm install @supabase/supabase-js
+1 -1
View File
@@ -1,6 +1,6 @@
[
{
"name": "Typescript Support",
"name": "TypeScript Support",
"description": "Type definitions built directly from your database schema",
"badge": null,
"url": "/docs/client/generating-types"
+2 -2
View File
@@ -553,7 +553,7 @@ const NewFeaturesAndIntegrations = () => {
target="_blank"
className="text-brand-700 hover:text-brand-800"
>
Javascript
JavaScript
</a>{' '}
(and{' '}
<a
@@ -901,7 +901,7 @@ const WhatsNext = () => (
</li>
<li>
More client libraries - members of the community are helping us build client libraries
for many different languages including Typescript, Python, Dart, C#, and Rust. Come
for many different languages including TypeScript, Python, Dart, C#, and Rust. Come
and help us bring Supabase to your favourite language or framework.
</li>
</ul>