@vornrun/connector-linear 0.1.1 → 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 +5 -1
- package/dist/index.js +51 -4
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@vornrun/connector-linear`.
|
|
4
4
|
|
|
5
|
+
## 0.1.2
|
|
6
|
+
|
|
7
|
+
Read the version from the bundle instead of a package.json the packed connector does not carry.
|
|
8
|
+
|
|
5
9
|
## 0.1.1
|
|
6
10
|
|
|
7
11
|
Declares how it signs in: it asks for an API key, so the app can say so before
|
|
@@ -18,7 +22,7 @@ Trigger a workflow from Linear issues, and let a workflow step write back.
|
|
|
18
22
|
- **Signing in:** a Linear personal API key, created at
|
|
19
23
|
linear.app/settings/api.
|
|
20
24
|
|
|
21
|
-
Status is mapped from Linear's state
|
|
25
|
+
Status is mapped from Linear's state _type_ rather than its name, so a team can
|
|
22
26
|
rename "In Progress" to whatever it likes without breaking the mapping.
|
|
23
27
|
|
|
24
28
|
Built against Linear's GraphQL API directly rather than on their SDK. The SDK is
|
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 { defineConnector } from "@vornrun/connector-sdk";
|
|
8
5
|
|
|
@@ -353,8 +350,58 @@ function serveIfEntryPoint(connector, moduleUrl, serve = serveConnector) {
|
|
|
353
350
|
return true;
|
|
354
351
|
}
|
|
355
352
|
|
|
353
|
+
// package.json
|
|
354
|
+
var package_default = {
|
|
355
|
+
name: "@vornrun/connector-linear",
|
|
356
|
+
version: "0.1.2",
|
|
357
|
+
description: "Trigger workflows from Linear issues.",
|
|
358
|
+
type: "module",
|
|
359
|
+
license: "MIT",
|
|
360
|
+
repository: {
|
|
361
|
+
type: "git",
|
|
362
|
+
url: "git+https://github.com/vorn-run/connectors.git",
|
|
363
|
+
directory: "packages/linear"
|
|
364
|
+
},
|
|
365
|
+
bin: {
|
|
366
|
+
"vorn-connector-linear": "dist/index.js"
|
|
367
|
+
},
|
|
368
|
+
main: "./dist/index.js",
|
|
369
|
+
files: [
|
|
370
|
+
"dist",
|
|
371
|
+
"README.md",
|
|
372
|
+
"CHANGELOG.md"
|
|
373
|
+
],
|
|
374
|
+
scripts: {
|
|
375
|
+
build: "tsup src/index.ts --format esm --target node22 --clean",
|
|
376
|
+
typecheck: "tsc --noEmit",
|
|
377
|
+
test: "vitest run"
|
|
378
|
+
},
|
|
379
|
+
dependencies: {
|
|
380
|
+
"@vornrun/connector-sdk": "^0.7.0-beta.10"
|
|
381
|
+
},
|
|
382
|
+
devDependencies: {
|
|
383
|
+
"@types/node": "^22.10.2",
|
|
384
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
385
|
+
tsup: "^8.5.1",
|
|
386
|
+
typescript: "^6.0.3",
|
|
387
|
+
vitest: "^4.1.10"
|
|
388
|
+
},
|
|
389
|
+
vorn: {
|
|
390
|
+
category: "Development",
|
|
391
|
+
keywords: [
|
|
392
|
+
"linear",
|
|
393
|
+
"issues",
|
|
394
|
+
"tickets",
|
|
395
|
+
"engineering",
|
|
396
|
+
"backlog"
|
|
397
|
+
],
|
|
398
|
+
auth: "Uses a Linear personal API key, created at linear.app/settings/api.",
|
|
399
|
+
packs: true
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
|
|
356
403
|
// src/index.ts
|
|
357
|
-
var { version } =
|
|
404
|
+
var { version } = package_default;
|
|
358
405
|
var linearConnector = createLinearConnector({ version });
|
|
359
406
|
var index_default = linearConnector;
|
|
360
407
|
serveIfEntryPoint(linearConnector, import.meta.url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vornrun/connector-linear",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Trigger workflows from Linear issues.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"engineering",
|
|
43
43
|
"backlog"
|
|
44
44
|
],
|
|
45
|
-
"auth": "Uses a Linear personal API key, created at linear.app/settings/api."
|
|
45
|
+
"auth": "Uses a Linear personal API key, created at linear.app/settings/api.",
|
|
46
|
+
"packs": true
|
|
46
47
|
}
|
|
47
48
|
}
|