0.1.2 • Published 11 months ago

@everdome_io/next-js-helper v0.1.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
11 months ago

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. 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>"
}
  1. Edit package.json > postinstall script:
{
    "scripts": {
        "postinstall": "gitlab-env -i <ID>"
    }
}
  1. Run it once
yarn postinstall

Available props

0.1.2

11 months ago

0.1.1

11 months ago