microsoft / microsoft/winappCli

Can WinAppCLI automatically configure my pacakge.json when I install it to my Node app?

Open
#189 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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.**
Sometimes I run `npm i @microsoft/winappcli` in my Node project, but then I forget I still need to:
1. Run `npx winapp init`
2. Add `winapp restore` to my package.json's postinstall

**Describe the solution you'd like**
Can we have this happen automatically when I install winappcli to my Node project?

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

The issue names the npm install flow, npx winapp init, winapp restore, and package.json; begin by locating the WinAppCLI install and init entry points and the package metadata. Define the desired post-install behavior, including how package.json is changed, then verify a fresh Node app install performs initialization and adds the postinstall command without repeating or overwriting user configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs
Domain
cli, developer-experience
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.