@vornrun/connector-gitlab 0.1.0 → 0.1.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/CHANGELOG.md +8 -0
- package/dist/index.js +53 -4
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@vornrun/connector-gitlab`.
|
|
4
4
|
|
|
5
|
+
## 0.1.2
|
|
6
|
+
|
|
7
|
+
Speaks Vorn's own connector protocol instead of MCP, so it needs Vorn 0.7.1-beta.3 or later. Action arguments arrive as typed values.
|
|
8
|
+
|
|
9
|
+
## 0.1.1
|
|
10
|
+
|
|
11
|
+
Read the version from the bundle instead of a package.json the packed connector does not carry.
|
|
12
|
+
|
|
5
13
|
## 0.1.0
|
|
6
14
|
|
|
7
15
|
First release.
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// src/index.ts
|
|
4
|
-
import { createRequire } from "module";
|
|
5
|
-
|
|
6
3
|
// src/connector.ts
|
|
7
4
|
import {
|
|
8
5
|
defineConnector
|
|
@@ -861,8 +858,60 @@ function serveIfEntryPoint(connector, moduleUrl, serve = serveConnector) {
|
|
|
861
858
|
return true;
|
|
862
859
|
}
|
|
863
860
|
|
|
861
|
+
// package.json
|
|
862
|
+
var package_default = {
|
|
863
|
+
name: "@vornrun/connector-gitlab",
|
|
864
|
+
version: "0.1.2",
|
|
865
|
+
description: "Trigger workflows from GitLab issues, merge requests and pipelines.",
|
|
866
|
+
type: "module",
|
|
867
|
+
license: "MIT",
|
|
868
|
+
repository: {
|
|
869
|
+
type: "git",
|
|
870
|
+
url: "git+https://github.com/vorn-run/connectors.git",
|
|
871
|
+
directory: "packages/gitlab"
|
|
872
|
+
},
|
|
873
|
+
bin: {
|
|
874
|
+
"vorn-connector-gitlab": "dist/index.js"
|
|
875
|
+
},
|
|
876
|
+
main: "./dist/index.js",
|
|
877
|
+
files: [
|
|
878
|
+
"dist",
|
|
879
|
+
"README.md",
|
|
880
|
+
"CHANGELOG.md"
|
|
881
|
+
],
|
|
882
|
+
scripts: {
|
|
883
|
+
build: "tsup src/index.ts --format esm --target node22 --clean",
|
|
884
|
+
typecheck: "tsc --noEmit",
|
|
885
|
+
test: "vitest run"
|
|
886
|
+
},
|
|
887
|
+
dependencies: {
|
|
888
|
+
"@vornrun/connector-sdk": "^0.7.1-beta.3"
|
|
889
|
+
},
|
|
890
|
+
devDependencies: {
|
|
891
|
+
"@types/node": "^22.10.2",
|
|
892
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
893
|
+
tsup: "^8.5.1",
|
|
894
|
+
typescript: "^6.0.3",
|
|
895
|
+
vitest: "^4.1.10"
|
|
896
|
+
},
|
|
897
|
+
vorn: {
|
|
898
|
+
category: "Development",
|
|
899
|
+
keywords: [
|
|
900
|
+
"gitlab",
|
|
901
|
+
"issues",
|
|
902
|
+
"merge requests",
|
|
903
|
+
"pipelines",
|
|
904
|
+
"ci",
|
|
905
|
+
"code review",
|
|
906
|
+
"repositories"
|
|
907
|
+
],
|
|
908
|
+
auth: "Borrows the GitLab CLI's login \u2014 `glab auth login` is all it needs \u2014 or takes a personal access token if you would rather paste one.",
|
|
909
|
+
packs: true
|
|
910
|
+
}
|
|
911
|
+
};
|
|
912
|
+
|
|
864
913
|
// src/index.ts
|
|
865
|
-
var { version } =
|
|
914
|
+
var { version } = package_default;
|
|
866
915
|
var gitlabConnector = createGitLabConnector({ version });
|
|
867
916
|
var index_default = gitlabConnector;
|
|
868
917
|
serveIfEntryPoint(gitlabConnector, import.meta.url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vornrun/connector-gitlab",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Trigger workflows from GitLab issues, merge requests and pipelines.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"test": "vitest run"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@vornrun/connector-sdk": "^0.7.
|
|
27
|
+
"@vornrun/connector-sdk": "^0.7.1-beta.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "^22.10.2",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"code review",
|
|
45
45
|
"repositories"
|
|
46
46
|
],
|
|
47
|
-
"auth": "Borrows the GitLab CLI's login — `glab auth login` is all it needs — or takes a personal access token if you would rather paste one."
|
|
47
|
+
"auth": "Borrows the GitLab CLI's login — `glab auth login` is all it needs — or takes a personal access token if you would rather paste one.",
|
|
48
|
+
"packs": true
|
|
48
49
|
}
|
|
49
50
|
}
|