@regressionproof/jest-reporter 0.3.9 → 0.4.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/build/.spruce/errors/errors.types.d.ts +21 -0
- package/build/.spruce/errors/errors.types.js +2 -0
- package/build/.spruce/errors/options.types.d.ts +7 -0
- package/build/.spruce/errors/options.types.js +2 -0
- package/build/.spruce/errors/regressionproofJestReporter/projectNotInitialized.schema.d.ts +3 -0
- package/build/.spruce/errors/regressionproofJestReporter/projectNotInitialized.schema.js +18 -0
- package/build/.spruce/schemas/fields/fieldClassMap.d.ts +2 -0
- package/build/.spruce/schemas/fields/fieldClassMap.js +4 -0
- package/build/.spruce/schemas/fields/fields.types.d.ts +1 -0
- package/build/.spruce/schemas/fields/fields.types.js +2 -0
- package/build/.spruce/settings.json +3 -1
- package/build/RegressionProofReporter.js +10 -2
- package/build/config/loadConfig.d.ts +1 -0
- package/build/config/loadConfig.js +49 -7
- package/build/errors/SpruceError.d.ts +6 -0
- package/build/errors/SpruceError.js +25 -0
- package/build/errors/projectNotInitialized.builder.d.ts +11 -0
- package/build/errors/projectNotInitialized.builder.js +13 -0
- package/build/esm/.spruce/errors/errors.types.d.ts +21 -0
- package/build/esm/.spruce/errors/errors.types.js +1 -0
- package/build/esm/.spruce/errors/options.types.d.ts +7 -0
- package/build/esm/.spruce/errors/options.types.js +1 -0
- package/build/esm/RegressionProofReporter.js +9 -3
- package/build/esm/config/loadConfig.d.ts +1 -0
- package/build/esm/config/loadConfig.js +51 -8
- package/build/esm/errors/SpruceError.d.ts +6 -0
- package/build/esm/errors/SpruceError.js +19 -0
- package/build/esm/errors/projectNotInitialized.builder.d.ts +11 -0
- package/build/esm/errors/projectNotInitialized.builder.js +11 -0
- package/package.json +7 -3
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as SchemaEntity } from '@sprucelabs/schema';
|
|
2
|
+
import * as SpruceSchema from '@sprucelabs/schema';
|
|
3
|
+
export declare namespace SpruceErrors.RegressionproofJestReporter {
|
|
4
|
+
interface ProjectNotInitialized {
|
|
5
|
+
'projectName': string;
|
|
6
|
+
}
|
|
7
|
+
interface ProjectNotInitializedSchema extends SpruceSchema.Schema {
|
|
8
|
+
id: 'projectNotInitialized';
|
|
9
|
+
namespace: 'RegressionproofJestReporter';
|
|
10
|
+
name: 'Project not initialized';
|
|
11
|
+
fields: {
|
|
12
|
+
/** . */
|
|
13
|
+
'projectName': {
|
|
14
|
+
type: 'text';
|
|
15
|
+
isRequired: true;
|
|
16
|
+
options: undefined;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
type ProjectNotInitializedEntity = SchemaEntity<SpruceErrors.RegressionproofJestReporter.ProjectNotInitializedSchema>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SpruceErrors } from "./errors.types";
|
|
2
|
+
import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
|
|
3
|
+
export interface ProjectNotInitializedErrorOptions extends SpruceErrors.RegressionproofJestReporter.ProjectNotInitialized, ISpruceErrorOptions {
|
|
4
|
+
code: 'PROJECT_NOT_INITIALIZED';
|
|
5
|
+
}
|
|
6
|
+
type ErrorOptions = ProjectNotInitializedErrorOptions;
|
|
7
|
+
export default ErrorOptions;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schema_1 = require("@sprucelabs/schema");
|
|
4
|
+
const projectNotInitializedSchema = {
|
|
5
|
+
id: 'projectNotInitialized',
|
|
6
|
+
namespace: 'RegressionproofJestReporter',
|
|
7
|
+
name: 'Project not initialized',
|
|
8
|
+
fields: {
|
|
9
|
+
/** . */
|
|
10
|
+
'projectName': {
|
|
11
|
+
type: 'text',
|
|
12
|
+
isRequired: true,
|
|
13
|
+
options: undefined
|
|
14
|
+
},
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
schema_1.SchemaRegistry.getInstance().trackSchema(projectNotInitializedSchema);
|
|
18
|
+
exports.default = projectNotInitializedSchema;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FieldDefinitions, FieldDefinitionMap, FieldValueTypeGeneratorMap, FieldMap } from '@sprucelabs/schema';
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const snapshotter_1 = require("@regressionproof/snapshotter");
|
|
4
7
|
const loadConfig_js_1 = require("./config/loadConfig.js");
|
|
8
|
+
const SpruceError_js_1 = __importDefault(require("./errors/SpruceError.js"));
|
|
5
9
|
const transformResults_js_1 = require("./transformers/transformResults.js");
|
|
6
10
|
class RegressionProofReporter {
|
|
7
11
|
constructor(_globalConfig, _reporterConfig) {
|
|
@@ -18,8 +22,12 @@ class RegressionProofReporter {
|
|
|
18
22
|
return;
|
|
19
23
|
}
|
|
20
24
|
if (!config) {
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
const projectName = (0, loadConfig_js_1.detectProjectName)(this.cwd) ?? 'unknown';
|
|
26
|
+
throw new SpruceError_js_1.default({
|
|
27
|
+
code: 'PROJECT_NOT_INITIALIZED',
|
|
28
|
+
projectName,
|
|
29
|
+
friendlyMessage: 'RegressionProof.ai not initialized. Ask the project owner for an invite token, then run `npx regressionproof invite accept <token>`.',
|
|
30
|
+
});
|
|
23
31
|
}
|
|
24
32
|
const testResults = (0, transformResults_js_1.transformResults)(results, this.cwd);
|
|
25
33
|
console.log(`[RegressionProof] ${testResults.summary.passedTests}/${testResults.summary.totalTests} tests passed`);
|
|
@@ -4,12 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.loadConfig = loadConfig;
|
|
7
|
+
exports.detectProjectName = detectProjectName;
|
|
7
8
|
const child_process_1 = require("child_process");
|
|
8
9
|
const fs_1 = __importDefault(require("fs"));
|
|
9
10
|
const os_1 = __importDefault(require("os"));
|
|
10
11
|
const path_1 = __importDefault(require("path"));
|
|
11
12
|
function loadConfig(cwd) {
|
|
12
|
-
const
|
|
13
|
+
const localConfig = readLocalConfig(cwd);
|
|
14
|
+
const projectName = localConfig?.projectName ?? getProjectNameFromGit(cwd);
|
|
13
15
|
if (!projectName) {
|
|
14
16
|
return null;
|
|
15
17
|
}
|
|
@@ -19,6 +21,17 @@ function loadConfig(cwd) {
|
|
|
19
21
|
return null;
|
|
20
22
|
}
|
|
21
23
|
const config = JSON.parse(fs_1.default.readFileSync(configPath, 'utf-8'));
|
|
24
|
+
const reporterVersion = getReporterVersion();
|
|
25
|
+
const expectedLocalConfig = {
|
|
26
|
+
version: reporterVersion,
|
|
27
|
+
projectName,
|
|
28
|
+
remote: {
|
|
29
|
+
url: config.remote.url,
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
if (shouldWriteLocalConfig(localConfig, expectedLocalConfig)) {
|
|
33
|
+
writeLocalConfig(cwd, expectedLocalConfig);
|
|
34
|
+
}
|
|
22
35
|
return {
|
|
23
36
|
projectName,
|
|
24
37
|
mirrorPath: path_1.default.join(baseDir, projectName, 'mirror'),
|
|
@@ -29,12 +42,9 @@ function loadConfig(cwd) {
|
|
|
29
42
|
};
|
|
30
43
|
}
|
|
31
44
|
function detectProjectName(cwd) {
|
|
32
|
-
const
|
|
33
|
-
if (
|
|
34
|
-
|
|
35
|
-
if (localConfig.projectName) {
|
|
36
|
-
return localConfig.projectName;
|
|
37
|
-
}
|
|
45
|
+
const localConfig = readLocalConfig(cwd);
|
|
46
|
+
if (localConfig?.projectName) {
|
|
47
|
+
return localConfig.projectName;
|
|
38
48
|
}
|
|
39
49
|
return getProjectNameFromGit(cwd);
|
|
40
50
|
}
|
|
@@ -60,3 +70,35 @@ function toSlug(input) {
|
|
|
60
70
|
.replace(/-+/g, '-')
|
|
61
71
|
.replace(/^-|-$/g, '');
|
|
62
72
|
}
|
|
73
|
+
function readLocalConfig(cwd) {
|
|
74
|
+
const localConfigPath = path_1.default.join(cwd, '.regressionproof.json');
|
|
75
|
+
if (!fs_1.default.existsSync(localConfigPath)) {
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
try {
|
|
79
|
+
return JSON.parse(fs_1.default.readFileSync(localConfigPath, 'utf-8'));
|
|
80
|
+
}
|
|
81
|
+
catch {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function shouldWriteLocalConfig(existing, expected) {
|
|
86
|
+
if (!existing) {
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
return (existing.version !== expected.version ||
|
|
90
|
+
existing.projectName !== expected.projectName ||
|
|
91
|
+
existing.remote?.url !== expected.remote.url);
|
|
92
|
+
}
|
|
93
|
+
function writeLocalConfig(cwd, config) {
|
|
94
|
+
const localConfigPath = path_1.default.join(cwd, '.regressionproof.json');
|
|
95
|
+
fs_1.default.writeFileSync(localConfigPath, JSON.stringify(config, null, 2));
|
|
96
|
+
}
|
|
97
|
+
function getReporterVersion() {
|
|
98
|
+
const packagePath = path_1.default.join(__dirname, '../../package.json');
|
|
99
|
+
const packageJson = JSON.parse(fs_1.default.readFileSync(packagePath, 'utf-8'));
|
|
100
|
+
if (!packageJson.version) {
|
|
101
|
+
throw new Error('Unable to determine reporter version from package.json');
|
|
102
|
+
}
|
|
103
|
+
return packageJson.version;
|
|
104
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import BaseSpruceError from '@sprucelabs/error';
|
|
2
|
+
import ErrorOptions from './../.spruce/errors/options.types';
|
|
3
|
+
export default class SpruceError extends BaseSpruceError<ErrorOptions> {
|
|
4
|
+
/** an easy to understand version of the errors */
|
|
5
|
+
friendlyMessage(): string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const error_1 = __importDefault(require("@sprucelabs/error"));
|
|
7
|
+
class SpruceError extends error_1.default {
|
|
8
|
+
/** an easy to understand version of the errors */
|
|
9
|
+
friendlyMessage() {
|
|
10
|
+
const { options } = this;
|
|
11
|
+
let message;
|
|
12
|
+
switch (options?.code) {
|
|
13
|
+
case 'PROJECT_NOT_INITIALIZED':
|
|
14
|
+
message = 'A Project not initialized just happened!';
|
|
15
|
+
break;
|
|
16
|
+
default:
|
|
17
|
+
message = super.friendlyMessage();
|
|
18
|
+
}
|
|
19
|
+
const fullMessage = options.friendlyMessage
|
|
20
|
+
? options.friendlyMessage
|
|
21
|
+
: message;
|
|
22
|
+
return fullMessage;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.default = SpruceError;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const schema_1 = require("@sprucelabs/schema");
|
|
4
|
+
exports.default = (0, schema_1.buildErrorSchema)({
|
|
5
|
+
id: 'projectNotInitialized',
|
|
6
|
+
name: 'Project not initialized',
|
|
7
|
+
fields: {
|
|
8
|
+
projectName: {
|
|
9
|
+
type: 'text',
|
|
10
|
+
isRequired: true,
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as SchemaEntity } from '@sprucelabs/schema';
|
|
2
|
+
import * as SpruceSchema from '@sprucelabs/schema';
|
|
3
|
+
export declare namespace SpruceErrors.RegressionproofJestReporter {
|
|
4
|
+
interface ProjectNotInitialized {
|
|
5
|
+
'projectName': string;
|
|
6
|
+
}
|
|
7
|
+
interface ProjectNotInitializedSchema extends SpruceSchema.Schema {
|
|
8
|
+
id: 'projectNotInitialized';
|
|
9
|
+
namespace: 'RegressionproofJestReporter';
|
|
10
|
+
name: 'Project not initialized';
|
|
11
|
+
fields: {
|
|
12
|
+
/** . */
|
|
13
|
+
'projectName': {
|
|
14
|
+
type: 'text';
|
|
15
|
+
isRequired: true;
|
|
16
|
+
options: undefined;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
type ProjectNotInitializedEntity = SchemaEntity<SpruceErrors.RegressionproofJestReporter.ProjectNotInitializedSchema>;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SpruceErrors } from "./errors.types";
|
|
2
|
+
import { ErrorOptions as ISpruceErrorOptions } from "@sprucelabs/error";
|
|
3
|
+
export interface ProjectNotInitializedErrorOptions extends SpruceErrors.RegressionproofJestReporter.ProjectNotInitialized, ISpruceErrorOptions {
|
|
4
|
+
code: 'PROJECT_NOT_INITIALIZED';
|
|
5
|
+
}
|
|
6
|
+
type ErrorOptions = ProjectNotInitializedErrorOptions;
|
|
7
|
+
export default ErrorOptions;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,7 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { snapshot } from '@regressionproof/snapshotter';
|
|
11
|
-
import { loadConfig } from './config/loadConfig.js.js';
|
|
11
|
+
import { loadConfig, detectProjectName } from './config/loadConfig.js.js';
|
|
12
|
+
import SpruceError from './errors/SpruceError.js.js';
|
|
12
13
|
import { transformResults } from './transformers/transformResults.js.js';
|
|
13
14
|
export default class RegressionProofReporter {
|
|
14
15
|
constructor(_globalConfig, _reporterConfig) {
|
|
@@ -20,14 +21,19 @@ export default class RegressionProofReporter {
|
|
|
20
21
|
onTestCaseResult(_test, _testCaseResult) { }
|
|
21
22
|
onRunComplete(_testContexts, results) {
|
|
22
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
var _a;
|
|
23
25
|
const config = loadConfig(this.cwd);
|
|
24
26
|
if (this.isCi) {
|
|
25
27
|
console.log('[RegressionProof] CI detected; skipping snapshot');
|
|
26
28
|
return;
|
|
27
29
|
}
|
|
28
30
|
if (!config) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
const projectName = (_a = detectProjectName(this.cwd)) !== null && _a !== void 0 ? _a : 'unknown';
|
|
32
|
+
throw new SpruceError({
|
|
33
|
+
code: 'PROJECT_NOT_INITIALIZED',
|
|
34
|
+
projectName,
|
|
35
|
+
friendlyMessage: 'RegressionProof.ai not initialized. Ask the project owner for an invite token, then run `npx regressionproof invite accept <token>`.',
|
|
36
|
+
});
|
|
31
37
|
}
|
|
32
38
|
const testResults = transformResults(results, this.cwd);
|
|
33
39
|
console.log(`[RegressionProof] ${testResults.summary.passedTests}/${testResults.summary.totalTests} tests passed`);
|
|
@@ -3,7 +3,9 @@ import fs from 'fs';
|
|
|
3
3
|
import os from 'os';
|
|
4
4
|
import path from 'path';
|
|
5
5
|
export function loadConfig(cwd) {
|
|
6
|
-
|
|
6
|
+
var _a;
|
|
7
|
+
const localConfig = readLocalConfig(cwd);
|
|
8
|
+
const projectName = (_a = localConfig === null || localConfig === void 0 ? void 0 : localConfig.projectName) !== null && _a !== void 0 ? _a : getProjectNameFromGit(cwd);
|
|
7
9
|
if (!projectName) {
|
|
8
10
|
return null;
|
|
9
11
|
}
|
|
@@ -13,6 +15,17 @@ export function loadConfig(cwd) {
|
|
|
13
15
|
return null;
|
|
14
16
|
}
|
|
15
17
|
const config = JSON.parse(fs.readFileSync(configPath, 'utf-8'));
|
|
18
|
+
const reporterVersion = getReporterVersion();
|
|
19
|
+
const expectedLocalConfig = {
|
|
20
|
+
version: reporterVersion,
|
|
21
|
+
projectName,
|
|
22
|
+
remote: {
|
|
23
|
+
url: config.remote.url,
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
if (shouldWriteLocalConfig(localConfig, expectedLocalConfig)) {
|
|
27
|
+
writeLocalConfig(cwd, expectedLocalConfig);
|
|
28
|
+
}
|
|
16
29
|
return {
|
|
17
30
|
projectName,
|
|
18
31
|
mirrorPath: path.join(baseDir, projectName, 'mirror'),
|
|
@@ -22,13 +35,10 @@ export function loadConfig(cwd) {
|
|
|
22
35
|
},
|
|
23
36
|
};
|
|
24
37
|
}
|
|
25
|
-
function detectProjectName(cwd) {
|
|
26
|
-
const
|
|
27
|
-
if (
|
|
28
|
-
|
|
29
|
-
if (localConfig.projectName) {
|
|
30
|
-
return localConfig.projectName;
|
|
31
|
-
}
|
|
38
|
+
export function detectProjectName(cwd) {
|
|
39
|
+
const localConfig = readLocalConfig(cwd);
|
|
40
|
+
if (localConfig === null || localConfig === void 0 ? void 0 : localConfig.projectName) {
|
|
41
|
+
return localConfig.projectName;
|
|
32
42
|
}
|
|
33
43
|
return getProjectNameFromGit(cwd);
|
|
34
44
|
}
|
|
@@ -55,3 +65,36 @@ function toSlug(input) {
|
|
|
55
65
|
.replace(/-+/g, '-')
|
|
56
66
|
.replace(/^-|-$/g, '');
|
|
57
67
|
}
|
|
68
|
+
function readLocalConfig(cwd) {
|
|
69
|
+
const localConfigPath = path.join(cwd, '.regressionproof.json');
|
|
70
|
+
if (!fs.existsSync(localConfigPath)) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
try {
|
|
74
|
+
return JSON.parse(fs.readFileSync(localConfigPath, 'utf-8'));
|
|
75
|
+
}
|
|
76
|
+
catch (_a) {
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function shouldWriteLocalConfig(existing, expected) {
|
|
81
|
+
var _a;
|
|
82
|
+
if (!existing) {
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
return (existing.version !== expected.version ||
|
|
86
|
+
existing.projectName !== expected.projectName ||
|
|
87
|
+
((_a = existing.remote) === null || _a === void 0 ? void 0 : _a.url) !== expected.remote.url);
|
|
88
|
+
}
|
|
89
|
+
function writeLocalConfig(cwd, config) {
|
|
90
|
+
const localConfigPath = path.join(cwd, '.regressionproof.json');
|
|
91
|
+
fs.writeFileSync(localConfigPath, JSON.stringify(config, null, 2));
|
|
92
|
+
}
|
|
93
|
+
function getReporterVersion() {
|
|
94
|
+
const packagePath = path.join(__dirname, '../../package.json');
|
|
95
|
+
const packageJson = JSON.parse(fs.readFileSync(packagePath, 'utf-8'));
|
|
96
|
+
if (!packageJson.version) {
|
|
97
|
+
throw new Error('Unable to determine reporter version from package.json');
|
|
98
|
+
}
|
|
99
|
+
return packageJson.version;
|
|
100
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import BaseSpruceError from '@sprucelabs/error';
|
|
2
|
+
import ErrorOptions from './../.spruce/errors/options.types';
|
|
3
|
+
export default class SpruceError extends BaseSpruceError<ErrorOptions> {
|
|
4
|
+
/** an easy to understand version of the errors */
|
|
5
|
+
friendlyMessage(): string;
|
|
6
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import BaseSpruceError from '@sprucelabs/error';
|
|
2
|
+
export default class SpruceError extends BaseSpruceError {
|
|
3
|
+
/** an easy to understand version of the errors */
|
|
4
|
+
friendlyMessage() {
|
|
5
|
+
const { options } = this;
|
|
6
|
+
let message;
|
|
7
|
+
switch (options === null || options === void 0 ? void 0 : options.code) {
|
|
8
|
+
case 'PROJECT_NOT_INITIALIZED':
|
|
9
|
+
message = 'A Project not initialized just happened!';
|
|
10
|
+
break;
|
|
11
|
+
default:
|
|
12
|
+
message = super.friendlyMessage();
|
|
13
|
+
}
|
|
14
|
+
const fullMessage = options.friendlyMessage
|
|
15
|
+
? options.friendlyMessage
|
|
16
|
+
: message;
|
|
17
|
+
return fullMessage;
|
|
18
|
+
}
|
|
19
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regressionproof/jest-reporter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,7 +35,11 @@
|
|
|
35
35
|
"watch.tsc": "tsc -w"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@regressionproof/snapshotter": "^0.
|
|
38
|
+
"@regressionproof/snapshotter": "^0.4.1",
|
|
39
|
+
"@sprucelabs/error": "^8.1.2",
|
|
40
|
+
"@sprucelabs/schema": "^33.1.3",
|
|
41
|
+
"@sprucelabs/spruce-core-schemas": "^42.1.3",
|
|
42
|
+
"@sprucelabs/spruce-skill-utils": "^34.0.3"
|
|
39
43
|
},
|
|
40
44
|
"devDependencies": {
|
|
41
45
|
"@jest/reporters": "^30.2.0",
|
|
@@ -78,5 +82,5 @@
|
|
|
78
82
|
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
|
|
79
83
|
}
|
|
80
84
|
},
|
|
81
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "5f4b7535038870bdbd859a12d2c97fceb021b347"
|
|
82
86
|
}
|