microsoft / microsoft/aspire

[Aspire CLI] aspire do install

Open
#13,246 0 comments 0 reactions 0 assignees View on GitHub
area-cli
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

Currently `aspire do` only targets the publish & deploy scenario which is a bit limiting.
Aspire already has knowledge in the AppModel on how to perform the installations:
- python create a venv
- javascript - run the correct installer
- dotnet build

And more.

To be able to support other non publish / deploy scenarios, you would need to recreate this installation knowledge in a custom step instead of Aspire exposing it out of the box in an installation step (per resource).

This [Linting Example](https://github.com/tjwald/aspire-linting-example) project had to duplicate the installation knowledge from WithUv() or WithNpm() that is already happening during `aspire run`.

### Describe the solution you'd like

Add to the default pipeline step install for each resource so that pipelines other than publish / deploy can use them.

Linting, testing etc...

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.