jira-sprinter 2.4.0 → 2.4.2
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/main.js +22650 -4309
- package/package.json +5 -5
- package/src/auto.ts +2 -2
- package/src/cli.ts +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jira-sprinter",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Small CLI tool to manage sprints in JIRA Board",
|
|
5
5
|
"main": "src/main.ts",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"update-snapshots": "vitest run --update",
|
|
17
17
|
"all": "yarn && yarn run build && yarn run format && yarn test"
|
|
18
18
|
},
|
|
19
|
-
"packageManager": "yarn@4.
|
|
19
|
+
"packageManager": "yarn@4.18.0",
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
22
|
"url": "git+https://github.com/redhat-plumbers-in-action/sprinter.git"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@inquirer/checkbox": "^5.2.1",
|
|
38
38
|
"@inquirer/select": "5.2.1",
|
|
39
39
|
"@total-typescript/ts-reset": "0.6.1",
|
|
40
|
-
"chalk": "
|
|
40
|
+
"chalk": "6.0.0",
|
|
41
41
|
"commander": "15.0.0",
|
|
42
42
|
"dotenv": "17.4.2",
|
|
43
43
|
"jira.js": "5.4.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"zod": "4.4.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@types/node": "26.1.
|
|
49
|
+
"@types/node": "26.1.2",
|
|
50
50
|
"@vitest/coverage-v8": "4.1.10",
|
|
51
51
|
"esbuild": "0.28.1",
|
|
52
|
-
"prettier": "3.9.
|
|
52
|
+
"prettier": "3.9.6",
|
|
53
53
|
"ts-node": "10.9.2",
|
|
54
54
|
"typescript": "7.0.2",
|
|
55
55
|
"vitest": "4.1.10"
|
package/src/auto.ts
CHANGED
|
@@ -295,9 +295,9 @@ async function setDueDateOnSplitTask(
|
|
|
295
295
|
return;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
if (attempt <
|
|
298
|
+
if (attempt < 15) {
|
|
299
299
|
logger.log(chalk.dim(` Waiting for ${taskName} on ${parentKey}...`));
|
|
300
|
-
await new Promise(resolve => setTimeout(resolve,
|
|
300
|
+
await new Promise(resolve => setTimeout(resolve, 10000));
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
|
package/src/cli.ts
CHANGED
|
@@ -19,13 +19,15 @@ import {
|
|
|
19
19
|
} from './schema/jira';
|
|
20
20
|
import { Issue } from 'jira.js/dist/esm/types/version3/models/issue';
|
|
21
21
|
|
|
22
|
+
import { version } from '../package.json';
|
|
23
|
+
|
|
22
24
|
export function cli(): Command {
|
|
23
25
|
const program = new Command();
|
|
24
26
|
|
|
25
27
|
program
|
|
26
28
|
.name('jira-sprinter')
|
|
27
29
|
.description('🏃 Small CLI tool to manage sprints in JIRA Board')
|
|
28
|
-
.version(
|
|
30
|
+
.version(version);
|
|
29
31
|
|
|
30
32
|
program.addCommand(
|
|
31
33
|
new Command('auto')
|