@gadgetinc/ggt 0.2.2 → 0.2.4
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 -6
- package/lib/commands/sync.js +13 -11
- package/lib/commands/sync.js.map +1 -1
- package/lib/services/client.js +2 -2
- package/lib/services/client.js.map +1 -1
- package/lib/services/context.js +9 -1
- package/lib/services/context.js.map +1 -1
- package/npm-shrinkwrap.json +2942 -2786
- package/oclif.manifest.json +7 -7
- package/package.json +44 -44
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.2.
|
|
2
|
+
"version": "0.2.4",
|
|
3
3
|
"commands": {
|
|
4
4
|
"help": {
|
|
5
5
|
"id": "help",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"pluginType": "core",
|
|
29
29
|
"aliases": [],
|
|
30
30
|
"examples": [
|
|
31
|
-
"
|
|
31
|
+
"$ ggt list\n$ ggt list --extended\n$ ggt list --sort=slug"
|
|
32
32
|
],
|
|
33
33
|
"flags": {
|
|
34
34
|
"columns": {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"pluginType": "core",
|
|
118
118
|
"aliases": [],
|
|
119
119
|
"examples": [
|
|
120
|
-
"
|
|
120
|
+
"$ ggt login\nWe've opened Gadget's login page using your default browser.\n\nPlease log in and then return to this terminal.\n\nHello, Jane Doe (jane@example.com)"
|
|
121
121
|
],
|
|
122
122
|
"flags": {},
|
|
123
123
|
"args": {}
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"pluginType": "core",
|
|
133
133
|
"aliases": [],
|
|
134
134
|
"examples": [
|
|
135
|
-
"
|
|
135
|
+
"$ ggt logout\nGoodbye"
|
|
136
136
|
],
|
|
137
137
|
"flags": {},
|
|
138
138
|
"args": {}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"sync": {
|
|
141
141
|
"id": "sync",
|
|
142
142
|
"summary": "Sync your Gadget application's source code to and from your local filesystem.",
|
|
143
|
-
"description": "Sync provides the ability to sync your Gadget application's source code to and from your local\nfilesystem. While
|
|
143
|
+
"description": "Sync provides the ability to sync your Gadget application's source code to and from your local\nfilesystem. While ggt sync is running, local file changes are immediately reflected within\nGadget, while files that are changed remotely are immediately saved to your local filesystem.\n\nUse cases for this include:\n - Developing locally with your own editor like VSCode (https://code.visualstudio.com/)\n - Storing your source code in a Git repository like GitHub (https://github.com/)\n\nSync includes the concept of a .ignore file. This file may contain a list of files and\ndirectories that won't be received or sent to Gadget when syncing. The format of this file is\nidentical to the one used by Git (https://git-scm.com/docs/gitignore).\n\nThe following files and directories are always ignored:\n - .gadget\n - .git\n - node_modules\n - .DS_Store\n\nNote:\n - If you have separate development and production environments, ggt sync will only sync with your development environment\n - Gadget applications only support installing dependencies with Yarn 1 (https://classic.yarnpkg.com/lang/en/)\n - Since file changes are immediately reflected in Gadget, avoid the following while ggt sync is running:\n - Deleting all your files\n - Moving all your files to a different directory",
|
|
144
144
|
"strict": true,
|
|
145
145
|
"usage": "sync [DIRECTORY] [--app <name>]",
|
|
146
146
|
"pluginName": "@gadgetinc/ggt",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"pluginType": "core",
|
|
149
149
|
"aliases": [],
|
|
150
150
|
"examples": [
|
|
151
|
-
"
|
|
151
|
+
"$ ggt sync --app my-app ~/gadget/my-app\n\nApp my-app\nEditor https://my-app.gadget.app/edit\nPlayground https://my-app.gadget.app/api/graphql/playground\nDocs https://docs.gadget.dev/api/my-app\n\nEndpoints\n - https://my-app.gadget.app\n - https://my-app--development.gadget.app\n\nWatching for file changes... Press Ctrl+C to stop\n\nReceived 12:00:00 PM\n← routes/GET.js (changed)\n← user/signUp/signIn.js (changed)\n2 files in total. 2 changed, 0 deleted.\n\nSent 12:00:03 PM\n→ routes/GET.ts (changed)\n1 file in total. 1 changed, 0 deleted.\n\n^C Stopping... (press Ctrl+C again to force)\nGoodbye!"
|
|
152
152
|
],
|
|
153
153
|
"flags": {
|
|
154
154
|
"app": {
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
"pluginType": "core",
|
|
236
236
|
"aliases": [],
|
|
237
237
|
"examples": [
|
|
238
|
-
"
|
|
238
|
+
"$ ggt whoami\nYou are logged in as Jane Doe (jane@example.com)"
|
|
239
239
|
],
|
|
240
240
|
"flags": {},
|
|
241
241
|
"args": {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gadgetinc/ggt",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
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",
|
|
@@ -37,81 +37,81 @@
|
|
|
37
37
|
"version": "changeset version && npm install --package-lock-only && npm run build && npm run readme"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@oclif/core": "^2.
|
|
40
|
+
"@oclif/core": "^2.15.0",
|
|
41
41
|
"@oclif/errors": "^1.3.6",
|
|
42
|
-
"@oclif/plugin-not-found": "^2.3
|
|
43
|
-
"@oclif/plugin-warn-if-update-available": "^2.
|
|
44
|
-
"@sentry/node": "^7.
|
|
45
|
-
"@swc/helpers": "^0.5.
|
|
42
|
+
"@oclif/plugin-not-found": "^2.4.3",
|
|
43
|
+
"@oclif/plugin-warn-if-update-available": "^2.1.1",
|
|
44
|
+
"@sentry/node": "^7.73.0",
|
|
45
|
+
"@swc/helpers": "^0.5.3",
|
|
46
46
|
"chalk": "^5.3.0",
|
|
47
47
|
"chalk-template": "^1.1.0",
|
|
48
48
|
"clean-stack": "^5.2.0",
|
|
49
49
|
"date-fns": "^2.30.0",
|
|
50
50
|
"debug": "^4.3.4",
|
|
51
|
-
"execa": "^
|
|
51
|
+
"execa": "^8.0.1",
|
|
52
52
|
"fast-levenshtein": "^3.0.0",
|
|
53
53
|
"fs-extra": "^11.1.1",
|
|
54
54
|
"get-port": "^7.0.0",
|
|
55
55
|
"got": "^13.0.0",
|
|
56
|
-
"graphql": "^16.
|
|
57
|
-
"graphql-ws": "^5.14.
|
|
56
|
+
"graphql": "^16.8.1",
|
|
57
|
+
"graphql-ws": "^5.14.1",
|
|
58
58
|
"ignore": "^5.2.4",
|
|
59
|
-
"inquirer": "^9.2.
|
|
59
|
+
"inquirer": "^9.2.11",
|
|
60
60
|
"lodash": "^4.17.21",
|
|
61
61
|
"node-notifier": "^10.0.1",
|
|
62
62
|
"normalize-path": "^3.0.0",
|
|
63
63
|
"open": "^9.1.0",
|
|
64
64
|
"p-map": "^6.0.0",
|
|
65
|
-
"p-queue": "^7.
|
|
65
|
+
"p-queue": "^7.4.1",
|
|
66
66
|
"pluralize": "^8.0.0",
|
|
67
|
-
"serialize-error": "^11.0.
|
|
67
|
+
"serialize-error": "^11.0.2",
|
|
68
68
|
"ts-dedent": "^2.2.0",
|
|
69
|
-
"watcher": "^2.
|
|
70
|
-
"which": "^
|
|
71
|
-
"ws": "^8.
|
|
69
|
+
"watcher": "^2.3.0",
|
|
70
|
+
"which": "^4.0.0",
|
|
71
|
+
"ws": "^8.14.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@changesets/cli": "^2.26.2",
|
|
75
75
|
"@graphql-codegen/add": "^5.0.0",
|
|
76
|
-
"@graphql-codegen/cli": "^
|
|
76
|
+
"@graphql-codegen/cli": "^5.0.0",
|
|
77
77
|
"@graphql-codegen/typescript": "^4.0.0",
|
|
78
78
|
"@graphql-codegen/typescript-operations": "^4.0.1",
|
|
79
|
-
"@oclif/plugin-plugins": "^3.1
|
|
80
|
-
"@oclif/test": "^2.
|
|
79
|
+
"@oclif/plugin-plugins": "^3.9.1",
|
|
80
|
+
"@oclif/test": "^2.5.6",
|
|
81
81
|
"@swc/cli": "^0.1.62",
|
|
82
|
-
"@swc/core": "^1.3.
|
|
83
|
-
"@types/debug": "^4.1.
|
|
84
|
-
"@types/eslint": "^8.
|
|
82
|
+
"@swc/core": "^1.3.82",
|
|
83
|
+
"@types/debug": "^4.1.9",
|
|
84
|
+
"@types/eslint": "^8.44.4",
|
|
85
85
|
"@types/fast-levenshtein": "^0.0.2",
|
|
86
|
-
"@types/fs-extra": "^11.0.
|
|
87
|
-
"@types/inquirer": "^9.0.
|
|
88
|
-
"@types/lodash": "^4.14.
|
|
89
|
-
"@types/node": "^20.4
|
|
90
|
-
"@types/node-notifier": "^8.0.
|
|
86
|
+
"@types/fs-extra": "^11.0.2",
|
|
87
|
+
"@types/inquirer": "^9.0.4",
|
|
88
|
+
"@types/lodash": "^4.14.199",
|
|
89
|
+
"@types/node": "^20.8.4",
|
|
90
|
+
"@types/node-notifier": "^8.0.3",
|
|
91
91
|
"@types/normalize-path": "^3.0.0",
|
|
92
|
-
"@types/pluralize": "^0.0.
|
|
92
|
+
"@types/pluralize": "^0.0.31",
|
|
93
93
|
"@types/which": "^3.0.0",
|
|
94
|
-
"@types/ws": "^8.5.
|
|
95
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
96
|
-
"@typescript-eslint/parser": "^6.
|
|
97
|
-
"concurrently": "^8.2.
|
|
94
|
+
"@types/ws": "^8.5.7",
|
|
95
|
+
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
|
96
|
+
"@typescript-eslint/parser": "^6.7.5",
|
|
97
|
+
"concurrently": "^8.2.1",
|
|
98
98
|
"cross-env": "^7.0.3",
|
|
99
|
-
"cspell": "^
|
|
100
|
-
"eslint": "^8.
|
|
101
|
-
"eslint-config-prettier": "^
|
|
102
|
-
"eslint-plugin-import": "^2.
|
|
99
|
+
"cspell": "^7.3.7",
|
|
100
|
+
"eslint": "^8.51.0",
|
|
101
|
+
"eslint-config-prettier": "^9.0.0",
|
|
102
|
+
"eslint-plugin-import": "^2.28.1",
|
|
103
103
|
"eslint-plugin-lodash": "^7.4.0",
|
|
104
|
-
"nock": "^13.3.
|
|
105
|
-
"oclif": "^3.
|
|
106
|
-
"patch-package": "^
|
|
107
|
-
"prettier": "^3.0.
|
|
104
|
+
"nock": "^13.3.4",
|
|
105
|
+
"oclif": "^3.17.2",
|
|
106
|
+
"patch-package": "^8.0.0",
|
|
107
|
+
"prettier": "^3.0.3",
|
|
108
108
|
"prettier-plugin-organize-imports": "^3.2.3",
|
|
109
|
-
"prettier-plugin-packagejson": "^2.4.
|
|
110
|
-
"rimraf": "^5.0.
|
|
109
|
+
"prettier-plugin-packagejson": "^2.4.6",
|
|
110
|
+
"rimraf": "^5.0.5",
|
|
111
111
|
"ts-node": "^10.9.1",
|
|
112
|
-
"type-fest": "^4.
|
|
113
|
-
"typescript": "^5.
|
|
114
|
-
"vitest": "^0.
|
|
112
|
+
"type-fest": "^4.4.0",
|
|
113
|
+
"typescript": "^5.2.2",
|
|
114
|
+
"vitest": "^0.34.6"
|
|
115
115
|
},
|
|
116
116
|
"engines": {
|
|
117
117
|
"node": ">=16.0.0"
|