@ondrejbelza/semantic-release-jira 1.2.0 → 1.3.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/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export interface PluginConfig {
2
2
  jiraHost: string;
3
3
  project: string;
4
+ releaseNameTemplate: string;
4
5
  }
@@ -13,6 +13,7 @@ const jira_client_1 = require("./jira-client");
13
13
  async function verifyConditions(pluginConfig, context) {
14
14
  const { logger, env } = context;
15
15
  logger.log("Checking conditions for my custom plugin...");
16
+ logger.log("jira host configure to:" + pluginConfig.jiraHost);
16
17
  if ((pluginConfig.jiraHost = "")) {
17
18
  throw new error_1.default("jira host configuration variable is missing.");
18
19
  }
@@ -26,5 +27,5 @@ async function verifyConditions(pluginConfig, context) {
26
27
  const p = await c.projects.getProject({
27
28
  projectIdOrKey: pluginConfig.project,
28
29
  });
29
- console.log(p.id);
30
+ logger.log("project was found and will be used:" + p.id);
30
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ondrejbelza/semantic-release-jira",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "semantic release jira releases plugin",
5
5
  "homepage": "https://github.com/mailstepcz/semantic-release-jira#readme",
6
6
  "bugs": {
@@ -23,7 +23,8 @@
23
23
  "provenance": true
24
24
  },
25
25
  "scripts": {
26
- "build": "tsc"
26
+ "build": "tsc",
27
+ "test": "playwright test --debug"
27
28
  },
28
29
  "dependencies": {
29
30
  "@semantic-release/error": "^4.0.0",
@@ -31,6 +32,7 @@
31
32
  "semantic-release": "^25.0.2"
32
33
  },
33
34
  "devDependencies": {
35
+ "@playwright/test": "^1.57.0",
34
36
  "@semantic-release/changelog": "^6.0.3",
35
37
  "@semantic-release/git": "^10.0.1",
36
38
  "@semantic-release/github": "^12.0.2",
@@ -38,6 +40,8 @@
38
40
  "@types/node": "^25.0.3",
39
41
  "@types/semantic-release__error": "^3.0.3",
40
42
  "@types/signale": "^1.4.7",
43
+ "dotenv": "^17.2.3",
44
+ "dotenv-safe": "^9.1.0",
41
45
  "typescript": "^5.9.3"
42
46
  }
43
47
  }