@capraconsulting/cals-cli 2.25.4 → 2.25.5

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/lib/cals-cli.js CHANGED
@@ -47,7 +47,7 @@ var read__default = /*#__PURE__*/_interopDefaultLegacy(read);
47
47
  var findUp__default = /*#__PURE__*/_interopDefaultLegacy(findUp);
48
48
  var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);
49
49
 
50
- var version = "2.25.4";
50
+ var version = "2.25.5";
51
51
  var engines = {
52
52
  node: ">=12.0.0"
53
53
  };
@@ -3494,7 +3494,7 @@ async function main() {
3494
3494
  / /___/ ___ |/ /______/ /
3495
3495
  \\____/_/ |_/_____/____/
3496
3496
  cli ${version}
3497
- built ${"2023-03-19T06:23:33+0000"}
3497
+ built ${"2023-03-20T04:16:27+0000"}
3498
3498
 
3499
3499
  https://github.com/capralifecycle/cals-cli/
3500
3500
 
@@ -25,7 +25,7 @@ export interface Project {
25
25
  */
26
26
  responsible?: string;
27
27
  }
28
- export declare type User = UserBot | UserEmployee | UserExternal;
28
+ export type User = UserBot | UserEmployee | UserExternal;
29
29
  export interface UserBot {
30
30
  type: "bot";
31
31
  login: string;
@@ -1,7 +1,7 @@
1
1
  import { Reporter } from "../../cli/reporter";
2
2
  import { GitHubService } from "../service";
3
3
  import { ChangeSetItem, RepoCreateItem, RepoDeleteItem } from "./types";
4
- declare type NotImplementedChangeSetItem = RepoCreateItem | RepoDeleteItem;
4
+ type NotImplementedChangeSetItem = RepoCreateItem | RepoDeleteItem;
5
5
  export declare function isNotImplementedChangeSetItem(changeItem: ChangeSetItem): changeItem is NotImplementedChangeSetItem;
6
6
  /**
7
7
  * Execute a change set.
@@ -90,4 +90,4 @@ export interface TeamMemberPermissionItem {
90
90
  * A change set item describes a transition on the end
91
91
  * service to become in sync with the desired definition.
92
92
  */
93
- export declare type ChangeSetItem = RepoCreateItem | RepoDeleteItem | RepoAttribUpdateItem | RepoTeamPermissionItem | RepoTeamAddItem | RepoTeamRemoveItem | MemberAddItem | MemberRemoveItem | TeamRemoveItem | TeamAddItem | TeamMemberRemoveItem | TeamMemberAddItem | TeamMemberPermissionItem;
93
+ export type ChangeSetItem = RepoCreateItem | RepoDeleteItem | RepoAttribUpdateItem | RepoTeamPermissionItem | RepoTeamAddItem | RepoTeamRemoveItem | MemberAddItem | MemberRemoveItem | TeamRemoveItem | TeamAddItem | TeamMemberRemoveItem | TeamMemberAddItem | TeamMemberPermissionItem;
@@ -39,7 +39,7 @@ interface SearchedPullRequestListQueryResult {
39
39
  }[];
40
40
  };
41
41
  }
42
- export declare type SearchedPullRequestListItem = SearchedPullRequestListQueryResult["search"]["edges"][0]["node"];
42
+ export type SearchedPullRequestListItem = SearchedPullRequestListQueryResult["search"]["edges"][0]["node"];
43
43
  interface GitHubServiceProps {
44
44
  config: Config;
45
45
  octokit: Octokit;
@@ -1,14 +1,14 @@
1
1
  import { Endpoints } from "@octokit/types";
2
- export declare type OrgsGetResponse = Endpoints["GET /orgs/{org}"]["response"]["data"];
3
- export declare type OrgsListMembersResponseItem = Exclude<Endpoints["GET /orgs/{org}/members"]["response"]["data"][0], null>;
4
- export declare type OrgsListPendingInvitationsResponseItem = Endpoints["GET /orgs/{org}/invitations"]["response"]["data"][0];
5
- export declare type ReposGetResponse = Endpoints["GET /repos/{owner}/{repo}"]["response"]["data"];
6
- export declare type ReposListTeamsResponseItem = Endpoints["GET /repos/{owner}/{repo}/teams"]["response"]["data"][0];
7
- export declare type ReposListHooksResponseItem = Endpoints["GET /repos/{owner}/{repo}/hooks"]["response"]["data"][0];
8
- export declare type ReposUpdateParams = Endpoints["PATCH /repos/{owner}/{repo}"]["parameters"];
9
- export declare type TeamsListMembersResponseItem = Exclude<Endpoints["GET /teams/{team_id}/members"]["response"]["data"][0], null>;
10
- export declare type TeamsListPendingInvitationsResponseItem = Endpoints["GET /teams/{team_id}/invitations"]["response"]["data"][0];
11
- export declare type TeamsListResponseItem = Endpoints["GET /orgs/{org}/teams"]["response"]["data"][0];
2
+ export type OrgsGetResponse = Endpoints["GET /orgs/{org}"]["response"]["data"];
3
+ export type OrgsListMembersResponseItem = Exclude<Endpoints["GET /orgs/{org}/members"]["response"]["data"][0], null>;
4
+ export type OrgsListPendingInvitationsResponseItem = Endpoints["GET /orgs/{org}/invitations"]["response"]["data"][0];
5
+ export type ReposGetResponse = Endpoints["GET /repos/{owner}/{repo}"]["response"]["data"];
6
+ export type ReposListTeamsResponseItem = Endpoints["GET /repos/{owner}/{repo}/teams"]["response"]["data"][0];
7
+ export type ReposListHooksResponseItem = Endpoints["GET /repos/{owner}/{repo}/hooks"]["response"]["data"][0];
8
+ export type ReposUpdateParams = Endpoints["PATCH /repos/{owner}/{repo}"]["parameters"];
9
+ export type TeamsListMembersResponseItem = Exclude<Endpoints["GET /teams/{team_id}/members"]["response"]["data"][0], null>;
10
+ export type TeamsListPendingInvitationsResponseItem = Endpoints["GET /teams/{team_id}/invitations"]["response"]["data"][0];
11
+ export type TeamsListResponseItem = Endpoints["GET /orgs/{org}/teams"]["response"]["data"][0];
12
12
  export interface Repo {
13
13
  name: string;
14
14
  owner: {
@@ -59,8 +59,8 @@ export interface VulnerabilityAlert {
59
59
  vulnerableVersionRange: string;
60
60
  } | null;
61
61
  }
62
- export declare type Permission = "admin" | "push" | "pull";
63
- export declare type TeamMemberOrInvited = {
62
+ export type Permission = "admin" | "push" | "pull";
63
+ export type TeamMemberOrInvited = {
64
64
  type: "member";
65
65
  login: string;
66
66
  data: TeamsListMembersResponseItem;
@@ -69,7 +69,7 @@ export declare type TeamMemberOrInvited = {
69
69
  login: string;
70
70
  data: TeamsListPendingInvitationsResponseItem;
71
71
  };
72
- export declare type OrgMemberOrInvited = {
72
+ export type OrgMemberOrInvited = {
73
73
  type: "member";
74
74
  login: string;
75
75
  data: OrgsListMembersResponseItem;
package/lib/index.es.js CHANGED
@@ -22,7 +22,7 @@ import execa from 'execa';
22
22
  import { performance } from 'perf_hooks';
23
23
  import { Transform } from 'stream';
24
24
 
25
- var version = "2.25.4";
25
+ var version = "2.25.5";
26
26
 
27
27
  class CacheProvider {
28
28
  constructor(config) {
package/lib/index.js CHANGED
@@ -44,7 +44,7 @@ var keytar__default = /*#__PURE__*/_interopDefaultLegacy(keytar);
44
44
  var read__default = /*#__PURE__*/_interopDefaultLegacy(read);
45
45
  var execa__default = /*#__PURE__*/_interopDefaultLegacy(execa);
46
46
 
47
- var version = "2.25.4";
47
+ var version = "2.25.5";
48
48
 
49
49
  class CacheProvider {
50
50
  constructor(config) {
@@ -2,7 +2,7 @@ export interface BaseSecret {
2
2
  name: string;
3
3
  description?: string;
4
4
  }
5
- export declare type JsonSecretSimpleField = string;
5
+ export type JsonSecretSimpleField = string;
6
6
  export interface JsonSecretDescribedField {
7
7
  key: string;
8
8
  description?: string;
@@ -12,7 +12,7 @@ export interface JsonSecret extends BaseSecret {
12
12
  type: "json";
13
13
  fields: (JsonSecretSimpleField | JsonSecretDescribedField)[];
14
14
  }
15
- export declare type Secret = JsonSecret;
15
+ export type Secret = JsonSecret;
16
16
  export interface SecretGroup {
17
17
  accountId: string;
18
18
  region: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capraconsulting/cals-cli",
3
- "version": "2.25.4",
3
+ "version": "2.25.5",
4
4
  "description": "CLI for repeatable tasks in CALS",
5
5
  "scripts": {
6
6
  "prepare": "node scripts/create-definition-schema.js && husky install",
@@ -42,8 +42,8 @@
42
42
  "yargs": "^17.5.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@commitlint/cli": "17.1.2",
46
- "@commitlint/config-conventional": "17.1.0",
45
+ "@commitlint/cli": "17.4.4",
46
+ "@commitlint/config-conventional": "17.4.4",
47
47
  "@octokit/types": "6.41.0",
48
48
  "@rollup/plugin-alias": "3.1.9",
49
49
  "@rollup/plugin-json": "4.1.0",
@@ -58,22 +58,22 @@
58
58
  "@types/semver": "7.3.13",
59
59
  "@types/sprintf-js": "1.1.2",
60
60
  "@types/yargs": "17.0.22",
61
- "@typescript-eslint/eslint-plugin": "5.27.1",
62
- "@typescript-eslint/parser": "5.27.1",
61
+ "@typescript-eslint/eslint-plugin": "5.55.0",
62
+ "@typescript-eslint/parser": "5.55.0",
63
63
  "dateformat": "4.6.3",
64
64
  "del": "6.1.1",
65
- "eslint": "8.26.0",
66
- "eslint-config-prettier": "8.5.0",
65
+ "eslint": "8.36.0",
66
+ "eslint-config-prettier": "8.7.0",
67
67
  "eslint-plugin-prettier": "4.2.1",
68
68
  "husky": "7.0.4",
69
69
  "jest": "27.5.1",
70
- "prettier": "2.7.1",
70
+ "prettier": "2.8.4",
71
71
  "rollup": "2.79.1",
72
72
  "rollup-plugin-typescript2": "0.34.1",
73
73
  "semantic-release": "19.0.5",
74
74
  "tempy": "1.0.1",
75
75
  "ts-jest": "27.1.5",
76
- "typescript": "4.8.4",
76
+ "typescript": "4.9.5",
77
77
  "typescript-json-schema": "0.54.0"
78
78
  },
79
79
  "peerDependencies": {},