@gadgetinc/ggt 0.1.4 → 0.1.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/README.md +5 -5
- package/lib/commands/sync.js +7 -2
- package/lib/commands/sync.js.map +1 -1
- package/lib/lib/base-command.js +4 -0
- package/lib/lib/base-command.js.map +1 -1
- package/npm-shrinkwrap.json +2178 -2252
- package/oclif.manifest.json +1 -1
- package/package.json +26 -26
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.1.
|
|
1
|
+
{"version":"0.1.5","commands":{"help":{"id":"help","summary":"Display help for ggt.","strict":false,"pluginName":"@gadgetinc/ggt","pluginAlias":"@gadgetinc/ggt","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"command","description":"The command to show help for.","required":false}]},"login":{"id":"login","summary":"Log in to your account.","strict":true,"usage":"login","pluginName":"@gadgetinc/ggt","pluginAlias":"@gadgetinc/ggt","pluginType":"core","aliases":[],"examples":["$ ggt login\nYour browser has been opened. Please log in to your account.\nHello, Jane Doe (jane@example.com)"],"flags":{},"args":[]},"logout":{"id":"logout","summary":"Log out of your account.","strict":true,"usage":"logout","pluginName":"@gadgetinc/ggt","pluginAlias":"@gadgetinc/ggt","pluginType":"core","aliases":[],"examples":["$ ggt logout\nGoodbye"],"flags":{},"args":[]},"sync":{"id":"sync","summary":"Sync your Gadget application's source code to and from your local filesystem.","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 can contain a list of files and\ndirectories that won't be sent to Gadget when syncing.\n\nThe following files and directories are always ignored:\n * .gadget\n * .git\n * node_modules\n\nNote:\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","strict":true,"usage":"sync [--app=<value>] [DIRECTORY]","pluginName":"@gadgetinc/ggt","pluginAlias":"@gadgetinc/ggt","pluginType":"core","aliases":[],"examples":["$ ggt sync --app my-app ~/gadget/my-app\nReady\nReceived\n← routes/GET.js\n← user/signUp/signIn.js\nSent\n→ routes/GET.js\n^C Stopping... (press Ctrl+C again to force)\nDone","# These are equivalent\n$ ggt sync -a my-app\n$ ggt sync --app my-app\n$ ggt sync --app my-app.gadget.app\n$ ggt sync --app https://my-app.gadget.app\n$ ggt sync --app https://my-app.gadget.app/edit"],"flags":{"app":{"name":"app","type":"option","char":"a","summary":"The Gadget application to sync files to.","multiple":false},"force":{"name":"force","type":"boolean","summary":"Whether to sync even if we can't determine the state of your local files relative to your remote ones.","allowNo":false},"file-push-delay":{"name":"file-push-delay","type":"option","summary":"Delay in milliseconds before pushing files to your app.","hidden":true,"helpValue":"ms","helpGroup":"file","multiple":false,"default":100},"file-stability-threshold":{"name":"file-stability-threshold","type":"option","summary":"Time in milliseconds a file's size must remain the same.","hidden":true,"helpValue":"ms","helpGroup":"file","multiple":false,"default":500},"file-poll-interval":{"name":"file-poll-interval","type":"option","description":"Interval in milliseconds between polling a file's size.","hidden":true,"helpValue":"ms","helpGroup":"file","multiple":false,"default":100}},"args":[{"name":"directory","description":"The directory to sync files to. If the directory doesn't exist, it will be created.","default":"."}],"priority":1},"whoami":{"id":"whoami","summary":"Show the name and email address of the currently logged in user.","strict":true,"usage":"whoami","pluginName":"@gadgetinc/ggt","pluginAlias":"@gadgetinc/ggt","pluginType":"core","aliases":[],"examples":["$ ggt whoami\nYou are logged in as Jane Doe (jane@example.com)"],"flags":{},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gadgetinc/ggt",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"version": "npm run build && git add README.md"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@oclif/core": "^1.
|
|
35
|
+
"@oclif/core": "^1.20.4",
|
|
36
36
|
"@oclif/errors": "^1.3.6",
|
|
37
|
-
"@oclif/plugin-not-found": "^2.3.
|
|
38
|
-
"@oclif/plugin-warn-if-update-available": "^2.0.
|
|
39
|
-
"@sentry/node": "^7.
|
|
37
|
+
"@oclif/plugin-not-found": "^2.3.8",
|
|
38
|
+
"@oclif/plugin-warn-if-update-available": "^2.0.13",
|
|
39
|
+
"@sentry/node": "^7.18.0",
|
|
40
40
|
"chokidar": "^3.5.3",
|
|
41
41
|
"clean-stack": "^3.0.1",
|
|
42
42
|
"debug": "^4.3.4",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"graphql": "^16.6.0",
|
|
49
49
|
"graphql-ws": "^5.11.2",
|
|
50
50
|
"ignore": "^5.2.0",
|
|
51
|
-
"inquirer": "^8.2.
|
|
51
|
+
"inquirer": "^8.2.5",
|
|
52
52
|
"lodash": "^4.17.21",
|
|
53
53
|
"new-github-issue-url": "^0.2.1",
|
|
54
54
|
"node-notifier": "^10.0.1",
|
|
@@ -58,46 +58,46 @@
|
|
|
58
58
|
"p-queue": "^6.6.2",
|
|
59
59
|
"serialize-error": "^8.1.0",
|
|
60
60
|
"ts-dedent": "^2.2.0",
|
|
61
|
-
"which": "^
|
|
62
|
-
"ws": "^8.
|
|
61
|
+
"which": "^3.0.0",
|
|
62
|
+
"ws": "^8.11.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@oclif/plugin-plugins": "^2.1.
|
|
66
|
-
"@oclif/test": "^2.2.
|
|
67
|
-
"@swc/core": "^1.3.
|
|
68
|
-
"@swc/helpers": "^0.4.
|
|
65
|
+
"@oclif/plugin-plugins": "^2.1.7",
|
|
66
|
+
"@oclif/test": "^2.2.10",
|
|
67
|
+
"@swc/core": "^1.3.14",
|
|
68
|
+
"@swc/helpers": "^0.4.12",
|
|
69
69
|
"@swc/jest": "^0.2.23",
|
|
70
70
|
"@types/debug": "^4.1.7",
|
|
71
71
|
"@types/fast-levenshtein": "^0.0.2",
|
|
72
72
|
"@types/fs-extra": "^9.0.13",
|
|
73
|
-
"@types/inquirer": "^8.2.
|
|
74
|
-
"@types/jest": "^29.
|
|
75
|
-
"@types/lodash": "^4.14.
|
|
76
|
-
"@types/node": "^18.
|
|
73
|
+
"@types/inquirer": "^8.2.5",
|
|
74
|
+
"@types/jest": "^29.2.2",
|
|
75
|
+
"@types/lodash": "^4.14.188",
|
|
76
|
+
"@types/node": "^18.11.9",
|
|
77
77
|
"@types/node-notifier": "^8.0.2",
|
|
78
78
|
"@types/normalize-path": "^3.0.0",
|
|
79
79
|
"@types/which": "^2.0.1",
|
|
80
80
|
"@types/ws": "^8.5.3",
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
82
|
-
"@typescript-eslint/parser": "^5.
|
|
83
|
-
"concurrently": "^7.
|
|
84
|
-
"cspell": "^6.
|
|
85
|
-
"eslint": "^8.
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "^5.42.1",
|
|
82
|
+
"@typescript-eslint/parser": "^5.42.1",
|
|
83
|
+
"concurrently": "^7.5.0",
|
|
84
|
+
"cspell": "^6.14.1",
|
|
85
|
+
"eslint": "^8.27.0",
|
|
86
86
|
"eslint-config-prettier": "^8.5.0",
|
|
87
87
|
"eslint-plugin-import": "^2.26.0",
|
|
88
88
|
"eslint-plugin-jest": "^27.0.4",
|
|
89
89
|
"eslint-plugin-lodash": "^7.4.0",
|
|
90
|
-
"jest": "^29.
|
|
90
|
+
"jest": "^29.3.0",
|
|
91
91
|
"jest-extended": "^3.1.0",
|
|
92
92
|
"nock": "^13.2.9",
|
|
93
|
-
"oclif": "^3.2.
|
|
94
|
-
"patch-package": "^6.
|
|
93
|
+
"oclif": "^3.2.25",
|
|
94
|
+
"patch-package": "^6.5.0",
|
|
95
95
|
"prettier": "^2.7.1",
|
|
96
96
|
"prettier-plugin-packagejson": "^2.3.0",
|
|
97
97
|
"rimraf": "^3.0.2",
|
|
98
98
|
"ts-node": "^10.9.1",
|
|
99
|
-
"tslib": "^2.4.
|
|
100
|
-
"type-fest": "^3.
|
|
99
|
+
"tslib": "^2.4.1",
|
|
100
|
+
"type-fest": "^3.2.0",
|
|
101
101
|
"typescript": "^4.8.4"
|
|
102
102
|
},
|
|
103
103
|
"engines": {
|