Installation
Get access to the @mercell
scope
To get access to the scope @mercell
you need to authenticate to Github packages.
First aquire a github access token with the permissions write:packages
and read:packages
which can be aquired here.
After creating a new token you have to configure SSO to access the Mercell organization scope. Simply click the "Configure SSO" button on your new token. Then click "Authorize" and follow the sign-in to authorize the token.
Then authenticate using by
npm config set //npm.pkg.github.com/:_authToken YOURTOKEN
npm config set @mercell:registry https://npm.pkg.github.com
npm config set always-auth true
Package installation
We strongly recommend of adding to you project @mercell/tailwind, @mercell/eslint and @mercell/prettier as first three things. You can always use our templates:
You should now be able to use your favourite package manager to install the packages.- yarn
- pnpm
- npm
yarn add @mercell/<package-name>
pnpm add @mercell/<package-name>
npm i --save @mercell/<package-name>
Note: Check the installation for each package seperatly as they may require additional steps.