regressify 1.0.7 → 1.0.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/README.md CHANGED
@@ -13,15 +13,15 @@ Please check [Documentation](https://tuyen.blog/optimizely-cms/testing/get-start
13
13
  1. Manual Set up all test and config files in the **visual_tests** folder and place it at the root of the project, or automatically add it using the command:
14
14
 
15
15
  ```bash
16
- npx regressify-cli init
16
+ npx regressify init
17
17
  ```
18
18
 
19
19
  1. Add to scripts in package.json:
20
20
 
21
21
  ```bash
22
- "ref": "regressify-cli ref",
23
- "approve": "regressify-cli approve",
24
- "test": "regressify-cli test"
22
+ "ref": "regressify ref",
23
+ "approve": "regressify approve",
24
+ "test": "regressify test"
25
25
  ```
26
26
 
27
27
  1. Use new command aliases:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "regressify",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Visual regression tests support",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/update-package.js CHANGED
@@ -13,9 +13,9 @@ async function updatePackageJson() {
13
13
  const packageJson = JSON.parse(packageJsonText);
14
14
 
15
15
  const scripts = packageJson.scripts || {};
16
- scripts.ref = 'regressify-cli ref';
17
- scripts.approve = 'regressify-cli approve';
18
- scripts.test = 'regressify-cli test';
16
+ scripts.ref = 'regressify ref';
17
+ scripts.approve = 'regressify approve';
18
+ scripts.test = 'regressify test';
19
19
 
20
20
  packageJson.scripts = scripts;
21
21