AztecProtocol / noir-starter

MIT License
168 stars 40 forks source link

feat: refactor for bun, viem, and other things #82

Closed signorecello closed 3 months ago

signorecello commented 4 months ago

Description

netlify[bot] commented 4 months ago

Deploy Preview for noir-vite-hardhat ready!

Name Link
Latest commit f8430dfdf0115464001b408f18070b0b1591b120
Latest deploy log https://app.netlify.com/sites/noir-vite-hardhat/deploys/669f8aa336878100084badee
Deploy Preview https://deploy-preview-82--noir-vite-hardhat.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

socket-security[bot] commented 4 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@noir-lang/backend_barretenberg@0.30.0 Transitive: environment, filesystem, shell +6 144 MB noir-lang
npm/@noir-lang/noir_js@0.30.0 Transitive: eval, filesystem, network +2 9.36 MB noir-lang
npm/@noir-lang/noir_wasm@0.30.0 None +1 27.1 MB noir-lang
npm/@noir-lang/types@0.30.0 None 0 50.1 kB noir-lang
npm/@nomicfoundation/hardhat-chai-matchers@2.0.7 Transitive: environment, filesystem, network +19 21.4 MB kanej
npm/@nomicfoundation/hardhat-ethers@3.0.6 Transitive: environment, filesystem, network +13 21.3 MB schaable
npm/@nomicfoundation/hardhat-network-helpers@1.0.11 Transitive: environment, filesystem +39 5.85 MB kanej
npm/@nomicfoundation/hardhat-toolbox-viem@3.0.0 environment +6 22 MB kanej
npm/@nomicfoundation/hardhat-verify@2.0.8 environment Transitive: eval, network, unsafe +50 5.87 MB kanej
npm/@nomicfoundation/hardhat-viem@2.0.2 filesystem +3 40.5 MB schaable
npm/@tanstack/react-query@5.44.0 environment +1 3.04 MB tannerlinsley
npm/@types/mocha@10.0.7 None 0 95.9 kB types
npm/@types/node@18.19.41 None 0 1.97 MB types
npm/@types/react@18.3.3 None +2 1.69 MB types
npm/@vitejs/plugin-react-swc@3.7.0 filesystem, unsafe Transitive: environment, shell +13 439 MB vitebot
npm/commander@12.1.0 environment 0 186 kB abetomo
npm/dotenv@16.4.5 environment, filesystem 0 79.1 kB motdotla
npm/hardhat@2.22.6 environment, filesystem, network, shell Transitive: eval, unsafe +220 165 MB alcuadrado
npm/react-dom@18.3.1 environment +3 4.63 MB react-bot
npm/react@18.3.1 environment +2 339 kB react-bot
npm/solidity-coverage@0.8.12 environment, filesystem Transitive: eval, network, unsafe +182 27 MB cgewecke
npm/viem@2.17.10 network Transitive: environment, filesystem +10 15.5 MB awkweb, jmoxey
npm/vite@5.3.4 environment, eval, filesystem, network, shell, unsafe +47 274 MB vitebot
npm/wagmi@2.10.0 Transitive: environment, eval, filesystem, network, unsafe +265 157 MB awkweb

🚮 Removed packages: npm/@aztec/bb.js@0.26.3, npm/@babel/runtime@7.24.5, npm/@chainsafe/as-sha256@0.3.1, npm/@chainsafe/persistent-merkle-tree@0.5.0, npm/@chainsafe/ssz@0.10.2, npm/@coinbase/wallet-sdk@3.9.1, npm/@discoveryjs/json-ext@0.5.7, npm/@esbuild/aix-ppc64@0.19.12, npm/@esbuild/android-arm64@0.19.12, npm/@esbuild/android-arm@0.19.12, npm/@esbuild/android-x64@0.19.12, npm/@esbuild/darwin-arm64@0.19.12, npm/@esbuild/darwin-x64@0.19.12, npm/@esbuild/freebsd-arm64@0.19.12, npm/@esbuild/freebsd-x64@0.19.12, npm/@esbuild/linux-arm64@0.19.12, npm/@esbuild/linux-arm@0.19.12, npm/@esbuild/linux-ia32@0.19.12, npm/@esbuild/linux-loong64@0.19.12, npm/@esbuild/linux-mips64el@0.19.12, npm/@esbuild/linux-ppc64@0.19.12, npm/@esbuild/linux-riscv64@0.19.12, npm/@esbuild/linux-s390x@0.19.12, npm/@esbuild/linux-x64@0.19.12, npm/@esbuild/netbsd-x64@0.19.12, npm/@esbuild/openbsd-x64@0.19.12, npm/@esbuild/sunos-x64@0.19.12, npm/@esbuild/win32-arm64@0.19.12, npm/@esbuild/win32-ia32@0.19.12, npm/@esbuild/win32-x64@0.19.12, npm/@fastify/busboy@2.1.0, npm/@ioredis/commands@1.2.0, npm/@jridgewell/gen-mapping@0.3.5, npm/@jridgewell/set-array@1.2.1, npm/@jridgewell/source-map@0.3.6, npm/@jridgewell/sourcemap-codec@1.4.15, npm/@metamask/rpc-errors@6.2.1, npm/@metamask/sdk-communication-layer@0.20.2, npm/@metamask/sdk-install-modal-web@0.20.2, npm/@metamask/sdk@0.20.3, npm/@motionone/animation@10.17.0, npm/@motionone/dom@10.17.0, npm/@motionone/easing@10.17.0, npm/@motionone/generators@10.17.0, npm/@motionone/types@10.17.0, npm/@motionone/utils@10.17.0, npm/@noir-lang/acvm_js@0.41.0, npm/@noir-lang/backend_barretenberg@0.25.0, npm/@noir-lang/noir_js@0.25.0, npm/@noir-lang/noir_wasm@0.25.0, npm/@noir-lang/noirc_abi@0.25.0, npm/@noir-lang/types@0.25.0, npm/@nomicfoundation/ethereumjs-block@5.0.2, npm/@nomicfoundation/ethereumjs-blockchain@7.0.2, npm/@nomicfoundation/ethereumjs-common@4.0.2, npm/@nomicfoundation/ethereumjs-ethash@3.0.2, npm/@nomicfoundation/ethereumjs-evm@2.0.2, npm/@nomicfoundation/ethereumjs-rlp@5.0.2, npm/@nomicfoundation/ethereumjs-statemanager@2.0.2, npm/@nomicfoundation/ethereumjs-trie@6.0.2, npm/@nomicfoundation/ethereumjs-tx@5.0.2, npm/@nomicfoundation/ethereumjs-util@9.0.2, npm/@nomicfoundation/ethereumjs-vm@7.0.2, npm/@nomicfoundation/hardhat-chai-matchers@2.0.4, npm/@nomicfoundation/hardhat-ethers@3.0.5, npm/@nomicfoundation/hardhat-network-helpers@1.0.10, npm/@nomicfoundation/hardhat-toolbox-viem@1.0.0, npm/@nomicfoundation/hardhat-verify@1.1.1, npm/@nomicfoundation/hardhat-viem@1.0.0, npm/@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.1, npm/@nomicfoundation/solidity-analyzer-darwin-x64@0.1.1, npm/@nomicfoundation/solidity-analyzer-freebsd-x64@0.1.1, npm/@nomicfoundation/solidity-analyzer-linux-arm64-gnu@0.1.1, npm/@nomicfoundation/solidity-analyzer-linux-arm64-musl@0.1.1, npm/@nomicfoundation/solidity-analyzer-linux-x64-gnu@0.1.1, npm/@nomicfoundation/solidity-analyzer-linux-x64-musl@0.1.1, npm/@nomicfoundation/solidity-analyzer-win32-arm64-msvc@0.1.1, npm/@nomicfoundation/solidity-analyzer-win32-ia32-msvc@0.1.1, npm/@nomicfoundation/solidity-analyzer-win32-x64-msvc@0.1.1, npm/@nomicfoundation/solidity-analyzer@0.1.1, npm/@parcel/watcher-android-arm64@2.4.0, npm/@parcel/watcher-darwin-arm64@2.4.0, npm/@parcel/watcher-darwin-x64@2.4.0, npm/@parcel/watcher-freebsd-x64@2.4.0, npm/@parcel/watcher-linux-arm-glibc@2.4.0, npm/@parcel/watcher-linux-arm64-glibc@2.4.0, npm/@parcel/watcher-linux-arm64-musl@2.4.0, npm/@parcel/watcher-linux-x64-glibc@2.4.0, npm/@parcel/watcher-linux-x64-musl@2.4.0, npm/@parcel/watcher-wasm@2.4.0, npm/@parcel/watcher-win32-arm64@2.4.0, npm/@parcel/watcher-win32-ia32@2.4.0, npm/@parcel/watcher-win32-x64@2.4.0, npm/@parcel/watcher@2.4.0, npm/@rollup/rollup-android-arm-eabi@4.10.0, npm/@rollup/rollup-android-arm64@4.10.0, npm/@rollup/rollup-darwin-arm64@4.10.0, npm/@rollup/rollup-darwin-x64@4.10.0, npm/@rollup/rollup-linux-arm-gnueabihf@4.10.0, npm/@rollup/rollup-linux-arm64-gnu@4.10.0, npm/@rollup/rollup-linux-arm64-musl@4.10.0, npm/@rollup/rollup-linux-riscv64-gnu@4.10.0, npm/@rollup/rollup-linux-x64-gnu@4.10.0, npm/@rollup/rollup-linux-x64-musl@4.10.0, npm/@rollup/rollup-win32-arm64-msvc@4.10.0, npm/@rollup/rollup-win32-ia32-msvc@4.10.0, npm/@rollup/rollup-win32-x64-msvc@4.10.0, npm/@safe-global/safe-gateway-typescript-sdk@3.15.0, npm/@scure/base@1.1.5, npm/@socket.io/component-emitter@3.1.2, npm/@swc/core-darwin-arm64@1.4.1, npm/@swc/core-darwin-x64@1.4.1, npm/@swc/core-linux-arm-gnueabihf@1.4.1, npm/@swc/core-linux-arm64-gnu@1.4.1, npm/@swc/core-linux-arm64-musl@1.4.1, npm/@swc/core-linux-x64-gnu@1.4.1, npm/@swc/core-linux-x64-musl@1.4.1, npm/@swc/core-win32-arm64-msvc@1.4.1, npm/@swc/core-win32-ia32-msvc@1.4.1, npm/@swc/core-win32-x64-msvc@1.4.1, npm/@swc/core@1.4.1, npm/@swc/types@0.1.5, npm/@tanstack/react-query@5.36.0, npm/@tsconfig/node10@1.0.9, npm/@types/chai@4.3.11, npm/@types/eslint-scope@3.7.7, npm/@types/eslint@8.56.10, npm/@types/json-schema@7.0.15, npm/@types/mocha@10.0.6, npm/@types/node@18.19.15, npm/@types/prop-types@15.7.11, npm/@types/qs@6.9.11, npm/@types/react@18.2.55, npm/@types/readable-stream@2.3.15, npm/@types/scheduler@0.16.8, npm/@vitejs/plugin-react-swc@3.6.0, npm/@wagmi/connectors@4.3.9, npm/@wagmi/core@2.9.7, npm/@webassemblyjs/ast@1.12.1, npm/@webassemblyjs/floating-point-hex-parser@1.11.6, npm/@webassemblyjs/helper-api-error@1.11.6, npm/@webassemblyjs/helper-buffer@1.12.1, npm/@webassemblyjs/helper-numbers@1.11.6, npm/@webassemblyjs/helper-wasm-bytecode@1.11.6, npm/@webassemblyjs/helper-wasm-section@1.12.1, npm/@webassemblyjs/ieee754@1.11.6, npm/@webassemblyjs/leb128@1.11.6, npm/@webassemblyjs/utf8@1.11.6, npm/@webassemblyjs/wasm-edit@1.12.1, npm/@webassemblyjs/wasm-gen@1.12.1, npm/@webassemblyjs/wasm-opt@1.12.1, npm/@webassemblyjs/wasm-parser@1.12.1, npm/@webassemblyjs/wast-printer@1.12.1, npm/@webpack-cli/configtest@2.1.1, npm/@webpack-cli/info@2.0.2, npm/@webpack-cli/serve@2.0.5, npm/@xtuc/ieee754@1.2.0, npm/@xtuc/long@4.2.2, npm/abitype@1.0.0, npm/abstract-level@1.0.4, npm/acorn-import-assertions@1.9.0, npm/acorn-walk@8.3.2, npm/acorn@8.11.3, npm/ajv-keywords@3.5.2, npm/ajv@6.12.6, npm/ansi-colors@4.1.1, npm/antlr4ts@0.5.0-alpha.4, npm/available-typed-arrays@1.0.6, npm/axios@1.6.7, npm/base-x@3.0.9, npm/bigint-crypto-utils@3.3.0, npm/binary-extensions@2.2.0, npm/braces@3.0.2, npm/browser-level@1.0.1, npm/browserslist@4.23.0, npm/caniuse-lite@1.0.30001618, npm/case@1.6.3, npm/catering@2.1.1, npm/chai-as-promised@7.1.1, npm/chrome-trace-event@1.0.3, npm/citty@0.1.5, npm/classic-level@1.4.1, npm/clipboardy@4.0.0, npm/cliui@7.0.4, npm/clone-deep@4.0.1, npm/cluster-key-slot@1.1.2, npm/colorette@2.0.20, npm/consola@3.2.3, npm/cookie-es@1.0.0, npm/cross-spawn@7.0.3, npm/crossws@0.1.1, npm/decamelize@4.0.0, npm/decode-uri-component@0.2.2, npm/deep-eql@4.1.3, npm/define-data-property@1.1.3, npm/define-lazy-prop@2.0.0, npm/defu@6.1.4, npm/denque@2.1.0, npm/destr@2.0.2, npm/detect-libc@1.0.3, npm/diff@5.0.0, npm/dotenv@16.4.3, npm/duplexify@4.1.2, npm/eciesjs@0.3.18, npm/electron-to-chromium@1.4.767, npm/engine.io-client@6.5.3, npm/engine.io-parser@5.2.2, npm/enhanced-resolve@5.16.1, npm/enquirer@2.4.1, npm/envinfo@7.13.0, npm/es-module-lexer@1.5.2, npm/esbuild@0.19.12, npm/escalade@3.1.2, npm/eslint-scope@5.1.1, npm/esrecurse@4.3.0, npm/estraverse@5.3.0, npm/ethereum-bloom-filters@1.0.10, npm/ethjs-unit@0.1.6, npm/execa@8.0.1, npm/fast-json-stable-stringify@2.1.0, npm/fast-redact@3.3.0, npm/fastest-levenshtein@1.0.16, npm/fill-range@7.0.1, npm/filter-obj@1.1.0, npm/flat@5.0.2, npm/follow-redirects@1.15.5, npm/for-each@0.3.3, npm/functional-red-black-tree@1.0.1, npm/get-caller-file@2.0.5, npm/get-port-please@3.1.2, npm/get-stream@8.0.1, npm/glob-to-regexp@0.4.1, npm/h3@1.10.1, npm/hardhat@2.19.5, npm/has-proto@1.0.1, npm/has-tostringtag@1.0.2, npm/hasown@2.0.1, npm/http-shutdown@1.2.2, npm/https-proxy-agent@5.0.1, npm/human-signals@5.0.0, npm/immutable@4.3.5, npm/import-local@3.1.0, npm/interpret@3.1.1, npm/invariant@2.2.4, npm/ioredis@5.3.2, npm/iron-webcrypto@1.0.0, npm/is-arguments@1.1.1, npm/is-buffer@2.0.5, npm/is-callable@1.2.7, npm/is-docker@2.2.1, npm/is-generator-function@1.0.10, npm/is-plain-obj@2.1.0, npm/is-plain-object@2.0.4, npm/is-typed-array@1.1.13, npm/is-wsl@2.2.0, npm/is64bit@2.0.0, npm/isexe@2.0.0, npm/isobject@3.0.1, npm/jest-worker@27.5.1, npm/jiti@1.21.0, npm/js-sdsl@4.4.2, npm/json-parse-even-better-errors@2.3.1, npm/json-schema-traverse@0.4.1, npm/jsonc-parser@3.2.1, npm/level-supports@4.0.1, npm/level-transcoder@1.0.1, npm/level@8.0.1, npm/listhen@1.6.0, npm/loader-runner@4.3.0, npm/lodash.defaults@4.2.0, npm/lodash.isarguments@3.1.0, npm/lru-cache@5.1.1, npm/mcl-wasm@0.7.9, npm/memory-level@1.0.0, npm/merge-stream@2.0.0, npm/micromatch@4.0.5, npm/mime@3.0.0, npm/mimic-fn@4.0.0, npm/minimatch@5.0.1, npm/mlly@1.5.0, npm/mocha@10.3.0, npm/module-error@1.0.2, npm/mri@1.2.0, npm/multiformats@9.9.0, npm/napi-macros@2.2.2, npm/napi-wasm@1.1.0, npm/node-fetch-native@1.6.2, npm/node-forge@1.3.1, npm/node-gyp-build@4.8.0, npm/node-releases@2.0.14, npm/npm-run-path@5.2.0, npm/number-to-bn@1.7.0, npm/object-inspect@1.13.1, npm/ofetch@1.3.3, npm/ohash@1.1.3, npm/onetime@6.0.0, npm/open@8.4.2, npm/path-key@3.1.1, npm/pathe@1.1.2, npm/pino-abstract-transport@0.5.0, npm/pkg-dir@4.2.0, npm/pkg-types@1.0.3, npm/postcss@8.4.35, npm/preact@10.21.0, npm/proxy-compare@2.5.1, npm/punycode@2.3.1, npm/qs@6.11.2, npm/radix3@1.1.0, npm/react-dom@18.2.0, npm/react@18.2.0, npm/rechoir@0.8.0, npm/redis-errors@1.2.0, npm/redis-parser@3.0.0, npm/reduce-flatten@2.0.0, npm/require-directory@2.1.1, npm/resolve-cwd@3.0.0, npm/resolve-from@5.0.0, npm/rollup@4.10.0, npm/run-parallel-limit@1.1.0, npm/rustbn.js@0.2.0, npm/scheduler@0.23.0, npm/schema-utils@3.3.0, npm/serialize-javascript@6.0.0, npm/set-function-length@1.2.1, npm/shallow-clone@3.0.1, npm/shebang-command@2.0.0, npm/shebang-regex@3.0.0, npm/side-channel@1.0.5, npm/socket.io-parser@4.2.4, npm/solc@0.7.3, npm/solidity-coverage@0.8.7, npm/source-map-js@1.0.2, npm/split-on-first@1.1.0, npm/split2@4.2.0, npm/standard-as-callback@2.1.0, npm/std-env@3.7.0, npm/stream-shift@1.0.3, npm/strict-uri-encode@2.0.0, npm/strip-final-newline@3.0.0, npm/superstruct@1.0.3, npm/system-architecture@0.1.0, npm/table@6.8.1, npm/tapable@2.2.1, npm/terser-webpack-plugin@5.3.10, npm/terser@5.31.0, npm/tr46@0.0.3, npm/tslib@2.6.2, npm/ufo@1.4.0, npm/uglify-js@3.17.4, npm/uncrypto@0.1.3, npm/undici@5.28.3, npm/unenv@1.9.0, npm/unstorage@1.10.1, npm/untun@0.1.3, npm/update-browserslist-db@1.0.16, npm/uqr@0.1.2, npm/uri-js@4.4.1, npm/utf8@3.0.0, npm/viem@2.10.5, npm/vite@5.1.1, npm/wagmi@2.8.7, npm/watchpack@2.4.1, npm/webextension-polyfill@0.11.0, npm/webidl-conversions@3.0.1, npm/webpack-cli@5.1.4, npm/webpack-merge@5.10.0, npm/webpack-sources@3.2.3, npm/webpack@5.91.0, npm/which-typed-array@1.1.14, npm/which@2.0.2, npm/wildcard@2.0.1, npm/workerpool@6.2.1, npm/ws@7.5.9, npm/xmlhttprequest-ssl@2.0.0, npm/yallist@3.1.1

View full report↗︎

socket-security[bot] commented 4 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

critesjosh commented 4 months ago

will it be required for people using this to have bun installed?

signorecello commented 4 months ago

No, you can use other package managers :) But bun is pretty powerful

signorecello commented 4 months ago

(I'll add a note in the readme)