Max Marze
893bfa7aef
chore: update eslint & prettier ( #12553 )
2024-05-29 11:51:04 -04:00
Cobb Lee
0d850fcca7
fix(AWS Deploy): Fix handling of inactive CloudFormation stack state
...
(PR #11863 )
2023-03-29 12:44:22 +02:00
SleepWithCoffee
af2cf611e4
test: Refactor to async functions ( #11823 )
2023-03-17 10:06:07 +01:00
Mariusz Nowak
1461860dab
refactor(AWS Deploy): Refactor getMostRecentObjects to async/await
2022-03-22 14:21:43 +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
Mariusz Nowak
7289137073
refactor: Rename lib/Serverless.js
2022-01-27 15:21:58 +01:00
Mariusz Nowak
dcd6bea1b6
test: Rename fixture programmatic/packageArtifact
2022-01-27 15:21:58 +01:00
Piotr Grzesik
33bd501f06
feat: Error instead of warning when missing "commands" or "options"
...
BREAKING CHANGE: When creating `Serverless` class instance programatically,
both "options" and "commands" have to be passed via "config" to the constructor.
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
Piotr Grzesik
f35858599a
feat(AWS Deploy): Ensure existence of S3 bucket if possible
2021-12-08 14:18:53 +01:00
Piotr Grzesik
d52526bb60
feat(AWS Deploy): Ensure consistent function state in deploy function
2021-11-30 15:34:37 +01:00
Sudipto Das
f431218790
refactor: Replace fse.readFile with fs.promises.readFile ( #9935 )
2021-09-10 12:00:44 +02:00
Mariusz Nowak
81ddcf8ecb
test: Upgrade from deprecated forms when not testing them intentionally
2021-06-21 17:31:50 +02:00
Mariusz Nowak
a7fd091b10
test: Fix describe title
2021-06-21 17:31:50 +02:00
Mariusz Nowak
10f956777c
test: Rename servicePath 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
2d1b56b59f
test: Upgrade to new runServerless version
2021-04-09 16:10:21 +02: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
Łukasz Jendrysik
7ccb176e27
test(Packaging): Refactor to use runServerless ( #8721 )
2021-01-27 17:34:03 +01:00
Mariusz Nowak
4aa9e189e1
test(Packaging): Cleanup tests and spec
2021-01-25 11:41:58 +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
Piotr Grzesik
0f7b31b593
test: Cleanup invalid before in packageService.test.js
2021-01-14 14:32:43 +01:00
Piotr Grzesik
7ffb559630
test: Dont rely on updateConfig between multiple packageService tests
2021-01-14 13:26:14 +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
Mariusz Nowak
77fbc73724
test(Packaging): Improve fixture
2020-12-21 16:21:16 +01:00
Mariusz Nowak
3c14067949
test(Packaging): Cleanup
2020-12-21 12:44:40 +01:00
Mariusz Nowak
4505deebf2
test(Packaging): Improve testing setup
2020-12-21 12:32:15 +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
Mariusz Nowak
44d398694f
test(Packaging): Finalize spec
2020-12-09 11:53:24 +01:00
Mariusz Nowak
8cd7c98689
test(Packaging): Pave path for runServerless refactor
2020-12-09 10:46:25 +01:00
Mariusz Nowak
3808471972
test: Move unit tests to "test/unit" folder
2020-11-30 16:53:52 +01:00