@simplysf/simply-gitlab 0.1.0 → 0.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.txt +206 -0
- package/README.md +1203 -1203
- package/bin/run.js +9 -9
- package/package.json +244 -243
package/bin/run.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
// eslint-disable-next-line node/shebang
|
|
4
|
-
async function main() {
|
|
5
|
-
const { execute } = await import('@oclif/core');
|
|
6
|
-
await execute({ dir: import.meta.url });
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
await main();
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line node/shebang
|
|
4
|
+
async function main() {
|
|
5
|
+
const { execute } = await import('@oclif/core');
|
|
6
|
+
await execute({ dir: import.meta.url });
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
await main();
|
package/package.json
CHANGED
|
@@ -1,243 +1,244 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@simplysf/simply-gitlab",
|
|
3
|
-
"description": "Command-line interface for working with GitLab",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"author": "@ClayChipps",
|
|
6
|
-
"homepage": "https://github.com/SimplySF/simply-gitlab",
|
|
7
|
-
"bugs": "https://github.com/SimplySF/simply-gitlab/issues",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/SimplySF/simply-gitlab",
|
|
11
|
-
"directory": "packages/simply-gitlab"
|
|
12
|
-
},
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=22.0.0"
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"/lib",
|
|
18
|
-
"/oclif.lock",
|
|
19
|
-
"/oclif.manifest.json"
|
|
20
|
-
],
|
|
21
|
-
"keywords": [
|
|
22
|
-
"oclif",
|
|
23
|
-
"gitlab",
|
|
24
|
-
"ci",
|
|
25
|
-
"merge-requests",
|
|
26
|
-
"simply"
|
|
27
|
-
],
|
|
28
|
-
"license": "Apache-2.0",
|
|
29
|
-
"exports": "./lib/index.js",
|
|
30
|
-
"type": "module",
|
|
31
|
-
"types": "./lib/index.d.ts",
|
|
32
|
-
"bin": {
|
|
33
|
-
"simply": "./bin/run.js"
|
|
34
|
-
},
|
|
35
|
-
"oclif": {
|
|
36
|
-
"additionalVersionFlags": [
|
|
37
|
-
"-v"
|
|
38
|
-
],
|
|
39
|
-
"additionalHelpFlags": [
|
|
40
|
-
"-h"
|
|
41
|
-
],
|
|
42
|
-
"bin": "simply",
|
|
43
|
-
"commands": "./lib/commands",
|
|
44
|
-
"devPlugins": [
|
|
45
|
-
"@oclif/plugin-command-snapshot"
|
|
46
|
-
],
|
|
47
|
-
"flexibleTaxonomy": true,
|
|
48
|
-
"plugins": [],
|
|
49
|
-
"repositoryPrefix": "<%- repo %>/blob/@simplysf/simply-gitlab@<%- version %>/packages/simply-gitlab/<%- commandPath %>",
|
|
50
|
-
"topicSeparator": " ",
|
|
51
|
-
"topics": {
|
|
52
|
-
"gitlab": {
|
|
53
|
-
"description": "Work with GitLab."
|
|
54
|
-
},
|
|
55
|
-
"gitlab:project": {
|
|
56
|
-
"description": "Read project metadata."
|
|
57
|
-
},
|
|
58
|
-
"gitlab:file": {
|
|
59
|
-
"description": "Read and write repository files."
|
|
60
|
-
},
|
|
61
|
-
"gitlab:branch": {
|
|
62
|
-
"description": "List and create branches."
|
|
63
|
-
},
|
|
64
|
-
"gitlab:commit": {
|
|
65
|
-
"description": "Read history and commit changes."
|
|
66
|
-
},
|
|
67
|
-
"gitlab:mr": {
|
|
68
|
-
"description": "Read and manage merge requests."
|
|
69
|
-
},
|
|
70
|
-
"gitlab:tag": {
|
|
71
|
-
"description": "List repository tags."
|
|
72
|
-
},
|
|
73
|
-
"gitlab:release": {
|
|
74
|
-
"description": "List releases."
|
|
75
|
-
},
|
|
76
|
-
"gitlab:ci": {
|
|
77
|
-
"description": "Inspect CI/CD jobs, variables, and environments."
|
|
78
|
-
},
|
|
79
|
-
"gitlab:ci:job": {
|
|
80
|
-
"description": "List CI jobs and read their logs."
|
|
81
|
-
},
|
|
82
|
-
"gitlab:ci:variable": {
|
|
83
|
-
"description": "List CI/CD variables."
|
|
84
|
-
},
|
|
85
|
-
"gitlab:ci:environment": {
|
|
86
|
-
"description": "List deployment environments."
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"dependencies": {
|
|
91
|
-
"@oclif/core": "^4.11.2",
|
|
92
|
-
"@simplysf/simply-gitlab-core": "
|
|
93
|
-
},
|
|
94
|
-
"devDependencies": {
|
|
95
|
-
"@oclif/plugin-command-snapshot": "^5.4.0",
|
|
96
|
-
"@vitest/coverage-v8": "^4.1.10",
|
|
97
|
-
"vitest": "^4.1.10"
|
|
98
|
-
},
|
|
99
|
-
"publishConfig": {
|
|
100
|
-
"access": "public"
|
|
101
|
-
},
|
|
102
|
-
"scripts": {
|
|
103
|
-
"build": "wireit",
|
|
104
|
-
"compile": "wireit",
|
|
105
|
-
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
106
|
-
"format": "wireit",
|
|
107
|
-
"lint": "wireit",
|
|
108
|
-
"readme": "oclif readme --no-aliases",
|
|
109
|
-
"test": "wireit",
|
|
110
|
-
"test:coverage": "wireit",
|
|
111
|
-
"test:only": "wireit",
|
|
112
|
-
"test:watch": "wireit"
|
|
113
|
-
},
|
|
114
|
-
"wireit": {
|
|
115
|
-
"build": {
|
|
116
|
-
"dependencies": [
|
|
117
|
-
"command-snapshot",
|
|
118
|
-
"compile",
|
|
119
|
-
"lint"
|
|
120
|
-
]
|
|
121
|
-
},
|
|
122
|
-
"compile": {
|
|
123
|
-
"command": "tsc -p . --pretty --incremental",
|
|
124
|
-
"files": [
|
|
125
|
-
"src/**/*.ts",
|
|
126
|
-
"**/tsconfig.json",
|
|
127
|
-
"../../tsconfig.json"
|
|
128
|
-
],
|
|
129
|
-
"output": [
|
|
130
|
-
"lib/**",
|
|
131
|
-
"*.tsbuildinfo"
|
|
132
|
-
],
|
|
133
|
-
"clean": "if-file-deleted",
|
|
134
|
-
"dependencies": [
|
|
135
|
-
"../simply-gitlab-core:compile"
|
|
136
|
-
]
|
|
137
|
-
},
|
|
138
|
-
"format": {
|
|
139
|
-
"command": "prettier --write \"+(src|test)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
140
|
-
"files": [
|
|
141
|
-
"src/**/*.ts",
|
|
142
|
-
"test/**/*.ts",
|
|
143
|
-
"command-snapshot.json",
|
|
144
|
-
".prettier*"
|
|
145
|
-
],
|
|
146
|
-
"output": []
|
|
147
|
-
},
|
|
148
|
-
"lint": {
|
|
149
|
-
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
150
|
-
"files": [
|
|
151
|
-
"src/**/*.ts",
|
|
152
|
-
"test/**/*.ts",
|
|
153
|
-
"**/.eslint*",
|
|
154
|
-
"**/tsconfig.json",
|
|
155
|
-
"../../eslint.config.mjs",
|
|
156
|
-
"../../tsconfig.json"
|
|
157
|
-
],
|
|
158
|
-
"output": [],
|
|
159
|
-
"dependencies": [
|
|
160
|
-
"../simply-gitlab-core:compile"
|
|
161
|
-
]
|
|
162
|
-
},
|
|
163
|
-
"test": {
|
|
164
|
-
"dependencies": [
|
|
165
|
-
"test:compile",
|
|
166
|
-
"test:only",
|
|
167
|
-
"lint"
|
|
168
|
-
]
|
|
169
|
-
},
|
|
170
|
-
"command-snapshot": {
|
|
171
|
-
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:generate && prettier --write command-snapshot.json",
|
|
172
|
-
"files": [
|
|
173
|
-
"src/**/*.ts"
|
|
174
|
-
],
|
|
175
|
-
"output": [
|
|
176
|
-
"command-snapshot.json"
|
|
177
|
-
],
|
|
178
|
-
"dependencies": [
|
|
179
|
-
"compile"
|
|
180
|
-
]
|
|
181
|
-
},
|
|
182
|
-
"test:compile": {
|
|
183
|
-
"command": "tsc -p \"./test\" --pretty",
|
|
184
|
-
"files": [
|
|
185
|
-
"test/**/*.ts",
|
|
186
|
-
"**/tsconfig.json",
|
|
187
|
-
"../../tsconfig.json"
|
|
188
|
-
],
|
|
189
|
-
"output": [],
|
|
190
|
-
"dependencies": [
|
|
191
|
-
"../simply-gitlab-core:compile"
|
|
192
|
-
]
|
|
193
|
-
},
|
|
194
|
-
"test:only": {
|
|
195
|
-
"command": "vitest run --project simply-gitlab",
|
|
196
|
-
"env": {
|
|
197
|
-
"FORCE_COLOR": "2"
|
|
198
|
-
},
|
|
199
|
-
"files": [
|
|
200
|
-
"test/**/*.ts",
|
|
201
|
-
"src/**/*.ts",
|
|
202
|
-
"**/tsconfig.json",
|
|
203
|
-
"../../tsconfig.json",
|
|
204
|
-
"vitest.config.ts",
|
|
205
|
-
"!*.nut.ts"
|
|
206
|
-
],
|
|
207
|
-
"output": [],
|
|
208
|
-
"dependencies": [
|
|
209
|
-
"../simply-gitlab-core:compile"
|
|
210
|
-
]
|
|
211
|
-
},
|
|
212
|
-
"test:coverage": {
|
|
213
|
-
"command": "vitest run --coverage --project simply-gitlab",
|
|
214
|
-
"env": {
|
|
215
|
-
"FORCE_COLOR": "2"
|
|
216
|
-
},
|
|
217
|
-
"dependencies": [
|
|
218
|
-
"../simply-gitlab-core:compile"
|
|
219
|
-
],
|
|
220
|
-
"files": [
|
|
221
|
-
"test/**/*.ts",
|
|
222
|
-
"src/**/*.ts",
|
|
223
|
-
"**/tsconfig.json",
|
|
224
|
-
"../../tsconfig.json",
|
|
225
|
-
"vitest.config.ts",
|
|
226
|
-
"!*.nut.ts"
|
|
227
|
-
],
|
|
228
|
-
"output": [
|
|
229
|
-
"coverage/**"
|
|
230
|
-
]
|
|
231
|
-
},
|
|
232
|
-
"test:watch": {
|
|
233
|
-
"command": "vitest watch --project simply-gitlab",
|
|
234
|
-
"env": {
|
|
235
|
-
"FORCE_COLOR": "2"
|
|
236
|
-
},
|
|
237
|
-
"dependencies": [
|
|
238
|
-
"../simply-gitlab-core:compile"
|
|
239
|
-
],
|
|
240
|
-
"service": true
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@simplysf/simply-gitlab",
|
|
3
|
+
"description": "Command-line interface for working with GitLab",
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"author": "@ClayChipps",
|
|
6
|
+
"homepage": "https://github.com/SimplySF/simply-gitlab",
|
|
7
|
+
"bugs": "https://github.com/SimplySF/simply-gitlab/issues",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/SimplySF/simply-gitlab",
|
|
11
|
+
"directory": "packages/simply-gitlab"
|
|
12
|
+
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22.0.0"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"/lib",
|
|
18
|
+
"/oclif.lock",
|
|
19
|
+
"/oclif.manifest.json"
|
|
20
|
+
],
|
|
21
|
+
"keywords": [
|
|
22
|
+
"oclif",
|
|
23
|
+
"gitlab",
|
|
24
|
+
"ci",
|
|
25
|
+
"merge-requests",
|
|
26
|
+
"simply"
|
|
27
|
+
],
|
|
28
|
+
"license": "Apache-2.0",
|
|
29
|
+
"exports": "./lib/index.js",
|
|
30
|
+
"type": "module",
|
|
31
|
+
"types": "./lib/index.d.ts",
|
|
32
|
+
"bin": {
|
|
33
|
+
"simply": "./bin/run.js"
|
|
34
|
+
},
|
|
35
|
+
"oclif": {
|
|
36
|
+
"additionalVersionFlags": [
|
|
37
|
+
"-v"
|
|
38
|
+
],
|
|
39
|
+
"additionalHelpFlags": [
|
|
40
|
+
"-h"
|
|
41
|
+
],
|
|
42
|
+
"bin": "simply",
|
|
43
|
+
"commands": "./lib/commands",
|
|
44
|
+
"devPlugins": [
|
|
45
|
+
"@oclif/plugin-command-snapshot"
|
|
46
|
+
],
|
|
47
|
+
"flexibleTaxonomy": true,
|
|
48
|
+
"plugins": [],
|
|
49
|
+
"repositoryPrefix": "<%- repo %>/blob/@simplysf/simply-gitlab@<%- version %>/packages/simply-gitlab/<%- commandPath %>",
|
|
50
|
+
"topicSeparator": " ",
|
|
51
|
+
"topics": {
|
|
52
|
+
"gitlab": {
|
|
53
|
+
"description": "Work with GitLab."
|
|
54
|
+
},
|
|
55
|
+
"gitlab:project": {
|
|
56
|
+
"description": "Read project metadata."
|
|
57
|
+
},
|
|
58
|
+
"gitlab:file": {
|
|
59
|
+
"description": "Read and write repository files."
|
|
60
|
+
},
|
|
61
|
+
"gitlab:branch": {
|
|
62
|
+
"description": "List and create branches."
|
|
63
|
+
},
|
|
64
|
+
"gitlab:commit": {
|
|
65
|
+
"description": "Read history and commit changes."
|
|
66
|
+
},
|
|
67
|
+
"gitlab:mr": {
|
|
68
|
+
"description": "Read and manage merge requests."
|
|
69
|
+
},
|
|
70
|
+
"gitlab:tag": {
|
|
71
|
+
"description": "List repository tags."
|
|
72
|
+
},
|
|
73
|
+
"gitlab:release": {
|
|
74
|
+
"description": "List releases."
|
|
75
|
+
},
|
|
76
|
+
"gitlab:ci": {
|
|
77
|
+
"description": "Inspect CI/CD jobs, variables, and environments."
|
|
78
|
+
},
|
|
79
|
+
"gitlab:ci:job": {
|
|
80
|
+
"description": "List CI jobs and read their logs."
|
|
81
|
+
},
|
|
82
|
+
"gitlab:ci:variable": {
|
|
83
|
+
"description": "List CI/CD variables."
|
|
84
|
+
},
|
|
85
|
+
"gitlab:ci:environment": {
|
|
86
|
+
"description": "List deployment environments."
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"dependencies": {
|
|
91
|
+
"@oclif/core": "^4.11.2",
|
|
92
|
+
"@simplysf/simply-gitlab-core": "^0.2.0"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@oclif/plugin-command-snapshot": "^5.4.0",
|
|
96
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
97
|
+
"vitest": "^4.1.10"
|
|
98
|
+
},
|
|
99
|
+
"publishConfig": {
|
|
100
|
+
"access": "public"
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"build": "wireit",
|
|
104
|
+
"compile": "wireit",
|
|
105
|
+
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
|
|
106
|
+
"format": "wireit",
|
|
107
|
+
"lint": "wireit",
|
|
108
|
+
"readme": "oclif readme --no-aliases",
|
|
109
|
+
"test": "wireit",
|
|
110
|
+
"test:coverage": "wireit",
|
|
111
|
+
"test:only": "wireit",
|
|
112
|
+
"test:watch": "wireit"
|
|
113
|
+
},
|
|
114
|
+
"wireit": {
|
|
115
|
+
"build": {
|
|
116
|
+
"dependencies": [
|
|
117
|
+
"command-snapshot",
|
|
118
|
+
"compile",
|
|
119
|
+
"lint"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"compile": {
|
|
123
|
+
"command": "tsc -p . --pretty --incremental",
|
|
124
|
+
"files": [
|
|
125
|
+
"src/**/*.ts",
|
|
126
|
+
"**/tsconfig.json",
|
|
127
|
+
"../../tsconfig.json"
|
|
128
|
+
],
|
|
129
|
+
"output": [
|
|
130
|
+
"lib/**",
|
|
131
|
+
"*.tsbuildinfo"
|
|
132
|
+
],
|
|
133
|
+
"clean": "if-file-deleted",
|
|
134
|
+
"dependencies": [
|
|
135
|
+
"../simply-gitlab-core:compile"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
"format": {
|
|
139
|
+
"command": "prettier --write \"+(src|test)/**/*.+(ts|js|json)|command-snapshot.json\"",
|
|
140
|
+
"files": [
|
|
141
|
+
"src/**/*.ts",
|
|
142
|
+
"test/**/*.ts",
|
|
143
|
+
"command-snapshot.json",
|
|
144
|
+
".prettier*"
|
|
145
|
+
],
|
|
146
|
+
"output": []
|
|
147
|
+
},
|
|
148
|
+
"lint": {
|
|
149
|
+
"command": "eslint src test --color --cache --cache-location .eslintcache",
|
|
150
|
+
"files": [
|
|
151
|
+
"src/**/*.ts",
|
|
152
|
+
"test/**/*.ts",
|
|
153
|
+
"**/.eslint*",
|
|
154
|
+
"**/tsconfig.json",
|
|
155
|
+
"../../eslint.config.mjs",
|
|
156
|
+
"../../tsconfig.json"
|
|
157
|
+
],
|
|
158
|
+
"output": [],
|
|
159
|
+
"dependencies": [
|
|
160
|
+
"../simply-gitlab-core:compile"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
"test": {
|
|
164
|
+
"dependencies": [
|
|
165
|
+
"test:compile",
|
|
166
|
+
"test:only",
|
|
167
|
+
"lint"
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
"command-snapshot": {
|
|
171
|
+
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:generate && prettier --write command-snapshot.json",
|
|
172
|
+
"files": [
|
|
173
|
+
"src/**/*.ts"
|
|
174
|
+
],
|
|
175
|
+
"output": [
|
|
176
|
+
"command-snapshot.json"
|
|
177
|
+
],
|
|
178
|
+
"dependencies": [
|
|
179
|
+
"compile"
|
|
180
|
+
]
|
|
181
|
+
},
|
|
182
|
+
"test:compile": {
|
|
183
|
+
"command": "tsc -p \"./test\" --pretty",
|
|
184
|
+
"files": [
|
|
185
|
+
"test/**/*.ts",
|
|
186
|
+
"**/tsconfig.json",
|
|
187
|
+
"../../tsconfig.json"
|
|
188
|
+
],
|
|
189
|
+
"output": [],
|
|
190
|
+
"dependencies": [
|
|
191
|
+
"../simply-gitlab-core:compile"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"test:only": {
|
|
195
|
+
"command": "vitest run --project simply-gitlab",
|
|
196
|
+
"env": {
|
|
197
|
+
"FORCE_COLOR": "2"
|
|
198
|
+
},
|
|
199
|
+
"files": [
|
|
200
|
+
"test/**/*.ts",
|
|
201
|
+
"src/**/*.ts",
|
|
202
|
+
"**/tsconfig.json",
|
|
203
|
+
"../../tsconfig.json",
|
|
204
|
+
"vitest.config.ts",
|
|
205
|
+
"!*.nut.ts"
|
|
206
|
+
],
|
|
207
|
+
"output": [],
|
|
208
|
+
"dependencies": [
|
|
209
|
+
"../simply-gitlab-core:compile"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"test:coverage": {
|
|
213
|
+
"command": "vitest run --coverage --project simply-gitlab",
|
|
214
|
+
"env": {
|
|
215
|
+
"FORCE_COLOR": "2"
|
|
216
|
+
},
|
|
217
|
+
"dependencies": [
|
|
218
|
+
"../simply-gitlab-core:compile"
|
|
219
|
+
],
|
|
220
|
+
"files": [
|
|
221
|
+
"test/**/*.ts",
|
|
222
|
+
"src/**/*.ts",
|
|
223
|
+
"**/tsconfig.json",
|
|
224
|
+
"../../tsconfig.json",
|
|
225
|
+
"vitest.config.ts",
|
|
226
|
+
"!*.nut.ts"
|
|
227
|
+
],
|
|
228
|
+
"output": [
|
|
229
|
+
"coverage/**"
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
"test:watch": {
|
|
233
|
+
"command": "vitest watch --project simply-gitlab",
|
|
234
|
+
"env": {
|
|
235
|
+
"FORCE_COLOR": "2"
|
|
236
|
+
},
|
|
237
|
+
"dependencies": [
|
|
238
|
+
"../simply-gitlab-core:compile"
|
|
239
|
+
],
|
|
240
|
+
"service": true
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"gitHead": "0193de41a79b4addeaed5d8caf5e5b562770be6c"
|
|
244
|
+
}
|