@gadgetinc/ggt 0.1.13 → 0.1.14
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 +33 -5
- package/lib/__generated__/graphql.js.map +1 -1
- package/lib/commands/help.js +1 -1
- package/lib/commands/help.js.map +1 -1
- package/lib/commands/list.d.ts +17 -0
- package/lib/commands/list.js +71 -0
- package/lib/commands/list.js.map +1 -0
- package/lib/commands/login.js +1 -1
- package/lib/commands/login.js.map +1 -1
- package/lib/commands/logout.js +1 -1
- package/lib/commands/logout.js.map +1 -1
- package/lib/commands/sync.js +4 -4
- package/lib/commands/sync.js.map +1 -1
- package/lib/commands/whoami.js +1 -1
- package/lib/commands/whoami.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/utils/base-command.d.ts +3 -1
- package/lib/utils/base-command.js +27 -14
- package/lib/utils/base-command.js.map +1 -1
- package/lib/utils/client.js.map +1 -1
- package/lib/utils/context.d.ts +2 -2
- package/lib/utils/context.js +5 -5
- package/lib/utils/context.js.map +1 -1
- package/lib/utils/errors.d.ts +3 -1
- package/lib/utils/errors.js +11 -5
- package/lib/utils/errors.js.map +1 -1
- package/lib/utils/flags.js +4 -4
- package/lib/utils/flags.js.map +1 -1
- package/lib/utils/fs-utils.js.map +1 -1
- package/lib/utils/help.js.map +1 -1
- package/lib/utils/sleep.js.map +1 -1
- package/npm-shrinkwrap.json +2134 -1794
- package/oclif.manifest.json +90 -1
- package/package.json +32 -31
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.14",
|
|
3
3
|
"commands": {
|
|
4
4
|
"help": {
|
|
5
5
|
"id": "help",
|
|
@@ -18,6 +18,95 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
+
"list": {
|
|
22
|
+
"id": "list",
|
|
23
|
+
"summary": "List the apps available to the currently logged in user.",
|
|
24
|
+
"strict": true,
|
|
25
|
+
"usage": "list",
|
|
26
|
+
"pluginName": "@gadgetinc/ggt",
|
|
27
|
+
"pluginAlias": "@gadgetinc/ggt",
|
|
28
|
+
"pluginType": "core",
|
|
29
|
+
"aliases": [],
|
|
30
|
+
"examples": [
|
|
31
|
+
"$ ggt list\n$ ggt list --extended\n$ ggt list --sort=slug"
|
|
32
|
+
],
|
|
33
|
+
"flags": {
|
|
34
|
+
"columns": {
|
|
35
|
+
"name": "columns",
|
|
36
|
+
"type": "option",
|
|
37
|
+
"description": "only show provided columns (comma-separated)",
|
|
38
|
+
"multiple": false,
|
|
39
|
+
"exclusive": [
|
|
40
|
+
"extended"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"sort": {
|
|
44
|
+
"name": "sort",
|
|
45
|
+
"type": "option",
|
|
46
|
+
"description": "property to sort by (prepend '-' for descending)",
|
|
47
|
+
"multiple": false
|
|
48
|
+
},
|
|
49
|
+
"filter": {
|
|
50
|
+
"name": "filter",
|
|
51
|
+
"type": "option",
|
|
52
|
+
"description": "filter property by partial string matching, ex: name=foo",
|
|
53
|
+
"multiple": false
|
|
54
|
+
},
|
|
55
|
+
"csv": {
|
|
56
|
+
"name": "csv",
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"description": "output is csv format [alias: --output=csv]",
|
|
59
|
+
"allowNo": false,
|
|
60
|
+
"exclusive": [
|
|
61
|
+
"no-truncate"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"output": {
|
|
65
|
+
"name": "output",
|
|
66
|
+
"type": "option",
|
|
67
|
+
"description": "output in a more machine friendly format",
|
|
68
|
+
"multiple": false,
|
|
69
|
+
"options": [
|
|
70
|
+
"csv",
|
|
71
|
+
"json",
|
|
72
|
+
"yaml"
|
|
73
|
+
],
|
|
74
|
+
"exclusive": [
|
|
75
|
+
"no-truncate",
|
|
76
|
+
"csv"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"extended": {
|
|
80
|
+
"name": "extended",
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"char": "x",
|
|
83
|
+
"description": "show extra columns",
|
|
84
|
+
"allowNo": false,
|
|
85
|
+
"exclusive": [
|
|
86
|
+
"columns"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"no-truncate": {
|
|
90
|
+
"name": "no-truncate",
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"description": "do not truncate output to fit screen",
|
|
93
|
+
"allowNo": false,
|
|
94
|
+
"exclusive": [
|
|
95
|
+
"csv"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"no-header": {
|
|
99
|
+
"name": "no-header",
|
|
100
|
+
"type": "boolean",
|
|
101
|
+
"description": "hide table header from output",
|
|
102
|
+
"allowNo": false,
|
|
103
|
+
"exclusive": [
|
|
104
|
+
"csv"
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"args": {}
|
|
109
|
+
},
|
|
21
110
|
"login": {
|
|
22
111
|
"id": "login",
|
|
23
112
|
"summary": "Log in to your account.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gadgetinc/ggt",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "The command-line interface for Gadget",
|
|
5
5
|
"homepage": "https://github.com/gadget-inc/ggt",
|
|
6
6
|
"bugs": "https://github.com/gadget-inc/ggt/issues",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"/README.md"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
-
"build": "
|
|
24
|
+
"build": "npm run clean && tsc --build && oclif manifest",
|
|
25
|
+
"clean": "rimraf lib tmp oclif.manifest.json",
|
|
25
26
|
"generate-graphql": "graphql-codegen --config graphql-codegen.yml",
|
|
26
27
|
"lint": "concurrently --prefix none --group 'npm:lint:*'",
|
|
27
28
|
"lint:cspell": "cspell --no-progress --show-suggestions --show-context '**'",
|
|
@@ -34,11 +35,11 @@
|
|
|
34
35
|
"version": "changeset version && npm install --package-lock-only && npm run build && npm run readme"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@oclif/core": "^2.
|
|
38
|
+
"@oclif/core": "^2.8.1",
|
|
38
39
|
"@oclif/errors": "^1.3.6",
|
|
39
|
-
"@oclif/plugin-not-found": "^2.3.
|
|
40
|
-
"@oclif/plugin-warn-if-update-available": "^2.0.
|
|
41
|
-
"@sentry/node": "^7.
|
|
40
|
+
"@oclif/plugin-not-found": "^2.3.23",
|
|
41
|
+
"@oclif/plugin-warn-if-update-available": "^2.0.33",
|
|
42
|
+
"@sentry/node": "^7.47.0",
|
|
42
43
|
"chalk": "^4.1.2",
|
|
43
44
|
"chokidar": "^3.5.3",
|
|
44
45
|
"clean-stack": "^3.0.1",
|
|
@@ -46,11 +47,11 @@
|
|
|
46
47
|
"debug": "^4.3.4",
|
|
47
48
|
"execa": "^5.1.1",
|
|
48
49
|
"fast-levenshtein": "^3.0.0",
|
|
49
|
-
"fs-extra": "^11.1.
|
|
50
|
+
"fs-extra": "^11.1.1",
|
|
50
51
|
"get-port": "^5.1.1",
|
|
51
52
|
"got": "^11.8.5",
|
|
52
53
|
"graphql": "^16.6.0",
|
|
53
|
-
"graphql-ws": "^5.
|
|
54
|
+
"graphql-ws": "^5.12.1",
|
|
54
55
|
"ignore": "^5.2.4",
|
|
55
56
|
"inquirer": "^8.2.5",
|
|
56
57
|
"lodash": "^4.17.21",
|
|
@@ -67,48 +68,48 @@
|
|
|
67
68
|
},
|
|
68
69
|
"devDependencies": {
|
|
69
70
|
"@changesets/cli": "^2.26.0",
|
|
70
|
-
"@graphql-codegen/add": "^4.0.
|
|
71
|
-
"@graphql-codegen/cli": "^3.
|
|
72
|
-
"@graphql-codegen/typescript": "^3.0.
|
|
73
|
-
"@graphql-codegen/typescript-operations": "^3.0.
|
|
74
|
-
"@oclif/plugin-plugins": "^2.
|
|
75
|
-
"@oclif/test": "^2.3.
|
|
76
|
-
"@swc/core": "^1.3.
|
|
77
|
-
"@swc/helpers": "^0.
|
|
71
|
+
"@graphql-codegen/add": "^4.0.1",
|
|
72
|
+
"@graphql-codegen/cli": "^3.3.0",
|
|
73
|
+
"@graphql-codegen/typescript": "^3.0.3",
|
|
74
|
+
"@graphql-codegen/typescript-operations": "^3.0.3",
|
|
75
|
+
"@oclif/plugin-plugins": "^2.4.4",
|
|
76
|
+
"@oclif/test": "^2.3.15",
|
|
77
|
+
"@swc/core": "^1.3.49",
|
|
78
|
+
"@swc/helpers": "^0.5.0",
|
|
78
79
|
"@swc/jest": "^0.2.24",
|
|
79
80
|
"@types/debug": "^4.1.7",
|
|
80
81
|
"@types/fast-levenshtein": "^0.0.2",
|
|
81
82
|
"@types/fs-extra": "^11.0.1",
|
|
82
83
|
"@types/inquirer": "^8.2.5",
|
|
83
|
-
"@types/jest": "^29.
|
|
84
|
-
"@types/lodash": "^4.14.
|
|
85
|
-
"@types/node": "^18.
|
|
84
|
+
"@types/jest": "^29.5.0",
|
|
85
|
+
"@types/lodash": "^4.14.192",
|
|
86
|
+
"@types/node": "^18.15.11",
|
|
86
87
|
"@types/node-notifier": "^8.0.2",
|
|
87
88
|
"@types/normalize-path": "^3.0.0",
|
|
88
89
|
"@types/pluralize": "^0.0.29",
|
|
89
90
|
"@types/which": "^2.0.2",
|
|
90
91
|
"@types/ws": "^8.5.4",
|
|
91
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
92
|
-
"@typescript-eslint/parser": "^5.
|
|
93
|
-
"concurrently": "^
|
|
92
|
+
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
93
|
+
"@typescript-eslint/parser": "^5.58.0",
|
|
94
|
+
"concurrently": "^8.0.1",
|
|
94
95
|
"cspell": "^6.28.0",
|
|
95
|
-
"eslint": "^8.
|
|
96
|
-
"eslint-config-prettier": "^8.
|
|
96
|
+
"eslint": "^8.38.0",
|
|
97
|
+
"eslint-config-prettier": "^8.8.0",
|
|
97
98
|
"eslint-plugin-import": "^2.27.5",
|
|
98
99
|
"eslint-plugin-jest": "^27.2.1",
|
|
99
100
|
"eslint-plugin-lodash": "^7.4.0",
|
|
100
|
-
"jest": "^29.
|
|
101
|
-
"jest-extended": "^3.2.
|
|
101
|
+
"jest": "^29.5.0",
|
|
102
|
+
"jest-extended": "^3.2.4",
|
|
102
103
|
"nock": "^13.3.0",
|
|
103
|
-
"oclif": "^3.7.
|
|
104
|
+
"oclif": "^3.7.3",
|
|
104
105
|
"patch-package": "^6.5.1",
|
|
105
|
-
"prettier": "^2.8.
|
|
106
|
+
"prettier": "^2.8.7",
|
|
106
107
|
"prettier-plugin-packagejson": "^2.4.3",
|
|
107
|
-
"rimraf": "^
|
|
108
|
+
"rimraf": "^5.0.0",
|
|
108
109
|
"ts-node": "^10.9.1",
|
|
109
110
|
"tslib": "^2.5.0",
|
|
110
|
-
"type-fest": "^3.
|
|
111
|
-
"typescript": "^
|
|
111
|
+
"type-fest": "^3.8.0",
|
|
112
|
+
"typescript": "^5.0.4"
|
|
112
113
|
},
|
|
113
114
|
"engines": {
|
|
114
115
|
"node": ">=16.0.0"
|