Philipp Muens
8c08e4d42d
Add tests
2017-09-05 09:36:59 +02:00
Rafal Wilinski
0753811a41
Fix getFileContent encoding
2017-08-31 23:11:28 +02:00
Mariusz Nowak
b4bf2da765
Use graceful-fs for concurrent file operations
2017-08-23 17:39:15 +02:00
Mariusz Nowak
32dbed3984
Cleanup unnecessary promisification
2017-08-23 17:36:52 +02:00
Mariusz Nowak
fe5c8b28d2
Merge branch 'master' into improve-packaging-extensibility
2017-08-21 16:42:39 +02:00
Philipp Muens
226d426e08
Update tests
2017-08-18 14:36:40 +02:00
Philipp Muens
fff9db5bfc
Merge master into PR
2017-08-18 14:25:05 +02:00
Loren Gordon
58eec4d761
Uses path join to make tests os agnostic
2017-08-08 09:46:26 -04:00
Mariusz Nowak
5033bc9c1c
Merge branch 'master' into improve-packaging-extensibility
2017-08-02 15:57:15 +02:00
Philipp Muens
1acb4c5e44
Add catch-all for readFile code / test hardening
2017-07-26 12:59:31 +02:00
Philipp Muens
1540b4ed2d
Add CLI output about dev dependency exclusion
2017-07-26 12:27:26 +02:00
Philipp Muens
2802281e6d
Remove unnecessary mapSeries usage / add note about mapSeries usage
2017-07-26 12:17:26 +02:00
Philipp Muens
b9de80b5aa
Rename variables / add important note about _.difference
2017-07-26 12:15:05 +02:00
Philipp Muens
a54330aa0c
Switch to mapSeries to ensure sequential execution / order of mapping
2017-07-26 10:53:18 +02:00
Philipp Muens
d73fff689c
Refactor usage of temporary dependency files
2017-07-26 10:51:35 +02:00
David Govea
b095a286b5
Remove destructuring :( breaking builds on node 4-5
2017-07-23 02:28:59 -07:00
David Govea
e3582b6855
ESLint errors
2017-07-23 02:23:59 -07:00
David Govea
56852b74ba
Adjust data returned from "npm ls" stubs in dev & prod modes.
...
All tests passing
2017-07-23 01:56:58 -07:00
David Govea
42c8c59bde
double stub call counts for new code path
2017-07-23 01:56:26 -07:00
David Govea
4104c91839
Enable dependency diffing, & remove it.only() from failing test (now passing)
2017-07-23 01:55:21 -07:00
David Govea
3e4986c53b
Refactor zipService to assemble both dev and prod dependencies, and add failing test
2017-07-23 01:35:36 -07:00
Eoin Shanaghy
d72131e954
Update npm ls tests after conflict, use 1 space
2017-07-20 12:35:05 +01:00
Eoin Shanaghy
4f7ffd0954
Merge branch 'master' into master
2017-07-20 12:24:40 +01:00
Philipp Muens
f5b5c7f0f5
Switch from _.filter to _.compact to remove falsey values
2017-07-19 10:06:23 +02:00
Philipp Muens
f089e8f07f
Fix and update tests
2017-07-18 12:48:54 +02:00
Philipp Muens
5916665cb6
Add enhancements to harden dev dependency detection
2017-07-18 12:48:31 +02:00
Philipp Muens
ed029a32da
Catch and resolve rejected exec calls
2017-07-17 14:33:53 +02:00
Philipp Muens
9e1c322436
Add line-based eslint disable statements
2017-07-17 14:33:53 +02:00
Philipp Muens
9700ebf226
Add usage of Lodash utility methods
2017-07-17 14:33:53 +02:00
Philipp Muens
cb00caed84
Switch from stdout stream based to tmp file approach
2017-07-17 14:33:53 +02:00
Philipp Muens
bb5e62e61a
Fix dev dependency exclusion bug
2017-07-17 14:33:53 +02:00
Eslam λ Hefnawy
084f8f3027
Merge pull request #3910 from ryansb/ignore-custom-plugins
...
Ignore custom plugins in the project when uploading artifacts
2017-07-12 19:41:14 +07:00
Mariusz Nowak
f4ee5481c6
Test error handling in zipFiles
2017-07-10 21:47:49 +02:00
Mariusz Nowak
7d5b93696e
Expose getFileContent method
2017-07-10 20:19:56 +02:00
Mariusz Nowak
a24e243766
Resolve files for archive asynchronously
2017-07-10 20:17:14 +02:00
Mariusz Nowak
7f5d4426f6
Handle eventual write error
2017-07-10 20:08:17 +02:00
Mariusz Nowak
0a95913481
Seclude files resolution logic
2017-07-10 13:53:57 +02:00
Eoin Shanaghy
9724645a10
Include dependencies when long=true in npmrc
...
- Issue #3918
- Ensure npm output parsed to determine production dependencies is
consistent regardless of npmrc settings
2017-07-10 09:26:43 +01:00
Eslam A. Hefnawy
bcbbd907ab
skip service packaging if artifact is provided
2017-07-07 20:59:00 +07:00
Eslam A. Hefnawy
42d48892c2
fix deploy function with service artifact
2017-07-07 19:22:42 +07:00
Eslam A. Hefnawy
ea9c7659e2
Merge branch '3625-deploy-function-pkg' of https://github.com/darkowlzz/serverless into darkowlzz-3625-deploy-function-pkg
2017-07-07 18:22:59 +07:00
Ryan S. Brown
ef1cac76f0
Ignore custom plugins in the project when uploading artifacts
2017-07-06 22:59:32 -04:00
Philipp Muens
e2df8f2b45
Update tests for new packageFunction() functionality
2017-07-04 09:30:20 +02:00
Eslam λ Hefnawy
ea79e2b1dd
Merge pull request #3830 from jthomas/master
...
Add disable parameter to function package options
2017-07-03 23:09:43 +07:00
Philipp Muens
0d8174ba72
Merge master into PR
2017-07-03 17:04:49 +02:00
Eslam λ Hefnawy
9f7e740b09
Merge pull request #3838 from serverless/only-re-deploy-when-updated
...
Only re-deploy when code or service updated
2017-07-03 19:54:58 +07:00
Eslam λ Hefnawy
fadb11f9ac
Merge pull request #3880 from serverless/fix-node-modules-regex
...
Fix node_modules regex in excludeDevDependencies to be OS independent
2017-07-03 17:36:38 +07:00
Sunny
042b6e2e74
Add test for deployFunction() with artifact
2017-06-30 23:29:19 +05:30
Sunny
8d8f0645b4
Add packageService test for function artifact path
2017-06-30 23:29:19 +05:30
Sunny
59a25a9dbd
Add function artifact check in deployFunction
...
- Adds check for function package artifact in packageFunction() and
avoids packing if a package artifact is found.
- Adds check for function artifact in deployFunction() and use the
provided artifact to deploy if available.
2017-06-30 23:29:19 +05:30