diff --git a/package.json b/package.json index c6259d3..b0c4a0f 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "dependencies": { "@reduxjs/toolkit": "^1.8.6", "axios": "^1.1.2", - "decky-frontend-lib": "^3.22.0", + "decky-frontend-lib": "^3.25.0", "react-icons": "^4.4.0", "react-redux": "^8.0.4" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 82f8e40..28f3c7b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,5 +1,9 @@ lockfileVersion: '6.0' +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + dependencies: '@reduxjs/toolkit': specifier: ^1.8.6 @@ -8,8 +12,8 @@ dependencies: specifier: ^1.1.2 version: 1.1.2 decky-frontend-lib: - specifier: ^3.22.0 - version: 3.22.0 + specifier: ^3.25.0 + version: 3.25.0 react-icons: specifier: ^4.4.0 version: 4.4.0 @@ -493,8 +497,8 @@ packages: /csstype@3.1.0: resolution: {integrity: sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==} - /decky-frontend-lib@3.22.0: - resolution: {integrity: sha512-MJ0y0bhNMHJyMVxHht3O0L0GxdT9sckUmh35HG7/ERqyZQsfKpDqOeW6pC1R07SnuWwgbl4fY3tzjlrb7qUeoA==} + /decky-frontend-lib@3.25.0: + resolution: {integrity: sha512-2lBoHS2AIRmuluq/bGdHBz+uyToQE7k3K/vDq1MQbDZ4eC+8CGDuh2T8yZOj3D0yjGP2MdikNNAWPA9Z5l2qDg==} dev: false /deepmerge@4.2.2: diff --git a/rollup.config.js b/rollup.config.js index 8717908..1012f1e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -24,12 +24,13 @@ export default defineConfig({ }) ], context: 'window', - external: ['react', 'react-dom'], + external: ['react', 'react-dom','decky-frontend-lib'], output: { file: 'dist/index.js', globals: { react: 'SP_REACT', 'react-dom': 'SP_REACTDOM', + 'decky-frontend-lib': 'DFL', }, format: 'iife', exports: 'default',