[vscode-spring-cli] build infra updates
This commit is contained in:
@@ -52,8 +52,8 @@ New/Add/Remove user-defined command (`command new/add/remove` CLI commands). Com
|
||||
Execute user-defined command. Allows user to select user-defined command either locally in the workpsace or globally, then the sub-command and then enter the parameters for the selected command and finally execute it. Available via:
|
||||
- Command Palette: **Spring CLI: Execute User-Defined Command**
|
||||
|
||||
[Add-Functionality]: ./doc-images/Add-Functionality.png
|
||||
[Gen-AI-markdown]: ./doc-images/AI-Markdown.png
|
||||
[Preview-Changes]: ./doc-images/Preview-Changes.png
|
||||
[Add-Functionality]: https://github.com/spring-projects/sts4/blob/main/vscode-extensions/vscode-spring-cli/doc-images/Add-Functionality.png?raw=true
|
||||
[Gen-AI-markdown]: https://github.com/spring-projects/sts4/blob/main/vscode-extensions/vscode-spring-cli/doc-images/AI-Markdown.png?raw=true
|
||||
[Preview-Changes]: https://github.com/spring-projects/sts4/blob/main/vscode-extensions/vscode-spring-cli/doc-images/Preview-Changes.png?raw=true
|
||||
|
||||
|
||||
11
vscode-extensions/vscode-spring-cli/build.sh
Executable file
11
vscode-extensions/vscode-spring-cli/build.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
# Build Spring CLI extension
|
||||
npm install
|
||||
rm -fr *.vsix
|
||||
if [ "$1" = "pre-release" ]
|
||||
then
|
||||
npm run vsce-pre-release-package
|
||||
else
|
||||
npm run vsce-package
|
||||
fi
|
||||
rm -fr ${home}/.vscode/extensions/*vscode-spring-cli-*
|
||||
code --install-extension *.vsix
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "vscode-spring-cli",
|
||||
"version": "1.55.0",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "vscode-spring-cli",
|
||||
"version": "1.55.0",
|
||||
"version": "1.0.0",
|
||||
"license": "EPL-1.0",
|
||||
"dependencies": {
|
||||
"js-yaml": "^4.1.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "vscode-spring-cli",
|
||||
"displayName": "Spring CLI Support",
|
||||
"description": "Spring CLI integrated into IDE",
|
||||
"displayName": "Spring CLI",
|
||||
"description": "Spring CLI integrated into VSCode UI",
|
||||
"icon": "spring-boot-logo.png",
|
||||
"version": "1.0.0",
|
||||
"publisher": "vmware",
|
||||
@@ -164,7 +164,7 @@
|
||||
"main": "./out/extension",
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run compile",
|
||||
"compile": "rm -rf ./out && tsc -p .",
|
||||
"compile": "tsc -p ./",
|
||||
"watch": "npm run compile && tsc -watch -p .",
|
||||
"clean": "rm -fr node_modules out *.vsix package-lock.json",
|
||||
"vsce-package": "vsce package",
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
"declaration": true,
|
||||
"outDir": "out",
|
||||
"sourceMap": true,
|
||||
"rootDir": "./src",
|
||||
"rootDir": ".",
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"include": [
|
||||
"typings/*.d.ts",
|
||||
"./**/*.ts"
|
||||
"src/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
||||
Reference in New Issue
Block a user