Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/useVenice/openSDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
xdotli committed Dec 3, 2023
2 parents 71fb61e + ae06093 commit a7b06bf
Show file tree
Hide file tree
Showing 11 changed files with 550 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@
.obsidian/

docs/venice.oas.json
dist/
dist/
# Maybe do not ignore examples? We want them to be nice and consistent after all
examples/
.next
16 changes: 16 additions & 0 deletions .github/workflows/check_conventional_commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Check PR title
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: aslafy-z/conventional-pr-title-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run commitlint ${1}
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm typecheck
8 changes: 8 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('@commitlint/types').UserConfig} */
const config = {
extends: ['@commitlint/config-conventional'],
rules: {
'subject-case': [0],
},
}
module.exports = config
2 changes: 1 addition & 1 deletion docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"topbarCtaButton": {
"name": "Github",
"url": "https://dashboard.mintlify.com"
"url": "https://github.com/useVenice/openSDKs"
},
"tabs": [
{
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@
"test::ci": "pnpm run test --ci --forceExit --detectOpenHandles --runInBand",
"test::debug": "node --inspect-brk $(pnpm bin)/jest --runInBand --watch",
"test::watch": "pnpm run test --watch",
"test": "jest"
"test": "jest",
"commitlint": "commitlint --edit",
"prepare": "husky install"
},
"lint-staged": {
"**/*.{js,ts,tsx,json,css,yml,yaml}": "prettier --write",
"**/*.{js,ts,tsx}": "eslint --ext .js,.ts,.tsx --cache --fix"
},
"devDependencies": {
"@commitlint/types": "^18.4.3",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@tsconfig/strictest": "^2.0.2",
"@types/jest": "^29.5.10",
Expand Down
Loading

1 comment on commit a7b06bf

@vercel
Copy link

@vercel vercel bot commented on a7b06bf Dec 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

opensdks – ./

opensdks.vercel.app
opensdks-git-main-venice.vercel.app
opensdks-venice.vercel.app
opensdks.org

Please sign in to comment.