Skip to content

Commit

Permalink
feat(sdk): remove unused evaluation and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbeckers committed Jun 26, 2024
1 parent 5dba26b commit d12b05e
Show file tree
Hide file tree
Showing 27 changed files with 43 additions and 4,479 deletions.
1,729 changes: 18 additions & 1,711 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions sdk/codegen.yml

This file was deleted.

15 changes: 4 additions & 11 deletions sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "@hypercerts-org/sdk",
"version": "2.0.0-alpha.22",
"version": "2.0.0-alpha.27",
"description": "SDK for hypercerts protocol",
"repository": "[email protected]:hypercerts-org/hypercerts.git",
"author": "Hypercerts team",
"license": "Apache-2.0",
"source": "src/index.ts",
"typedocMain": "src/index.ts",
"main": "./dist/cjs/index.js",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/cjs/index.js",
"require": "./dist/cjs/index.cjs",
"import": "./dist/esm/index.mjs"
},
"files": [
Expand All @@ -21,26 +21,19 @@
"package.json"
],
"dependencies": {
"@ethereum-attestation-service/eas-sdk": "1.3.7",
"@ethersproject/abstract-signer": "^5.7.0",
"@graphql-typed-document-node/core": "^3.2.0",
"@hypercerts-org/contracts": "2.0.0-alpha.0",
"@openzeppelin/merkle-tree": "^1.0.5",
"@swc/core": "^1.6.3",
"@urql/core": "^5.0.4",
"ajv": "^8.11.2",
"axios": "^1.7.2",
"dotenv": "^16.0.3",
"ethers": "5.7.2",
"graphql": "^16.8.1",
"rollup-plugin-swc3": "^0.11.2",
"urql": "^4.1.0",
"viem": "^2.15.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@faker-js/faker": "^8.3.1",
"@graphql-codegen/cli": "^5.0.2",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
Expand All @@ -65,7 +58,7 @@
"vitest": "^1.6.0"
},
"scripts": {
"build": "pnpm types:json && pnpm codegen:api && pnpm codegen:graph && rollup -c",
"build": "pnpm types:json && pnpm codegen:api && rollup -c",
"codegen:graph": "graphql-codegen",
"codegen:api": "npx orval --input ./lib/hypercerts-api/src/__generated__/swagger.json --output ./src/__generated__/api.ts",
"clean": "rm -rf ./dist",
Expand Down
7 changes: 1 addition & 6 deletions sdk/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import dts from "rollup-plugin-dts";
import esbuild from "rollup-plugin-esbuild";
import nodePolyfills from "rollup-plugin-node-polyfills";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
import autoExternal from "rollup-plugin-auto-external";
import swc from "rollup-plugin-swc3";
Expand All @@ -12,11 +9,8 @@ export default [
input: `src/index.ts`,
plugins: [
autoExternal(),
// nodePolyfills(),
json(),
// commonjs(),
nodeResolve({ jsnext: true, preferBuiltins: false, browser: true }),
// esbuild(),
swc(),
],
output: [
Expand All @@ -28,6 +22,7 @@ export default [
{
format: "cjs",
dir: "dist/cjs",
entryFileNames: "index.cjs",
},
],
},
Expand Down
88 changes: 0 additions & 88 deletions sdk/src/__generated__/gql/fragment-masking.ts

This file was deleted.

66 changes: 0 additions & 66 deletions sdk/src/__generated__/gql/gql.ts

This file was deleted.

Loading

0 comments on commit d12b05e

Please sign in to comment.