:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
This change essentially removes some packages from our list of bundled packages in the api-extractor.json, because API extractor wasn't handling the bundling correctly. Instead we add those dependencies to our src/packages/ganache/package.json so we include the entire set of packages in our exported ganache bundle.
To test the actual types I ran npm run reinstall && INFURA_KEY=... npm run build && npm run prepublishOnly && cd src/packages/ganache/ && npm pack && cd ../../.. and imported the generated tarball into a project. I tested the types and that Ganache works in node and in the browser.
This change essentially removes some packages from our list of bundled packages in the
api-extractor.json
, because API extractor wasn't handling the bundling correctly. Instead we add those dependencies to oursrc/packages/ganache/package.json
so we include the entire set of packages in our exported ganache bundle.To test the actual types I ran
npm run reinstall && INFURA_KEY=... npm run build && npm run prepublishOnly && cd src/packages/ganache/ && npm pack && cd ../../..
and imported the generated tarball into a project. I tested the types and that Ganache works in node and in the browser.