Skip to content

Commit ec05925

Browse files
committed
refactor: use deployments package
refactor: rename components refactor: turn MDX components into JSX
1 parent f187042 commit ec05925

File tree

72 files changed

+2374
-4973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2374
-4973
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# directories
22
.docusaurus
3+
build
34
node_modules
45
repos
6+
static
57

68
# files
79
babel.config.js
810
docusaurus.config.ts
11+
sidebars.js

.eslintrc.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,29 @@ env:
33
extends:
44
- "eslint:recommended"
55
- "plugin:@docusaurus/recommended"
6-
- "plugin:@typescript-eslint/recommended"
7-
- "plugin:mdx/recommended"
8-
- "plugin:react/recommended"
96
overrides:
107
- files:
118
- "*.md"
129
- "*.mdx"
10+
extends:
11+
- "plugin:mdx/recommended"
12+
- "plugin:react/recommended"
1313
parser: "eslint-mdx"
1414
rules:
1515
no-unused-expressions: "off"
1616
- files:
1717
- "*.ts"
1818
- "*.tsx"
19+
extends:
20+
- "plugin:@typescript-eslint/recommended"
21+
- "plugin:react/recommended"
1922
parser: "@typescript-eslint/parser"
2023
parserOptions:
24+
ecmaFeatures:
25+
jsx: true
26+
ecmaVersion: "latest"
2127
project: "tsconfig.json"
28+
sourceType: "module"
2229
plugins:
2330
- "@typescript-eslint"
2431
rules:
@@ -30,13 +37,8 @@ overrides:
3037
- error
3138
- argsIgnorePattern: ^_
3239
varsIgnorePattern: ^_
33-
parserOptions:
34-
ecmaFeatures:
35-
jsx: true
36-
ecmaVersion: "latest"
40+
"react/react-in-jsx-scope": "off"
3741
root: true
38-
rules:
39-
"react/react-in-jsx-scope": "off"
4042
settings:
4143
react:
4244
version: "detect"

.lintstagedrc.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
"*.{json,md,mdx,ts,tsx,yml}": "bun run fix"
1+
"*.{md,mdx,ts,tsx}": "bun run lint:fix"
2+
"*.{json,md,mdx,ts,tsx,yml}": "bun run prettier:write"

bun.lock

Lines changed: 1635 additions & 1873 deletions
Large diffs are not rendered by default.

docs/api/airdrops/02-endpoints.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
7+
import DeprecatedSubgraphs from "@site/src/components/atoms/DeprecatedSubgraphs";
108
import LinkPreview from "@site/src/components/molecules/LinkPreview";
9+
import EnvioEndpoints from "@site/src/snippets/EnvioEndpoints.mdx";
10+
import TheGraphEndpoints from "@site/src/snippets/TheGraphEndpoints.mdx";
1111

1212
# Airdrops Endpoints
1313

docs/api/airdrops/06-previous-endpoints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 6
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "@site/src/snippets/DeprecatedEndpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

docs/api/flow/02-endpoints.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
7+
import DeprecatedSubgraphs from "@site/src/components/atoms/DeprecatedSubgraphs";
108
import LinkPreview from "@site/src/components/molecules/LinkPreview";
9+
import EnvioEndpoints from "@site/src/snippets/EnvioEndpoints.mdx";
10+
import TheGraphEndpoints from "@site/src/snippets/TheGraphEndpoints.mdx";
1111

1212
# Flow Endpoints
1313

docs/api/flow/05-previous-endpoints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 5
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "@site/src/snippets/DeprecatedEndpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

docs/api/lockup/02-endpoints.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ sidebar_position: 2
44
title: "Endpoints"
55
---
66

7-
import DeprecatedSubgraphs from "@site/docs/snippets/DeprecatedSubgraphs.mdx";
8-
import EnvioEndpoints from "@site/docs/snippets/EnvioEndpoints.mdx";
9-
import TheGraphEndpoints from "@site/docs/snippets/TheGraphEndpoints.mdx";
7+
import DeprecatedSubgraphs from "@site/src/components/atoms/DeprecatedSubgraphs";
108
import LinkPreview from "@site/src/components/molecules/LinkPreview";
9+
import EnvioEndpoints from "@site/src/snippets/EnvioEndpoints.mdx";
10+
import TheGraphEndpoints from "@site/src/snippets/TheGraphEndpoints.mdx";
1111

1212
# Lockup Endpoints
1313

docs/api/lockup/05-previous-endpoints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 5
44
title: "Previous Endpoints"
55
---
66

7-
import DeprecatedEndpoints from "@site/docs/snippets/DeprecatedEndpoints.mdx";
7+
import DeprecatedEndpoints from "@site/src/snippets/DeprecatedEndpoints.mdx";
88

99
<DeprecatedEndpoints />
1010

0 commit comments

Comments
 (0)