@form8ion/javascript-core
Advanced tools
Comparing version 2.8.1 to 2.8.2
@@ -130,18 +130,4 @@ 'use strict'; | ||
const packageManagers = { | ||
NPM: { | ||
name: 'npm', | ||
installationCommand: 'install', | ||
installationFlags: { | ||
[DEV_DEPENDENCY_TYPE]: `save-${DEV_DEPENDENCY_TYPE}`, | ||
[PROD_DEPENDENCY_TYPE]: `save-${PROD_DEPENDENCY_TYPE}` | ||
} | ||
}, | ||
YARN: { | ||
name: 'yarn', | ||
installationCommand: 'add', | ||
installationFlags: { | ||
[DEV_DEPENDENCY_TYPE]: DEV_DEPENDENCY_TYPE, | ||
[PROD_DEPENDENCY_TYPE]: PROD_DEPENDENCY_TYPE | ||
} | ||
} | ||
NPM: 'npm', | ||
YARN: 'yarn' | ||
}; | ||
@@ -148,0 +134,0 @@ |
@@ -119,18 +119,4 @@ import deepmerge from 'deepmerge'; | ||
const packageManagers = { | ||
NPM: { | ||
name: 'npm', | ||
installationCommand: 'install', | ||
installationFlags: { | ||
[DEV_DEPENDENCY_TYPE]: `save-${DEV_DEPENDENCY_TYPE}`, | ||
[PROD_DEPENDENCY_TYPE]: `save-${PROD_DEPENDENCY_TYPE}` | ||
} | ||
}, | ||
YARN: { | ||
name: 'yarn', | ||
installationCommand: 'add', | ||
installationFlags: { | ||
[DEV_DEPENDENCY_TYPE]: DEV_DEPENDENCY_TYPE, | ||
[PROD_DEPENDENCY_TYPE]: PROD_DEPENDENCY_TYPE | ||
} | ||
} | ||
NPM: 'npm', | ||
YARN: 'yarn' | ||
}; | ||
@@ -137,0 +123,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"files": [ | ||
@@ -8,0 +8,0 @@ "example.js", |
@@ -39,3 +39,2 @@ # javascript-core | ||
* [`packageManagers`](#packagemanagers) | ||
* [Currently available options](#currently-available-options) | ||
* [`projectTypeShouldBePublished`](#projecttypeshouldbepublished) | ||
@@ -201,16 +200,4 @@ * [`projectType` __string__ (_required_)](#projecttype-string-required) | ||
Map of details for the available package managers | ||
Constants defining the available package managers | ||
Each item has the following properties: | ||
* `name`: the cli name of the package manager | ||
* `installationCommand`: the appropriate command for this package manager | ||
for installing dependencies | ||
* `installationFlags`: the appropriate flags for the installation command | ||
of this package manager | ||
* `dev`: the flag to save the dependency as a `devDependency` | ||
* `prod`: the flag to save the dependency as a `dependency` | ||
##### Currently available options | ||
* `NPM` | ||
@@ -217,0 +204,0 @@ * `YARN` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
43558
260
292