70 Commits

Author SHA1 Message Date
Max Marze
e0d6a8acbb
fix: remove bluebird and set concurrency limits for packaging (#12658)
* fix: remove bluebird from zip-service

* fix: remove bluebird and set concurrency limits for packaging
2024-07-02 14:26:28 -04:00
Max Marze
b23d8ab7eb fix: rename issue for ajv schema 2024-05-30 16:31:52 -04:00
Max Marze
8e01467ce2
fix: rename issue for ajv schema (#12563) 2024-05-30 16:25:11 -04:00
Max Marze
893bfa7aef
chore: update eslint & prettier (#12553) 2024-05-29 11:51:04 -04:00
Austen
158f644cd0
feat: Refactor logging to reduce complexity (#12432)
* chore: Change logger

* chore: continue refactor

* chore: WIP

* chore: Sync
2024-04-17 13:26:31 -07:00
Piotr Grzesik
d06b64d4b9 fix: Properly move directories across filesystems 2022-03-03 20:08:17 +01:00
Mariusz Nowak
8292f31c47 refactor: Rename lib/utils/fs/writeFileSync.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
8723cd3026 refactor: Rename lib/utils/fs/writeFile.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
241f2cdf4c refactor: Rename lib/utils/fs/walkDirSync.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
ab5ad10fd8 refactor: Rename lib/utils/fs/safeMoveFile.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
c284f4a90c refactor: Rename lib/utils/fs/readFileSync.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5d099f7e39 refactor: Rename lib/utils/fs/readFile.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
363ff18561 refactor: Rename lib/utils/fs/getTmpDirPath.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b3966191b1 refactor: Rename lib/utils/fs/fileExistsSync.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
61527a35e8 refactor: Rename lib/utils/fs/fileExists.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
a8029b1014 refactor: Rename lib/utils/fs/dirExistsSync.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
470b1e96cd refactor: Rename lib/utils/fs/dirExists.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7fd6176d72 refactor: Rename lib/utils/fs/createZipFile.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
58e22ec54a refactor: Rename lib/utils/fs/copyDirContentsSync.js 2022-01-27 15:21:58 +01:00
Sudipto Das
f431218790
refactor: Replace fse.readFile with fs.promises.readFile (#9935) 2021-09-10 12:00:44 +02:00
Sudipto Das
05fff98a00
refactor: Replace fse.writeFile with fs.promises.writeFile (#9870) 2021-08-30 11:08:47 +02:00
Sudipto Das
bb0484e6b5
refactor: Replace fse.stat with fs.promises.stat (#9845) 2021-08-16 15:39:01 +02:00
Nyambayar Turbat
48c3d990be
refactor: Use async in lib/utils (#9809) 2021-08-06 12:40:23 +02:00
Sean Dawson
70fb8b9861
fix(Packaging): Fix artifact generation with temp path on other device
(PR #9616)
2021-06-28 09:54:58 +02:00
Piotr Grzesik
f62fc2ee9c refactor: Revert removal of bluebird from lib/utils
This reverts commit 820cc1f581bfd502e5452f5c9935301ec86f9d14.
2021-03-04 11:06:44 +01:00
Juanjo Diaz
820cc1f581
refactor: Remove bluebird from lib/utils (#8972) 2021-02-22 10:05:31 +01:00
Brian Dwyer
461a3965a5
feat(Variables): Add support for Terraform state file parsing (#8755)
Signed-off-by: Brian Dwyer <Brian.Dwyer@broadridge.com>
2021-01-15 11:10:49 +01:00
Frédéric Barthelet
2efc3570c9
refactor: Use @serverless/utils for cloudformationSchema (#8705) 2021-01-06 12:01:02 +01:00
Mariusz Nowak
dde9b85965 refactor: Improve var naming 2021-01-04 21:54:43 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Juanjo Diaz
d102a3984a
refactor: Remove unused modules (#8598) 2020-12-10 16:38:40 +01:00
Mariusz Nowak
c1907a2dde refactor: Remove irrelevant fs modules 2020-12-09 12:43:11 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01: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
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +02:00
Neil Locketz
3e1e1f486c
fix: Follow symlinks when writing a config (#7374) 2020-02-25 12:31:24 +13:00
Richard Davison
f6d9bfd6c6
feat: Improve performance of local invocation using docker (#7178) 2020-02-12 11:21:45 +13:00
Mariusz Nowak
fead29a5a8
test: Ensure to call after callback on conditional skip 2019-12-12 14:27:40 +01:00
Mariusz Nowak
6c949450bc
Refactor to rely on @serverless/test/skip-with-notice 2019-09-13 16:53:47 +02:00
Alex DeBrie
7cc8ea62f9 Allow for tail on GetAtt parsing 2019-09-03 08:43:36 -05:00
Stephane Seng
5952712085 fix(GITHUB-6525-5172): Rewrite copyDirContentsSyncAllow to call fs-extra::copySync() on the directories instead of calling it on the files to copy individually.
The main motivation behind these changes is to rely on
https://github.com/jprichardson/node-fs-extra/blob/8.1.0/docs/copy-sync.md as
much as possible in order to avoid having to do the
`fullFilePath.replace(srcDir, '')` operation because this operation can be
error-prone.

Doing so fixes the following issues because the user-submitted file paths are
now correctly interpreted by fs-extra, closing both #6525 and #5172.
2019-08-12 23:09:23 +02:00
Philipp Muens
871b04e238 Add EventBridge event source 2019-07-26 13:36:22 +02:00
Philipp Muens
d09b754874 Add support for existing S3 buckets 2019-07-09 15:41:59 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Mariusz Nowak
cde78a984f
Skip with notice on lack of admin rights 2019-06-05 09:40:33 +02:00
Mariusz Nowak
304f43ff18
Update after chai upgrade 2019-06-03 17:30:26 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Mariusz Nowak
d8288d057c
Fix eslint configuration of 'strict' option 2019-05-29 13:34:27 +02:00
Eetu Tuomala
d7374ab26d
move cloudformation schema to lib/plugins/aws/lib, try to use schema only if parse without schema fails 2018-09-30 11:28:21 +03:00
Eetu Tuomala
727fd67d13
add support for shorthand cloudformation syntax 2018-09-30 11:22:47 +03:00