0.1.3 • Published 3 years ago
@uigstudio/uig-nextjs-helper v0.1.3
Install
npm install @uig/uig-nextjs-helperor
yarn add -D @uig/uig-nextjs-helperUsage
Save Personal Access Token to ~/.glconfig to use it in all projects.
1. Create PATH - https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
- Needed scope: api, read_api, read_repository
2. Save token gitlab api url in ~/.glconfig file
{
"token" : "<TOKEN>",
"url" : "<GITLAB_INSTANCE_URL>"
}- Edit
package.json > postinstallscript:
{
"scripts": {
"postinstall": "gitlab-env -i <ID>"
}
}- Run it once
yarn postinstall