@sprucelabs/jest-jira-reporter 1.0.6 → 1.0.8
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/build/.spruce/errors/errors.types.d.ts +9 -12
- package/build/.spruce/errors/jestJiraReporter/transitionNotFound.schema.js +3 -8
- package/build/.spruce/errors/options.types.d.ts +2 -2
- package/build/.spruce/schemas/fields/fields.types.d.ts +1 -1
- package/build/esm/.spruce/errors/errors.types.d.ts +9 -12
- package/build/esm/.spruce/errors/options.types.d.ts +2 -2
- package/package.json +8 -10
|
@@ -3,7 +3,7 @@ import * as SpruceSchema from '@sprucelabs/schema';
|
|
|
3
3
|
export declare namespace SpruceErrors.JestJiraReporter {
|
|
4
4
|
interface TransitionNotFound {
|
|
5
5
|
/** Transition. */
|
|
6
|
-
transition:
|
|
6
|
+
'transition': ("In Progress" | "Done");
|
|
7
7
|
}
|
|
8
8
|
interface TransitionNotFoundSchema extends SpruceSchema.Schema {
|
|
9
9
|
id: 'transitionNotFound';
|
|
@@ -11,21 +11,18 @@ export declare namespace SpruceErrors.JestJiraReporter {
|
|
|
11
11
|
name: 'Transition not found';
|
|
12
12
|
fields: {
|
|
13
13
|
/** Transition. */
|
|
14
|
-
transition: {
|
|
14
|
+
'transition': {
|
|
15
15
|
label: 'Transition';
|
|
16
16
|
type: 'select';
|
|
17
17
|
isRequired: true;
|
|
18
18
|
options: {
|
|
19
|
-
choices: [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
label: 'Done';
|
|
27
|
-
}
|
|
28
|
-
];
|
|
19
|
+
choices: [{
|
|
20
|
+
"value": "In Progress";
|
|
21
|
+
"label": "In Progress";
|
|
22
|
+
}, {
|
|
23
|
+
"value": "Done";
|
|
24
|
+
"label": "Done";
|
|
25
|
+
}];
|
|
29
26
|
};
|
|
30
27
|
};
|
|
31
28
|
};
|
|
@@ -7,18 +7,13 @@ const transitionNotFoundSchema = {
|
|
|
7
7
|
name: 'Transition not found',
|
|
8
8
|
fields: {
|
|
9
9
|
/** Transition. */
|
|
10
|
-
transition: {
|
|
10
|
+
'transition': {
|
|
11
11
|
label: 'Transition',
|
|
12
12
|
type: 'select',
|
|
13
13
|
isRequired: true,
|
|
14
|
-
options: {
|
|
15
|
-
choices: [
|
|
16
|
-
{ value: 'In Progress', label: 'In Progress' },
|
|
17
|
-
{ value: 'Done', label: 'Done' },
|
|
18
|
-
],
|
|
19
|
-
},
|
|
14
|
+
options: { choices: [{ "value": "In Progress", "label": "In Progress" }, { "value": "Done", "label": "Done" }], }
|
|
20
15
|
},
|
|
21
|
-
}
|
|
16
|
+
}
|
|
22
17
|
};
|
|
23
18
|
schema_1.SchemaRegistry.getInstance().trackSchema(transitionNotFoundSchema);
|
|
24
19
|
exports.default = transitionNotFoundSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SpruceErrors } from "./errors.types";
|
|
2
|
+
import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
|
|
3
3
|
export interface TransitionNotFoundErrorOptions extends SpruceErrors.JestJiraReporter.TransitionNotFound, ISpruceErrorOptions {
|
|
4
4
|
code: 'TRANSITION_NOT_FOUND';
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { FieldDefinitions, FieldDefinitionMap, FieldValueTypeGeneratorMap, FieldMap
|
|
1
|
+
export { FieldDefinitions, FieldDefinitionMap, FieldValueTypeGeneratorMap, FieldMap } from '@sprucelabs/schema';
|
|
@@ -3,7 +3,7 @@ import * as SpruceSchema from '@sprucelabs/schema';
|
|
|
3
3
|
export declare namespace SpruceErrors.JestJiraReporter {
|
|
4
4
|
interface TransitionNotFound {
|
|
5
5
|
/** Transition. */
|
|
6
|
-
transition:
|
|
6
|
+
'transition': ("In Progress" | "Done");
|
|
7
7
|
}
|
|
8
8
|
interface TransitionNotFoundSchema extends SpruceSchema.Schema {
|
|
9
9
|
id: 'transitionNotFound';
|
|
@@ -11,21 +11,18 @@ export declare namespace SpruceErrors.JestJiraReporter {
|
|
|
11
11
|
name: 'Transition not found';
|
|
12
12
|
fields: {
|
|
13
13
|
/** Transition. */
|
|
14
|
-
transition: {
|
|
14
|
+
'transition': {
|
|
15
15
|
label: 'Transition';
|
|
16
16
|
type: 'select';
|
|
17
17
|
isRequired: true;
|
|
18
18
|
options: {
|
|
19
|
-
choices: [
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
label: 'Done';
|
|
27
|
-
}
|
|
28
|
-
];
|
|
19
|
+
choices: [{
|
|
20
|
+
"value": "In Progress";
|
|
21
|
+
"label": "In Progress";
|
|
22
|
+
}, {
|
|
23
|
+
"value": "Done";
|
|
24
|
+
"label": "Done";
|
|
25
|
+
}];
|
|
29
26
|
};
|
|
30
27
|
};
|
|
31
28
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SpruceErrors } from "./errors.types";
|
|
2
|
+
import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
|
|
3
3
|
export interface TransitionNotFoundErrorOptions extends SpruceErrors.JestJiraReporter.TransitionNotFound, ISpruceErrorOptions {
|
|
4
4
|
code: 'TRANSITION_NOT_FOUND';
|
|
5
5
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sprucelabs/jest-jira-reporter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"files": [
|
|
5
5
|
"build"
|
|
6
6
|
],
|
|
@@ -46,25 +46,23 @@
|
|
|
46
46
|
"test": "jest",
|
|
47
47
|
"update.dependencies": "yarn run clean.dependencies && yarn",
|
|
48
48
|
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
|
|
49
|
-
"watch.lint": "concurrently 'yarn run lint' \"chokidar 'src/**/*' -c 'yarn run lint.tsc'\"",
|
|
50
49
|
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
|
|
51
50
|
"watch.tsc": "tsc -w"
|
|
52
51
|
},
|
|
53
52
|
"devDependencies": {
|
|
54
|
-
"@sprucelabs/esm-postbuild": "^6.0.
|
|
55
|
-
"@sprucelabs/jest-json-reporter": "^8.0.
|
|
56
|
-
"@sprucelabs/resolve-path-aliases": "^2.0.
|
|
53
|
+
"@sprucelabs/esm-postbuild": "^6.0.10",
|
|
54
|
+
"@sprucelabs/jest-json-reporter": "^8.0.10",
|
|
55
|
+
"@sprucelabs/resolve-path-aliases": "^2.0.12",
|
|
57
56
|
"@sprucelabs/semantic-release": "^5.0.1",
|
|
58
57
|
"@sprucelabs/spruce-test-fixtures": "^61.1.35",
|
|
59
|
-
"@sprucelabs/test": "^9.0.
|
|
58
|
+
"@sprucelabs/test": "^9.0.9",
|
|
60
59
|
"@sprucelabs/test-utils": "^5.0.10",
|
|
61
60
|
"@types/jira-client": "^7.1.9",
|
|
62
61
|
"@types/node": "^20.12.7",
|
|
63
62
|
"@types/photoshop": "^25.0.4",
|
|
64
63
|
"chokidar-cli": "^3.0.0",
|
|
65
|
-
"concurrently": "^8.2.2",
|
|
66
64
|
"eslint": "^9.1.1",
|
|
67
|
-
"eslint-config-spruce": "^11.2.
|
|
65
|
+
"eslint-config-spruce": "^11.2.13",
|
|
68
66
|
"jest": "^29.7.0",
|
|
69
67
|
"jest-circus": "^29.7.0",
|
|
70
68
|
"prettier": "^3.2.5",
|
|
@@ -92,8 +90,8 @@
|
|
|
92
90
|
}
|
|
93
91
|
},
|
|
94
92
|
"dependencies": {
|
|
95
|
-
"@sprucelabs/error": "^6.0.
|
|
96
|
-
"@sprucelabs/schema": "^30.0.
|
|
93
|
+
"@sprucelabs/error": "^6.0.11",
|
|
94
|
+
"@sprucelabs/schema": "^30.0.15",
|
|
97
95
|
"@sprucelabs/spruce-core-schemas": "^39.0.294",
|
|
98
96
|
"@sprucelabs/spruce-skill-utils": "^30.4.29",
|
|
99
97
|
"jira-client": "^8.2.2"
|