@oh-my-ghaad/gitlab 0.0.12 → 0.0.13

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @oh-my-ghaad/gitlab@0.0.7 build /Volumes/T7/repos/oh-my-ghaad/packages/adapter-gitlab
3
+ > @oh-my-ghaad/gitlab@0.0.12 build /Volumes/T7/repos/oh-my-ghaad/packages/adapter-gitlab
4
4
  > tsup src/index.ts --dts --dts-resolve --format esm,cjs
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -9,11 +9,11 @@
9
9
  CLI Target: esnext
10
10
  ESM Build start
11
11
  CJS Build start
12
- CJS dist/index.cjs 9.24 KB
13
- CJS ⚡️ Build success in 12ms
14
- ESM dist/index.js 8.20 KB
15
- ESM ⚡️ Build success in 12ms
12
+ ESM dist/index.js 7.45 KB
13
+ ESM ⚡️ Build success in 11ms
14
+ CJS dist/index.cjs 8.49 KB
15
+ CJS ⚡️ Build success in 11ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 505ms
18
- DTS dist/index.d.ts 1.41 KB
19
- DTS dist/index.d.cts 1.41 KB
17
+ DTS ⚡️ Build success in 513ms
18
+ DTS dist/index.d.ts 995.00 B
19
+ DTS dist/index.d.cts 995.00 B
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.0.13](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.12...v0.0.13) (2025-10-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove PR methods and other unused methods ([2227905](https://github.com/cmgriffing/oh-my-ghaad/commit/222790537f47c5cc385187cc4656d2450d47f7a7))
7
+
8
+
9
+
1
10
  ## [0.0.12](https://github.com/cmgriffing/oh-my-ghaad/compare/v0.0.11...v0.0.12) (2025-10-06)
2
11
 
3
12
 
package/dist/index.cjs CHANGED
@@ -280,37 +280,6 @@ var GitlabAdapter = class extends import_core.Adapter {
280
280
  }
281
281
  return;
282
282
  }
283
- // TODO: Why did I add this method?
284
- async createCommit({}) {
285
- return;
286
- }
287
- // -----------------------------------------------------------------------------
288
- // TODO: Pull Requests and File History are not yet implemented or used in the demo app yet
289
- // -----------------------------------------------------------------------------
290
- async fetchFileHistory(path) {
291
- return [];
292
- }
293
- async fetchPullRequests() {
294
- return [];
295
- }
296
- async createPullRequest() {
297
- return;
298
- }
299
- async fetchPullRequest() {
300
- return {
301
- id: "",
302
- title: "",
303
- description: "",
304
- commitSha: "",
305
- createdAt: ""
306
- };
307
- }
308
- async updatePullRequest() {
309
- return;
310
- }
311
- async deletePullRequest() {
312
- return;
313
- }
314
283
  };
315
284
  // Annotate the CommonJS export names for ESM import in node:
316
285
  0 && (module.exports = {
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { Adapter, IAdapter, CommitRequest } from '@oh-my-ghaad/core';
1
+ import { Adapter, IAdapter } from '@oh-my-ghaad/core';
2
2
 
3
3
  declare class GitlabAdapter extends Adapter implements IAdapter {
4
4
  readonly name = "GitLab";
@@ -21,19 +21,6 @@ declare class GitlabAdapter extends Adapter implements IAdapter {
21
21
  createFile(path: string, content: string, message?: string): Promise<void>;
22
22
  updateFile(path: string, content: string, message?: string): Promise<void>;
23
23
  deleteFile(path: string, message?: string): Promise<void>;
24
- createCommit({}: CommitRequest): Promise<void>;
25
- fetchFileHistory(path: string): Promise<any[]>;
26
- fetchPullRequests(): Promise<any[]>;
27
- createPullRequest(): Promise<void>;
28
- fetchPullRequest(): Promise<{
29
- id: string;
30
- title: string;
31
- description: string;
32
- commitSha: string;
33
- createdAt: string;
34
- }>;
35
- updatePullRequest(): Promise<void>;
36
- deletePullRequest(): Promise<void>;
37
24
  }
38
25
 
39
26
  export { GitlabAdapter };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Adapter, IAdapter, CommitRequest } from '@oh-my-ghaad/core';
1
+ import { Adapter, IAdapter } from '@oh-my-ghaad/core';
2
2
 
3
3
  declare class GitlabAdapter extends Adapter implements IAdapter {
4
4
  readonly name = "GitLab";
@@ -21,19 +21,6 @@ declare class GitlabAdapter extends Adapter implements IAdapter {
21
21
  createFile(path: string, content: string, message?: string): Promise<void>;
22
22
  updateFile(path: string, content: string, message?: string): Promise<void>;
23
23
  deleteFile(path: string, message?: string): Promise<void>;
24
- createCommit({}: CommitRequest): Promise<void>;
25
- fetchFileHistory(path: string): Promise<any[]>;
26
- fetchPullRequests(): Promise<any[]>;
27
- createPullRequest(): Promise<void>;
28
- fetchPullRequest(): Promise<{
29
- id: string;
30
- title: string;
31
- description: string;
32
- commitSha: string;
33
- createdAt: string;
34
- }>;
35
- updatePullRequest(): Promise<void>;
36
- deletePullRequest(): Promise<void>;
37
24
  }
38
25
 
39
26
  export { GitlabAdapter };
package/dist/index.js CHANGED
@@ -255,37 +255,6 @@ var GitlabAdapter = class extends Adapter {
255
255
  }
256
256
  return;
257
257
  }
258
- // TODO: Why did I add this method?
259
- async createCommit({}) {
260
- return;
261
- }
262
- // -----------------------------------------------------------------------------
263
- // TODO: Pull Requests and File History are not yet implemented or used in the demo app yet
264
- // -----------------------------------------------------------------------------
265
- async fetchFileHistory(path) {
266
- return [];
267
- }
268
- async fetchPullRequests() {
269
- return [];
270
- }
271
- async createPullRequest() {
272
- return;
273
- }
274
- async fetchPullRequest() {
275
- return {
276
- id: "",
277
- title: "",
278
- description: "",
279
- commitSha: "",
280
- createdAt: ""
281
- };
282
- }
283
- async updatePullRequest() {
284
- return;
285
- }
286
- async deletePullRequest() {
287
- return;
288
- }
289
258
  };
290
259
  export {
291
260
  GitlabAdapter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-ghaad/gitlab",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -10,7 +10,7 @@
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@gitbeaker/rest": "^43.5.0",
13
- "@oh-my-ghaad/core": "0.0.12"
13
+ "@oh-my-ghaad/core": "0.0.13"
14
14
  },
15
15
  "devDependencies": {
16
16
  "tsup": "^8.5.0",
package/src/adapter.ts CHANGED
@@ -302,42 +302,4 @@ export class GitlabAdapter extends Adapter implements IAdapter {
302
302
 
303
303
  return;
304
304
  }
305
-
306
- // TODO: Why did I add this method?
307
- async createCommit({}: CommitRequest) {
308
- return;
309
- }
310
-
311
- // -----------------------------------------------------------------------------
312
- // TODO: Pull Requests and File History are not yet implemented or used in the demo app yet
313
- // -----------------------------------------------------------------------------
314
- async fetchFileHistory(path: string) {
315
- return [];
316
- }
317
-
318
- async fetchPullRequests() {
319
- return [];
320
- }
321
-
322
- async createPullRequest() {
323
- return;
324
- }
325
-
326
- async fetchPullRequest() {
327
- return {
328
- id: "",
329
- title: "",
330
- description: "",
331
- commitSha: "",
332
- createdAt: "",
333
- };
334
- }
335
-
336
- async updatePullRequest() {
337
- return;
338
- }
339
-
340
- async deletePullRequest() {
341
- return;
342
- }
343
305
  }