Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat(WebpackTranspiler): Add Initial version of WebpackTranspiler (#4)
* Fix(Test): Fix casing for Hello World * Feat(Travis): Notification settings * Feat(sinon): Add sinon and mock producer * Test(compile): Add test for webpack transpile * Feat(WebpackCompiler): Basic implementation * Test(Remove): Remove test temporarily * Feat(resources): Add sampleProject * Feat(Transpiler): Add initial version of WebpackTranspiler Initial version of the WebpackCompiler implementing the Transpiler interface provided by Stryker This implementation has a asyncTranspile function temporarily because Stryker only does synchronous compilation This transpiler does not work untill stryker starts supporting async transpilers * Feat(Compiler): Compiler used internally by the WebpackTranspiler * Test(intergration): Intergration test for WebpackTranspiler * chore(testResources): Allow js files in testResources folder * Feat(Packages): Cleaned up dependencies * Ffix(Deps): Temporarily add peer dependencies Temporarily add peer dependencies to the dependencies list untill I figure out how to get the peer dependencies to load in the build process. Should fix the build. * Chore(ignore): Ignore package-lock.json * feat(FsWrapper): Add fsWrapper to the project * chore(clean): Clean ignored files from the repository * Feat(FsWrapper): Use FsWrapper instead of private functions * Test(FsWrapper): Tests for FsWrapper * Chore(Clean): Remove redundant files * Feat(Transpiler): Register transpiler in index file * test(fswrapper): Add mock interface * Refactor(Clean): Remove package-lock.json from the project for now * Chore(gitignore): Add package-lock.json to the gitignore file * Feat(Stryker): Update to the latest stryker-api * Feat(Stryker): Make use of the The transpiler plugin should now be compatible with Stryker (yay) * Fix(Tests): Fix intergration tests * Feat(Clean): Remove gitkeep as it is no longer needed * Refactor(Designs): Refactor based on designs * Refactor(rename): Rename intergration -> integration * Chore(Report): Add nyc report and output to ignore * Feat(Coverage): Add nyc to measure coverage * Refactor(errors): Make constants for error identifiers * Fix(Identity): Identify as webpack transpiler * Test(childProcess): Test bundle with childProcess * Feat(Execute): Create async exec method * Feat(producers): Producers for several enitites. * Test(WebpackCompiler): Add tests for WebpackCompiler * Test(WebpackTranspiler): Add tests for WebpackTranspiler * Fix(Build): Make tests pending and fix SinonObject * Fix(Webpack): Import all and export as default We do this so that we can stub webpack in out tests * Feat(MockInterfaces): Add interface for WebpackCompilerMock * Feat(Webpack): Use default export webpack instead of official * Feat(WebpackCompiler): Add create funciton for compiler mock * Test(WebpackCompiler): Add additional tests for WebpackCompiler * Test(Stat): Add case in which stat rejects with an error * Test(Clean): Cleanup tests * Feat(Stryker): Add stryker for testing * Feat(Stryker): Stryker config * Test(cache): Add test to verify if cache is set to true * chore(logLevel): Set Stryker logLevel to info * Feat(Config): Change provided webpack config rather than a new one * Test(Config): Check entrypoint set by the transpiler * Test(FsWrapper): Create tests for edge cases * Test(WebpackCompiler): Add test to cover an edge case * Fix(Config): Temporarily clone the config object * Test(Transpiler): Temporarily remove test for entry point * Feat(Test): Build before testing. * Refactor(Review): Implemented suggested refactor
- Loading branch information