Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/src/ovsx → cli/ovsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ if (semver.lt(process.versions.node, '20.0.0')) {
process.exit(1);
}

require('./main')(process.argv);
require('./lib/main')(process.argv);
5 changes: 3 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
],
"files": [
"lib",
"ovsx.js",
"src"
],
"main": "lib/index",
"types": "lib/index",
"bin": "lib/ovsx",
"bin": "ovsx",
"engines": {
"node": ">= 20"
},
Expand Down Expand Up @@ -63,7 +64,7 @@
"scripts": {
"clean": "rimraf lib",
"prebuild": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build": "tsc -p ./tsconfig.json && yarn run lint && cp src/ovsx lib/ovsx",
"build": "tsc -p ./tsconfig.json && yarn run lint",
"watch": "tsc -w -p ./tsconfig.json",
"lint": "eslint -c ./configs/eslintrc.mjs src",
"prepare": "yarn run clean && yarn run prebuild && yarn run build",
Expand Down
2 changes: 1 addition & 1 deletion cli/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2661,7 +2661,7 @@ __metadata:
typescript: "npm:^5.6.3"
yauzl: "npm:^3.1.3"
bin:
ovsx: lib/ovsx
ovsx: ovsx
languageName: unknown
linkType: soft

Expand Down
Loading