changed monorepo to supabase

This commit is contained in:
awalias
2020-02-04 14:15:20 +08:00
parent 4523aca9e6
commit 0232f7184b
15 changed files with 115 additions and 115 deletions

View File

@@ -8,14 +8,14 @@ help:
@echo "make github.traction # get a history of stargazers for our individual repos"
github.users:
curl -sS https://api.github.com/repos/supabase/monorepo/contributors \
curl -sS https://api.github.com/repos/supabase/supabase/contributors \
| jq -r 'map_values({username: .login, avatar_url: .avatar_url}) \
| unique \
| sort_by(.username)' \
> $(REPO_DIR)/web/src/data/contributors/contributors.json
github.issues:
curl -sS https://api.github.com/repos/supabase/monorepo/issues \
curl -sS https://api.github.com/repos/supabase/supabase/issues \
| jq -r 'map_values({username: .user.login, avatar_url: .user.avatar_url}) \
| unique \
| sort_by(.username)' \
@@ -23,7 +23,7 @@ github.issues:
.PHONY: github.repos
github.repos: \
github.repos.monorepo \
github.repos.supabase \
github.repos.realtime \
github.repos.schemas

View File

@@ -12,7 +12,7 @@
We are currently in alpha. Watch "releases" of this repo to get notified when we are ready for Public Beta.
![Watch this repo](https://gitcdn.xyz/repo/supabase/monorepo/master/web/static/watch-repo.gif "Watch this repo")
![Watch this repo](https://gitcdn.xyz/repo/supabase/supabase/master/web/static/watch-repo.gif "Watch this repo")
## Structure

View File

@@ -2,4 +2,4 @@
We are considering building connectors that will automatically forward your database changes to varios systems. At this stage we are simply gauging demand.
If you would like us to start building a connector that you need, feel free to show your interest in this [issue on GitHub](https://github.com/supabase/monorepo/issues/4).
If you would like us to start building a connector that you need, feel free to show your interest in this [issue on GitHub](https://github.com/supabase/supabase/issues/4).

View File

@@ -20,7 +20,7 @@ services:
environment:
DB_HOST: db
DB_NAME: postgres
DB_USER: postgres
DB_USER: postgresgi
DB_PASSWORD: postgres
DB_PORT: 5432
PORT: 4000
@@ -42,4 +42,4 @@ services:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_PORT: 5432
POSTGRES_PORT: 5432

View File

@@ -2,4 +2,4 @@
We are building client libraries to make it even easier to get started with Supabase.
If you we haven't yet built a library for the language of your choice, feel free to show your interest in for new client library in [issue on GitHub](https://github.com/supabase/monorepo/issues/5).
If you we haven't yet built a library for the language of your choice, feel free to show your interest in for new client library in [issue on GitHub](https://github.com/supabase/supabase/issues/5).

View File

@@ -6,12 +6,12 @@ description: 'Most frequently asked questions regarding Supabase'
## Do you support (some other database)?
At the moment we only support PostgreSQL. However you can [vote on a new database](https://github.com/supabase/monorepo/issues/6) if you want us to start development.
At the moment we only support PostgreSQL. However you can [vote on a new database](https://github.com/supabase/supabase/issues/6) if you want us to start development.
## Do you have a library for (some other language)?
We currently have only a Javascript library. However you can [vote on a new client library](https://github.com/supabase/monorepo/issues/5) for your favourite language.
We currently have only a Javascript library. However you can [vote on a new client library](https://github.com/supabase/supabase/issues/5) for your favourite language.
## Can you build a connector for (some other product)?
We don't have any connectors right now. However you can [vote on a new connector](https://github.com/supabase/monorepo/issues/4) for a tool that you use.
We don't have any connectors right now. However you can [vote on a new connector](https://github.com/supabase/supabase/issues/4) for a tool that you use.

View File

@@ -17,9 +17,9 @@ Want to contribute? Why not jump into our github and:
- create a pull request
- try one of our products and give feedback
- translate this website
- [vote on a new client library](https://github.com/supabase/monorepo/issues/5) for your favourite language
- [vote on a new connector](https://github.com/supabase/monorepo/issues/4) for a tool that you use
- [vote on a new database](https://github.com/supabase/monorepo/issues/6)
- [vote on a new client library](https://github.com/supabase/supabase/issues/5) for your favourite language
- [vote on a new connector](https://github.com/supabase/supabase/issues/4) for a tool that you use
- [vote on a new database](https://github.com/supabase/supabase/issues/6)
- spread the word if you like what we are doing
Please refrain from putting us on any launch lists (like Product Hunt) until we are ready for public launch :)

View File

@@ -31,7 +31,7 @@ module.exports = {
{ to: '/docs/about', label: 'Docs', position: 'right' },
{ to: '/docs/guides/examples', label: 'Guides', position: 'right' },
// {
// href: 'https://github.com/supabase/monorepo',
// href: 'https://github.com/supabase/supabase',
// label: 'GitHub',
// position: 'right',
// },
@@ -74,7 +74,7 @@ module.exports = {
items: [
{
label: 'GitHub',
href: 'https://github.com/supabase/monorepo',
href: 'https://github.com/supabase/supabase',
},
{
label: 'Twitter',

View File

@@ -1,7 +1,7 @@
import monorepo from './repos/monorepo.json'
import supabase from './repos/supabase.json'
import realtime from './repos/realtime.json'
import schemas from './repos/schemas.json'
const repos = [monorepo, realtime, schemas]
const repos = [supabase, realtime, schemas]
export { repos }

View File

@@ -1,8 +1,8 @@
{
"id": 214587193,
"node_id": "MDEwOlJlcG9zaXRvcnkyMTQ1ODcxOTM=",
"name": "monorepo",
"full_name": "supabase/monorepo",
"name": "supabase",
"full_name": "supabase/supabase",
"private": false,
"owner": {
"login": "supabase",
@@ -24,53 +24,53 @@
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/supabase/monorepo",
"html_url": "https://github.com/supabase/supabase",
"description": "Website, docs, and client libraries. Follow to stay updated about our public Beta.",
"fork": false,
"url": "https://api.github.com/repos/supabase/monorepo",
"forks_url": "https://api.github.com/repos/supabase/monorepo/forks",
"keys_url": "https://api.github.com/repos/supabase/monorepo/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/supabase/monorepo/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/supabase/monorepo/teams",
"hooks_url": "https://api.github.com/repos/supabase/monorepo/hooks",
"issue_events_url": "https://api.github.com/repos/supabase/monorepo/issues/events{/number}",
"events_url": "https://api.github.com/repos/supabase/monorepo/events",
"assignees_url": "https://api.github.com/repos/supabase/monorepo/assignees{/user}",
"branches_url": "https://api.github.com/repos/supabase/monorepo/branches{/branch}",
"tags_url": "https://api.github.com/repos/supabase/monorepo/tags",
"blobs_url": "https://api.github.com/repos/supabase/monorepo/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/supabase/monorepo/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/supabase/monorepo/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/supabase/monorepo/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/supabase/monorepo/statuses/{sha}",
"languages_url": "https://api.github.com/repos/supabase/monorepo/languages",
"stargazers_url": "https://api.github.com/repos/supabase/monorepo/stargazers",
"contributors_url": "https://api.github.com/repos/supabase/monorepo/contributors",
"subscribers_url": "https://api.github.com/repos/supabase/monorepo/subscribers",
"subscription_url": "https://api.github.com/repos/supabase/monorepo/subscription",
"commits_url": "https://api.github.com/repos/supabase/monorepo/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/supabase/monorepo/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/supabase/monorepo/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/supabase/monorepo/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/supabase/monorepo/contents/{+path}",
"compare_url": "https://api.github.com/repos/supabase/monorepo/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/supabase/monorepo/merges",
"archive_url": "https://api.github.com/repos/supabase/monorepo/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/supabase/monorepo/downloads",
"issues_url": "https://api.github.com/repos/supabase/monorepo/issues{/number}",
"pulls_url": "https://api.github.com/repos/supabase/monorepo/pulls{/number}",
"milestones_url": "https://api.github.com/repos/supabase/monorepo/milestones{/number}",
"notifications_url": "https://api.github.com/repos/supabase/monorepo/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/supabase/monorepo/labels{/name}",
"releases_url": "https://api.github.com/repos/supabase/monorepo/releases{/id}",
"deployments_url": "https://api.github.com/repos/supabase/monorepo/deployments",
"url": "https://api.github.com/repos/supabase/supabase",
"forks_url": "https://api.github.com/repos/supabase/supabase/forks",
"keys_url": "https://api.github.com/repos/supabase/supabase/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/supabase/supabase/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/supabase/supabase/teams",
"hooks_url": "https://api.github.com/repos/supabase/supabase/hooks",
"issue_events_url": "https://api.github.com/repos/supabase/supabase/issues/events{/number}",
"events_url": "https://api.github.com/repos/supabase/supabase/events",
"assignees_url": "https://api.github.com/repos/supabase/supabase/assignees{/user}",
"branches_url": "https://api.github.com/repos/supabase/supabase/branches{/branch}",
"tags_url": "https://api.github.com/repos/supabase/supabase/tags",
"blobs_url": "https://api.github.com/repos/supabase/supabase/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/supabase/supabase/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/supabase/supabase/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/supabase/supabase/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/supabase/supabase/statuses/{sha}",
"languages_url": "https://api.github.com/repos/supabase/supabase/languages",
"stargazers_url": "https://api.github.com/repos/supabase/supabase/stargazers",
"contributors_url": "https://api.github.com/repos/supabase/supabase/contributors",
"subscribers_url": "https://api.github.com/repos/supabase/supabase/subscribers",
"subscription_url": "https://api.github.com/repos/supabase/supabase/subscription",
"commits_url": "https://api.github.com/repos/supabase/supabase/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/supabase/supabase/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/supabase/supabase/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/supabase/supabase/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/supabase/supabase/contents/{+path}",
"compare_url": "https://api.github.com/repos/supabase/supabase/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/supabase/supabase/merges",
"archive_url": "https://api.github.com/repos/supabase/supabase/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/supabase/supabase/downloads",
"issues_url": "https://api.github.com/repos/supabase/supabase/issues{/number}",
"pulls_url": "https://api.github.com/repos/supabase/supabase/pulls{/number}",
"milestones_url": "https://api.github.com/repos/supabase/supabase/milestones{/number}",
"notifications_url": "https://api.github.com/repos/supabase/supabase/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/supabase/supabase/labels{/name}",
"releases_url": "https://api.github.com/repos/supabase/supabase/releases{/id}",
"deployments_url": "https://api.github.com/repos/supabase/supabase/deployments",
"created_at": "2019-10-12T05:56:49Z",
"updated_at": "2020-01-30T04:29:14Z",
"pushed_at": "2020-01-30T11:31:20Z",
"git_url": "git://github.com/supabase/monorepo.git",
"ssh_url": "git@github.com:supabase/monorepo.git",
"clone_url": "https://github.com/supabase/monorepo.git",
"svn_url": "https://github.com/supabase/monorepo",
"git_url": "git://github.com/supabase/supabase.git",
"ssh_url": "git@github.com:supabase/supabase.git",
"clone_url": "https://github.com/supabase/supabase.git",
"svn_url": "https://github.com/supabase/supabase",
"homepage": "https://supabase.io",
"size": 3972,
"stargazers_count": 64,

View File

@@ -1,253 +1,253 @@
[
{
"name": "2019-10-15",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 0,
"@supabase/schemas": 0
},
{
"name": "2019-10-25",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 33,
"@supabase/schemas": 0
},
{
"name": "2019-10-26",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 41,
"@supabase/schemas": 0
},
{
"name": "2019-10-27",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 46,
"@supabase/schemas": 0
},
{
"name": "2019-10-28",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 51,
"@supabase/schemas": 0
},
{
"name": "2019-10-29",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 52,
"@supabase/schemas": 0
},
{
"name": "2019-10-30",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 53,
"@supabase/schemas": 0
},
{
"name": "2019-10-31",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 54,
"@supabase/schemas": 0
},
{
"name": "2019-11-03",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 55,
"@supabase/schemas": 0
},
{
"name": "2019-11-09",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 58,
"@supabase/schemas": 0
},
{
"name": "2019-11-10",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 59,
"@supabase/schemas": 0
},
{
"name": "2019-11-11",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 60,
"@supabase/schemas": 0
},
{
"name": "2019-11-21",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 61,
"@supabase/schemas": 0
},
{
"name": "2019-11-23",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 62,
"@supabase/schemas": 0
},
{
"name": "2019-12-10",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 63,
"@supabase/schemas": 0
},
{
"name": "2019-12-13",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 64,
"@supabase/schemas": 0
},
{
"name": "2019-12-17",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 158,
"@supabase/schemas": 0
},
{
"name": "2019-12-18",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 174,
"@supabase/schemas": 0
},
{
"name": "2019-12-19",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 177,
"@supabase/schemas": 0
},
{
"name": "2019-12-20",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 180,
"@supabase/schemas": 0
},
{
"name": "2019-12-21",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 182,
"@supabase/schemas": 0
},
{
"name": "2019-12-23",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 183,
"@supabase/schemas": 0
},
{
"name": "2019-12-29",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 184,
"@supabase/schemas": 0
},
{
"name": "2020-01-07",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 185,
"@supabase/schemas": 0
},
{
"name": "2020-01-11",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 186,
"@supabase/schemas": 0
},
{
"name": "2020-01-14",
"@supabase/monorepo": 1,
"@supabase/supabase": 1,
"@supabase/realtime": 187,
"@supabase/schemas": 0
},
{
"name": "2020-01-15",
"@supabase/monorepo": 2,
"@supabase/supabase": 2,
"@supabase/realtime": 187,
"@supabase/schemas": 0
},
{
"name": "2020-01-16",
"@supabase/monorepo": 17,
"@supabase/supabase": 17,
"@supabase/realtime": 196,
"@supabase/schemas": 2
},
{
"name": "2020-01-17",
"@supabase/monorepo": 18,
"@supabase/supabase": 18,
"@supabase/realtime": 197,
"@supabase/schemas": 2
},
{
"name": "2020-01-18",
"@supabase/monorepo": 20,
"@supabase/supabase": 20,
"@supabase/realtime": 198,
"@supabase/schemas": 2
},
{
"name": "2020-01-19",
"@supabase/monorepo": 21,
"@supabase/supabase": 21,
"@supabase/realtime": 198,
"@supabase/schemas": 2
},
{
"name": "2020-01-20",
"@supabase/monorepo": 22,
"@supabase/supabase": 22,
"@supabase/realtime": 199,
"@supabase/schemas": 2
},
{
"name": "2020-01-21",
"@supabase/monorepo": 29,
"@supabase/supabase": 29,
"@supabase/realtime": 204,
"@supabase/schemas": 2
},
{
"name": "2020-01-22",
"@supabase/monorepo": 46,
"@supabase/supabase": 46,
"@supabase/realtime": 276,
"@supabase/schemas": 2
},
{
"name": "2020-01-23",
"@supabase/monorepo": 56,
"@supabase/supabase": 56,
"@supabase/realtime": 306,
"@supabase/schemas": 4
},
{
"name": "2020-01-24",
"@supabase/monorepo": 58,
"@supabase/supabase": 58,
"@supabase/realtime": 326,
"@supabase/schemas": 4
},
{
"name": "2020-01-25",
"@supabase/monorepo": 60,
"@supabase/supabase": 60,
"@supabase/realtime": 330,
"@supabase/schemas": 4
},
{
"name": "2020-01-26",
"@supabase/monorepo": 60,
"@supabase/supabase": 60,
"@supabase/realtime": 333,
"@supabase/schemas": 4
},
{
"name": "2020-01-27",
"@supabase/monorepo": 61,
"@supabase/supabase": 61,
"@supabase/realtime": 336,
"@supabase/schemas": 5
},
{
"name": "2020-01-28",
"@supabase/monorepo": 63,
"@supabase/supabase": 63,
"@supabase/realtime": 339,
"@supabase/schemas": 5
},
{
"name": "2020-01-29",
"@supabase/monorepo": 63,
"@supabase/supabase": 63,
"@supabase/realtime": 347,
"@supabase/schemas": 5
},
{
"name": "2020-01-30",
"@supabase/monorepo": 64,
"@supabase/supabase": 64,
"@supabase/realtime": 351,
"@supabase/schemas": 5
}

View File

@@ -168,7 +168,7 @@ function Home() {
'button hero--button button--md button--primary responsive-button',
styles.button
)}
to={'https://github.com/supabase/monorepo'}
to={'https://github.com/supabase/supabase'}
style={{ marginTop: 10 }}
>
Follow our GitHub
@@ -341,7 +341,7 @@ function Home() {
'button hero--button button--md button--primary responsive-button',
styles.button
)}
to={'https://github.com/supabase/monorepo'}
to={'https://github.com/supabase/supabase'}
style={{ margin: 5 }}
>
Follow our GitHub

View File

@@ -49,7 +49,7 @@ export default function Oss() {
/>
<Area
type="monotone"
dataKey="@supabase/monorepo"
dataKey="@supabase/supabase"
stackId="1"
stroke="#8884d8"
fill="#8884d8"

View File

@@ -138,7 +138,7 @@ function Navbar() {
<a
className={classnames(styles.displayOnlyInLargeViewport, 'button button--primary', styles.button)}
href={'https://github.com/supabase/monorepo'}
href={'https://github.com/supabase/supabase'}
style={{ margin: 0, marginLeft: 15 }}
>
GITHUB
@@ -181,7 +181,7 @@ function Navbar() {
<div style={{ margin: 5, marginTop: 15 }}></div>
<a
className={classnames('button button--block button--primary', styles.button)}
href="https://github.com/supabase/monorepo"
href="https://github.com/supabase/supabase"
>
GITHUB
</a>

View File

@@ -43,12 +43,12 @@ const formatResults = (repo, githubResponse) => {
const main = async () => {
const schemas = await fetchAllEvents('schemas', 100)
const realtime = await fetchAllEvents('realtime', 400)
const monorepo = await fetchAllEvents('monorepo', 100)
const supabase = await fetchAllEvents('supabase', 100)
const history = []
.concat(formatResults('@supabase/schemas', schemas))
.concat(formatResults('@supabase/realtime', realtime))
.concat(formatResults('@supabase/monorepo', monorepo))
.concat(formatResults('@supabase/supabase', supabase))
const groups = history.reduce((groups, event) => {
const date = event.starred_at.split('T')[0]
@@ -60,22 +60,22 @@ const main = async () => {
}, {})
var tally = {
'@supabase/monorepo': 0,
'@supabase/supabase': 0,
'@supabase/realtime': 0,
'@supabase/schemas': 0,
}
const data = Object.keys(groups)
.sort((a, b) => a.localeCompare(b))
.map(date => {
let monorepo = groups[date].filter(x => x.repo === '@supabase/monorepo').length
let supabase = groups[date].filter(x => x.repo === '@supabase/supabase').length
let realtime = groups[date].filter(x => x.repo === '@supabase/realtime').length
let schemas = groups[date].filter(x => x.repo === '@supabase/schemas').length
tally['@supabase/monorepo'] += monorepo
tally['@supabase/supabase'] += supabase
tally['@supabase/realtime'] += realtime
tally['@supabase/schemas'] += schemas
return {
name: date,
'@supabase/monorepo': tally['@supabase/monorepo'],
'@supabase/supabase': tally['@supabase/supabase'],
'@supabase/realtime': tally['@supabase/realtime'],
'@supabase/schemas': tally['@supabase/schemas'],
}