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

core: support increase versioning strategy #222

Open
Shougo opened this issue Aug 3, 2024 · 3 comments
Open

core: support increase versioning strategy #222

Shougo opened this issue Aug 3, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@Shougo
Copy link

Shougo commented Aug 3, 2024

When

export type { Context, Item } from "jsr:@shougo/ddc-vim@6.0.0/types";
% molt **/*.ts --no-resolve --write
📦 @shougo/ddc-vim 6.0.0 => 6.0.1

OK.

But

export type { Context, Item } from "jsr:@shougo/ddc-vim@^6.0.0/types";
% molt **/*.ts --no-resolve --write
🍵 No updates found

Or

export type { Context, Item } from "jsr:@shougo/ddc-vim@~6.0.0/types";
% molt **/*.ts --no-resolve --write
🍵 No updates found

Please support it.

@4513ECHO
Copy link

4513ECHO commented Aug 3, 2024

What is your molt version?

@Shougo
Copy link
Author

Shougo commented Aug 3, 2024

OK. I have updated it. But same.

@hasundue
Copy link
Owner

hasundue commented Aug 3, 2024

Thanks but this is an expected behavior as described in README:

Note

Molt uses a similar versioning strategy as increase-if-necessary in
dependabot to bump version ranges[^1].

Because this should be the best strategy for most of the cases.

If you need to increase the minimum requirement of a dependency, that should be a manual operation with a careful thought.

However, we also want to provide a way to automate such operations (especially when you just have direct imports in source codes). So please be patient for it🙏

@hasundue hasundue changed the title range specifier support core: support increase versioning strategy Aug 3, 2024
@hasundue hasundue added the enhancement New feature or request label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants