16 Commits

Author SHA1 Message Date
John McKim
5a2c9d2224 update packaging to support individual packages per function 2016-08-22 07:40:16 +10:00
John McKim
ce52d9d3e9 update terminology and docs 2016-08-16 07:53:24 +10:00
John McKim
b28ecbeb31 merge from master 2016-08-13 08:06:09 +10:00
Philipp Muens
ffceabc7c5 Rename lifecycle events of deploy plugin 2016-08-11 16:23:17 +02:00
John McKim
d334d1721f Ensure cf template is always written to disk 2016-08-11 05:20:13 +10:00
Philipp Muens
a0f7bb20d1 Add tests to increase test coverage 2016-08-08 08:27:26 +02:00
Chris Olszewski
4ac22f2246 switch from node-zip to jszip 2016-08-04 14:23:52 -05:00
Philipp Muens
0ccaea1d5a Switch naming from yaml to yml for Serverless config related files 2016-07-27 11:24:10 +02:00
Philipp Muens
c9d1453d3a Switch from .yaml to the more convenient .yml 2016-07-27 10:39:41 +02:00
Sander van de Graaf
2f83daf3b5 fix test comment to be correct 2016-07-25 09:35:01 +02:00
Sander van de Graaf
f6fb90c834 make linter happy 2016-07-25 09:33:53 +02:00
Sander van de Graaf
0a728c6562 add tests for including files with non-default file permissions 2016-07-25 09:24:09 +02:00
Arnaud Rebts
390e7d0037 Don't use regex to test file path in package plugin
In a regex, `.` means any character, so the default exclude list will
actually exclude more than intended (any path containing `.serverless`
for example).

Instead, use `String#indexOf()`
2016-07-12 17:22:25 +02:00
Philipp Muens
b74fa46563 Update hook order and zipping functionality
Update the hook order because the functions need the .zip file in their resource
definition. Furthermore the zipping process / writing it to disc was optimized.
The ".serverless" directory is also added to the "default exclude array" so that it's not
considered during packaging.
2016-07-07 20:10:05 +02:00
Philipp Muens
16679f4db8 Fix code and tests so that the package plugin works correctly 2016-07-07 20:10:05 +02:00
Philipp Muens
259c58d822 Add package plugin 2016-07-07 20:10:05 +02:00