Skip to content

Commit

Permalink
Update readme, prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
xsburg committed Apr 15, 2020
1 parent 9c28ac7 commit 6cc27cd
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ After that, you can load the bundle by going to the extensions tab in VS Code an

All releases are made using release branches, e.g. `release/0.11.0`.

- Update README.md:
- Update README.md in the root directory:
- Add new changelog entry
- Add new code actions into the list
- Check if other changes are needed
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ If you like this project and find it useful, you can buy me a beer through paypa

## Release Notes

### 0.12.0

- Add new refactoring: `Replace ?: with if-else` (#19):

![Replace ?: with if-else](resources/replace-ternary-with-if-else.gif)

- Fixed 'Remove redundant else' refactoring not to appear when there is not else statement (#21).
- The project now uses Webpack internally to minimize the extension size and improve performance (#22).

### 0.11.0

- Add new range-based code action: `Call await statements in parallel with Promise.All()` (#7):
Expand Down
9 changes: 9 additions & 0 deletions client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ All notable changes to the "vscode-javascript-booster" extension are documented

<!-- CHANGELOG STARTS HERE -->

### 0.12.0

- Add new refactoring: `Replace ?: with if-else` (#19):

![Replace ?: with if-else](resources/replace-ternary-with-if-else.gif)

- Fixed 'Remove redundant else' refactoring not to appear when there is not else statement (#21).
- The project now uses Webpack internally to minimize the extension size and improve performance (#22).

### 0.11.0

- Add new range-based code action: `Call await statements in parallel with Promise.All()` (#7):
Expand Down
9 changes: 9 additions & 0 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ If you like this project and find it useful, you can buy me a beer through paypa

## Release Notes

### 0.12.0

- Add new refactoring: `Replace ?: with if-else` (#19):

![Replace ?: with if-else](resources/replace-ternary-with-if-else.gif)

- Fixed 'Remove redundant else' refactoring not to appear when there is not else statement (#21).
- The project now uses Webpack internally to minimize the extension size and improve performance (#22).

### 0.11.0

- Add new range-based code action: `Call await statements in parallel with Promise.All()` (#7):
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "JavaScript Booster",
"description": "Boost your productivity with advanced JavaScript refactorings and commands",
"icon": "resources/icon.png",
"version": "0.11.0",
"version": "0.12.0",
"publisher": "sburg",
"author": "Stepan Burguchev <me@sburg.net>",
"license": "MIT",
Expand Down
10 changes: 10 additions & 0 deletions resources/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,13 @@ function simplifyIfElse() {
return false;
}
}

function replaceTernaryWithIfElse() {
let foo;

if (importantValue > MAX_VALUE) {
foo = getThis();
} else {
foo = getOtherThing();
}
}
Binary file added resources/replace-ternary-with-if-else.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6cc27cd

Please sign in to comment.