@capraconsulting/cals-cli 3.13.1 → 3.15.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 +42 -33
- package/lib/cals-cli.mjs +714 -2497
- package/lib/cals-cli.mjs.map +1 -1
- package/lib/cli/commands/{github/sync.d.ts → sync.d.ts} +1 -1
- package/lib/cli/reporter.d.ts +5 -6
- package/lib/cli/util.d.ts +1 -6
- package/lib/config.d.ts +0 -2
- package/lib/definition/index.d.ts +1 -1
- package/lib/definition/types.d.ts +0 -52
- package/lib/github/index.d.ts +0 -2
- package/lib/github/service.d.ts +2 -67
- package/lib/github/types.d.ts +0 -63
- package/lib/github/util.d.ts +0 -1
- package/lib/index.d.ts +0 -9
- package/lib/index.es.js +8 -1323
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +8 -1323
- package/lib/index.js.map +1 -1
- package/package.json +7 -19
- package/lib/cli/commands/definition/util.d.ts +0 -6
- package/lib/cli/commands/definition/util.test.d.ts +0 -1
- package/lib/cli/commands/github/analyze-directory.d.ts +0 -3
- package/lib/cli/commands/github/configure.d.ts +0 -3
- package/lib/cli/commands/github/generate-clone-commands.d.ts +0 -3
- package/lib/cli/commands/github/list-pull-requests-stats.d.ts +0 -3
- package/lib/cli/commands/github/list-repos.d.ts +0 -3
- package/lib/cli/commands/github/list-webhooks.d.ts +0 -3
- package/lib/cli/commands/github/set-token.d.ts +0 -3
- package/lib/cli/commands/github/util.d.ts +0 -3
- package/lib/cli/commands/github.d.ts +0 -3
- package/lib/cli/commands/snyk/report.d.ts +0 -3
- package/lib/cli/commands/snyk/set-token.d.ts +0 -3
- package/lib/cli/commands/snyk/sync.d.ts +0 -3
- package/lib/cli/commands/snyk.d.ts +0 -3
- package/lib/github/changeset/changeset.d.ts +0 -21
- package/lib/github/changeset/execute.d.ts +0 -10
- package/lib/github/changeset/types.d.ts +0 -88
- package/lib/snyk/index.d.ts +0 -3
- package/lib/snyk/service.d.ts +0 -30
- package/lib/snyk/token.d.ts +0 -11
- package/lib/snyk/types.d.ts +0 -62
- package/lib/snyk/util.d.ts +0 -3
- package/lib/snyk/util.test.d.ts +0 -1
- package/lib/testing/executor.d.ts +0 -25
- package/lib/testing/index.d.ts +0 -2
- package/lib/testing/lib.d.ts +0 -63
- /package/lib/cli/commands/{definition/dump-setup.d.ts → auth.d.ts} +0 -0
- /package/lib/cli/commands/{definition.d.ts → clone.d.ts} +0 -0
- /package/lib/cli/commands/{definition/validate.d.ts → groups.d.ts} +0 -0
- /package/lib/cli/commands/{delete-cache.d.ts → repos.d.ts} +0 -0
- /package/lib/cli/commands/{getting-started.d.ts → topics.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -13,52 +13,61 @@ It is recommended to use `npx` over global install to ensure you
|
|
|
13
13
|
always run the latest version. If you install it globally remember
|
|
14
14
|
to update it before running.
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Commands
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
### Authentication
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
Set your GitHub token (will be stored in the OS keychain):
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
cals auth
|
|
22
24
|
```
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
### List repositories
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
```bash
|
|
29
|
+
cals repos --org capralifecycle
|
|
30
|
+
cals repos --org capralifecycle --compact
|
|
31
|
+
cals repos --org capralifecycle --csv
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### List repository groups
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
cals groups --org capralifecycle
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Generate clone commands
|
|
30
41
|
|
|
31
|
-
|
|
42
|
+
Generate clone commands (pipe to bash to execute):
|
|
32
43
|
|
|
33
|
-
|
|
44
|
+
```bash
|
|
45
|
+
cals clone --org capralifecycle --all | bash
|
|
46
|
+
cals clone --org capralifecycle mygroup | bash
|
|
47
|
+
```
|
|
34
48
|
|
|
35
|
-
|
|
36
|
-
- Provide simple guidelines to improve the experience for developers
|
|
37
|
-
- A tool that everybody uses and gets ownership of
|
|
38
|
-
- Automate repeatable CALS tasks as we go
|
|
49
|
+
### Sync repositories
|
|
39
50
|
|
|
40
|
-
|
|
51
|
+
Pull latest changes for all repositories in a directory managed by a `.cals.yaml` manifest:
|
|
41
52
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
- Creating GitHub repos, giving permissions etc
|
|
47
|
-
- Slack channels
|
|
48
|
-
- AWS account and structure
|
|
49
|
-
- Checklist for manual processes
|
|
50
|
-
- AWS infrastructure management, e.g. scripts such as https://github.com/capralifecycle/rvr-aws-infrastructure/blob/master/rvr/create-stack.sh
|
|
51
|
-
- `cals aws ...`
|
|
53
|
+
```bash
|
|
54
|
+
cals sync
|
|
55
|
+
cals sync --clone # Prompt to clone missing repos
|
|
56
|
+
```
|
|
52
57
|
|
|
53
|
-
|
|
58
|
+
## Build
|
|
54
59
|
|
|
55
|
-
|
|
60
|
+
Build and verify:
|
|
56
61
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- [x] Report issues in Snyk grouped by our projects
|
|
62
|
+
```sh
|
|
63
|
+
$ make # or "make build"
|
|
64
|
+
```
|
|
61
65
|
|
|
62
66
|
## Contributing
|
|
63
67
|
|
|
64
|
-
This project
|
|
68
|
+
This project uses [semantic release](https://semantic-release.gitbook.io/semantic-release/)
|
|
69
|
+
to automate releases and follows
|
|
70
|
+
[Git commit guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit)
|
|
71
|
+
from the Angular project.
|
|
72
|
+
|
|
73
|
+
For inquiries, please contact the maintainers at [Slack](https://liflig.slack.com/archives/C02T4KTPYS2).
|