Skip to content

Commit dc52f5f

Browse files
Release (#1860)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent dede38f commit dc52f5f

7 files changed

+19
-26
lines changed

.changeset/add-from-to-alias.md

-8
This file was deleted.

.changeset/dest-already-exists.md

-5
This file was deleted.

.changeset/enable-source-maps.md

-5
This file was deleted.

.changeset/ggt-pull-production.md

-5
This file was deleted.

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @gadgetinc/ggt
22

3+
## 1.4.0
4+
5+
### Minor Changes
6+
7+
- fcb272f: Add more `--env` aliases.
8+
9+
- `ggt pull` now accepts `--from` as an alias for `--env`
10+
- `ggt push` now accepts `--to` as an alias for `--env`
11+
12+
- 7da5de8: Allow `ggt pull --from=production` to pull files from your production environment.
13+
14+
### Patch Changes
15+
16+
- 3f9b60d: Attempt to fix `Error: dest already exists.` by moving files one at a time to `.gadget/backup/`.
17+
- 9aa8657: Enable source maps for better error messages and debugging.
18+
319
## 1.3.3
420

521
### Patch Changes

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Usage
190190

191191
Options
192192
-a, --app <app_name> Selects the app to push local changes to. Default set on ".gadget/sync.json"
193-
--from, -e, --env <env_name> Selects the environment to push local changes to. Default set on ".gadget/sync.json"
193+
-e, --env, --to <env_name> Selects the environment to push local changes to. Default set on ".gadget/sync.json"
194194
--force Forces a push by discarding any changes made on your environment directory since last sync
195195
--allow-different-directory Pushes changes from any local directory with existing files, even if the ".gadget/sync.json" file is missing
196196
--allow-different-app Pushes changes to an app using --app command, instead of the one in the “.gadget/sync.json” file
@@ -214,7 +214,7 @@ Usage
214214

215215
Options
216216
-a, --app <app_name> Selects the app to pull your environment changes from. Default set on ".gadget/sync.json"
217-
--from, -e, --env <env_name> Selects the environment to pull changes from. Default set on ".gadget/sync.json"
217+
-e, --env, --from <env_name> Selects the environment to pull changes from. Default set on ".gadget/sync.json"
218218
--force Forces a pull by discarding any changes made on your local directory since last sync
219219
--allow-different-directory Pulls changes from any environment directory, even if the ".gadget/sync.json" file is missing
220220
--allow-different-app Pulls changes to a different app using --app command, instead of the one in the “.gadget/sync.json” file

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ggt",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"description": "The command-line interface for Gadget",
55
"homepage": "https://github.com/gadget-inc/ggt",
66
"bugs": {

0 commit comments

Comments
 (0)