Skip to content

Commit 1ad3ed1

Browse files
authored
Merge pull request #308 from sablier-labs/refactor/deployments-package
Use SDK and indexers package
2 parents 14ecd5f + cb94cb1 commit 1ad3ed1

File tree

1,500 files changed

+133616
-17344
lines changed

Some content is hidden

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

1,500 files changed

+133616
-17344
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ indent_size = 2
1111
indent_style = space
1212
insert_final_newline = true
1313
trim_trailing_whitespace = true
14+
15+
[justfile]
16+
indent_size = 4

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,6 @@ overrides:
1515
no-undef: "off"
1616
no-unused-expressions: "off"
1717
react/jsx-no-undef: "off"
18-
- files:
19-
- "*.ts"
20-
- "*.tsx"
21-
extends:
22-
- "plugin:@typescript-eslint/recommended"
23-
- "plugin:react/recommended"
24-
parser: "@typescript-eslint/parser"
25-
parserOptions:
26-
ecmaFeatures:
27-
jsx: true
28-
ecmaVersion: "latest"
29-
project: "tsconfig.json"
30-
sourceType: "module"
31-
plugins:
32-
- "@typescript-eslint"
33-
rules:
34-
"@typescript-eslint/no-floating-promises":
35-
- error
36-
- ignoreIIFE: true
37-
ignoreVoid: true
38-
"@typescript-eslint/no-unused-vars":
39-
- error
40-
- argsIgnorePattern: ^_
41-
varsIgnorePattern: ^_
42-
"react/react-in-jsx-scope": "off"
4318
root: true
4419
settings:
4520
react:

.github/workflows/cd.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "Deploy to Vercel"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: ["main"]
7+
8+
jobs:
9+
cd:
10+
environment: "production"
11+
runs-on: "ubuntu-latest"
12+
steps:
13+
- name: "Check out the repo"
14+
uses: "actions/checkout@v4"
15+
16+
- name: "Set up devkit"
17+
uses: "sablier-labs/devkit/actions/setup@main"
18+
with:
19+
package-manager: "bun"
20+
21+
- name: "Run the code checks"
22+
run: "just full-check"
23+
24+
- name: "Deploy to Vercel"
25+
env:
26+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
27+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
28+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
29+
run: "just deploy"
30+
31+
- name: "Add summary"
32+
run: |
33+
echo "## Continuous Deployment results" >> $GITHUB_STEP_SUMMARY
34+
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
File renamed without changes.

.github/workflows/deploy.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@
33
.docusaurus
44
build
55
node_modules
6+
src/autogen/**/*.mdx
67

78
# files
89
*.env
910
*.log
1011
*.tsbuildinfo
1112
.DS_Store
1213
.eslintcache
13-
.pnp.*
14-
bun.lockb
1514
package-lock.json
16-
pnpm-lock.yaml
17-
yarn.lock

.lintstagedrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/**
2+
* @type {import("lint-staged").Configuration}
3+
*/
4+
module.exports = {
5+
"*.{css,js,json,jsonc,jsx,ts,tsx}": "bun biome check --write",
6+
"*.{js,jsx,ts,tsx}": "bun biome lint --write --only correctness/noUnusedImports",
7+
"*.{md,mdx,yaml,yml}": "bun prettier --cache --write",
8+
"*.{md,mdx}": "bun eslint --cache --fix",
9+
};

.lintstagedrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.prettierignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# directories
2-
.cache-loader
32
.docusaurus
43
build
54
node_modules
65
repos
76

87
# files
9-
.pnp.*
10-
package-lock.json
11-
pnpm-lock.yaml
8+
src/autogen/**/*.mdx

0 commit comments

Comments
 (0)