@percy/core 1.30.5-beta.1 → 1.31.0-alpha.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/config.js +4 -0
- package/dist/discovery.js +3 -1
- package/dist/percy.js +3 -6
- package/package.json +8 -8
package/dist/config.js
CHANGED
package/dist/discovery.js
CHANGED
package/dist/percy.js
CHANGED
|
@@ -151,16 +151,13 @@ export class Percy {
|
|
|
151
151
|
// replace arrays instead of merging
|
|
152
152
|
return Array.isArray(next) && [path, next];
|
|
153
153
|
});
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
let {
|
|
157
|
-
concurrency
|
|
158
|
-
} = this.config.discovery;
|
|
154
|
+
const concurrency = this.config.discovery.concurrency;
|
|
155
|
+
const snapshotConcurrency = parseInt(process.env.PERCY_SNAPSHOT_UPLOAD_CONCURRENCY) || concurrency;
|
|
159
156
|
_classPrivateFieldGet(_discovery, this).set({
|
|
160
157
|
concurrency
|
|
161
158
|
});
|
|
162
159
|
_classPrivateFieldGet(_snapshots, this).set({
|
|
163
|
-
|
|
160
|
+
snapshotConcurrency
|
|
164
161
|
});
|
|
165
162
|
return this.config;
|
|
166
163
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.0-alpha.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public",
|
|
12
|
-
"tag": "
|
|
12
|
+
"tag": "alpha"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=14"
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"test:types": "tsd"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@percy/client": "1.
|
|
47
|
-
"@percy/config": "1.
|
|
48
|
-
"@percy/dom": "1.
|
|
49
|
-
"@percy/logger": "1.
|
|
50
|
-
"@percy/webdriver-utils": "1.
|
|
46
|
+
"@percy/client": "1.31.0-alpha.2",
|
|
47
|
+
"@percy/config": "1.31.0-alpha.2",
|
|
48
|
+
"@percy/dom": "1.31.0-alpha.2",
|
|
49
|
+
"@percy/logger": "1.31.0-alpha.2",
|
|
50
|
+
"@percy/webdriver-utils": "1.31.0-alpha.2",
|
|
51
51
|
"content-disposition": "^0.5.4",
|
|
52
52
|
"cross-spawn": "^7.0.3",
|
|
53
53
|
"extract-zip": "^2.0.1",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"ws": "^8.17.1",
|
|
61
61
|
"yaml": "^2.4.1"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "1c7711f564fd4a112e1e1490a772db757df0535d"
|
|
64
64
|
}
|