v1.23.0
·
374 commits
to master
since this release
🚀 Updates
- Added
git:
andnpm:
locators to thegenerator.templates
setting in.moon/workspace.yml
.- This allows templates to be packaged and managed outside of the workspace.
- Locations will be cloned/downloaded on-demand.
- Added an
id
setting totemplate.yml
, so that templates can customize their name (instead of
using the folder name). - Added a
variables()
function for templates that returns an object of all variables available. - Added new functionality for template variables in
template.yml
:- New
order
setting to control the order in which they are prompted for. - New
internal
setting that ignores values passed on the command line. - Updated enum
default
settings to support an array of values.
- New
- Added an
internal
task option, which marks tasks as internal only. - Updated task inheritance to support stack-based configuration, such as
.moon/tasks/node-frontend.yml
or.moon/tasks/bun-backend-application.yml
. - Updated
moon project
andmoon task
to include the configuration files that tasks inherit from. - Updated
moon task
to include the modes it belongs to.
🐞 Fixes
- Fixed an issue where a project's
platform
was being detected asnode
(when not enabled), and
should have beenbun
. If you're using bothbun
andnode
in the same workspace, moon has a
hard time detecting which should be used for what project. If you run into issues, explicitly set
theplatform
in the project'smoon.yml
. - Fixed an issue where template files couldn't import/include/extends files from extended templates.
- Fixed template enum variable default values being able to use a non-supported value.
⚙️ Internal
- Configuration JSON schemas are now included within each GitHub release.
- Updated proto to v0.32.1 (from v0.31.4).
- Updated Rust to v1.77.