Changes to template for new API (#44)
This commit is contained in:
parent
fb031f240a
commit
49201b05d7
3 changed files with 1166 additions and 968 deletions
|
@ -8,14 +8,14 @@ Reference example for using [decky-frontend-lib](https://github.com/SteamDeckHom
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
This template relies on the user having Node.js v16.14+ and `pnpm` (v8.5.1) installed on their system.
|
This template relies on the user having Node.js v16.14+ and `pnpm` (v9) installed on their system.
|
||||||
Please make sure to install pnpm v8.5.1 to prevent issues with CI during plugin submission.
|
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.
|
`pnpm` can be downloaded from `npm` itself which is recommended.
|
||||||
|
|
||||||
#### Linux
|
#### Linux
|
||||||
|
|
||||||
```bash
|
```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.
|
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:
|
Note: If you are receiving build errors due to an out of date library, you should run this command inside of your repository:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm update decky-frontend-lib --latest
|
pnpm update @decky/ui --latest
|
||||||
```
|
```
|
||||||
|
|
||||||
### Backend support
|
### Backend support
|
||||||
|
|
14
package.json
14
package.json
|
@ -26,18 +26,18 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/SteamDeckHomebrew/decky-plugin-template#readme",
|
"homepage": "https://github.com/SteamDeckHomebrew/decky-plugin-template#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@decky/rollup": "^1.0.0",
|
"@decky/rollup": "^1.0.1",
|
||||||
|
"@decky/ui": "^4.7.2",
|
||||||
"@types/react": "18.3.3",
|
"@types/react": "18.3.3",
|
||||||
"@types/react-dom": "18.3.0",
|
"@types/react-dom": "18.3.0",
|
||||||
"@types/webpack": "^5.28.5",
|
"@types/webpack": "^5.28.5",
|
||||||
"rollup": "^4.18.0",
|
"rollup": "^4.22.5",
|
||||||
"typescript": "^5.5.3"
|
"typescript": "^5.6.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@decky/api": "^1.0.5",
|
"@decky/api": "^1.1.2",
|
||||||
"@decky/ui": "^4.0.3",
|
"react-icons": "^5.3.0",
|
||||||
"react-icons": "^5.2.1",
|
"tslib": "^2.7.0"
|
||||||
"tslib": "^2.6.3"
|
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"peerDependencyRules": {
|
"peerDependencyRules": {
|
||||||
|
|
2080
pnpm-lock.yaml
2080
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue