Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for ES6 transpilation. Change dependency injection in order to match the
classandconstructorkeywords.Update istanbul to latest version as its previous versions do not support ES6.
Remove bluebird.d.ts as it conflicts with Promises from TypeScript's ES6 d.ts.
Remove bluebird as dependency - we will use native Promises from now on.
Add support for Node.js 4 and 5 - both versions have limited support for ES6 features, so in order to support them we have to:
.applyinstead of using spread operator. Remove all other usages of spread operator (for objects).Add tests scripts for istanbul and mocha, as they both will need the
--harmonyflag as well, so we cannot execute them directly with Node.js 4 and 5. Instead we'll execute a custom script, that will start a new node process.Introduce
test-scriptsdirectory with JavaScript executables to start the tests. Set them in package.json. They are required as when Node 4 or Node 5 is used, the tests will need--harmonyflag as well.Exclude
test-scriptsdirectory from npm package (add it to.npmignore) - users do not need these files.Exclude
.vscode/launch.jsonfrom.gitignoreand add predefined launch configurations. They can be used for debugging CLI process and unit tests.Part of #2204