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
Doug Moscrop
8d9f4a296b
only use json-cycles when opt-in, for state serialization
2018-06-06 15:07:03 -04:00
Christophe Bougère
49bfee948b
sym links:
...
- adding a noLinks option
- unit test for sym links
2018-01-04 13:03:06 +01:00
Christophe Bougère
61cbeb1645
- adding a --template-url option for sls create
...
- update `walkDirSync` to ignore symbolic links (now ignore node_modules linked via `npm link`)
2017-12-14 16:15:14 +01:00
Erik Erikson
67442013b9
update json-cycle version
...
use pretty-print capability
update tests
2017-11-17 00:01:40 +01:00
Erik Erikson
fb51c79be1
fix parse impl
...
add parse self-reference test
add writeFile self-reference test
add writeFileSync self-reference test
2017-11-17 00:01:39 +01:00
Philipp Muens
306d587aba
Replace json-decycle with json-cycle
2017-11-17 00:01:39 +01:00
Erik Erikson
373b9282eb
allow for the serialization and deserialization of cyclic objects being written to file using json-decycle.
2017-11-17 00:01:29 +01:00
Kostas Bariotis
47082fbc43
move fs utils, refactor tests
2017-10-06 16:37:19 +03:00
Philipp Muens
a93358c15d
Fix file-writing tests
2017-09-04 09:43:48 +02:00
Mariusz Nowak
5dce256f00
Ensure errorneous calls are properly exposed
2017-08-22 15:11:33 +02:00
Eslam A. Hefnawy
5ec9911827
enhanced test for readfileifexists
2017-07-18 16:36:21 +07:00
Eslam A. Hefnawy
dd6c21d51a
auto deployment update
2017-07-17 19:55:43 +07:00
Philipp Muens
0dca35a2c1
Throw error when command not run in service
2017-06-12 10:38:59 +02:00
Eslam A. Hefnawy
9b066ae8d2
removed external module test
2017-06-08 20:30:52 +07:00
Eslam A. Hefnawy
cb14676e76
fixed tests for async autocomplete
2017-06-08 20:04:46 +07:00
Brian Neisler
851df3921a
Make autocomplete async through promises
2017-06-07 18:40:05 -07:00
Brian Neisler
c00e1df7ae
Add async file utils
2017-06-07 16:03:22 -07:00
davidwells
1de4bb74d3
add remove file util
2017-05-25 20:37:29 -07:00
davidwells
dc4f389b3c
use strict
2017-05-24 00:16:31 -07:00
davidwells
7016d41ac5
add functional Util functions ported from Utils class
2017-05-24 00:13:46 -07:00