Skip to content

Commit 2072745

Browse files
authored
Merge pull request #60 from cloudgraphdev/beta
RELEASE 0.21.2
2 parents ad82280 + 55ed8f4 commit 2072745

File tree

7 files changed

+66
-44
lines changed

7 files changed

+66
-44
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## [0.21.2-beta.1](https://github.com/cloudgraphdev/cli/compare/0.21.1...0.21.2-beta.1) (2022-03-23)
2+
3+
4+
### Bug Fixes
5+
6+
* **deps:** update deps to pin version for node-jq and oclif packages. Fix build command for tarballs ([2d08023](https://github.com/cloudgraphdev/cli/commit/2d080237eeb500abb116441c371cf898d65052de))
7+
* rename delete command examples to remove ([e332b59](https://github.com/cloudgraphdev/cli/commit/e332b59019c68730d487b88b2bc831b11f548be1))
8+
9+
## [0.21.2-alpha.2](https://github.com/cloudgraphdev/cli/compare/0.21.2-alpha.1...0.21.2-alpha.2) (2022-03-23)
10+
11+
12+
### Bug Fixes
13+
14+
* **deps:** update deps to pin version for node-jq and oclif packages. Fix build command for tarballs ([2d08023](https://github.com/cloudgraphdev/cli/commit/2d080237eeb500abb116441c371cf898d65052de))
15+
16+
## [0.21.2-alpha.1](https://github.com/cloudgraphdev/cli/compare/0.21.1...0.21.2-alpha.1) (2022-03-23)
17+
18+
19+
### Bug Fixes
20+
21+
* rename delete command examples to remove ([e332b59](https://github.com/cloudgraphdev/cli/commit/e332b59019c68730d487b88b2bc831b11f548be1))
22+
123
## [0.21.1](https://github.com/cloudgraphdev/cli/compare/0.21.0...0.21.1) (2022-03-18)
224

325

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ EXAMPLES
14441444
$ cg init aws -r [Specify resources to crawl]
14451445
```
14461446

1447-
_See code: [src/commands/init.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/init.ts)_
1447+
_See code: [src/commands/init.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/init.ts)_
14481448

14491449
## `cg launch [PROVIDER]`
14501450

@@ -1476,7 +1476,7 @@ EXAMPLES
14761476
$ cg launch
14771477
```
14781478

1479-
_See code: [src/commands/launch.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/launch.ts)_
1479+
_See code: [src/commands/launch.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/launch.ts)_
14801480

14811481
## `cg load [PROVIDER]`
14821482

@@ -1510,7 +1510,7 @@ EXAMPLES
15101510
$ cg load aws [Load data for AWS]
15111511
```
15121512

1513-
_See code: [src/commands/load.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/load.ts)_
1513+
_See code: [src/commands/load.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/load.ts)_
15141514

15151515
## `cg policy [PROVIDER]`
15161516

@@ -1539,7 +1539,7 @@ DESCRIPTION
15391539
Commands to manage policy pack modules, run $ cg policy for more info.
15401540
```
15411541

1542-
_See code: [src/commands/policy/index.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/policy/index.ts)_
1542+
_See code: [src/commands/policy/index.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/policy/index.ts)_
15431543

15441544
## `cg policy add [PROVIDER]`
15451545

@@ -1683,11 +1683,11 @@ ALIASES
16831683
$ cg rm policy
16841684
16851685
EXAMPLES
1686-
$ cg policy delete
1686+
$ cg policy remove
16871687
1688-
$ cg policy delete aws-cis-1.2.0
1688+
$ cg policy remove aws-cis-1.2.0
16891689
1690-
$ cg policy delete aws-cis-1.2.0 --no-save
1690+
$ cg policy remove aws-cis-1.2.0 --no-save
16911691
```
16921692

16931693
## `cg policy update [PROVIDER]`
@@ -1752,7 +1752,7 @@ DESCRIPTION
17521752
Commands to manage provider modules, run $ cg provider for more info.
17531753
```
17541754

1755-
_See code: [src/commands/provider/index.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/provider/index.ts)_
1755+
_See code: [src/commands/provider/index.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/provider/index.ts)_
17561756

17571757
## `cg provider add [PROVIDER]`
17581758

@@ -1896,11 +1896,11 @@ ALIASES
18961896
$ cg rm provider
18971897
18981898
EXAMPLES
1899-
$ cg provider delete
1899+
$ cg provider remove
19001900
1901-
$ cg provider delete aws
1901+
$ cg provider remove aws
19021902
1903-
$ cg provider delete aws --no-save
1903+
$ cg provider remove aws --no-save
19041904
```
19051905

19061906
## `cg provider update [PROVIDER]`
@@ -1974,7 +1974,7 @@ EXAMPLES
19741974
$ cg scan aws --no-serve [Do not start the query engine]
19751975
```
19761976

1977-
_See code: [src/commands/scan.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/scan.ts)_
1977+
_See code: [src/commands/scan.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/scan.ts)_
19781978

19791979
## `cg serve [PROVIDER]`
19801980

@@ -2006,7 +2006,7 @@ EXAMPLES
20062006
$ cg serve
20072007
```
20082008

2009-
_See code: [src/commands/serve.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/serve.ts)_
2009+
_See code: [src/commands/serve.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/serve.ts)_
20102010

20112011
## `cg teardown [PROVIDER]`
20122012

@@ -2028,7 +2028,7 @@ EXAMPLES
20282028
$ cg teardown --delete-image
20292029
```
20302030

2031-
_See code: [src/commands/teardown.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/teardown.ts)_
2031+
_See code: [src/commands/teardown.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/teardown.ts)_
20322032

20332033
## `cg update [PROVIDER]`
20342034

@@ -2064,5 +2064,5 @@ EXAMPLES
20642064
$ cg update
20652065
```
20662066

2067-
_See code: [src/commands/update.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.1/src/commands/update.ts)_
2067+
_See code: [src/commands/update.ts](https://github.com/cloudgraphdev/cli/blob/v0.21.2-beta.1/src/commands/update.ts)_
20682068
<!-- commandsstop -->

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@cloudgraph/cli",
33
"description": "Scan your cloud infrastructure data and query it with GraphQL",
4-
"version": "0.21.1",
4+
"version": "0.21.2-beta.1",
55
"author": "AutoCloud",
66
"license": "MPL-2.0",
77
"publishConfig": {
@@ -15,10 +15,10 @@
1515
},
1616
"bugs": "https://github.com/cloudgraphdev/cli/issues",
1717
"dependencies": {
18-
"@cloudgraph/sdk": "^0.17.0",
18+
"@cloudgraph/sdk": "^0.18.1",
1919
"@graphql-tools/load-files": "^6.3.2",
2020
"@graphql-tools/merge": "^8.2.0",
21-
"@oclif/core": "^1.6.1",
21+
"@oclif/core": "1.6.1",
2222
"@oclif/plugin-help": "^5.1.12",
2323
"@types/lodash": "^4.14.175",
2424
"altair-express-middleware": "^4.0.8",
@@ -38,7 +38,7 @@
3838
"jsonpath": "^1.1.1",
3939
"lodash": "^4.17.21",
4040
"npm": "^8.1.2",
41-
"oclif": "^2.6.0",
41+
"oclif": "2.6.0",
4242
"open": "^8.2.1",
4343
"semver": "^7.3.5",
4444
"tslib": "^1"
@@ -121,7 +121,7 @@
121121
},
122122
"repository": "github:cloudgraphdev/cli",
123123
"scripts": {
124-
"build": "yarn prepack && oclif pack -t linux-x64,linux-arm,darwin-x64,darwin-arm64 && yarn postpack",
124+
"build": "yarn prepack && oclif pack tarballs -t linux-x64,linux-arm,darwin-x64,darwin-arm64 && yarn postpack",
125125
"launch": "./bin/run launch",
126126
"postpack": "rm -f oclif.manifest.json",
127127
"posttest": "eslint . --ext .ts --config .eslintrc.json",

src/commands/policy/remove.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ export default class RemovePolicy extends OperationBaseCommand {
1515
]
1616

1717
static examples = [
18-
'$ cg policy delete',
19-
'$ cg policy delete aws-cis-1.2.0',
20-
'$ cg policy delete aws-cis-1.2.0 --no-save',
18+
'$ cg policy remove',
19+
'$ cg policy remove aws-cis-1.2.0',
20+
'$ cg policy remove aws-cis-1.2.0 --no-save',
2121
]
2222

2323
static strict = false

src/commands/provider/remove.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export default class RemoveProvider extends OperationBaseCommand {
1414
]
1515

1616
static examples = [
17-
'$ cg provider delete',
18-
'$ cg provider delete aws',
19-
'$ cg provider delete aws --no-save',
17+
'$ cg provider remove',
18+
'$ cg provider remove aws',
19+
'$ cg provider remove aws --no-save',
2020
]
2121

2222
static strict = false

tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

yarn.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -379,10 +379,10 @@
379379
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz"
380380
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
381381

382-
"@cloudgraph/sdk@^0.17.0":
383-
version "0.17.0"
384-
resolved "https://registry.yarnpkg.com/@cloudgraph/sdk/-/sdk-0.17.0.tgz#7b12f7241867633fb0bb99fc8dd511e5da8c1e76"
385-
integrity sha512-rMqZp9Ixq1QNKfMSOdfLN2UteTTUJVHjFCKaTxLtSYSyhTEnRSW9dqpbMdEzyCP+w1OXwfPes28JGXdfTNzkUw==
382+
"@cloudgraph/sdk@^0.18.1":
383+
version "0.18.1"
384+
resolved "https://registry.yarnpkg.com/@cloudgraph/sdk/-/sdk-0.18.1.tgz#568a780f4185600f3c5f427427148699681181f3"
385+
integrity sha512-74aHorS3e5K/BoesyKSR+XJI11SZaQvWK4+rX2EJuKxAvPbKOwJqc3FFIGnomvmTKroyBdHDAlNuBti765TJvQ==
386386
dependencies:
387387
"@graphql-tools/load-files" "^6.5.3"
388388
"@graphql-tools/merge" "^8.2.1"
@@ -392,7 +392,7 @@
392392
inquirer "^8.1.2"
393393
jsonpath "^1.1.1"
394394
lodash "^4.17.21"
395-
node-jq "^2.1.0"
395+
node-jq "2.1.0"
396396
ora "^5.4.1"
397397

398398
"@cspotcode/source-map-consumer@0.8.0":
@@ -972,10 +972,10 @@
972972
supports-color "^8.1.1"
973973
tslib "^2"
974974

975-
"@oclif/core@^1.0.8", "@oclif/core@^1.2.1", "@oclif/core@^1.3.0", "@oclif/core@^1.3.1", "@oclif/core@^1.3.6":
976-
version "1.6.0"
977-
resolved "https://registry.npmjs.org/@oclif/core/-/core-1.6.0.tgz"
978-
integrity sha512-JHerjgRd29EtUVpDIrzohq2XdxJfgmZVGHAFlf75QVhLGFaleopZAQNBXkHkxG//kGib0LhyVGW7azcFKzr1eQ==
975+
"@oclif/core@1.6.1":
976+
version "1.6.1"
977+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-1.6.1.tgz#8300132782fd5845e3f08026f2fbd95917e8c2dd"
978+
integrity sha512-qB33YT3JUc7oH3Mtoov8yRETdMiQKsQNdoB2ozRq8JOCxtqI2f0XiQ6eqes3GpeMZKucl4mmonws5LYraLdQlg==
979979
dependencies:
980980
"@oclif/linewrap" "^1.0.0"
981981
"@oclif/screen" "^3.0.2"
@@ -1007,10 +1007,10 @@
10071007
widest-line "^3.1.0"
10081008
wrap-ansi "^7.0.0"
10091009

1010-
"@oclif/core@^1.6.1":
1011-
version "1.6.1"
1012-
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-1.6.1.tgz#8300132782fd5845e3f08026f2fbd95917e8c2dd"
1013-
integrity sha512-qB33YT3JUc7oH3Mtoov8yRETdMiQKsQNdoB2ozRq8JOCxtqI2f0XiQ6eqes3GpeMZKucl4mmonws5LYraLdQlg==
1010+
"@oclif/core@^1.0.8", "@oclif/core@^1.2.1", "@oclif/core@^1.3.0", "@oclif/core@^1.3.1", "@oclif/core@^1.3.6":
1011+
version "1.6.0"
1012+
resolved "https://registry.npmjs.org/@oclif/core/-/core-1.6.0.tgz"
1013+
integrity sha512-JHerjgRd29EtUVpDIrzohq2XdxJfgmZVGHAFlf75QVhLGFaleopZAQNBXkHkxG//kGib0LhyVGW7azcFKzr1eQ==
10141014
dependencies:
10151015
"@oclif/linewrap" "^1.0.0"
10161016
"@oclif/screen" "^3.0.2"
@@ -8028,9 +8028,9 @@ node-int64@^0.4.0:
80288028
resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz"
80298029
integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=
80308030

8031-
node-jq@^2.1.0:
8031+
node-jq@2.1.0:
80328032
version "2.1.0"
8033-
resolved "https://registry.npmjs.org/node-jq/-/node-jq-2.1.0.tgz"
8033+
resolved "https://registry.yarnpkg.com/node-jq/-/node-jq-2.1.0.tgz#4530cb1fd767bf05b643f0bddc2769c2ced847e0"
80348034
integrity sha512-4wv/W8rejWADH1Jqz+O2hCaZEFTIBp7EOcYo7orFcK9t11DtVQBBQHrN89MiGenk5HzrAMrZluOo5PQ0fP/AoQ==
80358035
dependencies:
80368036
"@semantic-release/changelog" "^6.0.1"
@@ -8501,9 +8501,9 @@ object.values@^1.1.5:
85018501
define-properties "^1.1.3"
85028502
es-abstract "^1.19.1"
85038503

8504-
oclif@^2.6.0:
8504+
oclif@2.6.0:
85058505
version "2.6.0"
8506-
resolved "https://registry.npmjs.org/oclif/-/oclif-2.6.0.tgz"
8506+
resolved "https://registry.yarnpkg.com/oclif/-/oclif-2.6.0.tgz#d62375f43d830654c8ae4f51f7146903adb928f4"
85078507
integrity sha512-MWjSimZ/+BVeKWOehg+p8cUOoU6l64GG1L73L2tWq/JIALaewUQ8TaoEjhhV80b2lQIOBucm19PfSFnCUiUsOQ==
85088508
dependencies:
85098509
"@oclif/core" "^1.3.0"

0 commit comments

Comments
 (0)