unicorn-config
v1.0.0
Published
This package provides configs that can be shared between micro apps.
Readme
Config package
This package provides configs that can be shared between micro apps.
Prerequisites
Make sure you have installed all of the following prerequisites on your development machine:
- Git - Download & Install Git. OSX and Linux machines typically have this already installed.
- Node.js - Download & Install Node.js and the npm package manager. If you encounter any problems, you can also use this Nvm to install Node.js (recommend).
- Make sure you have access permission in the GitHub package repository's ONE organizations
Installation
Clone the repo
git clone https://github.com/ocean-network-express/unicorn-config-pkg.gitInstall NPM packages
pnpm installUsage
Install package in your app
pnpm add @ocean-network-express/unicorn-configExample
import {
NEXT_PUBLIC_CMS_ENDPOINT,
NEXT_PUBLIC_API_HOST,
NEXT_PUBLIC_BASE_URL,
NEXT_PUBLIC_DRUPAL_SITE_URL,
} from "@ocean-network-express/unicorn-config";