@sonisoft/now-sdk-ext-cli 5.0.1 → 5.2.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/LICENSE +21 -0
- package/README.md +827 -197
- package/dist/commands/policy/status.d.ts +27 -0
- package/dist/commands/policy/status.d.ts.map +1 -0
- package/dist/commands/policy/status.js +67 -0
- package/dist/commands/policy/status.js.map +1 -0
- package/dist/common/authenticated-command.d.ts +12 -0
- package/dist/common/authenticated-command.d.ts.map +1 -1
- package/dist/common/authenticated-command.js +98 -4
- package/dist/common/authenticated-command.js.map +1 -1
- package/dist/common/policy.d.ts +32 -0
- package/dist/common/policy.d.ts.map +1 -0
- package/dist/common/policy.js +68 -0
- package/dist/common/policy.js.map +1 -0
- package/dist/util/log-factory.d.ts +7 -1
- package/dist/util/log-factory.d.ts.map +1 -1
- package/dist/util/log-factory.js +8 -3
- package/dist/util/log-factory.js.map +1 -1
- package/oclif.manifest.json +3681 -882
- package/package.json +46 -43
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonisoft/now-sdk-ext-cli",
|
|
3
3
|
"description": "A CLI extending the functionality of the ServiceNow SDK.",
|
|
4
|
-
"version": "5.0
|
|
4
|
+
"version": "5.2.0",
|
|
5
5
|
"author": "Chris Nanda",
|
|
6
6
|
"bin": {
|
|
7
7
|
"nex": "./bin/run.js"
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@servicenow/sdk-cli": "4.9.2",
|
|
18
18
|
"@servicenow/sdk-cli-core": "3.0.3",
|
|
19
19
|
"@servicenow/sdk-core": "4.9.2",
|
|
20
|
-
"@sonisoft/now-sdk-ext-core": "^
|
|
20
|
+
"@sonisoft/now-sdk-ext-core": "^6.1.0",
|
|
21
21
|
"@sonisoft/sn-credstore": "^1.0.0",
|
|
22
22
|
"@ts-morph/common": "^0.24.0",
|
|
23
23
|
"chalk": "^4.1.2",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fast-xml-parser": "^5.10.1",
|
|
27
27
|
"fs-extra": "^11.2.0",
|
|
28
28
|
"is-null-or-empty": "^0.0.1",
|
|
29
|
-
"winston": "3.
|
|
29
|
+
"winston": "3.19.0",
|
|
30
30
|
"ws": "^8.18.0",
|
|
31
31
|
"zod": "^3.23.8"
|
|
32
32
|
},
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
"@oclif/prettier-config": "^0.2.1",
|
|
37
37
|
"@oclif/test": "^4",
|
|
38
38
|
"@semantic-release/git": "^10.0.1",
|
|
39
|
-
"@semantic-release/github": "^
|
|
39
|
+
"@semantic-release/github": "^12.0.9",
|
|
40
40
|
"@semantic-release/npm": "^13.1.5",
|
|
41
41
|
"@supercharge/fs": "^3.4.2",
|
|
42
42
|
"@types/chai": "^4",
|
|
43
|
-
"@types/jest": "^
|
|
43
|
+
"@types/jest": "^30.0.0",
|
|
44
44
|
"@types/mocha": "^10",
|
|
45
|
-
"@types/node": "^
|
|
45
|
+
"@types/node": "^26",
|
|
46
46
|
"@typescript-eslint/typescript-estree": "^8.4.0",
|
|
47
|
-
"chai": "^
|
|
48
|
-
"conventional-changelog-conventionalcommits": "^
|
|
47
|
+
"chai": "^6",
|
|
48
|
+
"conventional-changelog-conventionalcommits": "^10.2.1",
|
|
49
49
|
"eslint": "^9",
|
|
50
50
|
"eslint-config-oclif": "^6.0.148",
|
|
51
51
|
"eslint-config-prettier": "^10",
|
|
52
|
-
"jest": "^
|
|
53
|
-
"jest-junit": "^
|
|
52
|
+
"jest": "^30.4.2",
|
|
53
|
+
"jest-junit": "^17.0.0",
|
|
54
54
|
"oclif": "^4",
|
|
55
55
|
"rimraf": "^6.0.1",
|
|
56
56
|
"semantic-release": "^25.0.8",
|
|
@@ -105,27 +105,57 @@
|
|
|
105
105
|
],
|
|
106
106
|
"topicSeparator": " ",
|
|
107
107
|
"topics": {
|
|
108
|
-
"
|
|
109
|
-
"description": "
|
|
108
|
+
"aggregate": {
|
|
109
|
+
"description": "Run aggregate statistics (COUNT, AVG, MIN, MAX, SUM) on ServiceNow tables with optional grouping."
|
|
110
110
|
},
|
|
111
111
|
"app": {
|
|
112
112
|
"description": "Operations on ServiceNow Applications."
|
|
113
113
|
},
|
|
114
|
+
"atf": {
|
|
115
|
+
"description": "Execute ATF (Automated Test Framework) tests and test suites on a ServiceNow instance."
|
|
116
|
+
},
|
|
117
|
+
"attachment": {
|
|
118
|
+
"description": "Manage attachments on ServiceNow records."
|
|
119
|
+
},
|
|
120
|
+
"batch": {
|
|
121
|
+
"description": "Perform batch create and update operations on ServiceNow records."
|
|
122
|
+
},
|
|
123
|
+
"bulk": {
|
|
124
|
+
"description": "Bulk update or delete ServiceNow records matching an encoded query (dry-run by default)."
|
|
125
|
+
},
|
|
114
126
|
"exec": {
|
|
115
127
|
"description": "Execute scripts remotely on a ServiceNow instance. Immitates using Scripts - Background from within ServiceNow."
|
|
116
128
|
},
|
|
129
|
+
"flow": {
|
|
130
|
+
"description": "Execute and manage Flow Designer flows, subflows, and actions on a ServiceNow instance."
|
|
131
|
+
},
|
|
132
|
+
"health": {
|
|
133
|
+
"description": "Run consolidated health checks and diagnostics on a ServiceNow instance."
|
|
134
|
+
},
|
|
117
135
|
"log": {
|
|
118
136
|
"description": "Tail and monitor ServiceNow system logs in real-time."
|
|
119
137
|
},
|
|
120
|
-
"
|
|
121
|
-
"description": "
|
|
138
|
+
"policy": {
|
|
139
|
+
"description": "Inspect what this invocation may change on the instance."
|
|
140
|
+
},
|
|
141
|
+
"query": {
|
|
142
|
+
"description": "Query ServiceNow tables, search applications, list columns, and read syslog records."
|
|
122
143
|
},
|
|
123
144
|
"schema": {
|
|
124
145
|
"description": "Discover and inspect ServiceNow table schemas and field definitions."
|
|
125
146
|
},
|
|
147
|
+
"scope": {
|
|
148
|
+
"description": "Manage ServiceNow application scopes."
|
|
149
|
+
},
|
|
126
150
|
"script-sync": {
|
|
127
151
|
"description": "Synchronize scripts between local files and ServiceNow instances."
|
|
128
152
|
},
|
|
153
|
+
"search": {
|
|
154
|
+
"description": "Search platform code across ServiceNow instances."
|
|
155
|
+
},
|
|
156
|
+
"store": {
|
|
157
|
+
"description": "Search, install, and update applications from the ServiceNow Store."
|
|
158
|
+
},
|
|
129
159
|
"task": {
|
|
130
160
|
"description": "Perform operations on ServiceNow tasks, incidents, and change requests."
|
|
131
161
|
},
|
|
@@ -135,33 +165,6 @@
|
|
|
135
165
|
"workflow": {
|
|
136
166
|
"description": "Create and manage ServiceNow workflows."
|
|
137
167
|
},
|
|
138
|
-
"attachment": {
|
|
139
|
-
"description": "Manage attachments on ServiceNow records."
|
|
140
|
-
},
|
|
141
|
-
"scope": {
|
|
142
|
-
"description": "Manage ServiceNow application scopes."
|
|
143
|
-
},
|
|
144
|
-
"batch": {
|
|
145
|
-
"description": "Perform batch create and update operations on ServiceNow records."
|
|
146
|
-
},
|
|
147
|
-
"store": {
|
|
148
|
-
"description": "Search, install, and update applications from the ServiceNow Store."
|
|
149
|
-
},
|
|
150
|
-
"query": {
|
|
151
|
-
"description": "Query ServiceNow tables, search applications, list columns, and read syslog records."
|
|
152
|
-
},
|
|
153
|
-
"aggregate": {
|
|
154
|
-
"description": "Run aggregate statistics (COUNT, AVG, MIN, MAX, SUM) on ServiceNow tables with optional grouping."
|
|
155
|
-
},
|
|
156
|
-
"health": {
|
|
157
|
-
"description": "Run consolidated health checks and diagnostics on a ServiceNow instance."
|
|
158
|
-
},
|
|
159
|
-
"bulk": {
|
|
160
|
-
"description": "Bulk update or delete ServiceNow records matching an encoded query (dry-run by default)."
|
|
161
|
-
},
|
|
162
|
-
"flow": {
|
|
163
|
-
"description": "Execute and manage Flow Designer flows, subflows, and actions on a ServiceNow instance."
|
|
164
|
-
},
|
|
165
168
|
"xml": {
|
|
166
169
|
"description": "Export and import ServiceNow records as XML."
|
|
167
170
|
}
|
|
@@ -186,8 +189,8 @@
|
|
|
186
189
|
"prepack": "oclif manifest && oclif readme",
|
|
187
190
|
"semantic-release": "semantic-release",
|
|
188
191
|
"test": "node --experimental-vm-modules node_modules/.bin/jest --forceExit --verbose=true --silent=false --json=false --useStderr=false",
|
|
189
|
-
"test:unit": "node --experimental-vm-modules node_modules/.bin/jest --
|
|
190
|
-
"test:integration": "node --experimental-vm-modules node_modules/.bin/jest --
|
|
192
|
+
"test:unit": "node --experimental-vm-modules node_modules/.bin/jest --testPathPatterns='(services|common)' --forceExit --coverage --collectCoverage --coverageDirectory=\"./coverage\" --ci --reporters=default --reporters=jest-junit --watchAll=false",
|
|
193
|
+
"test:integration": "node --experimental-vm-modules node_modules/.bin/jest --testPathPatterns='commands' --forceExit",
|
|
191
194
|
"test:coverage": "node --experimental-vm-modules node_modules/.bin/jest --coverage --forceExit"
|
|
192
195
|
},
|
|
193
196
|
"types": "dist/index.d.ts"
|