@cvr/linear 0.1.0 → 0.3.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/README.md +43 -13
- package/bin/linear +0 -0
- package/package.json +35 -26
- package/skills/linear/SKILL.md +141 -0
- package/src/commands/api.ts +67 -0
- package/src/commands/auth.ts +63 -42
- package/src/commands/issue.ts +434 -241
- package/src/commands/project.ts +45 -0
- package/src/commands/team.ts +38 -18
- package/src/lib/errors.ts +35 -29
- package/src/lib/json.ts +5 -0
- package/src/main.ts +30 -34
- package/src/services/Browser.ts +8 -8
- package/src/services/Config.ts +85 -87
- package/src/services/Linear.ts +435 -134
- package/src/services/Stdin.ts +15 -22
- package/tsconfig.json +67 -8
package/tsconfig.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"target": "
|
|
4
|
-
"module": "
|
|
5
|
-
"moduleResolution": "
|
|
3
|
+
"target": "ESNext",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "bundler",
|
|
6
6
|
"moduleDetection": "force",
|
|
7
7
|
"verbatimModuleSyntax": true,
|
|
8
8
|
"esModuleInterop": true,
|
|
9
|
+
"resolveJsonModule": true,
|
|
9
10
|
"strict": true,
|
|
10
|
-
"
|
|
11
|
+
"noUncheckedIndexedAccess": true,
|
|
12
|
+
"noFallthroughCasesInSwitch": true,
|
|
13
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
11
14
|
"noUnusedLocals": true,
|
|
12
15
|
"noImplicitOverride": true,
|
|
13
16
|
"skipLibCheck": true,
|
|
@@ -15,14 +18,70 @@
|
|
|
15
18
|
"declarationMap": true,
|
|
16
19
|
"sourceMap": true,
|
|
17
20
|
"outDir": "dist",
|
|
18
|
-
"rootDir": "
|
|
19
|
-
"types": ["bun
|
|
21
|
+
"rootDir": ".",
|
|
22
|
+
"types": ["bun"],
|
|
20
23
|
"plugins": [
|
|
21
24
|
{
|
|
22
|
-
"name": "@effect/language-service"
|
|
25
|
+
"name": "@effect/language-service",
|
|
26
|
+
"diagnostics": true,
|
|
27
|
+
"diagnosticsName": true,
|
|
28
|
+
"includeSuggestionsInTsc": true,
|
|
29
|
+
"ignoreEffectSuggestionsInTscExitCode": false,
|
|
30
|
+
"ignoreEffectWarningsInTscExitCode": false,
|
|
31
|
+
"ignoreEffectErrorsInTscExitCode": false,
|
|
32
|
+
"diagnosticSeverity": {
|
|
33
|
+
"anyUnknownInErrorContext": "error",
|
|
34
|
+
"deterministicKeys": "error",
|
|
35
|
+
"importFromBarrel": "warning",
|
|
36
|
+
"instanceOfSchema": "warning",
|
|
37
|
+
"missedPipeableOpportunity": "suggestion",
|
|
38
|
+
"missingEffectServiceDependency": "warning",
|
|
39
|
+
"schemaUnionOfLiterals": "warning",
|
|
40
|
+
"strictBooleanExpressions": "warning",
|
|
41
|
+
"strictEffectProvide": "warning",
|
|
42
|
+
"catchAllToMapError": "warning",
|
|
43
|
+
"catchUnfailableEffect": "warning",
|
|
44
|
+
"effectFnOpportunity": "warning",
|
|
45
|
+
"effectMapVoid": "warning",
|
|
46
|
+
"effectSucceedWithVoid": "warning",
|
|
47
|
+
"leakingRequirements": "warning",
|
|
48
|
+
"preferSchemaOverJson": "warning",
|
|
49
|
+
"redundantSchemaTagIdentifier": "warning",
|
|
50
|
+
"returnEffectInGen": "warning",
|
|
51
|
+
"runEffectInsideEffect": "error",
|
|
52
|
+
"schemaStructWithTag": "warning",
|
|
53
|
+
"schemaSyncInEffect": "warning",
|
|
54
|
+
"tryCatchInEffectGen": "warning",
|
|
55
|
+
"unnecessaryEffectGen": "warning",
|
|
56
|
+
"unnecessaryFailYieldableError": "warning",
|
|
57
|
+
"unnecessaryPipe": "warning",
|
|
58
|
+
"unnecessaryPipeChain": "warning"
|
|
59
|
+
},
|
|
60
|
+
"keyPatterns": [
|
|
61
|
+
{
|
|
62
|
+
"target": "service",
|
|
63
|
+
"pattern": "default",
|
|
64
|
+
"skipLeadingPath": ["src/"]
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"target": "error",
|
|
68
|
+
"pattern": "default",
|
|
69
|
+
"skipLeadingPath": ["src/"]
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"overrides": [
|
|
73
|
+
{
|
|
74
|
+
"include": ["**/tests/**/*.ts", "**/*.test.ts"],
|
|
75
|
+
"options": {
|
|
76
|
+
"diagnosticSeverity": {
|
|
77
|
+
"strictEffectProvide": "off"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
]
|
|
23
82
|
}
|
|
24
83
|
]
|
|
25
84
|
},
|
|
26
|
-
"include": ["src/**/*"],
|
|
85
|
+
"include": ["src/**/*", "tests/**/*", "vitest.config.ts"],
|
|
27
86
|
"exclude": ["node_modules", "dist", "bin"]
|
|
28
87
|
}
|