@eliona/utils
A collection of utils used across all eliona apps
Install
-
Set your package manager to work with our private package registry: create .npmrc file in the root dir and add
registry=https://pkgs.dev.azure.com/itec-ag/eliona/_packaging/elionaJsFeed/npm/registry/ always-auth=true
Now, your package manager will fetch all packages from azure registry.
-
But this is a private registry that requires auth. To do so follow this guide
-
Now you're ready to install the package itself
yarn install @eliona/utils
Usage
import { arrayMove } from '@eliona/utils';
Testing
This repo includes a test app where you can check if everything works. Run
yarn start
to build lib files and watch for changes. Then go to the example
dir and run
yarn install
yarn start
from there. The example app is set to use external lib we just built.