Skip to content

Commit

Permalink
Merge pull request #23 from hypercerts-org/develop
Browse files Browse the repository at this point in the history
Push to PRD
  • Loading branch information
bitbeckers authored Jan 22, 2025
2 parents 9148066 + 76367c7 commit 586fb81
Show file tree
Hide file tree
Showing 10 changed files with 1,295 additions and 1,958 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/create-prerelease-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test
- name: 'Run unit tests'
run: npx vitest --coverage.enabled true

- name: 'Report Coverage'
# Set if: always() to also generate the report if tests are failing
# Only works if you set `reportOnFailure: true` in your vite config as specified above
if: always()
uses: davelosert/vitest-coverage-report-action@v2

semantic-release:
needs: build-and-test
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/create-release-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test
- name: 'Run unit tests'
run: npx vitest --coverage.enabled true

- name: 'Report Coverage'
# Set if: always() to also generate the report if tests are failing
# Only works if you set `reportOnFailure: true` in your vite config as specified above
if: always()
uses: davelosert/vitest-coverage-report-action@v2

semantic-release:
needs: build-and-test
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/dryrun-release-ci-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@ jobs:
- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test
- name: 'Run unit tests'
run: npx vitest --coverage.enabled true

- name: 'Report Coverage'
# Set if: always() to also generate the report if tests are failing
# Only works if you set `reportOnFailure: true` in your vite config as specified above
if: always()
uses: davelosert/vitest-coverage-report-action@v2

semantic-release:
needs: build-and-test
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ yarn-debug.log*
yarn-error.log*
.DS_Store
/.idea
stats.html
stats.html
coverage/
40 changes: 21 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,50 +22,51 @@
],
"dependencies": {
"@graphql-typed-document-node/core": "^3.2.0",
"@hypercerts-org/contracts": "2.0.0-alpha.11",
"@hypercerts-org/contracts": "2.0.0-alpha.12",
"@openzeppelin/merkle-tree": "^1.0.7",
"@swc/core": "^1.6.3",
"@swc/core": "^1.10.9",
"ajv": "^8.11.2",
"axios": "^1.7.7",
"dotenv": "^16.0.3",
"axios": "^1.7.9",
"dotenv": "^16.4.7",
"rollup-plugin-swc3": "^0.11.2",
"viem": "^2.21.35",
"zod": "^3.23.8"
"viem": "^2.22.11",
"zod": "^3.24.1"
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.9.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@eslint/js": "^9.18.0",
"@faker-js/faker": "^8.3.1",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/chai": "^4.3.11",
"@rollup/plugin-node-resolve": "^15.3.1",
"@types/chai": "^4.3.20",
"@types/chai-subset": "^1.3.5",
"@types/node": "^20.12.2",
"@types/node": "^20.17.14",
"@types/sinon": "^17.0.2",
"@viem/anvil": "^0.0.6",
"@vitest/coverage-v8": "^3.0.3",
"chai": "^4.3.7",
"chai-assertions-count": "^1.0.2",
"chai-subset": "^1.6.0",
"esbuild": "^0.19.8",
"eslint": "^9.9.0",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.9.0",
"husky": "^9.1.5",
"globals": "^15.14.0",
"husky": "^9.1.7",
"json-schema-to-typescript": "^13.1.1",
"lint-staged": "^15.2.9",
"lint-staged": "^15.4.1",
"orval": "^6.30.2",
"prettier": "3.3.3",
"rollup": "^3.29.4",
"rollup": "^3.29.5",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"sinon": "^17.0.1",
"typescript": "5.4.5",
"typescript-eslint": "^8.2.0",
"vitest": "^1.6.0"
"typescript-eslint": "^8.21.0",
"vitest": "^3.0.3"
},
"scripts": {
"build": "pnpm types:json && pnpm codegen:api && rollup -c",
Expand All @@ -76,6 +77,7 @@
"update:submodules": "git submodule update --init --recursive",
"test": "vitest run",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
"types:json": "pnpm json2ts -i './src/resources/schema/' -o 'src/types' --cwd './src/resources/schema'",
"prepare": "husky",
"commitlint": "commitlint --config commitlintrc.ts --edit"
Expand Down
Loading

0 comments on commit 586fb81

Please sign in to comment.