@uigstudio/uig-nextjs-helper
v0.1.3
Published
``` npm install @uig/uig-nextjs-helper ``` or ``` yarn add -D @uig/uig-nextjs-helper ```
Downloads
66
Readme
Install
npm install @uig/uig-nextjs-helper
or
yarn add -D @uig/uig-nextjs-helper
Usage
Save Personal Access Token to ~/.glconfig
to use it in all projects.
- Create PATH - https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
- Needed scope:
api
,read_api
,read_repository
- Needed scope:
- Save token gitlab api url in
~/.glconfig
file
{
"token" : "<TOKEN>",
"url" : "<GITLAB_INSTANCE_URL>"
}
- Edit
package.json > postinstall
script:
{
"scripts": {
"postinstall": "gitlab-env -i <ID>"
}
}
- Run it once
yarn postinstall