nitor 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,7 +34,7 @@ A CLI utility toolkit for automating and managing build, deploy, and status oper
34
34
  - A properly configured `.env.nu` file in your `~/Desktop` directory with required tokens and URLs:
35
35
  - `CSRF_TOKEN` - CSRF token for Gitlab (Copy from browser)
36
36
  - `COOKIE` - Cookie for Gitlab (Copy from browser)
37
- - `ORIGIN` - Origin for Gitlab website url, eg: `https://gitlab.com/`
37
+ - `GITLAB_URI` - GitLab API URL, eg: `https://gitlab.com/`
38
38
  - `GITLAB_TOKEN` - Gitlab token
39
39
  - `MR_PROMPT` - Merge request prompt
40
40
  - `MR_LANG` - Merge request language
@@ -53,8 +53,6 @@ A CLI utility toolkit for automating and managing build, deploy, and status oper
53
53
  - `ZOHO_TOKEN` - Zoho CSRF token
54
54
  - `ZOHO_URI` - Zoho API URL
55
55
  - `ZOHO_USERID` - Zoho user ID
56
- - `GITLAB_API_URL` - GitLab API URL
57
- - `GITLAB_PROJECT_ID` - GitLab project ID
58
56
 
59
57
  ## Installation
60
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitor",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "A comprehensive CLI toolkit for automating GitLab operations, AI-powered code review, build/deploy automation, MongoDB backup/restore, and developer productivity tools",
5
5
  "main": "index.js",
6
6
  "author": "Nithin V <mails2nithin@gmail.com>",
package/services/utils.js CHANGED
@@ -12,7 +12,7 @@ const openAIModel = process.env.AI_MODEL;
12
12
  const backupConfig = process.env.BACKUP_CONFIG && JSON.parse(process.env.BACKUP_CONFIG);
13
13
  const restoreConfig = process.env.RESTORE_CONFIG && JSON.parse(process.env.RESTORE_CONFIG);
14
14
  const gitlabConfig = {
15
- url: process.env.GITLAB_URL,
15
+ url: process.env.GITLAB_URI,
16
16
  cookie: process.env.GITLAB_COOKIE,
17
17
  xCsrfToken: process.env.GITLAB_XCSRF_TOKEN,
18
18
  userId: process.env.GITLAB_USERID,