Juanjo Diaz
86b366a5d3
fix(Packaging): Do not exclude layer paths when packaging a layer ( #8602 )
2020-12-11 15:43:28 +01:00
Łukasz Jendrysik
13c7b7bc97
fix(Packaging): Expose meaningfully file access errors ( #8582 )
2020-12-07 16:32:39 +01:00
Mariusz Nowak
c0ea4c1461
feat(AWS Lambda): Basic container image support
2020-12-04 13:53:49 +01:00
Mariusz Nowak
7fc7e78e7f
refactor(Packaging): Refactor to async/await
2020-12-04 13:53:49 +01:00
Mariusz Nowak
b43cf22608
refactor(Packaging): Refactor to async/await
2020-12-04 13:53:49 +01:00
Mariusz Nowak
3808471972
test: Move unit tests to "test/unit" folder
2020-11-30 16:53:52 +01:00
Graham McGregor
06f6c6d28e
refactor: Refactor some functions to native promises ( #8533 )
2020-11-25 13:40:48 +01:00
Dmitry Gorbash
fdd962baa5
fix(Packaging): Fix compatibility with npm v7.0 ( #8505 )
2020-11-16 16:18:02 +01:00
Piotr Grzesik
b867df147a
refactor: Replace _.{entries|entriesIn|toPairs} with Object.entries
...
(PR #8275 )
2020-09-23 13:13:54 +02:00
Mariusz Nowak
615b10b7b1
test(Packaging): Ensure test is deterministic
2020-09-10 13:26:17 +02:00
Christian Musa
c620af3cd6
fix(Packaging): Fix resolution of files with '.' In their names ( #8130 )
2020-09-10 13:26:17 +02:00
Mariusz Nowak
8c3c7c4e3a
chore: Rename "tests" folder to "test"
...
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Mariusz Nowak
2561ae800e
fix(packaging): Ensure to include "aws-sdk" dependency if installed ( #8145 )
...
Latest version of "aws-sdk" do not necessarily aligns with one available in Lambda environment.
Users may intentionally install latest version to ensure they have access to latest features
This reverts commit f45da3c7b168d34e7d3c520068dc24364753a74a.
2020-08-28 14:09:23 +02:00
Yogendra Sharma
f45da3c7b1
perf(packaging): Exclude "aws-sdk" dependency ( #8103 )
...
As it's unconditionally provided in AWS environment
2020-08-19 16:42:10 +02:00
Mariusz Nowak
cae28851df
fix: Packaged files permissions handling
2020-07-22 10:50:11 +02:00
Mariusz Nowak
cd308b466c
test: Fix zip permissions tests
2020-07-22 10:50:11 +02:00
Dai Van Nguyen
4c33476210
refactor: Replace _.isEmpty with native counterparts ( #7873 )
2020-06-25 15:17:52 +02:00
Çalgan Aygün
7e68a0c90f
refactor: Replace _.compact with array.filter(Boolean) ( #7858 )
2020-06-22 10:38:34 +02:00
Nguyễn Việt Đức
57e4212671
refactor: Replace _.sortBy with array.sort ( #7823 )
2020-06-18 14:36:45 +02:00
Nguyễn Việt Đức
4c6f8be5cc
refactor: Replace _.map with array.map ( #7827 )
2020-06-12 09:59:42 +02:00
srd2014
053f5f420b
refactor: Replace _.split with string.split ( #7820 )
2020-06-09 12:23:14 +02:00
TATSUNO Yasuhiro
5e0af21313
refactor: Replace _.forEach and _.each with array.forEach ( #7748 )
2020-05-28 10:45:25 +02:00
Chris Villanueva
d43241ea8b
refactor: Replace _.keys with Object.keys ( #7784 )
2020-05-28 09:25:20 +02:00
Midhun Rajendran
dac7c56b26
refactor: Replace _.filter with array.filter ( #7775 )
2020-05-26 11:01:23 +02:00
Mariusz Nowak
398027eb65
test: Ensure test is not immune to race condition
...
We observe occasional fails due to differently sorted results
2020-05-21 10:40:13 +02:00
Nguyễn Việt Đức
b245596dbb
refactor: Upgrade globby to v9 ( #7750 )
2020-05-20 13:47:00 +02:00
TATSUNO Yasuhiro
8bb5517456
refactor: Replace _.{startsWith,endsWith,includes} with native methods
...
(PR #7715 )
2020-05-19 12:22:25 +02:00
darko1979
8518000d4f
fix: When packaging do not crash on deps with no package.json ( #7368 )
2020-02-25 09:40:37 +13:00
Artur Grzybowski
9591d5a232
feat: Enhance configuration options of cloudFront event ( #7170 )
...
Fixes #7151
Addresses partially #6843 and #6785
2020-01-09 14:07:33 +01:00
FanFataL
5143c2ad3a
feat: Memoize resolution of dev deps exclusion paths ( #7091 )
2019-12-16 12:58:40 +01:00
Mariusz Nowak
4e48f98f99
Prettify
2019-11-25 12:14:05 +01:00
Peter Indiola
4adc5cc197
Fix spelling and typos in docs, code variables and code comments
2019-11-20 23:28:56 +08:00
Mariusz Nowak
5ba9bce780
Ensure to treat filesToChmodPlusX as an optional
2019-11-13 13:43:20 +01:00
Mariusz Nowak
4bcc83b3c1
Prettify
2019-11-13 13:39:26 +01:00
Mariusz Nowak
a4f027afc4
Merge branch 'master' into fix-zipService-executable-flag-win32-golang
2019-11-13 13:37:09 +01:00
Philipp Muens
8d5f6b889f
Merge pull request #6825 from kdnakt/test-resolveFilePathsFromPatterns
...
Add Tests for resolveFilePathsFromPatterns()
2019-10-22 16:50:51 +02:00
Philipp Muens
f56c85089f
Fix tests
2019-10-22 13:35:24 +02:00
Philipp Muens
5372117607
Fix tests
2019-10-22 10:33:04 +02:00
Philipp Muens
f76a2d8364
Explicit file path creation
2019-10-21 08:48:55 +02:00
kdnakt
3e5c680290
fix lint
2019-10-19 21:32:59 +09:00
kdnakt
1e8c23a258
use temporary dir for test
2019-10-19 18:07:48 +09:00
Mark Tse
e62ddadc9d
chore - stop using deprecated 'new Buffer()' method.
2019-10-13 15:15:26 -04:00
kdnakt
3fcd05e4a7
prettify
2019-10-13 22:02:34 +09:00
kdnakt
93f015bcd1
add tests files
2019-10-13 21:58:21 +09:00
kdnakt
861bc945ea
add testcase for #resolveFilePathsFromPatterns
2019-10-13 21:57:22 +09:00
noreabu
6a91107e3d
fix: use normalized maps in zipService.js
...
The comparison inside zipFiles normalizes both maps before comparison
2019-09-18 16:23:29 +02:00
Philipp Muens
a7fe06eabd
Globally enable graceful-fs
2019-09-09 14:05:56 +02:00
Maciej Winnicki
20f6b0f961
Prettier
2019-08-29 16:39:35 +02:00
Maciej Winnicki
6dc6a90b6f
Add tests
2019-08-29 16:34:15 +02:00
Maciej Winnicki
ead05e4dae
Fix overriding package settings after packaging function
2019-08-28 22:25:02 +02:00