Skip to content

Commit

Permalink
Merge branch 'master' into next-09
Browse files Browse the repository at this point in the history
  • Loading branch information
igorkamyshev authored Aug 23, 2023
2 parents d4706a7 + 302e380 commit f77f6aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 44 deletions.
5 changes: 0 additions & 5 deletions apps/website/docs/contributors.data.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import { Octokit } from '@octokit/rest';

import coreTeamMembers from './core_team.data.json' assert { type: 'json' };

export default {
async load() {
const octokit = new Octokit();

const coreTeamAccounts = coreTeamMembers.map(getGitHubAccount);

const response = await octokit.repos.listContributors({
owner: 'igorkamyshev',
repo: 'farfetched',
Expand All @@ -20,7 +16,6 @@ export default {
name: item.login,
links: [{ icon: 'github', link: item.html_url }],
}))
.filter((user) => !coreTeamAccounts.includes(getGitHubAccount(user)))
.filter(
(user) =>
getGitHubAccount(user) !== 'https://github.com/apps/github-actions'
Expand Down
29 changes: 0 additions & 29 deletions apps/website/docs/core_team.data.json

This file was deleted.

12 changes: 2 additions & 10 deletions apps/website/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,11 @@ import {
} from 'vitepress/theme'

import { data as contributors} from './contributors.data';
import members from './core_team.data.json';
</script>

<VPTeamPage>
<VPTeamPageTitle>
<template #title>Meet the team</template>
</VPTeamPageTitle>
<VPTeamMembers :members="members" />

<VPTeamPageSection>
<template #title>Contributors</template>
<template #members>
<VPTeamMembers size="small" :members="contributors" />
</template>
</VPTeamPageSection>
</VPTeamPageTitle>
<VPTeamMembers size="small" :members="contributors" />
</VPTeamPage>

0 comments on commit f77f6aa

Please sign in to comment.