@percy/cli-snapshot 1.26.3-beta.0 → 1.26.3-beta.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.
Files changed (2) hide show
  1. package/README.md +8 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -208,7 +208,7 @@ static:
208
208
  include: **/*.html
209
209
  exclude: []
210
210
  rewrites: {}
211
- overrides: []
211
+ options: []
212
212
  ```
213
213
 
214
214
  - **base-url** - The base URL path the static site should be served under.
@@ -256,18 +256,18 @@ static:
256
256
  /:year: /posts/index-:year.html
257
257
  ```
258
258
 
259
- - **overrides** - An array of per-snapshot option overrides.
259
+ - **options** - An array of per-snapshot options.
260
260
 
261
261
  Just like [page listing options](#page-options), static snapshots may also contain
262
262
  per-snapshot configuration options. However, since pages are matched against the `files`
263
- option, so are per-snapshot configuration options via an array of `overrides`. If multiple
264
- overrides match a snapshot, they will be merged with previously matched overrides.
263
+ option, so are per-snapshot configuration options via an array of `options`. If multiple
264
+ options match a snapshot, they will be merged with previously matched options.
265
265
 
266
266
  ``` yaml
267
267
  # .percy.yml
268
268
  version: 2
269
269
  static:
270
- overrides:
270
+ options:
271
271
  - files: /foo-bar.html
272
272
  waitForSelector: .is-ready
273
273
  execute: |
@@ -277,7 +277,7 @@ static:
277
277
  ### Sitemap URL
278
278
 
279
279
  When providing a sitemap URL, the document must be an XML document. For sitemap URLs the `--include` and
280
- `--exclude` flags can be used to filter snapshots. With a Percy config file, the `overrides` option
280
+ `--exclude` flags can be used to filter snapshots. With a Percy config file, the `options` option
281
281
  is also accepted.
282
282
 
283
283
  > Tip: Sitemaps can contain **a lot** of URLs, so its best to always start with the `--dry-run` flag
@@ -308,8 +308,8 @@ version: 2
308
308
  static:
309
309
  include: **/*.html
310
310
  exclude: []
311
- overrides: []
311
+ options: []
312
312
  ```
313
313
 
314
314
  See [the corresponding static options](#static-options) for details on `includes`, `excludes`, and
315
- `overrides` options.
315
+ `options` options.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/cli-snapshot",
3
- "version": "1.26.3-beta.0",
3
+ "version": "1.26.3-beta.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,8 +33,8 @@
33
33
  ]
34
34
  },
35
35
  "dependencies": {
36
- "@percy/cli-command": "1.26.3-beta.0",
36
+ "@percy/cli-command": "1.26.3-beta.2",
37
37
  "yaml": "^2.0.0"
38
38
  },
39
- "gitHead": "2911cbf68c1745ba42acca4746bdeaad42dc98de"
39
+ "gitHead": "5e402f5ff469cc521506fef6a347e04a1a2e1434"
40
40
  }