Skip to content

Commit 8fbcfdc

Browse files
authored
Merge pull request #15 from vtex/fix/deps
Update deps tree
2 parents a6ddbd0 + 6277dea commit 8fbcfdc

File tree

5 files changed

+55
-348
lines changed

5 files changed

+55
-348
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
## [1.2.0] - 2021-03-12
89
### Changed
910
- Improve conflict resolver on promote
1011

README.md

+25-25
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $ npm install -g @vtex/cli-plugin-workspace
2929
$ oclif-example COMMAND
3030
running command...
3131
$ oclif-example (-v|--version|version)
32-
@vtex/cli-plugin-workspace/1.1.0 linux-x64 node-v12.22.12
32+
@vtex/cli-plugin-workspace/1.2.0 linux-x64 node-v12.22.12
3333
$ oclif-example --help [COMMAND]
3434
USAGE
3535
$ oclif-example COMMAND
@@ -59,17 +59,17 @@ ARGUMENTS
5959
6060
OPTIONS
6161
-f, --force Deletes the specified workspace even if it is currently in use.
62-
-h, --help show CLI help
63-
-v, --verbose Show debug level logs
62+
-h, --help Shows this help message.
63+
-v, --verbose Shows debug level logs.
6464
-y, --yes Answers yes to all prompts.
65-
--trace Ensure all requests to VTEX IO are traced
65+
--trace Ensures all requests to VTEX IO are traced.
6666
6767
EXAMPLES
6868
vtex workspace delete workspaceName
6969
vtex workspace delete workspaceName1 workspaceName2
7070
```
7171

72-
_See code: [build/commands/workspace/delete.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.1.0/build/commands/workspace/delete.ts)_
72+
_See code: [build/commands/workspace/delete.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.2.0/build/commands/workspace/delete.ts)_
7373

7474
## `oclif-example workspace:list`
7575

@@ -80,9 +80,9 @@ USAGE
8080
$ oclif-example workspace:list
8181
8282
OPTIONS
83-
-h, --help show CLI help
84-
-v, --verbose Show debug level logs
85-
--trace Ensure all requests to VTEX IO are traced
83+
-h, --help Shows this help message.
84+
-v, --verbose Shows debug level logs.
85+
--trace Ensures all requests to VTEX IO are traced.
8686
8787
ALIASES
8888
$ oclif-example workspace:ls
@@ -92,7 +92,7 @@ EXAMPLES
9292
vtex workspace ls
9393
```
9494

95-
_See code: [build/commands/workspace/list.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.1.0/build/commands/workspace/list.ts)_
95+
_See code: [build/commands/workspace/list.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.2.0/build/commands/workspace/list.ts)_
9696

9797
## `oclif-example workspace:promote`
9898

@@ -104,10 +104,10 @@ USAGE
104104
105105
OPTIONS
106106
-h, --help
107-
show CLI help
107+
Shows this help message.
108108
109109
-v, --verbose
110-
Show debug level logs
110+
Shows debug level logs.
111111
112112
--conflict=master|mine|abort
113113
[default: master] Defines how to handle data conflict between workspaces.
@@ -116,7 +116,7 @@ OPTIONS
116116
- abort: Aborts the workspace promotion in case of data conflict.
117117
118118
--trace
119-
Ensure all requests to VTEX IO are traced
119+
Ensures all requests to VTEX IO are traced.
120120
121121
ALIASES
122122
$ oclif-example promote
@@ -126,7 +126,7 @@ EXAMPLES
126126
vtex promote
127127
```
128128

129-
_See code: [build/commands/workspace/promote.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.1.0/build/commands/workspace/promote.ts)_
129+
_See code: [build/commands/workspace/promote.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.2.0/build/commands/workspace/promote.ts)_
130130

131131
## `oclif-example workspace:reset [WORKSPACENAME]`
132132

@@ -140,18 +140,18 @@ ARGUMENTS
140140
WORKSPACENAME Name of the workspace to reset.
141141
142142
OPTIONS
143-
-h, --help show CLI help
143+
-h, --help Shows this help message.
144144
-p, --production Recreates the workspace as a production one.
145-
-v, --verbose Show debug level logs
145+
-v, --verbose Shows debug level logs.
146146
-y, --yes Answers yes to all prompts.
147-
--trace Ensure all requests to VTEX IO are traced
147+
--trace Ensures all requests to VTEX IO are traced.
148148
149149
EXAMPLES
150150
vtex workspace reset
151151
vtex workspace reset workspaceName
152152
```
153153

154-
_See code: [build/commands/workspace/reset.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.1.0/build/commands/workspace/reset.ts)_
154+
_See code: [build/commands/workspace/reset.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.2.0/build/commands/workspace/reset.ts)_
155155

156156
## `oclif-example workspace:status [WORKSPACENAME]`
157157

@@ -165,15 +165,15 @@ ARGUMENTS
165165
WORKSPACENAME Name of the workspace.
166166
167167
OPTIONS
168-
-h, --help show CLI help
169-
-v, --verbose Show debug level logs
170-
--trace Ensure all requests to VTEX IO are traced
168+
-h, --help Shows this help message.
169+
-v, --verbose Shows debug level logs.
170+
--trace Ensures all requests to VTEX IO are traced.
171171
172172
EXAMPLE
173173
vtex workspace status
174174
```
175175

176-
_See code: [build/commands/workspace/status.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.1.0/build/commands/workspace/status.ts)_
176+
_See code: [build/commands/workspace/status.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.2.0/build/commands/workspace/status.ts)_
177177

178178
## `oclif-example workspace:use WORKSPACE`
179179

@@ -187,11 +187,11 @@ ARGUMENTS
187187
WORKSPACE Name of the workspace
188188
189189
OPTIONS
190-
-h, --help show CLI help
190+
-h, --help Shows this help message.
191191
-p, --production Creates and/or switches to a production workspace.
192192
-r, --reset Resets the workspace before switching to it.
193-
-v, --verbose Show debug level logs
194-
--trace Ensure all requests to VTEX IO are traced
193+
-v, --verbose Shows debug level logs.
194+
--trace Ensures all requests to VTEX IO are traced.
195195
196196
ALIASES
197197
$ oclif-example use
@@ -201,5 +201,5 @@ EXAMPLES
201201
vtex use workspaceName
202202
```
203203

204-
_See code: [build/commands/workspace/use.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.1.0/build/commands/workspace/use.ts)_
204+
_See code: [build/commands/workspace/use.ts](https://github.com/vtex/cli-plugin-workspace/blob/v1.2.0/build/commands/workspace/use.ts)_
205205
<!-- commandsstop -->

package.json

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
22
"name": "@vtex/cli-plugin-workspace",
33
"description": "vtex plugin workspace",
4-
"version": "1.1.0",
4+
"version": "1.2.0",
55
"bugs": "https://github.com/vtex/cli-plugin-workspace/issues",
66
"dependencies": {
7-
"@oclif/command": "^1",
7+
"@oclif/command": "^1.8.0",
88
"@oclif/config": "^1",
99
"ramda": "^0.27.1",
10-
"tslib": "^1"
10+
"ora": "4.0.4",
11+
"boxen": "4.2.0",
12+
"tslib": "^1",
13+
"@vtex/api": "npm:@vtex/[email protected]"
1114
},
1215
"devDependencies": {
1316
"@oclif/dev-cli": "^1",
@@ -26,11 +29,9 @@
2629
"nodemon-notifier-cli": "https://github.com/Slessi/nodemon-notifier-cli.git",
2730
"prettier": "^2.0.1",
2831
"ts-jest": "^25.2.1",
32+
"vtex": "^4.2.0",
2933
"ts-node": "^8",
30-
"typescript": "^3.8.2",
31-
"vtex-latest": "npm:[email protected]",
32-
"vtex": "npm:[email protected]",
33-
"@vtex/api": "npm:@vtex/[email protected]"
34+
"typescript": "^3.8.2"
3435
},
3536
"engines": {
3637
"node": ">=8.0.0"

src/modules/promote.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import {
1010
promptConfirm,
1111
authUrl,
1212
workspaceUse,
13+
VBase,
1314
COLORS,
1415
} from 'vtex'
1516

16-
import { VBase } from 'vtex-latest'
1717
import { MineWinsConflictsResolver } from '@vtex/api'
1818

1919
const vbase = VBase.createClient(undefined, {

0 commit comments

Comments
 (0)