cornhsu-parity 0.11.0 → 0.11.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  ## GitHub Action
12
12
 
13
13
  ```yaml
14
- - uses: HSU-YU-MING/cornhsu-parity@v0.11.0 # 0.x 期間 pin 版本;發 1.0 後可改用移動式 @v1
14
+ - uses: HSU-YU-MING/cornhsu-parity@v0.11.1 # 0.x 期間 pin 版本;發 1.0 後可改用移動式 @v1
15
15
  with:
16
16
  config: parity.config.json # 選填,預設 parity.config.json
17
17
  target: /pricing # 選填,只檢查這個 route(省略 = 全部)
@@ -54,13 +54,13 @@
54
54
 
55
55
  | | |
56
56
  |---|---|
57
- | 發佈 | NuGet 共 20 版(v0.1.0 → v0.11.0),推 tag 即以 OIDC Trusted Publishing 自動上架,repo 內零長效金鑰 |
57
+ | 發佈 | NuGet 共 21 版(v0.1.0 → v0.11.1),推 tag 即以 OIDC Trusted Publishing 自動上架,repo 內零長效金鑰 |
58
58
  | 比對維度 | 尺寸、內距、間距、字體、顏色(CIEDE2000 ΔE)、相對位置——**刻意不比絕對座標**(彈性版面下必然誤報) |
59
59
  | 設計來源 | 4 種:Figma API、畫面快照、圖片 + 標註(像素取樣,任何工具匯出 PNG 即可)、JSON |
60
60
  | 實作端 | 網頁(含 **Shadow DOM / 同源 iframe / RWD 多斷點**)+ **Electron**(以 CDP attach 活視窗) |
61
61
  | 測試 | **160 條**,涵蓋 CIEDE2000 標準測資集(Sharma)、配對消歧、位置誤報防護、圖片取樣 |
62
62
  | CI 實證 | GitHub Action 以**外部 repo 跑真實 PR** 驗證:擋 PR、自動留言(原地更新不洗版)、baseline 回歸把關 |
63
- | 真實驗證 | **cornhsu.com 全站 21 頁由 Parity 自己守門**——dogfooding 已揪出並修掉三個 flaky 根因(最新一個:捲動觸發的進場動畫,見 0.11.0) |
63
+ | 真實驗證 | **cornhsu.com 全站 21 頁由 Parity 自己守門**——dogfooding 已揪出並修掉三個 flaky 根因(最新一個:捲動觸發的進場動畫,見 0.11.1) |
64
64
 
65
65
  ## 安裝
66
66
 
@@ -263,7 +263,7 @@ jobs:
263
263
  - run: |
264
264
  npm ci && npm run build
265
265
  npm run preview & # 例:serve 在 localhost:8080
266
- - uses: HSU-YU-MING/cornhsu-parity@v0.11.0 # 0.x 期間 pin 版本;發 1.0 後可改用移動式 @v1
266
+ - uses: HSU-YU-MING/cornhsu-parity@v0.11.1 # 0.x 期間 pin 版本;發 1.0 後可改用移動式 @v1
267
267
  with:
268
268
  config: parity.config.json
269
269
  figma-token: ${{ secrets.FIGMA_TOKEN }} # 設計來源用本機 JSON 時可省略
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cornhsu-parity",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Property-Level Design QA that can gate your CI. Compares real numeric values from your Figma file against the rendered UI and fails the PR when the implementation drifts from the design.",
5
5
  "keywords": [
6
6
  "figma",
@@ -34,11 +34,11 @@
34
34
  "node": ">=18"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@cornhsu/parity-win32-x64": "0.11.0",
38
- "@cornhsu/parity-win32-arm64": "0.11.0",
39
- "@cornhsu/parity-linux-x64": "0.11.0",
40
- "@cornhsu/parity-linux-arm64": "0.11.0",
41
- "@cornhsu/parity-darwin-x64": "0.11.0",
42
- "@cornhsu/parity-darwin-arm64": "0.11.0"
37
+ "@cornhsu/parity-win32-x64": "0.11.1",
38
+ "@cornhsu/parity-win32-arm64": "0.11.1",
39
+ "@cornhsu/parity-linux-x64": "0.11.1",
40
+ "@cornhsu/parity-linux-arm64": "0.11.1",
41
+ "@cornhsu/parity-darwin-x64": "0.11.1",
42
+ "@cornhsu/parity-darwin-arm64": "0.11.1"
43
43
  }
44
44
  }