microsoft / microsoft/winappCli

Node projects can use the WinAppCli to manage nuget dependencies

Open
#108 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cli electron enhancement
Dominant language
C#
Stars
1.3k
Forks
80
Avg merge
3d 6h
Merged PRs (30d)
51

Description

**Is your feature request related to a problem? Please describe.**
If I have a Node-based project that's already using WinAppCli and I want to reference a nuget package, it would be nice if I could use the WinAppCli to do this. We already have the winapp.yaml file that specifies our package versions, so it seems like this may be in-scope already.

**Describe the solution you'd like**
I'm not sure the best way. Maybe a winapp command could return a JSON blob of the
``` pwsh
# Restore nuget pacakges (already exists)
npx winapp restore

# Returns JSON containing the path for each nuget package in winapp.yaml
$result = ConvertFrom-Json(npx winapp get-nuget-package-paths)
$cppWinrtPath = $result["Microsoft.Windows.CppWinRT"]
# $cppWinrtPath is now "C:\Users\jecollin\.winapp\packages\Microsoft.Windows.CppWinRT.2.0.250303.1"
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing `npx winapp restore` command and the `winapp.yaml` package-version handling described in the issue. Define and verify a command that returns each restored NuGet package path as JSON, including the example `Microsoft.Windows.CppWinRT` lookup.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.