@cleartrip/frontguard 0.2.7 → 0.2.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/cli.js +141 -41
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
- package/templates/bitbucket-pipelines.yml +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# FrontGuard — PR comment: checks screenshot (inline) + FreeKit full report
|
|
2
2
|
#
|
|
3
|
-
# •
|
|
3
|
+
# • PNG matches the HTML snapshot (Overview + Checks). If Bitbucket shows a broken/empty image,
|
|
4
|
+
# the host may strip data: URLs — use pipeline artifact frontguard-checks.png or HTTPS + FRONTGUARD_CHECKS_IMAGE_URL.
|
|
5
|
+
# • Raster: @resvg/resvg-js (no browser).
|
|
4
6
|
# • The PNG is embedded in the PR comment as a small base64 image (no Bitbucket Downloads / extra tokens).
|
|
5
7
|
# • Full HTML report is uploaded to FreeKit; the comment links to that URL for details.
|
|
6
8
|
#
|
|
@@ -29,7 +31,7 @@ pipelines:
|
|
|
29
31
|
- frontguard-checks.png
|
|
30
32
|
script:
|
|
31
33
|
- corepack enable
|
|
32
|
-
- apt-get update && apt-get install -y --no-install-recommends fonts-dejavu-core
|
|
34
|
+
- apt-get update && apt-get install -y --no-install-recommends fonts-dejavu-core fonts-liberation
|
|
33
35
|
- yarn install --immutable || yarn install
|
|
34
36
|
- |
|
|
35
37
|
yarn frontguard run --markdown \
|