yarn-deduplicate
Advanced tools
Comparing version 3.1.0 to 4.0.0
@@ -10,2 +10,26 @@ # Changelog | ||
## 4.0.0 - 2022-03-21 | ||
### Breaking | ||
- Dropped support for Node 10 | ||
### Added | ||
- Added `--exclude-scopes` flag to exclude scopes (thanks to @sventschui) | ||
- Documented `--exclude` flags in `README.md` | ||
- Added support for Node 16 | ||
### Fixed | ||
- Fixed typo in documentation (thanks to @ChetanGoti) | ||
- Updated repository information in `package.json` | ||
- Do not publish test files | ||
### Chores | ||
- Updated dependencies | ||
- Rename some directories/files | ||
- Addded `typescript` 4.6.2 (via peer dependency) | ||
## 3.1.0 - 2020-10-25 | ||
@@ -12,0 +36,0 @@ |
{ | ||
"name": "yarn-deduplicate", | ||
"version": "3.1.0", | ||
"bin": "./cli.js", | ||
"version": "4.0.0", | ||
"bin": "./src/cli.js", | ||
"description": "Deduplication tool for yarn.lock files", | ||
@@ -19,13 +19,15 @@ "keywords": [ | ||
}, | ||
"homepage": "https://github.com/atlassian/yarn-deduplicate#readme", | ||
"bugs": "https://github.com/atlassian/yarn-deduplicate/issues", | ||
"homepage": "https://github.com/scinos/yarn-deduplicate#readme", | ||
"bugs": "https://github.com/scinos/yarn-deduplicate/issues", | ||
"license": "Apache-2.0", | ||
"author": "Sergio Cinos <sergio.cinos@gmail.com>", | ||
"main": "index.js", | ||
"main": "src/index.js", | ||
"types": "src/index.d.ts", | ||
"files": ["src"], | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:atlassian/yarn-deduplicate.git" | ||
"url": "git@github.com:scinos/yarn-deduplicate.git" | ||
}, | ||
"engines": { | ||
"node": ">=10", | ||
"node": ">=12", | ||
"yarn": ">=1" | ||
@@ -35,20 +37,21 @@ }, | ||
"@yarnpkg/lockfile": "^1.1.0", | ||
"commander": "^6.1.0", | ||
"commander": "^9.0.0", | ||
"semver": "^7.3.2" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^7.12.0", | ||
"eslint-config-prettier": "^6.14.0", | ||
"eslint-plugin-jest": "^24.1.0", | ||
"eslint": "^8.11.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-jest": "^26.1.1", | ||
"eslint-plugin-md": "^1.0.19", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"jest": "^26.6.1", | ||
"outdent": "^0.7.1", | ||
"prettier": "^2.1.2" | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"jest": "^27.5.1", | ||
"outdent": "^0.8.0", | ||
"prettier": "^2.5.1", | ||
"typescript": "^4.6.2" | ||
}, | ||
"jest": { | ||
"testPathIgnorePatterns": [ | ||
"<rootDir>/node_modules" | ||
"testMatch": [ | ||
"<rootDir>/tests/*.js" | ||
] | ||
} | ||
} |
@@ -161,6 +161,15 @@ # yarn-deduplicate | ||
### Excluding packages | ||
`--exclude <package1> <package2> <packageN` | ||
`--exclude-scopes <scope1> <scope2> <scopeN>` | ||
With these commands you can exclude certain packages/scopes from the deduplication process. This is | ||
specially useful if you want to apply a different strategy for a scope, for example. | ||
### Pre-release versions | ||
By default, `yarn-deduplicate` will only match pre-release versions if they share they share the | ||
same `mayor`, `minor` and `patch` versions (example: `^1.2.3-alpha.1` and `1.2.3-alpha.2` can be | ||
same `major`, `minor` and `patch` versions (example: `^1.2.3-alpha.1` and `1.2.3-alpha.2` can be | ||
deduplicated, but `^1.2.3` and `1.2.4-alpha.1` can't). This matches the behaviour of | ||
@@ -167,0 +176,0 @@ [semver](https://docs.npmjs.com/misc/semver#prerelease-tags). |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
63866
857
297
9
+ Addedcommander@9.5.0(transitive)
- Removedcommander@6.2.1(transitive)
Updatedcommander@^9.0.0