SteamDeckHomebrew / decky-plugin-template

A template for quickly creating a decky plugin from scratch
https://deckbrew.xyz
Other
222 stars 106 forks source link

Improve README and Setup Tasks to support developers wishing to develop without a deck #33

Open TrainDoctor opened 1 year ago

TrainDoctor commented 1 year ago

Looking for more feedback from devs on how this can be improved outside what I've stated below. This issue will serve as a discussion for said desired improvements as well.

codetakki commented 1 year ago

This might already be covered by the "Create instructions". But having a good "Hello world" example always helps me get on track when working in new environments.

So step by step instructions of getting a first edit onto the steam deck, and making small changes would be very useful.

AkazaRenn commented 1 year ago

The most trouble I met during setup was how to find and start the tasks mentioned in the README. It would be good to give some suggestions on which extension to use, I am using https://marketplace.visualstudio.com/items?itemName=spmeesseman.vscode-taskexplorer

XanderXAJ commented 1 year ago

Probably like everyone else here, I had to figure out a lot of stuff to get properly started. Since taking those first steps, my goal has been to make builds and deployments of my plugin as simple as possible and ideally without prompts for passwords and configuration.

After forking the plugin, I extensively re-wrote the README to suit my needs. Please do read through it -- especially the Development section -- as it contains both build and deploy instructions along with a number of debugging tips. You're welcome to copy and adapt it for the community's needs (and I'm happy to help out if you want). 🙂

Since it is my plugin, I did also make it opinionated. Here are a few thoughts and changes I made to my plugin and build tasks for your consideration:

AAGaming00 commented 1 year ago

I suggest using the watch mode of rollup to build your JS as it builds much faster due to being incremental

XanderXAJ commented 1 year ago

I suggest using the watch mode of rollup to build your JS as it builds much faster due to being incremental

@AAGaming00 Can that be combined with deployments? 😮

TrainDoctor commented 1 year ago

@XanderXAJ I don't have much time myself to integrate the changes you made manually but if you were to submit a PR with generalized changes I'd be happy to review those and merge when appropriate!

TrainDoctor commented 2 months ago

Unfortunately I no longer have the time to work on this aspect of the documentation as I would like. If plugin developers are willing to contribute some generalized knowledge to our wiki then we'd be happy to accept that. Marking as middle priority as this work should eventually be done.