Skip to content

Fix template rendering and support npm semver ranges in devEngines#2

Merged
KOBeerose merged 4 commits into
KobeTools:mainfrom
jdx:main
Apr 13, 2026
Merged

Fix template rendering and support npm semver ranges in devEngines#2
KOBeerose merged 4 commits into
KobeTools:mainfrom
jdx:main

Conversation

@KOBeerose
Copy link
Copy Markdown
Member

No description provided.

mise-en-dev and others added 4 commits April 12, 2026 05:20
### 🐛 Bug Fixes

- ignore MISE_TOOL_VERSION in nested postinstall runs by @risu729 in
[#9050](#9050)
…9062)

## Summary
- Fix `{{usage.*}}` templates in `depends` not being rendered when the
task is invoked without arguments
- The `!task.args.is_empty()` guard in both `run.rs` and `deps.rs`
prevented template rendering when no CLI args were passed, even though
the usage spec may define defaults
- Dependencies with unrendered `{{usage.*}}` templates were silently
dropped, causing the task to run with no dependencies at all

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Fix "go install" flag for building a Go program with given build tags:
--tags => -tags
Refs #8935

## Summary
- preserve package.json devEngines semver ranges instead of simplifying
them to exact-looking versions
- resolve npm-compatible ranges with nodejs-semver when filtering
backend versions
- cover lower-bound, compound, caret, wildcard, and package manager
range behavior

## Tests
- cargo test config::config_file::idiomatic_version::package_json
- cargo test semver
- ./e2e/run_test e2e/core/test_package_json

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
@KOBeerose KOBeerose merged commit fd4f1ca into KobeTools:main Apr 13, 2026
23 of 25 checks passed
@autofix-troubleshooter
Copy link
Copy Markdown

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants