denoland / denoland/docs

Clarify pacakge.json vs deno.json for deno desktop + frameworks

Open
#3,379 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
204
Forks
385
Avg merge
14h 49m
Merged PRs (30d)
7

Description

The skeletons of the frameworks at https://docs.deno.com/runtime/desktop/frameworks/ are generated with a `package.json` (e.g. by `deno init --npm vite`). The schema of that `package.json` doesn't have the `desktop` key that `deno desktop` expects. It would help to have some guidance on the best practice for this situation:
- keep both `package.json` and `deno.json`?
- fold `package.json` into `deno.json`?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the desktop frameworks page at docs.deno.com/runtime/desktop/frameworks/ and inspect the skeletons generated by `deno init --npm vite`. Check how `deno desktop` reads `package.json` and `deno.json`, then document the recommended relationship between them. Done means the page clearly explains whether to keep both files or consolidate configuration, with guidance that applies to the listed framework skeletons.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.