nitor 0.0.1 → 1.0.0

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/CHANGELOG.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## [1.0.0] - 2025-07-12
3
+ ## [1.0.0] - 2025-11-14
4
4
 
5
5
  ### Initial Release
6
6
 
7
- We are pleased to announce the first official release of **Nithin Utils**.
7
+ We are pleased to announce the first official release of **Nitor**.
8
8
 
9
9
  #### Features
10
10
 
@@ -15,58 +15,4 @@ We are pleased to announce the first official release of **Nithin Utils**.
15
15
  - Utility functions for parameter parsing and object cleanup.
16
16
  - Scriptable and extensible for automation and integration into larger workflows.
17
17
 
18
- For a complete list of changes and discussion, see [Issue #1](https://github.com/codebynithin/nithin-utils/issues/1).
19
-
20
- ## [1.0.2] - 2025-07-12
21
-
22
- ### Bug Fixes
23
-
24
- - Website liveness checks are now bypassed when executing the `nu help` or `nu version` commands, ensuring faster and uninterrupted access to help and version information.
25
-
26
- For a complete list of changes and discussion, see [Issue #2](https://github.com/codebynithin/nithin-utils/issues/2).
27
-
28
- ## [1.1.0] - 2025-08-14
29
-
30
- ### Features
31
-
32
- - Added support for creating git branches, see [Issue #3](https://github.com/codebynithin/nithin-utils/issues/3).
33
-
34
- ## [1.2.0] - 2025-08-15
35
-
36
- ### Features
37
-
38
- - Added support for automating AI Review, see [Issue #4](https://github.com/codebynithin/nithin-utils/issues/4).
39
-
40
- ## [1.2.1] - 2025-08-25
41
-
42
- ### Bug Fixes
43
-
44
- - Fixed Review review url, see [Issue #6](https://github.com/codebynithin/nithin-utils/issues/6).
45
-
46
- ## [1.2.2] - 2025-09-15
47
-
48
- ### Features
49
-
50
- - Added support for automating build, see [Issue #7](https://github.com/codebynithin/nithin-utils/issues/7).
51
-
52
- ### Bug Fixes
53
-
54
- - Fixed build branch, see [Issue #8](https://github.com/codebynithin/nithin-utils/issues/8).
55
-
56
- ## [1.3.0] - 2025-09-21
57
-
58
- ### Features
59
-
60
- - Added support for automating build, see [Issue #9](https://github.com/codebynithin/nithin-utils/issues/9).
61
-
62
- ## [1.4.0] - 2025-10-10
63
-
64
- ### Features
65
-
66
- - Added support for automating backup, see [Issue #12](https://github.com/codebynithin/nithin-utils/issues/12).
67
-
68
- ## [1.5.0] - 2025-10-22
69
-
70
- ### Features
71
-
72
- - Added support for automating merge, see [Issue #14](https://github.com/codebynithin/nithin-utils/issues/14).
18
+ For a complete list of changes and discussion, see [Issue #1](https://github.com/codebynithin/nitor/issues/1).
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @codebynithin/nithin-utils
1
+ # nitor
2
2
 
3
3
  <a name="readme-top"></a>
4
4
 
@@ -42,49 +42,49 @@ A CLI utility toolkit for automating and managing build, deploy, and status oper
42
42
 
43
43
  ## Usage
44
44
 
45
- You can use the CLI via the `nu` command:
45
+ You can use the CLI via the `nitor` command:
46
46
 
47
47
  ```bash
48
- nu <command> [options]
48
+ nitor <command> [options]
49
49
  ```
50
50
 
51
51
  ### Example Commands
52
52
 
53
53
  - **Build:**
54
54
  ```bash
55
- nu build -project <project name> -components <component name> -instance <instance name>
55
+ nitor build -project <project name> -components <component name> -instance <instance name>
56
56
  ```
57
57
  - **Deploy:**
58
58
  ```bash
59
- nu deploy -project <project name> -components <component name> -instance <instance name>
59
+ nitor deploy -project <project name> -components <component name> -instance <instance name>
60
60
  ```
61
61
  - **Build & Deploy:**
62
62
  ```bash
63
- nu build-deploy -project <project name> -components <component name> -instance <instance name>
63
+ nitor build-deploy -project <project name> -components <component name> -instance <instance name>
64
64
  ```
65
65
  - **Create branch:**
66
66
  ```bash
67
- nu create-branch -task <task number> -type <feat|fix> -description <description> -repository <repository name>
67
+ nitor create-branch -task <task number> -type <feat|fix> -description <description> -repository <repository name>
68
68
  ```
69
69
  - **Review:**
70
70
  ```bash
71
- nu review -project <project short name> -mergeId <merge id> -repository <repository name>
71
+ nitor review -project <project short name> -mergeId <merge id> -repository <repository name>
72
72
  ```
73
73
  - **Refactor Text:**
74
74
  ```bash
75
- nu refactor <text>
75
+ nitor refactor <text>
76
76
  ```
77
77
  - **Backup:**
78
78
  ```bash
79
- nu backup <text>
79
+ nitor backup <text>
80
80
  ```
81
81
  - **Restore:**
82
82
  ```bash
83
- nu restore <text>
83
+ nitor restore <text>
84
84
  ```
85
85
  - **Merge:**
86
86
  ```bash
87
- nu merge -source <source branch> -target <target branch>
87
+ nitor merge -source <source branch> -target <target branch>
88
88
  ```
89
89
 
90
90
  ### Command Reference
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitor",
3
- "version": "0.0.1",
3
+ "version": "1.0.0",
4
4
  "description": "Nithin command line interface",
5
5
  "main": "index.js",
6
6
  "author": "Nithin V <mails2nithin@gmail.com>",
package/services/merge.js CHANGED
@@ -5,7 +5,7 @@ const merge = async (values) => {
5
5
 
6
6
  if (!source || !target) {
7
7
  console.error('Error: Both -source and -target branch parameters are required');
8
- console.log('Usage: nu merge -source <source branch> -target <target branch>');
8
+ console.log('Usage: nitor merge -source <source branch> -target <target branch>');
9
9
  return;
10
10
  }
11
11
 
@@ -235,7 +235,7 @@ This command will:
235
235
  }
236
236
 
237
237
  case ACTIONS.HELP: {
238
- console.log(`usage: nu \t[${ACTIONS.VERSION}] [${ACTIONS.HELP}]
238
+ console.log(`usage: nitor \t[${ACTIONS.VERSION}] [${ACTIONS.HELP}]
239
239
  \t[${ACTIONS.BUILD}] [${ACTIONS.DEPLOY}] [${ACTIONS.BUILD_DEPLOY}]
240
240
  \t[${ACTIONS.CREATE_BRANCH}] [${ACTIONS.REVIEW}] [${ACTIONS.MERGE}]\n
241
241
  Available commands:\n
@@ -249,23 +249,23 @@ Available commands:\n
249
249
  version : Show version info
250
250
  help : Show help
251
251
 
252
- For details of each actions run 'nu <action> -help'
252
+ For details of each actions run 'nitor <action> -help'
253
253
 
254
254
  Example usage:\n
255
- nu build -project <project> -components <components> -instance <instance>
256
- nu deploy -project <project> -components <components> -instance <instance>
257
- nu build-deploy -project <project> -components <components> -instance <instance>
258
- nu create-branch -task <task number> -type <feat|fix> -description <description> -project <project short name>
259
- nu review -project <project short name> -mergeId <merge id> -repository <repository name>
260
- nu refactor <text>
261
- nu merge -source <source branch> -target <target branch>
262
-
263
- Running 'nu help' will list available subcommands and provide some conceptual guides.`);
255
+ nitor build -project <project> -components <components> -instance <instance>
256
+ nitor deploy -project <project> -components <components> -instance <instance>
257
+ nitor build-deploy -project <project> -components <components> -instance <instance>
258
+ nitor create-branch -task <task number> -type <feat|fix> -description <description> -project <project short name>
259
+ nitor review -project <project short name> -mergeId <merge id> -repository <repository name>
260
+ nitor refactor <text>
261
+ nitor merge -source <source branch> -target <target branch>
262
+
263
+ Running 'nitor help' will list available subcommands and provide some conceptual guides.`);
264
264
  break;
265
265
  }
266
266
 
267
267
  default: {
268
- console.error(`nu: '${type}' is not a nu command. See 'nu help'.`);
268
+ console.error(`nitor: '${type}' is not a nitor command. See 'nitor help'.`);
269
269
 
270
270
  return;
271
271
  }