@gadgetinc/ggt 0.1.2-alpha.1 → 0.1.2

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 CHANGED
@@ -119,7 +119,7 @@ EXAMPLES
119
119
  $ ggt sync --app https://my-app.gadget.app/edit
120
120
  ```
121
121
 
122
- _See code: [src/commands/sync.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2-alpha.1/src/commands/sync.ts)_
122
+ _See code: [src/commands/sync.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2/src/commands/sync.ts)_
123
123
 
124
124
  ### `ggt help [COMMAND]`
125
125
 
@@ -133,7 +133,7 @@ ARGUMENTS
133
133
  COMMAND The command to show help for.
134
134
  ```
135
135
 
136
- _See code: [src/commands/help.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2-alpha.1/src/commands/help.ts)_
136
+ _See code: [src/commands/help.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2/src/commands/help.ts)_
137
137
 
138
138
  ### `ggt login`
139
139
 
@@ -149,7 +149,7 @@ EXAMPLES
149
149
  Hello, Jane Doe (jane@example.com)
150
150
  ```
151
151
 
152
- _See code: [src/commands/login.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2-alpha.1/src/commands/login.ts)_
152
+ _See code: [src/commands/login.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2/src/commands/login.ts)_
153
153
 
154
154
  ### `ggt logout`
155
155
 
@@ -164,7 +164,7 @@ EXAMPLES
164
164
  Goodbye
165
165
  ```
166
166
 
167
- _See code: [src/commands/logout.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2-alpha.1/src/commands/logout.ts)_
167
+ _See code: [src/commands/logout.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2/src/commands/logout.ts)_
168
168
 
169
169
  ### `ggt whoami`
170
170
 
@@ -179,7 +179,7 @@ EXAMPLES
179
179
  You are logged in as Jane Doe (jane@example.com)
180
180
  ```
181
181
 
182
- _See code: [src/commands/whoami.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2-alpha.1/src/commands/whoami.ts)_
182
+ _See code: [src/commands/whoami.ts](https://github.com/gadget-inc/ggt/blob/v0.1.2/src/commands/whoami.ts)_
183
183
 
184
184
  <!-- commandsstop -->
185
185
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@gadgetinc/ggt",
3
- "version": "0.1.2-alpha.1",
3
+ "version": "0.1.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@gadgetinc/ggt",
9
- "version": "0.1.2-alpha.1",
9
+ "version": "0.1.2",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@oclif/core": "^1.16.0",
@@ -1 +1 @@
1
- {"version":"0.1.2-alpha.1","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":[]}}}
1
+ {"version":"0.1.2","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.2-alpha.1",
3
+ "version": "0.1.2",
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",