Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/CRISP/packages/crisp-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
},
"dependencies": {
"@enclave-e3/contracts": "workspace:*",
"@crisp-e3/sdk": "workspace:*",
"@excubiae/contracts": "^0.4.0",
"@zk-kit/lean-imt.sol": "2.0.0",
"poseidon-solidity": "^0.0.5",
Expand All @@ -59,6 +58,8 @@
"@types/mocha": ">=9.1.0",
"@types/node": "^22.18.0",
"chai": "^6.2.0",
"@crisp-e3/sdk": "workspace:^",
"@crisp-e3/zk-inputs": "workspace:^",
"dotenv": "^16.4.5",
"ethers": "^6.15.0",
"forge-std": "github:foundry-rs/forge-std#v1.9.4",
Expand Down
13 changes: 7 additions & 6 deletions examples/CRISP/packages/crisp-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"scripts": {
"build:wasm": "pnpm -C ../../ build:wasm",
"compile:circuit": "pnpm -C ../../ compile:circuit",
"build": "pnpm compile:circuit && pnpm build:wasm && tsc",
"build": "pnpm compile:circuit && pnpm build:wasm && tsup",
"test": "pnpm compile:circuit && vitest --run",
"prettier:fix": "pnpm prettier --write .",
"prettier:check": "pnpm prettier --check .",
Expand All @@ -33,20 +33,21 @@
"devDependencies": {
"@types/chai": "^5.2.2",
"@types/node": "22.7.5",
"tsup": "^8.5.0",
"typescript": "5.8.3",
"chai": "^6.2.0",
"prettier": "^3.2.5",
"typescript": "^5.0.0",
"vite": "^5.4.19",
"vite-plugin-wasm": "^3.2.2",
"vitest": "^1.6.1",
"@aztec/bb.js": "^0.82.2",
"@noir-lang/noir_js": "1.0.0-beta.3"
"vitest": "^1.6.1"
},
"dependencies": {
"@crisp-e3/zk-inputs": "workspace:*",
"@zk-kit/lean-imt": "^2.2.4",
"poseidon-lite": "^0.3.0",
"viem": "2.30.6"
"viem": "2.30.6",
"@aztec/bb.js": "^0.82.2",
"@noir-lang/noir_js": "1.0.0-beta.3"
},
"packageManager": "pnpm@10.7.1+sha512.2d92c86b7928dc8284f53494fb4201f983da65f0fb4f0d40baafa5cf628fa31dae3e5968f12466f17df7e97310e30f343a648baea1b9b350685dafafffdf5808"
}
17 changes: 11 additions & 6 deletions examples/CRISP/packages/crisp-sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
{
"compilerOptions": {
"target": "ES2020",
"composite": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"allowSyntheticDefaultImports": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"outDir": "dist",
"declaration": true
"noEmit": true,
"incremental": true,
"tsBuildInfoFile": "./dist/.tsbuildinfo"
},
"include": ["src/**/*.ts", "src/**/*.json"]
"include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "dist"]
}
17 changes: 17 additions & 0 deletions examples/CRISP/packages/crisp-sdk/tsup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// SPDX-License-Identifier: LGPL-3.0-only
//
// This file is provided WITHOUT ANY WARRANTY;
// without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE.

import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['src/index.ts'],
include: ['src/**/*.ts'],
splitting: false,
sourcemap: true,
clean: true,
format: ['esm'],
dts: true,
})
24 changes: 15 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading