131 Commits

Author SHA1 Message Date
Frank Schmid 258ed580db Bump version to 2.2.1 v2.2.1 2017-08-21 16:55:41 +02:00
Frank Schmid 247b64915c Merge pull request #196 from elastic-coders/handle-entry-detection-for-malformed-handlers
Ignore handlers that do not follow a path pattern
2017-08-21 16:45:15 +02:00
Frank Schmid 5916a9095a Ignore handlers that do not follow a path pattern 2017-08-21 12:17:05 +02:00
Frank Schmid cf51110279 Merge pull request #179 from franciscocpg/examples-minor-improvements
Examples minor improvements
2017-08-03 02:08:02 +02:00
Francisco Guimarães a7045b23d1 - Upgrading node runtime
- Using slsw.lib.entries with in typescript example
2017-08-02 20:58:17 -03:00
Frank Schmid 1a116f4044 Fixed unit tests 2017-08-01 21:31:34 +02:00
Frank Schmid 824b7595ec Fixed issue with default output options. 2017-07-28 21:13:01 +02:00
Frank Schmid 89ab12e632 Use correct path in examples when using handlers nested in subdirs 2017-07-28 18:36:37 +02:00
Frank Schmid 7ef2daa7e4 Fixed issue with example 2017-07-28 17:54:45 +02:00
Frank Schmid e40fe32f1e Merge pull request #170 from elastic-coders/v2.2.0-release
Prepared release
v2.2.0
2017-07-28 11:54:46 +02:00
Frank Schmid a55cd516d4 Prepared release 2017-07-28 11:51:25 +02:00
Gady e7531dcebd Do not add .js extension to entries values (#167)
* Do not add .js extension to entries values

* Find entries extension from filename

* Better filesearch performance

* Add warning for multiple files found

* Do not match directories

* Added unit tests. Throw error if handler is not found.

* Fixed examples

* Use preference sorting to find the most probable handler for multiple hits
2017-07-28 11:40:08 +02:00
Gady ceaf43ca74 Expose service and options for dynamicity (#168)
* Expose service and options for dynamicity

* Expose the whole serverless object

* Added unit tests for new exports.

* Added some notes to the README
2017-07-27 20:38:04 +02:00
Frank Schmid 7e8e8ccf75 Merge pull request #164 from elastic-coders/v2.1.0-release
Prepared 2.1.0 release
v2.1.0
2017-07-27 11:43:27 +02:00
Frank Schmid 570bd4a45c Prepared release 2017-07-27 11:36:34 +02:00
Gady f27d1c2aae Fixed package individually:true (#163)
* Fixed package individually:true

* Fixed issue with SLS <1.18. Updated unit tests.

* Removed debug logging
2017-07-27 11:23:11 +02:00
Francisco Guimarães 22a460d8b1 Integration with deploy package function (#130)
* Deploy  package function

* Listen pipe and reject pipe errors

* using once instead of on

* Fix babel example

* - Adding babel-multiple-statically-entries example
- Renaming multiple-entries-example to multiple-statically-entries

* Exposing entries to lib

*  Adding babel-dynamically-entries examples

* - Updating examples dependencies
- Adding yarn to examples
- Fix typescript example

*  Adding tests

* Removed yarn lock file. yarn should use package-lock.json

* Allow handlers in arbitrary paths. Use lodash and SLS functions.

* Adapted unit tests

* Mention new entry resolution in README

* Bundle names now contain the js ending. Fixed output in examples.
2017-07-26 22:42:15 +02:00
jgilbert01 b87f02819e fix serverless-offline exec (#155)
* fixed serverless-offline exec

* reverted location condition change
2017-07-24 21:07:01 +02:00
Frank Schmid c7d9cd584a Added tests for cleanup and updated test tools (#160)
* Cleanup compile unit tests. Update test framework.

* Updated test tools. Added unit test for cleanup. Refactored unit tests.

* Added lodash to dependencies

* Updated package-lock.json
2017-07-24 19:42:44 +02:00
Jussi Kinnula f4988de04b Add support for webpack configuration in TypeScript format (#129)
* Add ts-node to dependencies

* Require ts-node/register if webpack configuration file name ends with .ts
2017-07-20 16:27:34 +02:00
Frank Schmid c07fbcbb52 Merge pull request #149 from jthomas/master
Add provider support table to README
2017-07-12 12:41:20 +02:00
James Thomas f1a4d8da27 Add provider support table to README 2017-07-11 14:56:32 +01:00
Dillon Bailey 376fde9f12 Serverless-offline and Serverless-webpack example (#148)
* start of serverless offline example

* Update readme.md with mention of example for serverless-offline in examples folder
2017-07-10 20:22:52 +02:00
Hassan Khan a7632794d1 Add license badge to README (#147)
* Change inline link to reference

* Grammar fix

* Add badge for license
2017-07-05 20:06:06 +02:00
Frank Schmid 8b1a29df4b Bump version to 2.0.0 v2.0.0 2017-07-04 13:26:32 +02:00