All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
6.0.2 - 2023-05-11
- Update dependency tslib to ^2.5.0 (#236)
- Update dependency vm2 from 3.9.13 to 3.9.17 (#238)
- Update dependency commander to v10 (#237)
- Update dependency typescript to v5 (#239)
- Update dependency typescript to ^4.9.5 (#235)
- Update dependency semver to ^7.5.0 (#234)
- Update dependency prettier to ^2.8.8 (#233)
- Update dependency eslint-config-prettier to ^8.8.0 (#222)
- Update dependency @types/jest to ^29.5.1 (#231)
- Update babel monorepo (#232)
- Update dependency release-it to ^15.10.3 (#220)
- Update dependency eslint to ^8.38.0 (#217)
- Update Yarn to v3.5.1 (#218)
- Update dependency eslint-plugin-jest to ^27.2.1 (#216)
- Update dependency commander to ^9.5.0 (#223)
- Update babel monorepo to ^7.21.4 (#219)
- Update jest monorepo to ^29.5.0 (#221)
6.0.1 - 2022-12-11
- Update REAMDE with explicit example of
npx
(#206) (thanks to @karlhorky)
- Configure renovate to run deduplicate
- Bump vm2 from 3.9.9 to 3.9.13 (#207)
- Update babel monorepo (#211)
- Update babel monorepo to ^7.19.1 (#189)
- Update dependency @types/jest to v29 (#184)
- Update dependency commander to ^9.4.1 (#198)
- Update dependency eslint to ^8.24.0 (#193)
- Update dependency eslint to ^8.28.0 (#202)
- Update dependency eslint to ^8.29.0 (#213)
- Update dependency eslint-plugin-jest to ^27.0.4 (#190)
- Update dependency eslint-plugin-jest to ^27.1.5 (#199)
- Update dependency eslint-plugin-jest to ^27.1.6 (#209)
- Update dependency jest to ^29.0.3 (#188)
- Update dependency prettier to ^2.8.1 (#214)
- Update dependency release-it to ^15.5.1 (#185)
- Update dependency semver to ^7.3.8 (#200)
- Update dependency tslib to ^2.4.1 (#208)
- Update dependency typescript to ^4.8.3 (#191)
- Update dependency typescript to ^4.9.3 (#196)
- Update dependency typescript to ^4.9.4 (#212)
- Update jest monorepo (#197)
- Update Yarn to v3.3.0 (#203)
6.0.0 - 2022-08-29
- Drop support for Node 12.x. Minimum supported version is 14.x
- Drop support for Yarn >= 2. It was never supported because it just doesn't work, but now Yarn
version is enforced in
engines
entry inpackage.json
- Do not pack Yarn version, rely on
corepack
instead - Enable corepack on CI
- Update dependency @babel/core to ^7.18.13 (#175)
- Update dependency @types/jest to ^28.1.8 (#174)
- Update dependency eslint to ^8.23.0 (#180)
- Update dependency eslint-plugin-jest to v27 (#183)
- Update dependency jest to v29 (#178)
- Update dependency release-it to ^15.4.0 (#176)
- Update dependency typescript to ^4.8.2 (#179)
- Update Yarn to v3.2.3 (#177)
5.0.2 - 2022-08-15
- Re-release 5.0.1, it's missing from NPM 🤷
- Update Yarn to v3.2.2 (#170)
- Update dependency @release-it/keep-a-changelog to ^3.1.0 (#172)
- Update dependency commander to ^9.4.0 (#166)
- Update dependency release-it to ^15.3.0 (#167)
- Update dependency @types/semver to ^7.3.12 (#171)
- Update babel monorepo to ^7.18.10 (#169)
- Update jest monorepo (#164)
- Update dependency eslint-plugin-jest to ^26.8.2 (#165)
- Update dependency eslint to ^8.22.0 (#168)
5.0.1 - 2022-07-05
- Update all transitive dependencies
- Adds Node 18 to the test matix (#154)
- Update Yarn to v3.2.1 (#148)
- Update dependency release-it to v15 (#162)
- Update dependency @release-it/keep-a-changelog to v3 (#161)
- Update dependency prettier to ^2.7.1 (#160)
- Update dependency release-it to ^14.14.3 (#157)
- Update dependency commander to ^9.3.0 (#158)
- Update dependency eslint-plugin-prettier to ^4.2.1 (#159)
- Update dependency semver to ^7.3.7 (#114)
- Update dependency tslib to ^2.4.0 (#149)
- Update dependency eslint to ^8.19.0 (#150)
- Update babel monorepo to ^7.18.6 (#156)
- Update dependency eslint-plugin-jest to ^26.5.3 (#151)
- Update dependency @tsconfig/node12 to ^1.0.11 (#155)
- Update jest monorepo to v28 (major) (#152)
- Update dependency typescript to ^4.7.4 (#153)
5.0.0 - 2022-04-23
- Migration to TypeScript. This is a breacking changes because previously we provided TypeScript types, and those have changed. If you were not using the exported types, this change should be transparent for you.
- Configured which files goes into npm package
- Updated dependencies
- Dropped support for Node 10
- Added
--exclude-scopes
flag to exclude scopes (thanks to @sventschui) - Documented
--exclude
flags inREADME.md
- Added support for Node 16
- Fixed typo in documentation (thanks to @ChetanGoti)
- Updated repository information in
package.json
- Do not publish test files
- Updated dependencies
- Rename some directories/files
- Addded
typescript
4.6.2 (via peer dependency)
- Updated dependency
jest
to 26.6.1 - Updated
yarn
to 1.22.10 (via policy) - Updated
eslint-config-prettier
to 6.14.0 - Updated
prettier
to 2.1.2 - Updated
eslint-plugin-jest
to 24.1.0 - Updated
eslint
to 7.12.0 - Prettify and fix typos in README.md (thanks to @friederbluemle)
- Added flag to include pre-release versions in the deduplication process. (thanks to @marcodejongh)
Flags --packages
, --scopes
and --exclude
don't support comma-separated values anymore (eg:
--packages libA,libB
). Instead, you can pass multiple values per flag (eg: --packages libA libB
)
or pass the flag multiple times (eg: --packages libA --packages libB
).
If you use one of those flags and you want to specify a custom yarn.lock
file, you need to use
--
to separate the arg. Example --packages libA -- ../project/yarn.lock
- Updated Commander to 6.1.0
- Updated eslint to 7.7.0
- Updated yarn to 1.22.5
- Updated prettier to 2.1.1
- Updated jest to 26.4.2
- Updated eslint-plugin-jest to 23.20.0
- Updated dependencies
- Move from CircleCI to GitHub actions
- Clean up and dedupe
yarn.lock
- Option
--scopes
to limit changes to a list of scopes (thanks to @sgomes) - Improve documentation for
--strategy
(thanks to @KubaJastrz) - Clean up .npmignore (thanks to @bluelovers)
- Drop support for Node < 10
Edit: Do not use. It breaks Node 8 compatiblity. Use 2.0.0 instead
- TypeScript definitions (thanks to @bluelovers)
- Info about the source of duplication to README
- CLI option to exclude packages (thanks to @JacobBlomgren)
- Updated a bunch of dependencies
- Fixed typos in doc and CLI (thanks to @ActuallyACat and @Alonski)
- Moved yarn from
peerDependencies
toengines
- Option
--fail
to exit the process with an error if there are duplicated packages (thanks to @amark) - If the path to
yarn.lock
is not specified, useyarn.lock
as the default (thanks to @Joge97)
- Support for Node 6 (thanks @leipert)
- Moved eslint and stricter to devDependencies (thanks @hawkrives)
- Re-enabled disabled tests (thanks @amark)
- Fixes parsing the strategy. Now specifying
-s fewer
actually does something! (thanks to @leipert)
- Added eslint and prettier to keep the code consistent
- Retain Windows end-of-line (thanks to @Shingyx)
- Added
homepage
to package.json
- Removed unused files (tests, local
.history
) from the npm package. Only*.js
and text files are included now.
- Renamed project from
yarn-tools
toyarn-deduplicate
- CLI unification (see Migration to 1.0 guide)
- Save changes back to
yarn.lock
by default (thanks to @felipemsantana)
- Added an option to specify the strategy when deduping files
- Support for packages without the
@<version>
part - Support for non-semver versions, like
<package>@next
- Do not change the order of integrity field (thanks to @lukebatchelor)
- Added support to CircleCI (thanks to @lukebatchelor)
- Moved repo from BitBucket to GitHub
- Bumped
@yarnpkg/lockfile
to 1.1.0 (thanks to @lukebatchelor) - Added 'dedupe' as package keyword (thanks to @gfx)
- Use yarn ^1.0.0 and converted it to a peerDependency (thanks to @bj00rn)
- Remove deprecated
preferGlobal
in package.json (thanks to [email protected])
- Restrict the list of packages to de-dupe on the command line.
- This file.
- Added AUTHORS.
- Cleaned Markdown files.