@percy/core 1.24.3-beta.0 → 1.25.0
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/api.js +6 -0
- package/package.json +6 -6
package/dist/api.js
CHANGED
|
@@ -172,6 +172,12 @@ export function createPercyServer(percy, port) {
|
|
|
172
172
|
failed: true,
|
|
173
173
|
error: 'Build failed'
|
|
174
174
|
};
|
|
175
|
+
} else if (cmd === 'build-created') {
|
|
176
|
+
// the build-failure command will cause api errors to include a failed build
|
|
177
|
+
percy.testing.build = {
|
|
178
|
+
id: '123',
|
|
179
|
+
url: 'https://percy.io/test/test/123'
|
|
180
|
+
};
|
|
175
181
|
} else {
|
|
176
182
|
// 404 for unknown commands
|
|
177
183
|
return res.send(404);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"test:types": "tsd"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@percy/client": "1.
|
|
43
|
-
"@percy/config": "1.
|
|
44
|
-
"@percy/dom": "1.
|
|
45
|
-
"@percy/logger": "1.
|
|
42
|
+
"@percy/client": "1.25.0",
|
|
43
|
+
"@percy/config": "1.25.0",
|
|
44
|
+
"@percy/dom": "1.25.0",
|
|
45
|
+
"@percy/logger": "1.25.0",
|
|
46
46
|
"content-disposition": "^0.5.4",
|
|
47
47
|
"cross-spawn": "^7.0.3",
|
|
48
48
|
"extract-zip": "^2.0.1",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"rimraf": "^3.0.2",
|
|
54
54
|
"ws": "^8.0.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "e07723ed1b47cd34be8b13f2ad674f923e51d673"
|
|
57
57
|
}
|