@theholocron/jira-client 1.31.0 → 1.32.1

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/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { RestClient } from "@theholocron/http-client";
2
2
  import { ErrorSink, Logger } from "@theholocron/observability/core";
3
- //#region src/types.d.ts
3
+ //#region ../../../../../src/types.d.ts
4
4
  interface JiraClientOptions {
5
5
  host: string;
6
6
  token: string;
@@ -66,7 +66,7 @@ interface JiraSearchQuery {
66
66
  fields?: string[];
67
67
  }
68
68
  //#endregion
69
- //#region src/links.d.ts
69
+ //#region ../../../../../src/links.d.ts
70
70
  interface IssueLinkResult {
71
71
  ticket: string;
72
72
  status: number;
@@ -79,7 +79,7 @@ declare function links(client: RestClient): {
79
79
  }>;
80
80
  };
81
81
  //#endregion
82
- //#region src/issues.d.ts
82
+ //#region ../../../../../src/issues.d.ts
83
83
  declare function issues(client: RestClient): {
84
84
  create(title: string, type: string, project: string, fields?: JiraIssueFields): Promise<JiraIssue>;
85
85
  get(ticket: string, params?: Record<string, string>): Promise<JiraIssue>;
@@ -89,12 +89,12 @@ declare function issues(client: RestClient): {
89
89
  search(query?: JiraSearchQuery): Promise<JiraSearchResponse>;
90
90
  };
91
91
  //#endregion
92
- //#region src/projects.d.ts
92
+ //#region ../../../../../src/projects.d.ts
93
93
  declare function projects(client: RestClient): {
94
94
  get(id: string): Promise<JiraProject>;
95
95
  };
96
96
  //#endregion
97
- //#region src/transitions.d.ts
97
+ //#region ../../../../../src/transitions.d.ts
98
98
  declare function transitions(client: RestClient): {
99
99
  create(ticket: string, statusId: string, fields?: JiraIssueFields): Promise<void>;
100
100
  get(ticket: string): Promise<{
@@ -103,7 +103,7 @@ declare function transitions(client: RestClient): {
103
103
  getResolutions(): Promise<JiraResolution[]>;
104
104
  };
105
105
  //#endregion
106
- //#region src/versions.d.ts
106
+ //#region ../../../../../src/versions.d.ts
107
107
  declare function versions(client: RestClient): {
108
108
  create(name: string, project: string, fields?: Partial<JiraVersion>): Promise<JiraVersion>;
109
109
  get(version: string, params?: Record<string, string>): Promise<JiraVersion>;
@@ -112,7 +112,7 @@ declare function versions(client: RestClient): {
112
112
  delete(version: string): Promise<void>;
113
113
  };
114
114
  //#endregion
115
- //#region src/index.d.ts
115
+ //#region ../../../../../src/index.d.ts
116
116
  declare function createJiraClient(options: {
117
117
  host: string;
118
118
  token: string;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ProviderApiError, createRestClient } from "@theholocron/http-client";
2
- //#region src/issues.ts
2
+ //#region ../../../../../src/issues.ts
3
3
  function issues(client) {
4
4
  return {
5
5
  create(title, type, project, fields = {}) {
@@ -39,7 +39,7 @@ function issues(client) {
39
39
  };
40
40
  }
41
41
  //#endregion
42
- //#region src/links.ts
42
+ //#region ../../../../../src/links.ts
43
43
  function links(client) {
44
44
  return {
45
45
  async create(ticket, link, type) {
@@ -70,14 +70,14 @@ function links(client) {
70
70
  };
71
71
  }
72
72
  //#endregion
73
- //#region src/projects.ts
73
+ //#region ../../../../../src/projects.ts
74
74
  function projects(client) {
75
75
  return { get(id) {
76
76
  return client.request(`/project/${id}`, { query: { expand: "issueTypes" } });
77
77
  } };
78
78
  }
79
79
  //#endregion
80
- //#region src/transitions.ts
80
+ //#region ../../../../../src/transitions.ts
81
81
  function transitions(client) {
82
82
  return {
83
83
  create(ticket, statusId, fields = {}) {
@@ -98,7 +98,7 @@ function transitions(client) {
98
98
  };
99
99
  }
100
100
  //#endregion
101
- //#region src/versions.ts
101
+ //#region ../../../../../src/versions.ts
102
102
  function versions(client) {
103
103
  return {
104
104
  create(name, project, fields = {}) {
@@ -130,7 +130,7 @@ function versions(client) {
130
130
  };
131
131
  }
132
132
  //#endregion
133
- //#region src/index.ts
133
+ //#region ../../../../../src/index.ts
134
134
  function createJiraClient(options) {
135
135
  const client = createRestClient({
136
136
  baseUrl: options.host,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/jira-client",
3
- "version": "1.31.0",
3
+ "version": "1.32.1",
4
4
  "description": "A TypeScript client for the Jira REST API",
5
5
  "keywords": [
6
6
  "jira",
@@ -33,13 +33,13 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@theholocron/observability": "^0.3.0",
36
- "@theholocron/http-client": "^1.31.0"
36
+ "@theholocron/http-client": "^1.32.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@theholocron/cli": "5.0.0-alpha.33",
39
+ "@theholocron/cli": "5.0.0-alpha.79",
40
40
  "@theholocron/eslint-config": "^8.4.3",
41
41
  "@theholocron/tsconfig": "^8.2.0",
42
- "@theholocron/tsdown-config": "^8.2.0",
42
+ "@theholocron/tsdown-config": "^8.6.1",
43
43
  "@theholocron/vitest-config": "^8.2.0",
44
44
  "@types/node": "^26.4.1",
45
45
  "@vitest/coverage-v8": "^5.0.0",
@@ -61,7 +61,7 @@
61
61
  "releases": "https://github.com/theholocron/clients/releases",
62
62
  "wiki": "https://github.com/theholocron/clients/wiki",
63
63
  "scripts": {
64
- "delivery.build": "tsdown",
64
+ "delivery.build": "holocron run delivery.build -- && node ../../scripts/check-bundle-size.mjs",
65
65
  "sourceQuality.staticAnalysis": "holocron run sourceQuality.staticAnalysis --",
66
66
  "test:watch": "vitest",
67
67
  "verification.typeSafety": "holocron run verification.typeSafety --",