13 Commits

Author SHA1 Message Date
Frank Schmid b0920c3513 Updated dependencies 2018-07-07 16:12:24 +02:00
Frank Schmid 57937363cc Added unit tests for package section copy 2018-04-30 15:39:02 +02:00
Frank Schmid f9896e6d3f Fixed unit tests 2018-04-30 11:27:18 +02:00
Frank Schmid cc3babaa75 Allow packagers to import sections from original package.json 2018-04-30 11:11:06 +02:00
Frank Schmid a185262f84 Added unit test 2018-04-27 14:38:58 +02:00
Frank Schmid c4a1a69850 Rebase Yarn local file references correctly 2018-04-27 13:44:49 +02:00
Frank Schmid b379de95f8 Utils unit tests
Enhance error message

Removed deprecated option from README

Convert all outstanding changes (yarn and package)

Adjusted NPM unit tests

Use spawn in any npm commands

Use spawn instead of exec

Fix unit test description

Do not swallow errors in case npm ls fails without a proper stdout
2018-04-25 18:05:37 +02:00
Frank Schmid 91a914f8f9 Remaining unit tests 2018-03-12 11:41:18 +01:00
Frank Schmid d8a5f8da41 Allow to configure package scripts 2018-03-12 11:41:07 +01:00
Frank Schmid 321f4579eb Removed flat option. We have to wait for Yarn to support it. 2018-03-10 11:52:59 +01:00
Frank Schmid 3b1f16312c Unit tests 2018-03-09 12:38:23 +01:00
Frank Schmid bcd8dd65e6 Yarn support
Unit tests

Added unit tests for copy modules packager flag

npm must copy modules

Fixed unit tests

Yarn does not need to copy modules to be fast

Install/prune unit tests. Fixed typo.

Copy lock file only if it can be read. AAdjust unit tests.

Copy lock file into function directories

Only stringify JSON or YML lock files

Fixed unit tests

Add basic Yarn functionality
2018-03-09 11:25:58 +01:00
Frank Schmid fee494763f Abstract packager into own interface
Extended pack external unit tests

Added unit tests for npm packager

Adapted unit tests

Exclude test.js files from nyc statistics

Added unit test for packager factory

Extract optional lock file adaption

Fixed ESLint

ESLint fixes

Moved npm to a separate packager class.
2018-03-01 15:30:33 +01:00