🚚 Update URLS, add publish scripts
This commit is contained in:
parent
3ac1f33971
commit
e60fd45214
3 changed files with 13 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
# MapCompleteVScode
|
||||
|
||||
This is a Visual Studio Code extension for [MapComplete](https://github.com/pietervdvn/MapComplete).
|
||||
This is a Visual Studio Code extension for [MapComplete](https://source.mapcomplete.org/MapComplete/MapComplete).
|
||||
It adds autocompletion and defintion support for the MapComplete theme and layer configuration files.
|
||||
|
||||
Currently the following features are supported:
|
||||
|
@ -50,7 +50,7 @@ ext install robin-van-der-linde.mapcompletevscode
|
|||
|
||||
### From the .vsix file
|
||||
|
||||
You can also install the extension from the .vsix file. You can download the latest version from the [releases page](https://github.com/RobinLinde/MapCompleteVScode/releases). After downloading the .vsix file, you should be able to install it by going to extensions in Visual Studio Code and clicking on the three dots in the top right corner. Then click on "Install from VSIX..." and select the downloaded .vsix file.
|
||||
You can also install the extension from the .vsix file. You can download the latest version from the [releases page](https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode/releases). After downloading the .vsix file, you should be able to install it by going to extensions in Visual Studio Code and clicking on the three dots in the top right corner. Then click on "Install from VSIX..." and select the downloaded .vsix file.
|
||||
|
||||
It's also possible to install builds for any commit in any branch by checking out the workflow run for the commit you want to install, and downloading the .vsix file from the artifacts.
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@ For convenience, this license is also available in the [`LICENSE.txt`](LICENSE.t
|
|||
## Files
|
||||
|
||||
- [`demo.gif`](demo.gif): A demo of the extension in action.
|
||||
- [`icon.png`](icon.png): The icon of the extension. Originally created by [pietervdvn](https://github.com/pietervdvn).
|
||||
- [`icon.png`](icon.png): The icon of the extension. Originally created by [pietervdvn](https://source.mapcomplete.org/pietervdvn).
|
||||
|
|
12
package.json
12
package.json
|
@ -11,7 +11,11 @@
|
|||
"icon": "images/icon.png",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobinLinde/MapCompleteVSCode.git"
|
||||
"url": "https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode.git"
|
||||
},
|
||||
"homepage": "https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode",
|
||||
"bugs": {
|
||||
"url": "https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode/issues"
|
||||
},
|
||||
"description": "Extension providing autocompletion and definition supoort for MapComplete themes and layers.",
|
||||
"keywords": [
|
||||
|
@ -36,7 +40,11 @@
|
|||
"vscode:prepublish": "npm run compile",
|
||||
"compile": "tsc -p ./",
|
||||
"lint": "eslint",
|
||||
"watch": "tsc -watch -p ./"
|
||||
"watch": "tsc -watch -p ./",
|
||||
"package": "vsce package --baseContentUrl https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode/src/branch/main/ --baseImagesUrl https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode/media/branch/main/",
|
||||
"publish:vsc": "vsce publish --baseContentUrl https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode/src/branch/main/ --baseImagesUrl https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode/media/branch/main/",
|
||||
"publish:ovsx": "ovsx publish --baseContentUrl https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode/src/branch/main/ --baseImagesUrl https://source.mapcomplete.org/Robin-van-der-Linde/MapCompleteVScode/media/branch/main/",
|
||||
"publish": "npm run publish:vsc && npm run publish:ovsx"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.20.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue