@uigstudio/uig-nextjs-helper
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

Package Sidebar

Install

npm i @uigstudio/uig-nextjs-helper

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

37.8 kB

Total Files

33

Last publish

Collaborators

  • lwielgus
  • uig
  • lucas_uig