update dependencies and add note about optional dependencies

This commit is contained in:
DecDuck
2024-10-09 02:35:59 +11:00
parent 6ba5cdddc5
commit 4fa771a0b5
3 changed files with 11 additions and 14 deletions

View File

@ -12,7 +12,10 @@ This repo uses the Nuxt 3 + TailwindCSS stack, with the `yarn` package manager.
For the database, Drop uses Prisma connected to PostgreSQL.
## Development
To get started with development, you need `yarn` and `docker compose` installed (or know how to set up a PostgreSQL database).
To get started with development, you need `yarn --optional` and `docker compose` installed (or know how to set up a PostgreSQL database).
### Note: `--optional` flag is **REQUIRED**
Drop uses a utility package called droplet that's written in Rust. It has builts for Linux (GNU) and Windows, and they are set up as optional packages. `npm` installs these by default, but `yarn` needs the `--optional` flag.
Steps:
1. Copy the `.env.example` to `.env` and add your GiantBomb metadata key (more metadata providers coming)

View File

@ -10,8 +10,7 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"@drop/droplet": "^0.3.1",
"@drop/droplet-linux-x64-gnu": "^0.3.1",
"@drop/droplet": "^0.3.2",
"@headlessui/vue": "^1.7.23",
"@heroicons/vue": "^2.1.5",
"@prisma/client": "5.20.0",

View File

@ -296,18 +296,13 @@
dependencies:
mime "^3.0.0"
"@drop/droplet-linux-x64-gnu@^0.3.1":
version "0.3.1"
resolved "https://lab.deepcore.dev/api/v4/projects/57/packages/npm/@drop/droplet-linux-x64-gnu/-/@drop/droplet-linux-x64-gnu-0.3.1.tgz#e434112c6934d311f82558574d95a42136d1986f"
integrity sha1-5DQRLGk00xH4JVhXTZWkITbRmG8=
"@drop/droplet@^0.3.1":
version "0.3.1"
resolved "https://lab.deepcore.dev/api/v4/projects/57/packages/npm/@drop/droplet/-/@drop/droplet-0.3.1.tgz#52772ef5eee8203aba5c175ed7afd65d9208650e"
integrity sha1-Uncu9e7oIDq6XBde16/WXZIIZQ4=
"@drop/droplet@^0.3.2":
version "0.3.2"
resolved "https://lab.deepcore.dev/api/v4/projects/57/packages/npm/@drop/droplet/-/@drop/droplet-0.3.2.tgz#f57cf35e50dfd448b7837f9b4712543ff160e769"
integrity sha1-9XzzXlDf1Ei3g3+bRxJUP/Fg52k=
optionalDependencies:
"@drop/droplet-linux-x64-gnu" "0.3.1"
"@drop/droplet-win32-x64-msvc" "0.3.1"
"@drop/droplet-linux-x64-gnu" "0.3.2"
"@drop/droplet-win32-x64-msvc" "0.3.2"
"@esbuild/aix-ppc64@0.20.2":
version "0.20.2"