340 Commits

Author SHA1 Message Date
Mariusz Nowak
bdaf21e1a1 feat(Console): Initial integration 2022-02-25 20:12:02 +01:00
Mariusz Nowak
7624d8b0ca refactor: Rename lib/plugins/package/lib/zipService.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
115dfcd4bc refactor: Rename lib/plugins/package/lib/packageService.js 2022-01-27 15:21:58 +01:00
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Mariusz Nowak
62017754f7 feat(Packaging): Deprecate package.include and package.exclude 2022-01-27 15:21:58 +01:00
Mariusz Nowak
1608e743de fix(Packaging): Revert exclusion of local plugins from a bundle
As it was discovered as breaking for some existing projects
2022-01-10 12:54:56 +01:00
Shalvah
62d8da209e
fix(Packaging): Do not include local plugins in a bundle (#10259) 2022-01-06 16:18:16 +01:00
Mariusz Nowak
70e2736226 feat(Packaging): Remove package[include|exclude] deprecation
It'll be re-added in context of v3
2021-10-07 14:09:14 +02:00
Mariusz Nowak
4d42ce3fa4 feat(CLI): Modern logs for deploy function command 2021-09-22 16:36:24 +02:00
Mariusz Nowak
a6553f8668 refactor(CLI): Refactor main progress event with isMainEvent option 2021-09-21 17:39:44 +02:00
Mariusz Nowak
9e308bdf04 refactor: Configure main progress titles through command schema 2021-09-20 15:41:01 +02:00
Piotr Grzesik
fbdd124029 feat(CLI): First iteration of support for verbose mode in deploy 2021-09-14 14:42:18 +02:00
Piotr Grzesik
171897d60e
feat(CLI): Introduce first iteration of modern logs for deploy (#9934) 2021-09-10 15:17:45 +02:00
Mariusz Nowak
ab3c543089 fix(Packaging): Fix package.artifact validation for S3 urls 2021-07-08 21:51:01 +02:00
Mariusz Nowak
21c0fedc50 fix(Packaging): Validate package.artifact paths 2021-07-08 13:54:32 +02:00
Nyambayar Turbat
db67b353c9
refactor: Use async in lib/plugins/package (#9644) 2021-07-02 11:18:38 +02:00
Mariusz Nowak
c563581ac9 refactor: Construct user errors with ServerlessError 2021-05-19 13:16:42 +02:00
Piotr Grzesik
81f0858cc9 refactor: Add code to ServerlessError in lib/plugins 2021-04-23 13:34:20 +02:00
Mariusz Nowak
e8c8f1cfff refactor: Rename servicePath vars to serviceDir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
87d380275b refactor: Replace config.servicePath with service.dir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
fc3a4391b5 refactor: Introduce serviceDir and configurationFilename
In place of `configurationPath`
2021-04-16 13:32:13 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Mariusz Nowak
7d16947273 fix(Packaging): Ensure to apply dev dependency exclusion 2021-04-02 14:48:32 +02:00
Joël Galeran
bf83f3c406
chore: Update code comment about file stat chmod (#9191)
It seems that `normalizedFilesToChmodPlusX` was removed and does not exist anymore so removing it from the comment seemed appropriate
2021-03-29 15:13:18 +02:00
Juanjo Diaz
e1678fb1c6
feat(Packaging): Deprecate include & exclude in favor of patterns
(PR #8581)
2021-03-26 11:33:58 +01:00
Mariusz Nowak
2294a4b4cb refactor(CLI): Move lifecycles definition to commands schema
It's needed to be able to process commands as introduced by plugins without a need of processing Serverless instance
2021-03-24 11:50:24 +01:00
Piotr Grzesik
6e3e21cafa fix(Packaging): Ensure to properly exclude when NODE_ENV set 2021-03-18 16:01:47 +01:00
Mariusz Nowak
14a2640bd9 refactor(CLI): Seclude schema of core commands 2021-03-16 09:34:33 +01:00
Piotr Grzesik
399d91b7e4 refactor: Revert bluebird from lib/plugins/package
This reverts commit 0fb0f43919bd3bd4a9c57b9f33bf96a822ce027c.
2021-03-04 11:06:44 +01:00
Juanjo Diaz
0fb0f43919
refactor: Remove bluebird from lib/plugins/package (#9028) 2021-03-01 11:44:49 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Piotr Grzesik
847aa9ca7f fix(Packaging): Proper exclusion of dependencies across platforms 2021-01-26 11:36:03 +01:00
Mariusz Nowak
8f3481e42a refactor: Improve var naming 2021-01-22 14:57:10 +01:00
Mariusz Nowak
f274cd7637 refactor: Seclude configuration parse from internals 2021-01-22 14:57:10 +01:00
Tomás Milar
708f6a7e26
fix(Packaging): Properly exclude devDependencies on Windows (#8803) 2021-01-21 20:55:21 +01:00
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
8173a36b7c refactor: Refactor to async/await 2021-01-18 16:19:12 +01:00
Robert Bragg
bcbbd47fa0
fix(Packaging): Consider absolute artifact paths (#8325) (#8315)
Co-authored-by: Piotr Grzesik <pj.grzesik@gmail.com>
2021-01-07 13:53:00 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Piotr Grzesik
537fcac759 fix(Packaging): Exclude .env files only when useDotenv is set 2020-12-21 16:58:41 +01:00
Piotr Grzesik
8791cdacb7 fix(Packaging): Ensure that .env files are excluded from package
Addresses #8566
2020-12-17 10:31:48 +01:00
Łukasz Jendrysik
c864fbd482
fix(Packaging): Add exec bit for packaged files on Windows (#8615) 2020-12-14 17:54:01 +01:00
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