@histoire/plugin-percy 0.11.6 → 0.11.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/dist/index.js +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ export function HstPercy(options = {}) {
|
|
|
16
16
|
if (!await isPercyEnabled()) {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const puppeteer = await import('puppeteer');
|
|
20
20
|
const browser = await puppeteer.launch();
|
|
21
21
|
// Collect client and env info
|
|
22
22
|
const sdkPkg = require(path.join(__dirname, '../package.json'));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@histoire/plugin-percy",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.8",
|
|
4
4
|
"description": "Histoire plugin to take screenshots with Percy for visual regression testing",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "^17.0.32",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
34
|
+
"typescript": "^4.7.4",
|
|
35
|
+
"histoire": "0.11.8"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"histoire": "^0.11.
|
|
38
|
+
"histoire": "^0.11.8"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "rimraf dist && tsc -d",
|
package/src/index.ts
CHANGED
|
@@ -33,7 +33,7 @@ export function HstPercy (options: PercyPluginOptions = {}): Plugin {
|
|
|
33
33
|
return
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
const
|
|
36
|
+
const puppeteer = await import('puppeteer')
|
|
37
37
|
const browser = await puppeteer.launch()
|
|
38
38
|
|
|
39
39
|
// Collect client and env info
|