Skip to content

Commit

Permalink
v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KamasamaK committed Apr 8, 2020
1 parent be63475 commit b384858
Show file tree
Hide file tree
Showing 8 changed files with 286 additions and 669 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v1.0.2

* Bump dependencies
* Replace bundled icons with codicon
* Remove workaround for hover run script bug

## v1.0.1

* Bump dependencies
Expand Down
899 changes: 262 additions & 637 deletions package-lock.json

Large diffs are not rendered by default.

23 changes: 13 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"publisher": "ortus-solutions",
"displayName": "CommandBox",
"description": "Extension to add support for CommandBox",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",
"engines": {
"vscode": "^1.43.0"
"vscode": "^1.44.0"
},
"repository": {
"type": "git",
Expand All @@ -30,25 +30,25 @@
"lint": "eslint -c .eslintrc.js --ext .ts src/*.ts"
},
"dependencies": {
"@octokit/rest": "~17.1.0",
"@octokit/rest": "~17.2.0",
"jsonc-parser": "^2.2.1",
"minimatch": "~3.0.4",
"request-light": "^0.3.0"
},
"devDependencies": {
"@types/minimatch": "~3.0.3",
"@types/node": "~12.7.12",
"@types/vscode": "~1.43.0",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"@types/vscode": "~1.44.0",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"clean-webpack-plugin": "3.0.0",
"eslint": "^6.8.0",
"eslint-plugin-jsdoc": "^22.1.0",
"rimraf": "^3.0.2",
"ts-loader": "^6.2.1",
"ts-loader": "^6.2.2",
"typescript": "^3.8.3",
"vsce": "^1.74.0",
"webpack": "^4.42.0",
"vsce": "^1.75.0",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11"
},
"main": "./dist/extension",
Expand Down Expand Up @@ -267,7 +267,10 @@
},
"jsonValidation": [
{
"fileMatch": "server*.json",
"fileMatch": [
"server.json",
"server-*.json"
],
"url": "./resources/schemas/server.schema.json"
},
{
Expand Down
5 changes: 0 additions & 5 deletions resources/dark/prepostscript.svg

This file was deleted.

5 changes: 0 additions & 5 deletions resources/light/prepostscript.svg

This file was deleted.

9 changes: 2 additions & 7 deletions src/commandboxView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,9 @@ class BoxScript extends TreeItem {
this.command = commandList[command];

if (task.group && task.group === TaskGroup.Clean) {
// TODO: Replace with wrench-subaction after v1.44
this.iconPath = {
light: context.asAbsolutePath(path.join("resources", "light", "prepostscript.svg")),
dark: context.asAbsolutePath(path.join("resources", "dark", "prepostscript.svg"))
};
this.iconPath = new ThemeIcon("wrench-subaction");
} else {
// TODO: Replace with wrench after v1.44
this.iconPath = new ThemeIcon("symbol-property");
this.iconPath = new ThemeIcon("wrench");
}
}

Expand Down
6 changes: 2 additions & 4 deletions src/scriptHover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,9 @@ export class BoxScriptHoverProvider implements HoverProvider {
}

public runScriptFromHover(args: { script: string; documentUri: Uri }) {
// TODO: Remove this after v1.44
const documentUri = Uri.file(args.documentUri.fsPath);
const folder = workspace.getWorkspaceFolder(documentUri);
const folder = workspace.getWorkspaceFolder(args.documentUri);
if (folder) {
const task = createTask(args.script, `run-script ${args.script}`, folder, documentUri);
const task = createTask(args.script, `run-script ${args.script}`, folder, args.documentUri);
tasks.executeTask(task);
}
}
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"moduleResolution": "node"
},
"include": [
"src/**/*.ts",
"./src/**/*.ts",
"./node_modules/vscode/vscode.d.ts",
"./node_modules/vscode/lib/*"
]
Expand Down

0 comments on commit b384858

Please sign in to comment.