Skip to content

Commit 4c6d4b3

Browse files
authored
Merge pull request #138 from hypercerts-org/develop
Push to main
2 parents f7029f9 + b9c262a commit 4c6d4b3

File tree

75 files changed

+5867
-4457
lines changed

Some content is hidden

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

75 files changed

+5867
-4457
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "lib/hypercerts-indexer"]
22
path = lib/hypercerts-indexer
33
url = https://github.com/hypercerts-org/hypercerts-indexer
4-
branch = develop
4+
branch = main

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm commitlint ${1}

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm lint-staged

.prettierignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Ignore artifacts:
22
build
3-
coverage
3+
coverage
4+
dist
5+
**/__generated__/

commitlintrc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default { extends: ["@commitlint/config-conventional"] };

eslint.config.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// @ts-check
1+
import eslint from "@eslint/js";
2+
import tseslint from "typescript-eslint";
23

3-
import eslint from '@eslint/js';
4-
import tseslint from 'typescript-eslint';
5-
6-
export default tseslint.config(eslint.configs.recommended, ...tseslint.configs.strict);
4+
export default tseslint.config(
5+
eslint.configs.recommended,
6+
...tseslint.configs.strict,
7+
);

package.json

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@
1919
"supabase:types:data": "npx supabase gen types typescript --local > ./src/types/supabaseData.ts",
2020
"preintegration": "pnpm --dir ./lib/hypercerts-indexer i",
2121
"lint": "eslint",
22-
"test": "vitest"
22+
"test": "vitest",
23+
"prepare": "husky",
24+
"commitlint": "commitlint --config commitlintrc.ts --edit"
2325
},
2426
"dependencies": {
2527
"@envelop/graphql-middleware": "^6.0.0",
2628
"@graphql-tools/merge": "^9.0.3",
2729
"@graphql-yoga/plugin-response-cache": "^3.5.0",
28-
"@hypercerts-org/marketplace-sdk": "0.3.32",
29-
"@hypercerts-org/sdk": "2.0.0-alpha.37",
30+
"@hypercerts-org/marketplace-sdk": "0.3.35",
31+
"@hypercerts-org/sdk": "2.2.0-beta.2",
3032
"@ipld/car": "^5.2.5",
3133
"@openzeppelin/merkle-tree": "^1.0.5",
3234
"@sentry/integrations": "^7.114.0",
@@ -55,16 +57,17 @@
5557
"graphql-middleware": "^6.1.35",
5658
"graphql-scalars": "^1.23.0",
5759
"graphql-yoga": "^5.1.1",
60+
"kysely": "^0.27.4",
5861
"lodash": "^4.17.21",
5962
"lru-cache": "^11.0.0",
63+
"pg": "^8.12.0",
6064
"reflect-metadata": "^0.2.2",
6165
"rollup": "^4.12.0",
62-
"supabase": "1.187.10",
6366
"swagger-ui-express": "^5.0.0",
6467
"tsoa": "^6.2.1",
6568
"tsyringe": "^4.8.0",
6669
"type-fest": "^4.12.0",
67-
"type-graphql": "^2.0.0-beta.6",
70+
"type-graphql": "^2.0.0-rc.2",
6871
"viem": "^2.0.3",
6972
"zod": "^3.23.8"
7073
},
@@ -73,6 +76,8 @@
7376
},
7477
"devDependencies": {
7578
"@0no-co/graphqlsp": "^1.4.1",
79+
"@commitlint/cli": "^19.4.1",
80+
"@commitlint/config-conventional": "^19.4.1",
7681
"@eddeee888/gcg-typescript-resolver-files": "^0.7.2",
7782
"@eslint/js": "^9.0.0",
7883
"@graphql-codegen/cli": "5.0.2",
@@ -86,19 +91,24 @@
8691
"@swc/cli": "^0.3.12",
8792
"@swc/core": "^1.4.15",
8893
"@types/body-parser": "^1.19.5",
94+
"@types/pg": "^8.11.6",
8995
"@types/sinon": "^17.0.2",
9096
"@types/swagger-ui-express": "^4.1.6",
9197
"chai": "^5.0.0",
9298
"chai-assertions-count": "^1.0.2",
9399
"concurrently": "^8.2.2",
94100
"dotenv": "^16.3.1",
95101
"eslint": "8.56.0",
102+
"husky": "^9.1.5",
103+
"kysely-supabase": "^0.2.0",
104+
"lint-staged": "^15.2.9",
96105
"multiformats": "^13.0.0",
97106
"node-mocks-http": "^1.14.1",
98107
"nodemon": "^3.0.3",
99108
"prettier": "3.3.2",
100109
"rimraf": "^5.0.5",
101110
"sinon": "^17.0.1",
111+
"supabase": "^1.191.3",
102112
"ts-node": "^10.9.2",
103113
"tsconfig-paths": "^4.2.0",
104114
"tsx": "^4.7.1",
@@ -107,5 +117,14 @@
107117
"typescript-eslint": "^7.7.0",
108118
"vitest": "^1.1.3"
109119
},
120+
"lint-staged": {
121+
"*.{mjx,cjs,js,jsx,ts,tsx}": [
122+
"eslint --quiet --fix",
123+
"prettier --write --ignore-unknown"
124+
],
125+
"*.{json,html}": [
126+
"prettier --write --ignore-unknown"
127+
]
128+
},
110129
"packageManager": "[email protected]"
111-
}
130+
}

0 commit comments

Comments
 (0)