Skip to content

Commit

Permalink
Merge pull request #3 from valorem-labs-inc/refactor-for-hooks
Browse files Browse the repository at this point in the history
Fix inheritance, add seaport validator, refactor API/Types
  • Loading branch information
nickadamson authored Oct 18, 2023
2 parents 56c22ba + 942c182 commit 59b0b01
Show file tree
Hide file tree
Showing 38 changed files with 1,057 additions and 2,206 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ module.exports = {
'no-console': 'warn',
'eslint-comments/require-description': 'off',
'import/no-extraneous-dependencies': 'off',
'unicorn/filename-case': 'off',
'@typescript-eslint/no-non-null-assertion': 'warn',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-return': 'off',
Expand All @@ -31,7 +33,6 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
},
ignorePatterns: [
'test',
'*.config.*',
'node_modules',
'dist',
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
ssh-key: ${{ secrets.DEPLOY_KEY }}

- name: Install pnpm
uses: pnpm/action-setup@v2
Expand All @@ -37,8 +36,8 @@ jobs:

- name: Setup Git
run: |
git config user.name '${{secrets.MAINTAINER_NAME}}'
git config user.email '${{secrets.MAINTAINER_EMAIL}}'
git config user.name github-actions
git config user.email [email protected]
- name: bump version
run: npm version ${{ github.event.inputs.version }}
Expand Down
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://json.schemastore.org/semantic-release.json",
"branches": ["main"],
"repositoryUrl": "https://github.com/valorem-labs-inc/sdk.git"
"branches": ["main", "refs/tags/v*"],
"repositoryUrl": "https://github.com/valorem-labs-inc/typescript-sdk.git"
}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
TODO
# WIP

This is a work in progress. The API is not yet stable, and is subject to change, including breaking changes. Contributions welcome.
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/valorem-labs-inc/sdk.git"
"url": "https://github.com/valorem-labs-inc/typescript-sdk.git"
},
"license": "MIT",
"sideEffects": false,
Expand All @@ -23,15 +23,15 @@
"scripts": {
"build": "pnpm clean && pnpm codegen && pnpm tsup",
"clean": "rm -rf ./dist",
"codegen": "rm -rf ./src/lib/generated && npx buf generate",
"codegen": "rm -rf ./src/lib/codegen && npx buf generate",
"format": "prettier --write \"**/*.{ts,tsx,md,json}\"",
"gen-docs": "typedoc",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepare": "git submodule update --init --recursive",
"prepublish": "pnpm build",
"semantic-release": "semantic-release",
"test": "vitest"
"test": "vitest run --coverage"
},
"prettier": "@vercel/style-guide/prettier",
"dependencies": {
Expand All @@ -46,16 +46,13 @@
"@bufbuild/protoc-gen-es": "^1.3.3",
"@connectrpc/protoc-gen-connect-es": "^1.1.2",
"@connectrpc/protoc-gen-connect-query": "^0.5.3",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.5",
"@vercel/style-guide": "^5.0.1",
"babel-loader": "^9.1.3",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.51.0",
"prettier": "^3.0.3",
"semantic-release": "^22.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsconfig": "^7.0.0",
"tsup": "^7.2.0",
"typedoc": "^0.25.2",
"typedoc-plugin-missing-exports": "^2.1.0",
Expand Down
Loading

0 comments on commit 59b0b01

Please sign in to comment.