50 Commits

Author SHA1 Message Date
Mark Tse
e62ddadc9d chore - stop using deprecated 'new Buffer()' method. 2019-10-13 15:15:26 -04:00
Philipp Muens
a7fe06eabd Globally enable graceful-fs 2019-09-09 14:05:56 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Philipp Muens
214e09cb56 Move duplicate file detection to package zipping code 2019-06-18 15:18:10 +02:00
Mariusz Nowak
2dec7d8589
Use destructuring 2019-06-04 11:52:06 +02:00
Mariusz Nowak
a873a9150a
Sync function stub may throw not reject 2019-06-03 12:18:38 +02:00
Philipp Muens
773e9af3c1 Thorough integration testing 2019-05-30 15:20:58 +02:00
Jeff Soloshy
9c4848bea5 fix: fixed regression preventing including files outside working dir 2018-12-15 17:56:41 -08: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
5181fae73e Configure getFileContent test 2017-10-04 08:37:05 +02:00
Rafal Wilinski
d20177f975 Refactor getFileContentAndStat test 2017-09-21 18:52:49 +02:00
Philipp Muens
8c08e4d42d Add tests 2017-09-05 09:36:59 +02:00
Mariusz Nowak
b4bf2da765 Use graceful-fs for concurrent file operations 2017-08-23 17:39:15 +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
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
f089e8f07f Fix and update tests 2017-07-18 12:48:54 +02:00
Mariusz Nowak
f4ee5481c6 Test error handling in zipFiles 2017-07-10 21:47:49 +02:00
Mariusz Nowak
0a95913481 Seclude files resolution logic 2017-07-10 13:53:57 +02:00
Eoin Shanaghy
9724645a10 Include dependencies when long=true in npmrc
- Issue #3918
- Ensure npm output parsed to determine production dependencies is
consistent regardless of npmrc settings
2017-07-10 09:26:43 +01:00
Philipp Muens
34595e1f6d Add opt-out config for dev dependency exclusion 2017-06-30 09:25:59 +02:00
Philipp Muens
a3e233cc79 Replace walkDirSync logic with glob usage 2017-06-17 17:18:48 +01:00
Philipp Muens
9f67a39f38 Exclude dev dependencies in .zip file 2017-06-16 19:30:07 +01:00
Philipp Muens
13ff0d6453 Fix test 2017-06-11 21:02:56 +02:00
Philipp Muens
9b6cd8f331 Simplify code / make test more restrictive 2017-06-08 09:30:43 +02:00
Alex Casalboni
c74965da11 Fixed linting 2017-06-05 18:01:04 +02:00
Alex Casalboni
e29397ca5c Added test to verify error if no file matches before zipping 2017-06-05 17:35:40 +02:00
Frank Schmid
ba2533ff7d Update UT for lib/plugins/package/lib/zipService 2017-05-17 17:13:33 +02:00
Frank Schmid
376d5cf6fe Fixed unit tests. Coverage back to 100%. 2017-04-20 18:39:55 +02:00
Frank Schmid
6be0ba2f8f Move package code up and add createDeploymentArtifacts to topmost package command. 2017-04-20 15:11:35 +02:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00
Philipp Muens
8aad2372eb Refactor test structure
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00