Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
) * feat: update to monorepo + use turborepo * feat: add changesets for versioning/publishing * feat: add linting support * style: fix styling with eslint * change near-lake-framwork repo name to prevent it from getting published under a new name * cache entire dist folder with its contents during build pipline * remove eslint support + restore prettier config * Update formatting in turbo.json Co-authored-by: Morgan McCauley <morgan@mccauley.co.nz> * add examples app for demo purposes * add @near-lake/indexer-primitives * types: convert some interfaces to types * export only core types needed by near-indexer-framework * only export types that are needed * strict ts config to catch errors * add helper for receipts conversion + clean up * add helper to convert from state change view to state change type * add implementation details for methods of the block class * add indexer-primitives as a dependency to framework + change types * remove version from indexer-examples repo * style: change naming + change Array<> to [] * style: consistency with views * remove accidetnally checked in code * rename state_changes file + create LakeConfig + export types for near-lake-framework * feat: make near-lake-framework work with new indexer primitives * feat: run different indexer examples from root. restructing + simple indexer with new primitives * fix: do not throw error for logToRawEvent, simply return * switch to examples package * formatting: code formatting * convert block header to class with a static method * convert Action to a class. Add Static methods for conversions * Add Static methods for conversions for state changes * format: make conversion for Block into a static method on Block * refactor: remove apps/examples/* * switch events to class type * fix: fix demo script * fix: update dependency path for examples * refactor: use parameter properties approach for receipts, stateChanges, and transactions class * refactor: use parameter properties approach for Block, Blockheader, and Events class * refactor: morgan's suggestion on export * refactor: change Action types into Class * refactor: change stateChange types into clases * refactor: events + block structure + morgan's suggestions * style: update package name * fix: change package names * testing release with changeset, hey morgan * chore: Update `package-lock.json` * fix: change prepare instruction * fix: Ensure `primitives` is installed when installing `framework` * Add README to `/framework` (#29) * add README * add dependency explaination * Update packages/near-lake-framework/README.md Co-authored-by: Roshaan Siddiqui <siddiqui.roshaan@gmail.com> * Update packages/near-lake-framework/README.md Co-authored-by: Roshaan Siddiqui <siddiqui.roshaan@gmail.com> * Update README.md Remove Events interface spec * Update packages/near-lake-framework/README.md Co-authored-by: Bohdan Khorolets <bogdan@khorolets.com> * Update packages/near-lake-framework/README.md Co-authored-by: Bohdan Khorolets <bogdan@khorolets.com> --------- Co-authored-by: Roshaan Siddiqui <siddiqui.roshaan@gmail.com> Co-authored-by: Bohdan Khorolets <bogdan@khorolets.com> * Add README for `@near-lake/primitives` (#30) * add README * add Receipt section * Event section * add StateChange section * Update README.md Remove executed receipts private field * Update README.md Remove private explanation from Block * Apply suggestions from code review Co-authored-by: Roshaan Siddiqui <siddiqui.roshaan@gmail.com> * Update README.md Add Read More on trx section note * add event interface spec * Update packages/near-lake-primitives/README.md Co-authored-by: Bohdan Khorolets <bogdan@khorolets.com> * Update README.md * Update README.md add missing return types * Update README.md add return type for from constructor --------- Co-authored-by: Roshaan Siddiqui <siddiqui.roshaan@gmail.com> Co-authored-by: Bohdan Khorolets <bogdan@khorolets.com> * feat: can fetch logs from a block * Add TypeDocs to lake-primitives (#35) * typedocs --------- Co-authored-by: Roshaan Siddiqui <siddiqui.roshaan@gmail.com> * move docs * fix: Current version of `turbo` breaks `npm i` in GitHub Actions (#44) * fix: Current version of `turbo` breaks `npm i` in GitHub Actions * chore: Remove `postinstall` hook to unblock GH action * chore: Describe package split in `README.md` (#45) * fix: Use correct NPM entrypoint for primitives --------- Co-authored-by: Roshaan Siddiqui <siddiqui.roshaan@gmail.com> Co-authored-by: Dennis <10233439+idea404@users.noreply.github.com> Co-authored-by: Bohdan Khorolets <bogdan@khorolets.com> Co-authored-by: Damián Parrino <bucanero@users.noreply.github.com>
- Loading branch information