148 Commits

Author SHA1 Message Date
Frank Schmid b0920c3513 Updated dependencies 2018-07-07 16:12:24 +02:00
Frank Schmid 1f9ef6d5d2 Merge pull request #413 from nidin/patch-1
Added support for async webpack config object
2018-07-07 15:38:07 +02:00
Frank Schmid 77121fc7a7 Use sinon and chai in unit tests 2018-07-07 15:23:13 +02:00
Jon Bevan 89936c845b Include directory when reporting missing handler
This helped me debug a problem with using the context option
in my webpack configuration.
2018-06-28 19:55:38 +01:00
Nidin Vinayakan 6c7427b78c Reviewer's recommended changes.
Generic thenable check added to identify if the webpack config
is a Promise or not.
new Promise anti-pattern avoided.
README updated.
New functionality added to highlights, recent changes and release note.
Added additional test to check correctness when passing
wrong then object in config.
2018-06-21 21:49:10 +02:00
Nidin Vinayakan 83f761b7c2 Indentation issue fixed 2018-06-20 12:33:09 +02:00
Nidin Vinayakan 35ad57dc60 Promise returned properly
Proper Promise return statements added.
2018-06-20 12:12:43 +02:00
Nidin Vinayakan 2becf94c05 this.webpackConfig check added
If condition extended to check whether this.webpackConfig is falsy.
2018-06-20 11:57:18 +02:00
Nidin Vinayakan 2dc2f427b7 Inline comments added 2018-06-20 11:44:12 +02:00
Nidin Vinayakan 32fbab4f8b Added support for async webpack config object
Webpack 2+ support async configuration object by exporting a promise as configuration object.
This PR added support for async configuration object.
Closes #412
2018-06-20 11:06:53 +02:00
Frank Schmid 356bddaeb7 Doc fixes. Use info message in verbose mode. 2018-05-16 10:09:22 +02:00
Frank Schmid ddf1435304 Ignore aws-sdk to reduce risk of breaking builds. Emit a warning instead. 2018-05-03 12:59:38 +02:00
Frank Schmid 58f0f57efa Added error if needed runtime dependency is a devDependency 2018-05-02 12:37:04 +02:00
Frank Schmid 57937363cc Added unit tests for package section copy 2018-04-30 15:39:02 +02:00
Frank Schmid f9896e6d3f Fixed unit tests 2018-04-30 11:27:18 +02:00
Frank Schmid cc3babaa75 Allow packagers to import sections from original package.json 2018-04-30 11:11:06 +02:00
Frank Schmid a185262f84 Added unit test 2018-04-27 14:38:58 +02:00
Frank Schmid f2547b628e Support direct Yarn file references 2018-04-27 13:51:33 +02:00
Frank Schmid c4a1a69850 Rebase Yarn local file references correctly 2018-04-27 13:44:49 +02:00
Frank Schmid 4ee2dfe122 OOS: Added missing prepare offline unit tests 2018-04-25 18:32:09 +02:00
Frank Schmid 4d5fa6ac69 Removed unnecessary configuration check 2018-04-25 18:17:44 +02:00
Frank Schmid 3caa2b640d Fixed typo 2018-04-25 18:11:42 +02:00
Frank Schmid b379de95f8 Utils unit tests
Enhance error message

Removed deprecated option from README

Convert all outstanding changes (yarn and package)

Adjusted NPM unit tests

Use spawn in any npm commands

Use spawn instead of exec

Fix unit test description

Do not swallow errors in case npm ls fails without a proper stdout
2018-04-25 18:05:37 +02:00
Frank Schmid 810e27a4cc Use iterative approach to prevent stackoverflows 2018-03-22 14:49:21 +01:00
Frank Schmid 68d649bcbc Added unit test for prepareLocalInvoke 2018-03-22 13:59:21 +01:00