Changes to template for new API (#44)

This commit is contained in:
eXhumer 2024-10-03 14:54:11 -06:00 committed by GitHub
parent fb031f240a
commit 49201b05d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1166 additions and 968 deletions

View file

@ -8,14 +8,14 @@ Reference example for using [decky-frontend-lib](https://github.com/SteamDeckHom
### Dependencies
This template relies on the user having Node.js v16.14+ and `pnpm` (v8.5.1) installed on their system.
Please make sure to install pnpm v8.5.1 to prevent issues with CI during plugin submission.
This template relies on the user having Node.js v16.14+ and `pnpm` (v9) installed on their system.
Please make sure to install pnpm v9 to prevent issues with CI during plugin submission.
`pnpm` can be downloaded from `npm` itself which is recommended.
#### Linux
```bash
sudo npm i -g pnpm@8.5.1
sudo npm i -g pnpm@9
```
If you would like to build plugins that have their own custom backends, Docker is required as it is used by the Decky CLI tool.
@ -41,7 +41,7 @@ Everytime you change the frontend code (`index.tsx` etc) you will need to rebuil
Note: If you are receiving build errors due to an out of date library, you should run this command inside of your repository:
```bash
pnpm update decky-frontend-lib --latest
pnpm update @decky/ui --latest
```
### Backend support

View file

@ -26,18 +26,18 @@
},
"homepage": "https://github.com/SteamDeckHomebrew/decky-plugin-template#readme",
"devDependencies": {
"@decky/rollup": "^1.0.0",
"@decky/rollup": "^1.0.1",
"@decky/ui": "^4.7.2",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/webpack": "^5.28.5",
"rollup": "^4.18.0",
"typescript": "^5.5.3"
"rollup": "^4.22.5",
"typescript": "^5.6.2"
},
"dependencies": {
"@decky/api": "^1.0.5",
"@decky/ui": "^4.0.3",
"react-icons": "^5.2.1",
"tslib": "^2.6.3"
"@decky/api": "^1.1.2",
"react-icons": "^5.3.0",
"tslib": "^2.7.0"
},
"pnpm": {
"peerDependencyRules": {

File diff suppressed because it is too large Load diff