diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e9a738b..5bb3c2d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 2.0.1 + +- **Fix**: Crash if a `package.json` file does not have a `devDependencies` property. ([#310](https://github.com/standard/vscode-standard/pull/310)) +- **Chore**: Add automated tests ([#297](https://github.com/standard/vscode-standard/pull/297)) + ## 2.0.0 - **Feature**: Better options default to reduce configurations overhead for users so that they can use the extension fast without too much configurations and still following "best practices" by encouraging local installation per project. ([#263](https://github.com/standard/vscode-standard/pull/263)) @@ -7,6 +12,7 @@ Now the extension will be automatically be enabled in projects that has one of the engines (`standard`, `semistandard`, `standardx` or `ts-standard`) installed in `devDependencies` in `package.json`. **Note**: This feature is only working if you have only **one** open folder in your VSCode workspace. + **Note 2**: If you still want to enable the extension globally you can set the new option : `"standard.enableGlobally": true` (by default it is set to `false`). **BREAKING CHANGE**: This feature changed the default settings, before: `"standard.usePackageJson": false`, after: `"standard.usePackageJson": true` diff --git a/package-lock.json b/package-lock.json index 604dde05..0131e9b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vscode-standard", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "vscode-standard", - "version": "2.0.0", + "version": "2.0.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 78fc559d..ac1491c6 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-standard", "displayName": "StandardJS - JavaScript Standard Style", "description": "Visual Studio Code extension for JavaScript Standard Style with automatic fixing.", - "version": "2.0.0", + "version": "2.0.1", "author": "Standard", "license": "MIT", "repository": {