Commit Graph

11 Commits

Author SHA1 Message Date
Steven Luscher 656b150e57
[web3.js][experimental] Set up test/dev infra (#28950)
* Update `@solana/eslint-config-solana`

* [web3.js][experimental] Add Watchman config to ignore `dist` and `node_modules` folders

* [web3.js][experimental] Install Jest

* [web3.js][experimental] Configure Jest to lint, format, and test code

* [web3.js][experimental] Add a typecheck step

* [web3.js][experimental] Add fake tests and fake implementation to exercise the build infra
2022-11-23 18:25:02 -08:00
Steven Luscher 2e99668111
[web3.js][experimental] Remove bundlewatch dependency (#28949) 2022-11-23 17:54:45 -08:00
Steven Luscher e8da995e14
[web3.js][experimental] Improve package exports (#28948)
* [web3.js][experimental] Repair build paths and add package.json `exports` field for CommonJS/ESM compatibility

* [web3.js][experimental] Add package.json entries for common JavaScript CDNs

* [web3.js][experimental] Exclude source files from npm bundle
2022-11-23 16:47:56 -08:00
steveluscher 0daa2c3aa9 Watch bundle sizes with Bundlewatch 2022-11-21 22:18:06 -08:00
Steven Luscher 2aca4160ca
[web3.js][experimental] A GitHub Actions workflow that builds the new code with Turborepo (#28916)
* Enable remote cache for Turborepo

* Rename `build` to `compile` and `package` to `build`

* Add a workflow that builds on PRs and pushes with Turborepo

* Explain how to connect to Turborepo remote caching

* Upgrade to pnpm 7
2022-11-21 21:47:32 -08:00
steveluscher e81d76c9b9 Add Turborepo config 2022-11-19 00:17:34 -08:00
steveluscher 0bae8d8c15 Add tree-shakability checker 2022-11-19 00:17:34 -08:00
steveluscher 91429e027c Add a skeleton of the app, with a full build system for Node, the browser, and React Native – with dev/prod mode switches 2022-11-19 00:17:34 -08:00
steveluscher 60d3b867d7 Add shared Prettier config 2022-11-19 00:17:34 -08:00
steveluscher 065a9ccfaa Add shared ESLint config 2022-11-19 00:17:34 -08:00
steveluscher e8796f454c Initial commit of the rewrite of web3.js 2022-11-19 00:17:34 -08:00