/rmrk-js

Primary LanguageTypeScriptMIT LicenseMIT

RMRK js packages monorepo

A collection of typescript and frontend packages for working with RMRK EVM NFTs.


Note: Do not try to update next.js version, it's confirmed that next@^13.4 will cause a constant object in @pixi/core become empty after npm run build.

Packages

Example apps

Usage

See individual package READMEs for usage instructions.

composable-nft-renderer-app

To run example app, run pnpm dev:react from root directory. Then view in browser, for example https://localhost:3002/base/0x011ff409bc4803ec5cfab41c3fd1db99fd05c004/399

This app uses Panda.css and Ark.ui for styling. When running the dev server, styles will automatically re-generate using postcss when appropriate files are changed, however if you need to manually generate styles, run pnpm panda:prepare.

Development

This project uses Biome.js for code formatting (instead of prettier) and linting. To run both formatting and linting at any time, run pnpm format && pnpm lint:fix. Please visit Biome.js website to see how to install and use biome IDE plugin.

Publishing a release

Build all packages and generate a new changeset

When submitting a PR with a change that requires a new version, please run pnpm changeset and select appropriate type of version bump (major, minor or patch if none is selected). When PR is merged, the new version will be automatically published to npm

Credits: