Packages included:
- assets: fonts and svgs common around all Past3lle apps!
- components: common layout components, cookie banner, modals
- constants: layout sizes, etc.
- hooks: common hooks e.g useDetectScrollIntoView, useDebounce and many more
- theme: ThemeProvider and general theme components, global styles and theme utils
- types: common types
- utils: common utils e.g async wait(...) for promisifying and many others
- skillforge-widget: skillforge widget component for making PAST3LLE LABS rewards dapps
- skillforge-web3: common skillforge related web3 components/providers/hooks/utils
- wagmi-connectors: Custom Wagmi connectors until officially released/supported by Wagmi
- web3-modal: Extensible Web3 connection modal exposing social login via web3auth and web3modal by default
Apps:
- skillforge-ui - the SkillForge skills upgrade UI - get skills and skins from the shop
- skills-nft - scripts for uploading metadata and images to IPFS
- pastellelabs-landing-ui: PastelleLabs landing page
yarn add @past3lle/components @past3lle/theme @past3lle/utils
==========
** TIPS **
==========
* It's important to use the Workspace Typescript version. To change this in VSCode, select a TS file and click on the `{}` button inside the footer.
* Only YARN as a package manager is supported.
- Install packages and dependencies:
yarn
- Stream build all packages:
yarn build
- Test that everything worked:
yarn cosmos:scope @past3lle/web3-modal
==========
** TIPS **
==========
* Monorepo React based packages use React Cosmos for standalone testing/development
* Root package.json comes with syntactic sugar scripts to run stuff, see below
- To test a package in React Cosmos, use the root script:
yarn cosmos:scope <full-package-name>
e.gyarn cosmos:scope @past3lle/web3-modal
build
/serve
/cosmos
/build:serve
/types
all have:scope
scripts to run individual packages within that script scope.
Please use the commit message format:
<package-sub-name>: concise change description
// e.g
web3-modal: enabled multi-chain in config
Please open pull requests with branch names in format:
<your-name>-<sub-module-name>/concise-feature-description
// e.g
steveo-web3-modal/added-multi-chain-config
Open an issue here and feel free to contribute!