Skip to content

Commit 322107b

Browse files
chore(issues): drop unused exports and register new packages in CI lists
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 624e4bc commit 322107b

5 files changed

Lines changed: 9 additions & 8 deletions

File tree

‎apps/server/src/issue/IssueTrackerConnections.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class IssueTrackerConnections extends Context.Service<
5050
}
5151
>()("t3/issue/IssueTrackerConnections") {}
5252

53-
export const make = Effect.gen(function* () {
53+
const make = Effect.gen(function* () {
5454
const registry = yield* IssueTrackerRegistry.IssueTrackerRegistry;
5555
const secrets = yield* ServerSecretStore.ServerSecretStore;
5656
const bindings = yield* IssueTrackerBindings.IssueTrackerBindingsRepository;

‎apps/server/src/issue/IssueTrackerHostLive.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function issueTrackerSecretName(tracker: IssueTrackerKind): string {
1919

2020
const decoder = new TextDecoder();
2121

22-
export const make = Effect.gen(function* () {
22+
const make = Effect.gen(function* () {
2323
const secrets = yield* ServerSecretStore.ServerSecretStore;
2424
return IssueTrackerHost.IssueTrackerHost.of({
2525
credentials: {

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"tc": "vp run -r --concurrency-limit 2 typecheck",
2929
"lint": "vp lint --report-unused-disable-directives",
3030
"knip": "knip --preprocessor ./scripts/knip-schemas.ts",
31-
"knip:check": "knip --include files,dependencies --no-config-hints && knip --workspace apps/server --workspace apps/desktop --workspace apps/web --workspace packages/client-runtime --workspace packages/contracts --workspace packages/effect-acp --workspace packages/effect-codex-app-server --workspace packages/shared --workspace packages/ssh --workspace packages/tailscale --workspace packages/provider-core --workspace packages/provider-acp --workspace packages/provider-acp-registry --workspace packages/provider-testing --workspace packages/provider-pi --workspace packages/provider-muse --workspace packages/provider-opencode --workspace packages/provider-cursor --workspace packages/provider-grok --workspace packages/issue-tracker-core --workspace packages/source-control-core --workspace packages/source-control-azure-devops --workspace packages/source-control-bitbucket --workspace packages/source-control-forgejo --workspace packages/source-control-gitcafe --workspace packages/source-control-github --workspace packages/source-control-gitlab --workspace packages/source-control-testing --exports --preprocessor ./scripts/knip-schemas.ts --no-config-hints",
31+
"knip:check": "knip --include files,dependencies --no-config-hints && knip --workspace apps/server --workspace apps/desktop --workspace apps/web --workspace packages/client-runtime --workspace packages/contracts --workspace packages/effect-acp --workspace packages/effect-codex-app-server --workspace packages/shared --workspace packages/ssh --workspace packages/tailscale --workspace packages/provider-core --workspace packages/provider-acp --workspace packages/provider-acp-registry --workspace packages/provider-testing --workspace packages/provider-pi --workspace packages/provider-muse --workspace packages/provider-opencode --workspace packages/provider-cursor --workspace packages/provider-grok --workspace packages/issue-tracker-core --workspace packages/issue-tracker-linear --workspace packages/source-control-core --workspace packages/source-control-azure-devops --workspace packages/source-control-bitbucket --workspace packages/source-control-forgejo --workspace packages/source-control-gitcafe --workspace packages/source-control-github --workspace packages/source-control-gitlab --workspace packages/source-control-testing --exports --preprocessor ./scripts/knip-schemas.ts --no-config-hints",
3232
"knip:production": "knip --production --preprocessor ./scripts/knip-schemas.ts",
3333
"lint:mobile": "node scripts/mobile-native-static-check.ts",
3434
"test": "vp run -r test",

‎packages/issue-tracker-linear/src/server/LinearIssueTracker.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434

3535
import * as LinearApi from "./LinearApi.ts";
3636

37-
export const DESCRIPTOR: StandaloneIssueTrackerDescriptor = {
37+
const DESCRIPTOR: StandaloneIssueTrackerDescriptor = {
3838
tracker: LinearApi.KIND,
3939
displayName: "Linear",
4040
host: "linear.app",
@@ -51,7 +51,7 @@ export const DESCRIPTOR: StandaloneIssueTrackerDescriptor = {
5151
* The driver maps `open` to the team's default state and `closed` to its first completed state,
5252
* with `canceled` as the close reason for its first canceled state.
5353
*/
54-
export const CAPABILITIES: IssueCapabilities = {
54+
const CAPABILITIES: IssueCapabilities = {
5555
create: true,
5656
edit: true,
5757
comment: true,
@@ -104,14 +104,14 @@ function parseIdentifier(key: string): string | null {
104104
return /^[A-Za-z][A-Za-z0-9]*-[1-9]\d*$/.test(key.trim()) ? key.trim().toUpperCase() : null;
105105
}
106106

107-
export function toState(state: LinearApi.LinearWorkflowState): IssueState {
107+
function toState(state: LinearApi.LinearWorkflowState): IssueState {
108108
return CLOSED_STATE_TYPES.includes(state.type)
109109
? { category: "closed", name: state.name, closeReason: state.type }
110110
: { category: "open", name: state.name };
111111
}
112112

113113
/** Linear identifies people by id, so that is the login; the display name is what people see. */
114-
export function toActor(user: LinearApi.LinearUser): IssueActor {
114+
function toActor(user: LinearApi.LinearUser): IssueActor {
115115
return {
116116
login: user.id,
117117
name: user.displayName ?? user.name,
@@ -125,7 +125,7 @@ function userName(user: LinearApi.LinearUser): string {
125125
}
126126

127127
/** Linear's connections report no totals, so a listing shows no comment count. */
128-
export function toSummary(issue: LinearApi.LinearIssue, commentCount = 0): TrackerIssueSummary {
128+
function toSummary(issue: LinearApi.LinearIssue, commentCount = 0): TrackerIssueSummary {
129129
return {
130130
key: issue.identifier,
131131
displayKey: issue.identifier,

‎scripts/release-smoke.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const workspaceFiles = [
3838
"packages/provider-muse/package.json",
3939
"packages/provider-opencode/package.json",
4040
"packages/issue-tracker-core/package.json",
41+
"packages/issue-tracker-linear/package.json",
4142
"packages/source-control-azure-devops/package.json",
4243
"packages/source-control-bitbucket/package.json",
4344
"packages/source-control-core/package.json",

0 commit comments

Comments
 (0)