Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 Migrate from cac to mri #211

Merged
merged 7 commits into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,6 @@
matchUpdateTypes: ["major"],
enabled: false,
},
// The format of help messages has changed since cac 6.7.0.
// see https://github.com/cacjs/cac/commit/e565b2ae5d4a3256ed4d56a64d91356e7d6cbce6
// We should not update until we introduce breaking changes that modify the help messages.
{
matchPackageNames: ["cac"],
matchCurrentVersion: "<6.7.0",
enabled: false,
},
// `escape-string-regexp@>=5.0.0` doesn't work with old Node.js.
// Because it uses pure ESM.
// We should only update if the Node.js support range: `>=14.13.0`
Expand Down
19 changes: 11 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[Unreleased]: https://github.com/sounisi5011/package-version-git-tag/compare/v3.0.0...master

* Drop support for Node.js 10 and 12
* Migrate from [`cac`](https://www.npmjs.com/package/cac/v/6.6.1) to [`mri`](https://www.npmjs.com/package/mri/v/1.2.0)
* Fix edge cases in CLI argument parsing process
* Update dev dependencies

Expand Down Expand Up @@ -39,14 +40,6 @@ Because it is the minimum version available for Vitest.

### Updated Dependencies

#### dependencies

* `cac`
* [#185] - `^6.5.8` -> `6.5.8 - 6.6.x`

The format of help messages has changed since cac 6.7.0.
see https://github.com/cacjs/cac/commit/e565b2ae5d4a3256ed4d56a64d91356e7d6cbce6

#### devDependencies

* `@types/node`
Expand Down Expand Up @@ -97,6 +90,10 @@ Because it is the minimum version available for Vitest.

### Added Dependencies

#### dependencies

* [#211] - `mri@^1.2.0`

#### devDependencies

* [#186] - `@tsconfig/node14@1.0.3`
Expand All @@ -114,6 +111,10 @@ Because it is the minimum version available for Vitest.

### Removed Dependencies

#### dependencies

* [#211] - `cac`

#### devDependencies

* [#200] - `ava`
Expand Down Expand Up @@ -147,6 +148,7 @@ Because it is the minimum version available for Vitest.
* [#202] - Add a workflow to auto update the license year
* [#207] - Prevent failure if branch already exists when updating license year
* [#208] - Update copyright year(s)
* [#211] - Migrate from [`cac`](https://www.npmjs.com/package/cac/v/6.6.1) to [`mri`](https://www.npmjs.com/package/mri/v/1.2.0)

[#182]: https://github.com/sounisi5011/package-version-git-tag/pull/182
[#183]: https://github.com/sounisi5011/package-version-git-tag/pull/183
Expand All @@ -168,6 +170,7 @@ Because it is the minimum version available for Vitest.
[#207]: https://github.com/sounisi5011/package-version-git-tag/pull/207
[#208]: https://github.com/sounisi5011/package-version-git-tag/pull/208
[#210]: https://github.com/sounisi5011/package-version-git-tag/pull/210
[#211]: https://github.com/sounisi5011/package-version-git-tag/pull/211

## [3.0.0] (2020-06-02 UTC)

Expand Down
65 changes: 23 additions & 42 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"test:unit-test": "vitest"
},
"dependencies": {
"cac": "6.5.8 - 6.6.x",
"command-join": "^3.0.0",
"cross-spawn": "^7.0.2"
"cross-spawn": "^7.0.2",
"mri": "^1.2.0"
},
"devDependencies": {
"@sounisi5011/readme-generator": "github:sounisi5011/readme-generator#semver:0.0.2",
Expand Down
Loading