Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

spurtli/ultra

Repository files navigation

Ultra

The home of the Ultra design system.

Packages

The following packages are available.

Development

Build

yarn build

Automatically build on change

yarn watch

Work in app and library at the same time

To mount and edit Ultra components and still get hot reloading, someone can use wml to copy any changed lib files into an application node_modules directory. This is possible, as the yarn watch task creates all the necessary library build files.

yarn global add wml

wml add \
    ~/src/github.com/spurtli/ultra/packages/ultra-react-native \
    ~/src/github.com/spurtli/app/node_modules/@spurtli/ultra-react-native \
wml start

cd ~/src/github.com/spurtli/ultra/packages/ultra-react-native
yarn watch

cd ~/src/github.com/spurtli/app/node_modules/@spurtli/ultra-react-native
yarn start