196 Commits

Author SHA1 Message Date
Juanjo Diaz
2d1a40e345 Let function package.individually config override service artifact 2018-10-07 14:08:12 +03:00
abetomo
e34ebec061 Remove /tmp/node-dependencies*
Because `node-dependencies-*` remains below `/tmp/`
2018-06-27 16:49:15 +09:00
GuruRAM
00b2024f76 #4839 reimplemented yamlAstParser addNewArrayItem and removeExistingArrayItem methods.
Extended install.test.js, uninstall.test.js unit tests to cover complex plugins object.
2018-04-15 23:01:11 +03:00
GuruRAM
0081afd78c #4839 use lodash check functions (isString, isArray, isObject) instead of native ones. 2018-04-09 21:43:28 +03:00
GuruRAM
1c180c850a #4839 Configurable local plugins folder feature. 2018-04-08 23:28:52 +03:00
Pavel Vlasov
bca4da55b3 add support for serverless.js 2017-12-19 20:14:39 +11:00
Takahiro Horike
643c4fdd7e Merge pull request #4342 from medikoo/bring-back-get-file-content
Bring back getFileContent (zipService)
2017-10-18 00:17:34 +09:00
daviskoh
0db3fe76de opt for using .reduce instead of awkard .flatten 2017-10-16 09:14:31 -04:00
daviskoh
4c5c9f833e path.join all path refs in zipService spec 2017-10-15 20:05:25 -04:00
daviskoh
0ab0ed4a5b fix lint issues 2017-10-15 19:44:44 -04:00
daviskoh
b407cc5713 path.join all the things! 2017-10-15 19:43:13 -04:00
daviskoh
90126d6a88 use path.join 2017-10-15 18:50:58 -04:00
daviskoh
35f755e3b0 include all dev dep .bin executables specified in package.json file for glob patterns 2017-10-15 17:36:09 -04:00
daviskoh
f87ecb88d9 fix lint issues 2017-10-15 17:06:59 -04:00
daviskoh
12d22792a0 bugfix: exclude .bin executables from dev dependencies 2017-10-15 17:02:30 -04:00
Mariusz Nowak
3b49dcd588 Rely on bluebirds Promise.all for consistency 2017-10-04 09:49:21 +02:00
Mariusz Nowak
6dde020733 Document getFilContent reasoning 2017-10-04 08:38:39 +02:00
Mariusz Nowak
5181fae73e Configure getFileContent test 2017-10-04 08:37:05 +02:00
Mariusz Nowak
c0cc7b4ffc Bring back getFileContent method 2017-10-04 08:28:14 +02:00
Rafal Wilinski
d20177f975 Refactor getFileContentAndStat test 2017-09-21 18:52:49 +02:00
Rafal Wilinski
df7905e61d Change sortkey 2017-09-21 18:50:43 +02:00
Rafal Wilinski
7045e0db2d Change packaging order in zipFiles function 2017-09-21 18:41:35 +02:00
Philipp Muens
8c08e4d42d Add tests 2017-09-05 09:36:59 +02:00
Rafal Wilinski
0753811a41 Fix getFileContent encoding 2017-08-31 23:11:28 +02:00
Mariusz Nowak
b4bf2da765 Use graceful-fs for concurrent file operations 2017-08-23 17:39:15 +02:00
Mariusz Nowak
32dbed3984 Cleanup unnecessary promisification 2017-08-23 17:36:52 +02:00
Mariusz Nowak
fe5c8b28d2 Merge branch 'master' into improve-packaging-extensibility 2017-08-21 16:42:39 +02:00
Philipp Muens
226d426e08 Update tests 2017-08-18 14:36:40 +02:00
Philipp Muens
fff9db5bfc Merge master into PR 2017-08-18 14:25:05 +02:00
Loren Gordon
58eec4d761 Uses path join to make tests os agnostic 2017-08-08 09:46:26 -04:00
Mariusz Nowak
5033bc9c1c Merge branch 'master' into improve-packaging-extensibility 2017-08-02 15:57:15 +02:00
Philipp Muens
1acb4c5e44 Add catch-all for readFile code / test hardening 2017-07-26 12:59:31 +02:00
Philipp Muens
1540b4ed2d Add CLI output about dev dependency exclusion 2017-07-26 12:27:26 +02:00
Philipp Muens
2802281e6d Remove unnecessary mapSeries usage / add note about mapSeries usage 2017-07-26 12:17:26 +02:00
Philipp Muens
b9de80b5aa Rename variables / add important note about _.difference 2017-07-26 12:15:05 +02:00
Philipp Muens
a54330aa0c Switch to mapSeries to ensure sequential execution / order of mapping 2017-07-26 10:53:18 +02:00
Philipp Muens
d73fff689c Refactor usage of temporary dependency files 2017-07-26 10:51:35 +02:00
David Govea
b095a286b5 Remove destructuring :( breaking builds on node 4-5 2017-07-23 02:28:59 -07:00
David Govea
e3582b6855 ESLint errors 2017-07-23 02:23:59 -07:00
David Govea
56852b74ba Adjust data returned from "npm ls" stubs in dev & prod modes.
All tests passing
2017-07-23 01:56:58 -07:00
David Govea
42c8c59bde double stub call counts for new code path 2017-07-23 01:56:26 -07:00
David Govea
4104c91839 Enable dependency diffing, & remove it.only() from failing test (now passing) 2017-07-23 01:55:21 -07:00
David Govea
3e4986c53b Refactor zipService to assemble both dev and prod dependencies, and add failing test 2017-07-23 01:35:36 -07:00
Eoin Shanaghy
d72131e954 Update npm ls tests after conflict, use 1 space 2017-07-20 12:35:05 +01:00
Eoin Shanaghy
4f7ffd0954 Merge branch 'master' into master 2017-07-20 12:24:40 +01:00
Philipp Muens
f5b5c7f0f5 Switch from _.filter to _.compact to remove falsey values 2017-07-19 10:06:23 +02:00
Philipp Muens
f089e8f07f Fix and update tests 2017-07-18 12:48:54 +02:00
Philipp Muens
5916665cb6 Add enhancements to harden dev dependency detection 2017-07-18 12:48:31 +02:00
Philipp Muens
ed029a32da Catch and resolve rejected exec calls 2017-07-17 14:33:53 +02:00
Philipp Muens
9e1c322436 Add line-based eslint disable statements 2017-07-17 14:33:53 +02:00