Comparing version 1.9.3 to 1.9.4
@@ -0,1 +1,8 @@ | ||
## [1.9.4](https://github.com/imsnif/synp/compare/v1.9.3...v1.9.4) (2020-10-01) | ||
### Bug Fixes | ||
* mark all the packages that are out of `dependencies` as `dev` ([f6dbccd](https://github.com/imsnif/synp/commit/f6dbccd45ed904a05df4aac2b072359e688734ef)), closes [#59](https://github.com/imsnif/synp/issues/59) | ||
## [1.9.3](https://github.com/imsnif/synp/compare/v1.9.2...v1.9.3) (2020-09-27) | ||
@@ -2,0 +9,0 @@ |
@@ -63,2 +63,6 @@ 'use strict' | ||
if (!has(nodeModulesTree[parentPackagePath(mPath)], `dependencies.${name}`)) { | ||
entry.dev = true | ||
} | ||
if (workspacesTree && dependencies) { | ||
@@ -68,9 +72,6 @@ entry.requires = sortObject(dependencies) | ||
if (has(nodeModulesTree[parentPackagePath(mPath)], `devDependencies.${name}`)) { | ||
entry.dev = true | ||
} | ||
if (modulesInPath.length > 1) { | ||
const parentPackage = getParentPackageInYarnTree(modulesInPath, tree) | ||
parentPackage.dependencies = sortObject(Object.assign({}, parentPackage.dependencies || {}, { | ||
parentPackage.dependencies = sortObject(Object.assign({}, parentPackage.dependencies, { | ||
[name]: entry | ||
@@ -77,0 +78,0 @@ })) |
{ | ||
"name": "synp", | ||
"version": "1.9.3", | ||
"version": "1.9.4", | ||
"description": "Convert yarn.lock to package-lock.json and vice versa", | ||
@@ -24,3 +24,4 @@ "keywords": [ | ||
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls", | ||
"release": "semantic-release" | ||
"release": "semantic-release", | ||
"postupdate": "yarn && npx yarn-audit-fix && yarn test" | ||
}, | ||
@@ -53,3 +54,3 @@ "author": "Aram Drevekenin <grimsniffer@gmail.com>", | ||
"semantic-release": "^17.1.2", | ||
"sinon": "^9.0.3", | ||
"sinon": "^9.1.0", | ||
"standard": "^14.3.4", | ||
@@ -56,0 +57,0 @@ "tape": "^5.0.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64669