Skip to content

Commit

Permalink
chore: deprecate HASS add-on for game-db-updater
Browse files Browse the repository at this point in the history
BREAKING CHANGE: game-db-updater is deprecated and removed. For this reason, the HASS add-on for game-db-updater is also removed. Playnite Web now includes the game-db-updater in one application.
  • Loading branch information
andrew-codes committed Jul 10, 2024
1 parent 95b0f98 commit 964eb9b
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 256 deletions.
23 changes: 0 additions & 23 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified .yarn/install-state.gz
Binary file not shown.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ Playnite-Web consists the following:

> All components are required.
| Component | Deployment Mechanism | Purpose |
| :------------------ | :-------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------- |
| database | Docker image / bring your own | Mongo DB database that stores game data in `games` database. |
| MQTT broker | Docker image / bring your own | Provides a communication mechanism between Playnite and Playnite-Web. |
| Playnite-Web Plugin | Extension installed into Playnite | The plugin sends and receives messages via MQTT when data in Playnite is changed. |
| Playnite-Web App | Docker image | Web application and UI to browse and view game library. Updates database from Playnite-Web Plugin. Can be exposed to Internet to share with friends. |

> Note, if you want to update your game library only, and not run Playnite-Web, you may do so by running the `playnite-web-game-db-updater`. However, do not run both this and Playnite-Web App. See the [playnite-web-game-db-updater documentation](docs/install/playnite-web-game-db-updater.md) for more details.
| Component | Deployment Mechanism | Purpose |
| :------------------ | :-------------------------------- | :------------------------------------------------------------------------------------------------------------- |
| (game) database | Docker image / bring your own | Mongo DB database that stores game data in `games` database. |
| MQTT broker | Docker image / bring your own | Provides a communication mechanism between Playnite and Playnite-Web. |
| Playnite-Web Plugin | Extension installed into Playnite | The plugin sends and receives messages via MQTT when data in Playnite is changed. |
| Playnite-Web App | Docker image | Syncs Playnite games to game database, web UI, and GraphQL API that may be used to power your own experiences. |

### Deployment

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/development-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Install the following software on your local development machine:

| Application | Command | Notes |
| :--------------- | :----------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Playnite-Web App | `yarn nx run playnite-web-app:start` | Run Playnite-Web application locally. Navigate to [http://localhost:3000](http://localhost:3000) in a browser. Environment variables are pulled from `./apps/game-db-updater/local.env`. |
| Playnite-Web App | `yarn nx run playnite-web-app:start` | Run Playnite-Web application locally. Navigate to [http://localhost:3000](http://localhost:3000) in a browser. Environment variables are pulled from `./apps/playnite-web/local.env`. |
| Playnite-Web App | `yarn nx run playnite-web-app:test/components` | Run component tests for development. |
| Playnite-Web App | `yarn nx run playnite-web-app:test/components/visual` | Run visual regression component tests for development. |
| Playnite-Web App | `yarn nx run playnite-web-app:test/components/visual/update` | Run visual regression tests with intention to update a baseline screenshot. |
Expand Down
22 changes: 0 additions & 22 deletions docs/install/playnite-web-game-db-updater.md

This file was deleted.

16 changes: 0 additions & 16 deletions hass-game-db-updater/Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions hass-game-db-updater/config.json

This file was deleted.

Binary file removed hass-game-db-updater/icon.png
Binary file not shown.
17 changes: 0 additions & 17 deletions hass-game-db-updater/package.json

This file was deleted.

30 changes: 0 additions & 30 deletions hass-game-db-updater/project.json

This file was deleted.

23 changes: 0 additions & 23 deletions hass-game-db-updater/scripts/package.ts

This file was deleted.

23 changes: 0 additions & 23 deletions hass-game-db-updater/scripts/publish.ts

This file was deleted.

12 changes: 0 additions & 12 deletions hass-game-db-updater/scripts/version.ts

This file was deleted.

25 changes: 0 additions & 25 deletions hass-game-db-updater/src/run.sh

This file was deleted.

16 changes: 0 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18397,22 +18397,6 @@ __metadata:
languageName: unknown
linkType: soft

"playnite-web-game-db-updater-hass-addon@workspace:hass-game-db-updater":
version: 0.0.0-use.local
resolution: "playnite-web-game-db-updater-hass-addon@workspace:hass-game-db-updater"
dependencies:
"@types/lodash": "npm:^4.17.6"
"@types/shelljs": "npm:^0.8.15"
esbuild: "npm:^0.21.5"
esbuild-register: "npm:^3.5.0"
lodash: "npm:^4.17.21"
nx: "npm:^19.3.2"
playnite-web-game-db-updater: "workspace:*"
shelljs: "npm:^0.8.5"
versioning: "workspace:*"
languageName: unknown
linkType: soft

"playnite-web-game-db-updater@workspace:*, playnite-web-game-db-updater@workspace:apps/game-db-updater":
version: 0.0.0-use.local
resolution: "playnite-web-game-db-updater@workspace:apps/game-db-updater"
Expand Down

0 comments on commit 964eb9b

Please sign in to comment.