30 Commits

Author SHA1 Message Date
Kim Brandwijk 4bace79c1d Added support for serverless run (#49)
Added hooks to support the new `serverless run` command. Compiling works, but watch mode does not. Probably because of the way that `serverless run` loads the files.
2017-11-06 21:11:24 +01:00
pjsier 1a2da6a900 Add comment for checking excluded packages 2017-09-30 09:09:25 -05:00
pjsier 852011945b Handle undefined fn package.exclude 2017-09-29 10:57:21 -05:00
György Balássy 3fc55e50c8 UPDATE: The deprecated fs-p package is replaced with the latest version of the fs-extra package. 2017-09-18 10:19:04 +02:00
György Balássy ce61d075ec FIXED: TypeScript compiler ERROR: src/watchFiles.ts[12, 7]: Shadowed name: 'watchFiles' 2017-09-18 10:18:19 +02:00
OscarGalindo 18e5dd072e Console message to notify when compilation complete 2017-09-01 17:10:49 +02:00
Kenneth Falck 6f53fbd1b5 Rename from ServerlessPlugin to TypeScriptPlugin 2017-08-21 21:36:04 +03:00
Johannes Schickling 90a3aebccc Merge pull request #30 from wyattjoh/google-functions-support
Added support for Google Cloud Functions
2017-08-11 10:35:25 +02:00
Wyatt Johnson 62070ca7c1 fixed small syntax error 2017-08-10 15:20:26 +10:00
Wyatt Johnson cc3f54dac7 Added support for Google Cloud Functions 2017-08-10 14:54:22 +10:00
Wyatt Johnson 3fdeee1f0d fixes #28 2017-08-10 14:13:47 +10:00
Roman Hotsiy 86a25b7c6c feat: support the "individual" option for package
closes #10
2017-07-25 22:03:57 +02:00
Roman Hotsiy bb4f0bef4b Add warning about rootDir overwritting 2017-07-25 20:37:30 +02:00
Roman Hotsiy cc11034ad7 Major refactoring + support watch mode 2017-07-25 19:43:05 +02:00
Marco Lüthy e37c45f6c9 feat: add support for Serverless node devDeps exclusion feature
Serverless 0.16.0 introduced a feature which excludes Node.js dev dependencies from .zip files. The feature uses package.json to find which dependencies can be excluded.
https://github.com/serverless/serverless/pull/3737

This commit adds the package.json to the .build folder, so that Serverless can find the package.json file.
2017-07-02 18:54:47 +02:00
NicholasDunham bfee5a7891 Support 'deploy function' command 2017-06-19 23:08:56 -07:00
Marco Lüthy 6c7362bf1c Use 'package' hook instead of 'deploy'
The 'deploy' hook simply leverages the 'package' hook. By using the 'package' hook instead of 'deploy' you get both for the price of one!

This lets a user use both the $ sls deploy and $ sls package CLI commands.

Source: https://github.com/serverless/serverless/blob/master/lib/plugins/deploy/deploy.js#L95
2017-06-16 10:34:43 +02:00
Jaga Santagostino d70c48a738 add tests for getTypesriptConfig 2017-06-10 12:19:32 +02:00
Johannes Schickling 4c58a7a564 fix linting 2017-06-09 10:56:35 +02:00
Andrew Matheny bca5f87a1e Compile typescript before serverless-offline starts up 2017-06-08 13:17:21 -04:00
Chris Moyer 6d0f84b2c4 Reduce redundant code by calling cleanup after the "after" function. 2017-05-24 09:31:33 -04:00
Chris Moyer b6db865924 Support for invoke local 2017-05-23 12:51:05 -04:00
Johannes Schickling 7e7d60a682 Refactoring 2017-05-22 20:31:02 +02:00
Chris Moyer 6becf3c80d Modified code to use Async/Await.
Other minor style updates suggested by @schickling
2017-05-22 10:48:35 -04:00
Chris Moyer 9d62731b0d Add in package/includes to final build product.
Resolves #9
2017-05-19 17:10:07 -04:00