Skip to content
Closed
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
25 changes: 20 additions & 5 deletions yarn-project/accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,26 @@
"version": "0.1.0",
"type": "module",
"exports": {
"./defaults": "./dest/defaults/index.js",
"./ecdsa": "./dest/ecdsa/index.js",
"./schnorr": "./dest/schnorr/index.js",
"./single_key": "./dest/single_key/index.js",
"./testing": "./dest/testing/index.js"
"./defaults": {
"bun": "./src/defaults/index.ts",
"default": "./dest/defaults/index.js"
},
"./ecdsa": {
"bun": "./src/ecdsa/index.ts",
"default": "./dest/ecdsa/index.js"
},
"./schnorr": {
"bun": "./src/schnorr/index.ts",
"default": "./dest/schnorr/index.js"
},
"./single_key": {
"bun": "./src/single_key/index.ts",
"default": "./dest/single_key/index.js"
},
"./testing": {
"bun": "./src/testing/index.ts",
"default": "./dest/testing/index.js"
}
},
"typedocOptions": {
"entryPoints": [
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/archiver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@aztec/archiver",
"version": "0.1.0",
"type": "module",
"exports": "./dest/index.js",
"exports": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"typedocOptions": {
"entryPoints": [
"./src/index.ts"
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/aztec-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "0.1.0",
"main": "dest/index.js",
"type": "module",
"exports": "./dest/index.js",
"exports": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"bin": "./dest/bin/index.js",
"typedocOptions": {
"entryPoints": [
Expand Down
75 changes: 60 additions & 15 deletions yarn-project/aztec.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,66 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": "./dest/index.js",
"./interfaces/pxe": "./dest/api/interfaces/pxe.js",
"./abi": "./dest/api/abi.js",
"./account": "./dest/api/account.js",
"./aztec_address": "./dest/api/aztec_address.js",
"./deployment": "./dest/api/deployment.js",
"./entrypoint": "./dest/api/entrypoint.js",
"./eth_address": "./dest/api/eth_address.js",
"./ethereum": "./dest/api/ethereum.js",
"./fee": "./dest/api/fee.js",
"./fields": "./dest/api/fields.js",
"./init": "./dest/api/init.js",
"./log_id": "./dest/api/log_id.js",
"./tx_hash": "./dest/api/tx_hash.js",
"./wallet": "./dest/api/wallet.js"
".": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"./interfaces/pxe": {
"bun": "./src/api/interfaces/pxe.ts",
"default": "./dest/api/interfaces/pxe.js"
},
"./abi": {
"bun": "./src/api/abi.ts",
"default": "./dest/api/abi.js"
},
"./account": {
"bun": "./src/api/account.ts",
"default": "./dest/api/account.js"
},
"./aztec_address": {
"bun": "./src/api/aztec_address.ts",
"default": "./dest/api/aztec_address.js"
},
"./deployment": {
"bun": "./src/api/deployment.ts",
"default": "./dest/api/deployment.js"
},
"./entrypoint": {
"bun": "./src/api/entrypoint.ts",
"default": "./dest/api/entrypoint.js"
},
"./eth_address": {
"bun": "./src/api/eth_address.ts",
"default": "./dest/api/eth_address.js"
},
"./ethereum": {
"bun": "./src/api/ethereum.ts",
"default": "./dest/api/ethereum.js"
},
"./fee": {
"bun": "./src/api/fee.ts",
"default": "./dest/api/fee.js"
},
"./fields": {
"bun": "./src/api/fields.ts",
"default": "./dest/api/fields.js"
},
"./init": {
"bun": "./src/api/init.ts",
"default": "./dest/api/init.js"
},
"./log_id": {
"bun": "./src/api/log_id.ts",
"default": "./dest/api/log_id.js"
},
"./tx_hash": {
"bun": "./src/api/tx_hash.ts",
"default": "./dest/api/tx_hash.js"
},
"./wallet": {
"bun": "./src/api/wallet.ts",
"default": "./dest/api/wallet.js"
}
},
"typedocOptions": {
"entryPoints": [
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/aztec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "0.32.0",
"type": "module",
"exports": {
".": "./dest/index.js"
".": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
}
},
"bin": "./dest/bin/index.js",
"typedocOptions": {
Expand Down
30 changes: 24 additions & 6 deletions yarn-project/circuit-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,30 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": "./dest/index.js",
"./stats": "./dest/stats/index.js",
"./jest": "./dest/jest/index.js",
"./interfaces": "./dest/interfaces/index.js",
"./log_id": "./dest/logs/log_id.js",
"./tx_hash": "./dest/tx/tx_hash.js"
".": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"./stats": {
"bun": "./src/stats/index.ts",
"default": "./dest/stats/index.js"
},
"./jest": {
"bun": "./src/jest/index.ts",
"default": "./dest/jest/index.js"
},
"./interfaces": {
"bun": "./src/interfaces/index.ts",
"default": "./dest/interfaces/index.js"
},
"./log_id": {
"bun": "./src/logs/log_id.ts",
"default": "./dest/logs/log_id.js"
},
"./tx_hash": {
"bun": "./src/tx/tx_hash.ts",
"default": "./dest/tx/tx_hash.js"
}
},
"typedocOptions": {
"entryPoints": [
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/end-to-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@aztec/end-to-end",
"version": "0.0.0",
"type": "module",
"exports": "./dest/index.js",
"exports": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"scripts": {
"build": "yarn clean && tsc -b && webpack",
"build:e2e": "yarn clean && tsc -b",
Expand Down
15 changes: 12 additions & 3 deletions yarn-project/entrypoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,18 @@
"version": "0.1.0",
"type": "module",
"exports": {
"./dapp": "./dest/dapp_entrypoint.js",
"./account": "./dest/account_entrypoint.js",
"./multi-call": "./dest/multi_call_entrypoint.js"
"./dapp": {
"bun": "./src/dapp_entrypoint.ts",
"default": "./dest/dapp_entrypoint.js"
},
"./account": {
"bun": "./src/account_entrypoint.ts",
"default": "./dest/account_entrypoint.js"
},
"./multi-call": {
"bun": "./src/multi_call_entrypoint.ts",
"default": "./dest/multi_call_entrypoint.js"
}
},
"typedocOptions": {
"entryPoints": [
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@aztec/ethereum",
"version": "0.1.0",
"type": "module",
"exports": "./dest/index.js",
"exports": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"typedocOptions": {
"entryPoints": [
"./src/index.ts"
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/key-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@aztec/key-store",
"version": "0.1.0",
"type": "module",
"exports": "./dest/index.js",
"exports": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"typedocOptions": {
"entryPoints": [
"./src/index.ts"
Expand Down
20 changes: 16 additions & 4 deletions yarn-project/kv-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,22 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": "./dest/interfaces/index.js",
"./lmdb": "./dest/lmdb/index.js",
"./mem": "./dest/mem/index.js",
"./utils": "./dest/utils.js"
".": {
"bun": "./src/interfaces/index.ts",
"default": "./dest/interfaces/index.js"
},
"./lmdb": {
"bun": "./src/lmdb/index.ts",
"default": "./dest/lmdb/index.js"
},
"./mem": {
"bun": "./src/mem/index.ts",
"default": "./dest/mem/index.js"
},
"./utils": {
"bun": "./src/utils.ts",
"default": "./dest/utils.js"
}
},
"scripts": {
"build": "yarn clean && tsc -b",
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/l1-artifacts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": "./dest/index.js"
".": {
"bun": "./generated/index.ts",
"default": "./dest/index.js"
}
},
"typedocOptions": {
"entryPoints": "./generated/index.ts",
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/merkle-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@aztec/merkle-tree",
"version": "0.1.0",
"type": "module",
"exports": "./dest/index.js",
"exports": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"typedocOptions": {
"entryPoints": [
"./src/index.ts"
Expand Down
10 changes: 8 additions & 2 deletions yarn-project/noir-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": "./dest/index.js",
"./cli": "./dest/cli/index.js"
".": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"./cli": {
"bun": "./src/cli/index.ts",
"default": "./dest/cli/index.js"
}
},
"typedocOptions": {
"entryPoints": [
Expand Down
15 changes: 12 additions & 3 deletions yarn-project/noir-contracts.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,18 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": "./dest/src/index.js",
"./artifacts/*": "./dest/artifacts/*.json",
"./*": "./dest/src/*.js"
".": {
"bun": "./src/index.ts",
"default": "./dest/src/index.js"
},
"./artifacts/*": {
"bun": "./artifacts/*.json",
"default": "./dest/artifacts/*.json"
},
"./*": {
"bun": "./src/*.ts",
"default": "./dest/src/*.js"
}
},
"scripts": {
"build": "yarn clean && yarn generate",
Expand Down
10 changes: 8 additions & 2 deletions yarn-project/noir-protocol-circuits-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": "./dest/index.js",
"./types": "./dest/types/index.js"
".": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"./types": {
"bun": "./src/types/index.ts",
"default": "./dest/types/index.js"
}
},
"scripts": {
"build": "yarn clean && yarn generate && tsc -b",
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/p2p-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@aztec/p2p-bootstrap",
"version": "0.1.0",
"type": "module",
"exports": "./dest/index.js",
"exports": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"typedocOptions": {
"entryPoints": [
"./src/index.ts"
Expand Down
5 changes: 4 additions & 1 deletion yarn-project/p2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "@aztec/p2p",
"version": "0.0.0",
"type": "module",
"exports": "./dest/index.js",
"exports": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"typedocOptions": {
"entryPoints": [
"./src/index.ts"
Expand Down
10 changes: 8 additions & 2 deletions yarn-project/protocol-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
"version": "0.1.0",
"type": "module",
"exports": {
".": "./dest/index.js",
"./*": "./dest/*/index.js"
".": {
"bun": "./src/index.ts",
"default": "./dest/index.js"
},
"./*": {
"bun": "./src/*/index.ts",
"default": "./dest/*/index.js"
}
},
"typedocOptions": {
"entryPoints": [
Expand Down
Loading