Skip to content

Commit 62a53cc

Browse files
authored
Cleanup cli script (#1538)
* move ovsx script to bin directory * run npm pkg fix * add entry to cli changelog and cleanup
1 parent da0987f commit 62a53cc

File tree

4 files changed

+10
-58
lines changed

4 files changed

+10
-58
lines changed

cli/CHANGELOG.md

Lines changed: 6 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,26 @@
22

33
This change log covers only the command line interface (CLI) of Open VSX.
44

5+
### [Unreleased]
6+
7+
#### Changes
8+
9+
- Move `ovsx` script to `bin` directory ([#1538](https://github.com/eclipse/openvsx/pull/1538))
10+
511
### [v0.10.8] (Jan. 2026)
612

713
#### Dependencies
814

915
- Upgrade `jws` from `3.2.2` to `4.0.1` ([#1482](https://github.com/eclipse/openvsx/pull/1482))
1016
- Upgrade `@vscode/vsce` from `3.2.1` to `3.7.1` ([#1482](https://github.com/eclipse/openvsx/pull/1482))
1117

12-
---
13-
1418
### [v0.10.7] (Nov. 2025)
1519

1620
#### Dependencies
1721

1822
- Upgrade `glob` from `10.3.10` to `10.5.0` ([#1423](https://github.com/eclipse/openvsx/pull/1423))
1923
- Upgrade `js-yaml` from `4.1.0` to `4.1.1` ([#1417](https://github.com/eclipse/openvsx/pull/1417))
2024

21-
---
22-
2325
### [v0.10.6] (Sep. 2025)
2426

2527
#### Dependencies
@@ -28,25 +30,19 @@ This change log covers only the command line interface (CLI) of Open VSX.
2830
- Upgrade `tmp` from `0.2.3` to `0.2.4` ([#1304](https://github.com/eclipse/openvsx/pull/1304))
2931
- Upgrade `form-data` from `4.0.0` to `4.0.4` ([#1291](https://github.com/eclipse/openvsx/pull/1291))
3032

31-
---
32-
3333
### v0.10.5 (Jul. 2025)
3434

3535
#### Dependencies
3636

3737
- Upgrade `brace-expansion` from `2.0.1` to `2.0.2` ([#1273](https://github.com/eclipse/openvsx/pull/1273))
3838
- Upgrade `brace-expansion` from `1.1.11` to `1.1.12` ([#1261](https://github.com/eclipse/openvsx/pull/1261))
3939

40-
---
41-
4240
### v0.10.4 (Jun. 2025)
4341

4442
#### Dependencies
4543

4644
- Upgrade `tar-fs` from `2.1.2` to `2.1.3` ([#1252](https://github.com/eclipse/openvsx/pull/1252))
4745

48-
---
49-
5046
### v0.10.3 (Jun. 2025)
5147

5248
#### Bug Fixes
@@ -63,24 +59,18 @@ This change log covers only the command line interface (CLI) of Open VSX.
6359
- Replace `yauzl` with `yauzl-promise` ([#1226](https://github.com/eclipse/openvsx/pull/1226))
6460
- Upgrade `yarn` from `4.5.1` to `4.9.1` ([#1190](https://github.com/eclipse/openvsx/pull/1190))
6561

66-
---
67-
6862
### v0.10.2 (Apr. 2025)
6963

7064
#### Dependencies
7165

7266
- Upgrade `tar-fs` from `2.1.1` to `2.1.2` ([#1163](https://github.com/eclipse/openvsx/pull/1163))
7367

74-
---
75-
7668
### v0.10.1 (Nov. 2024)
7769

7870
#### Dependencies
7971

8072
- Upgrade `@vscode/vsce` from `3.1.0` to `3.2.1` ([#1047](https://github.com/eclipse/openvsx/pull/1047))
8173

82-
---
83-
8474
### v0.10.0 (Oct. 2024)
8575

8676
#### New Features
@@ -93,8 +83,6 @@ This change log covers only the command line interface (CLI) of Open VSX.
9383

9484
- Added dependency to `yauzl` ([#1012](https://github.com/eclipse/openvsx/pull/1012))
9585

96-
---
97-
9886
### [v0.9.5] (Sep. 2024)
9987

10088
#### Breaking Changes
@@ -107,16 +95,12 @@ This change log covers only the command line interface (CLI) of Open VSX.
10795
- Upgrade `commander` from `6.1.0` to `6.2.1` ([#994](https://github.com/eclipse/openvsx/pull/994))
10896
- Upgrade `tmp` from `0.2.1` to `0.2.3` ([#994](https://github.com/eclipse/openvsx/pull/994))
10997

110-
---
111-
11298
### [v0.9.4] (Sep. 2024)
11399

114100
#### Dependencies
115101

116102
- Upgrade `micromatch` from `4.0.5` to `4.0.8` ([#978](https://github.com/eclipse/openvsx/pull/978))
117103

118-
---
119-
120104
### [v0.9.2] (July 2024)
121105

122106
#### Bug Fixes
@@ -127,8 +111,6 @@ This change log covers only the command line interface (CLI) of Open VSX.
127111

128112
- Upgrade `braces` from `3.0.2` to `3.0.3` ([#953](https://github.com/eclipse/openvsx/pull/953))
129113

130-
---
131-
132114
### [v0.9.1] (Apr. 2024)
133115

134116
#### Bug Fixes
@@ -141,8 +123,6 @@ This change log covers only the command line interface (CLI) of Open VSX.
141123
- Upgrade `@vscode/vsce` from `2.24.0` to `2.25.0` ([#896](https://github.com/eclipse/openvsx/pull/896))
142124
- Upgrade `tar` from `6.2.0` to `6.2.1` ([#893](https://github.com/eclipse/openvsx/pull/893))
143125

144-
---
145-
146126
### [v0.9.0] (Mar. 2024)
147127

148128
#### Breaking Changes
@@ -154,59 +134,45 @@ This change log covers only the command line interface (CLI) of Open VSX.
154134
- Upgrade `@vscode/vsce` from `2.19.0` to `2.24.0` ([#878](https://github.com/eclipse/openvsx/pull/878))
155135
- Upgrade `semver` from `7.5.2` to `7.6.0` ([#878](https://github.com/eclipse/openvsx/pull/878))
156136

157-
---
158-
159137
### [v0.8.4] (Mar. 2024)
160138

161139
#### Dependencies
162140

163141
- Upgrade `follow-redirects` from `1.14.8` to `1.15.6` ([#869](https://github.com/eclipse/openvsx/pull/869))
164142
- Upgrade `ip` from `2.0.0` to `2.0.1` ([#858](https://github.com/eclipse/openvsx/pull/858))
165143

166-
---
167-
168144
### [v0.8.3] (Aug. 2023)
169145

170146
#### Dependencies
171147

172148
- Upgrade `yarn` from `1.22.19` to `3.6.1` ([#793](https://github.com/eclipse/openvsx/pull/793))
173149
- Upgrade `word-wrap` from `1.2.3` to `1.2.4` ([#787](https://github.com/eclipse/openvsx/pull/787))
174150

175-
---
176-
177151
### [v0.8.2] (July 2023)
178152

179153
#### Dependencies
180154

181155
- Upgrade `vcse` from `2.15.0` to `2.19.0` ([#775](https://github.com/eclipse/openvsx/pull/775))
182156
- Upgrade `semver` from `5.7.1` to `7.5.2` ([#763](https://github.com/eclipse/openvsx/pull/763))
183157

184-
---
185-
186158
### [v0.8.1] (May. 2023)
187159

188160
#### Dependencies
189161

190162
- Added explicit dependency to `semver` ([#733](https://github.com/eclipse/openvsx/pull/733))
191163

192-
---
193-
194164
### [v0.8.0] (Jan. 2023)
195165

196166
#### New Features
197167

198168
- Added CLI parameter `--skip-duplicate` to fail silently if version already exists on the marketplace ([#646](https://github.com/eclipse/openvsx/pull/646))
199169

200-
---
201-
202170
### [v0.7.1] (Dec. 2022)
203171

204172
#### Dependencies
205173

206174
- Migrated from deprecated `vcse` to `@vscode/vsce` ([#637](https://github.com/eclipse/openvsx/pull/637))
207175

208-
---
209-
210176
### [v0.7.0] (Dec. 2022)
211177

212178
#### New Features
@@ -217,8 +183,6 @@ This change log covers only the command line interface (CLI) of Open VSX.
217183

218184
- Upgrade `vcse` from `2.7.0` to `2.15.0` ([#635](https://github.com/eclipse/openvsx/pull/635))
219185

220-
---
221-
222186
### [v0.6.0] (Nov. 2022)
223187

224188
#### New Features
@@ -229,24 +193,18 @@ This change log covers only the command line interface (CLI) of Open VSX.
229193

230194
- Upgrade `vcse` from `2.6.3` to `2.7.0` ([#621](https://github.com/eclipse/openvsx/pull/621))
231195

232-
---
233-
234196
### [v0.5.0] (Mar. 2022)
235197

236198
#### New Features
237199

238200
- Added CLI parameter `--target` to support target platforms ([#406](https://github.com/eclipse/openvsx/pull/406))
239201

240-
---
241-
242202
### [v0.4.0] (Feb. 2022)
243203

244204
#### New Features
245205

246206
- Added CLI parameter `--pre-release` to support pre-releases ([#410](https://github.com/eclipse/openvsx/pull/410))
247207

248-
---
249-
250208
### [v0.3.0] (Jan. 2022)
251209

252210
#### Breaking Changes
@@ -259,8 +217,6 @@ This change log covers only the command line interface (CLI) of Open VSX.
259217
- Upgrade `follow-redirects`
260218
- Upgrade `nth-check`
261219

262-
---
263-
264220
### [v0.2.1] (Sep. 2021)
265221

266222
#### New Features
@@ -272,8 +228,6 @@ This change log covers only the command line interface (CLI) of Open VSX.
272228

273229
- Upgrade `vsce` from `1.93.0` to `1.97.0`
274230

275-
---
276-
277231
### [v0.2.0] (Jun. 2021)
278232

279233
#### New Features
@@ -289,8 +243,6 @@ This change log covers only the command line interface (CLI) of Open VSX.
289243
- Updated the `vsce` dependency from 1.84.0 to 1.93.0 ([#300](https://github.com/eclipse/openvsx/issues/300))
290244
- Added explicit dependency to `tmp` ([#254](https://github.com/eclipse/openvsx/issues/254))
291245

292-
---
293-
294246
### [v0.1.0] (Apr. 2021)
295247

296248
First release of Open VSX with the Eclipse Foundation.

cli/src/ovsx renamed to cli/bin/ovsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if (semver.lt(process.versions.node, '20.0.0')) {
77
process.exit(1);
88
}
99

10-
require('./main')(process.argv);
10+
require('../lib/main.js')(process.argv);

cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"main": "lib/index",
3131
"types": "lib/index",
3232
"bin": {
33-
"ovsx": "lib/ovsx"
33+
"ovsx": "bin/ovsx"
3434
},
3535
"engines": {
3636
"node": ">= 20"
@@ -69,7 +69,7 @@
6969
"scripts": {
7070
"clean": "rimraf lib",
7171
"prebuild": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
72-
"build": "tsc -p ./tsconfig.json && yarn run lint && cp src/ovsx lib/ovsx",
72+
"build": "tsc -p ./tsconfig.json && yarn run lint",
7373
"watch": "tsc -w -p ./tsconfig.json",
7474
"lint": "eslint -c ./configs/eslintrc.mjs src",
7575
"prepare": "yarn run clean && yarn run prebuild && yarn run build",

cli/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3430,7 +3430,7 @@ __metadata:
34303430
typescript: "npm:^5.6.3"
34313431
yauzl-promise: "npm:^4.0.0"
34323432
bin:
3433-
ovsx: lib/ovsx
3433+
ovsx: bin/ovsx
34343434
languageName: unknown
34353435
linkType: soft
34363436

0 commit comments

Comments
 (0)