Skip to content

Commit

Permalink
Updated for VS Code 1.53
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Feb 9, 2021
1 parent b874fea commit 8efbd7e
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 38 deletions.
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint"
"dbaeumer.vscode-eslint",
"eamodio.tsl-problem-matcher"
]
}
}
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "npm: compile"
"preLaunchTask": "npm: test-watch"
}
]
}
}
19 changes: 16 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
"tasks": [
{
"type": "npm",
"script": "webpack",
"problemMatcher": "$tsc-watch",
"script": "compile",
"problemMatcher": [
"$ts-webpack-watch",
"$tslint-webpack-watch"
],
"isBackground": false,
"presentation": {
"reveal": "never"
Expand All @@ -15,6 +18,16 @@
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "test-watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": "build"
}
]
}
}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to the extension will be documented in this file.

## [1.10.0] - 2021-02-08
## [1.10.0] - 2021-02-10

- Update dependencies for VS Code 1.53

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-html-css",
"displayName": "HTML CSS Support",
"description": "CSS Intellisense for HTML",
"version": "1.9.1",
"version": "1.10.0",
"publisher": "ecmel",
"license": "MIT",
"homepage": "https://github.com/ecmel/vscode-html-css",
Expand All @@ -13,7 +13,7 @@
"url": "https://github.com/ecmel/vscode-html-css.git"
},
"engines": {
"vscode": "^1.52.0"
"vscode": "^1.53.0"
},
"categories": [
"Programming Languages",
Expand Down Expand Up @@ -68,36 +68,36 @@
},
"main": "./dist/extension.js",
"scripts": {
"compile": "tsc -p ./",
"deploy": "vsce publish",
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"package": "vsce package",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"vscode:prepublish": "webpack --mode production",
"watch": "tsc -watch -p ./",
"webpack-dev": "webpack --mode development --watch",
"webpack": "webpack --mode development"
"release": "vsce package"
},
"devDependencies": {
"@types/css-tree": "^1.0.4",
"@types/vscode": "^1.53.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node-fetch": "^2.5.7",
"@types/node": "^12.11.7",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"css-tree": "^1.1.2",
"eslint": "^7.15.0",
"eslint": "^7.19.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"mocha": "^8.2.1",
"typescript": "^4.1.3",
"vscode-test": "^1.5.0",
"ts-loader": "^8.0.14",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0",
"@types/css-tree": "^1.0.5",
"@types/node-fetch": "^2.5.8",
"css-tree": "^1.1.2",
"node-fetch": "^2.6.1",
"ts-loader": "^8.0.11",
"typescript": "^4.1.2",
"vsce": "^1.83.0",
"vscode-test": "^1.4.1",
"webpack-cli": "^4.2.0",
"webpack": "^5.10.0"
"vsce": "^1.85.0"
}
}
7 changes: 4 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@

const path = require("path");

/**@type {import('webpack').Configuration}*/
const config = {
target: "node",
mode: "none",

entry: "./src/extension.ts",
output: {
path: path.resolve(__dirname, "dist"),
filename: "extension.js",
libraryTarget: "commonjs2",
devtoolModuleFilenameTemplate: "../[resource-path]"
libraryTarget: "commonjs2"
},
devtool: "source-map",
devtool: "nosources-source-map",
externals: {
vscode: "commonjs vscode"
},
Expand Down

0 comments on commit 8efbd7e

Please sign in to comment.