@percy/cli 1.16.0 → 2.0.0-alpha.0
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 +7 -0
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -60,6 +60,13 @@ use the following scripts for various development tasks:
|
|
|
60
60
|
- `yarn readme` - generate cli commands readme usage
|
|
61
61
|
- `yarn test` - run all tests, one package after another
|
|
62
62
|
- `yarn test:coverage` - run all tests with coverage, one package after another
|
|
63
|
+
- `yarn global:link` - links all packages being developed as global.
|
|
64
|
+
- requires `yarn build` to be run before
|
|
65
|
+
- we can then consume this package using
|
|
66
|
+
`[npm|yarn] link @percy/[core|cli..]`
|
|
67
|
+
- **Note**: linking is only required once, subsequent changes for development requires running build command.
|
|
68
|
+
|
|
69
|
+
- `yarn global:unlink` - unlinks all packages globally
|
|
63
70
|
|
|
64
71
|
Individual package scripts can be invoked using yarn's
|
|
65
72
|
[workspace](https://classic.yarnpkg.com/en/docs/cli/workspace/) command. For example:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"test:coverage": "yarn test --coverage"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@percy/cli-app": "
|
|
34
|
-
"@percy/cli-build": "
|
|
35
|
-
"@percy/cli-command": "
|
|
36
|
-
"@percy/cli-config": "
|
|
37
|
-
"@percy/cli-exec": "
|
|
38
|
-
"@percy/cli-snapshot": "
|
|
39
|
-
"@percy/cli-upload": "
|
|
40
|
-
"@percy/client": "
|
|
41
|
-
"@percy/logger": "
|
|
33
|
+
"@percy/cli-app": "2.0.0-alpha.0",
|
|
34
|
+
"@percy/cli-build": "2.0.0-alpha.0",
|
|
35
|
+
"@percy/cli-command": "2.0.0-alpha.0",
|
|
36
|
+
"@percy/cli-config": "2.0.0-alpha.0",
|
|
37
|
+
"@percy/cli-exec": "2.0.0-alpha.0",
|
|
38
|
+
"@percy/cli-snapshot": "2.0.0-alpha.0",
|
|
39
|
+
"@percy/cli-upload": "2.0.0-alpha.0",
|
|
40
|
+
"@percy/client": "2.0.0-alpha.0",
|
|
41
|
+
"@percy/logger": "2.0.0-alpha.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "6ebc3d59194d6cd25fceb5366ab9f230849a4f41"
|
|
44
44
|
}
|