jiradc-cli 1.0.27 → 1.0.28

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -132,8 +132,9 @@ function textOrFileOption(cmd, name, opts = {}) {
132
132
  return cmd;
133
133
  }
134
134
  function resolveTextOrFile(opts, name, { required = true } = {}) {
135
- const literal = opts[name];
136
- const ref = opts[`${name}File`];
135
+ const record = opts;
136
+ const literal = record[name];
137
+ const ref = record[`${name}File`];
137
138
  if (literal !== void 0 && ref !== void 0) {
138
139
  throw new InvalidArgumentError3(`--${name} and --${name}-file are mutually exclusive; provide only one.`);
139
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jiradc-cli",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "publish": true,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,7 @@
13
13
  "dependencies": {
14
14
  "commander": "^13.1.0",
15
15
  "zod": "^3.25.67",
16
- "jira-data-center-client": "1.0.39"
16
+ "jira-data-center-client": "1.0.40"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@types/node": "24.10.4",
@@ -23,9 +23,9 @@
23
23
  "tsx": "^4.19.2",
24
24
  "typescript": "^5.7.2",
25
25
  "vitest": "^4.0.16",
26
+ "config-eslint": "0.0.0",
26
27
  "cli-utils": "1.0.0",
27
- "config-typescript": "0.0.0",
28
- "config-eslint": "0.0.0"
28
+ "config-typescript": "0.0.0"
29
29
  },
30
30
  "engines": {
31
31
  "node": ">=22.0.0"
@@ -33,8 +33,8 @@
33
33
  "scripts": {
34
34
  "build": "tsup",
35
35
  "dev": "tsx src/index.ts",
36
- "lint": "eslint src",
37
- "lint:fix": "eslint src --fix",
36
+ "lint": "eslint src tests",
37
+ "lint:fix": "eslint src tests --fix",
38
38
  "test": "vitest run",
39
39
  "test:integration": "vitest run --config vitest.integration.config.ts"
40
40
  }