chore(deps): migrate from lucide-vue-next to @lucide/vue (#5179)

This commit is contained in:
David Lane
2026-05-24 14:51:31 -04:00
committed by GitHub
parent dab4b41594
commit cda976f18a
17 changed files with 27 additions and 27 deletions

20
package-lock.json generated
View File

@@ -8,9 +8,9 @@
"name": "sunshine", "name": "sunshine",
"version": "0.0.0", "version": "0.0.0",
"dependencies": { "dependencies": {
"@lucide/vue": "1.16.0",
"bootstrap": "5.3.8", "bootstrap": "5.3.8",
"date-fns": "4.3.0", "date-fns": "4.3.0",
"lucide-vue-next": "1.0.0",
"marked": "18.0.4", "marked": "18.0.4",
"vue": "3.5.34", "vue": "3.5.34",
"vue-i18n": "11.4.4", "vue-i18n": "11.4.4",
@@ -680,6 +680,15 @@
"integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/@lucide/vue": {
"version": "1.16.0",
"resolved": "https://registry.npmjs.org/@lucide/vue/-/vue-1.16.0.tgz",
"integrity": "sha512-kiHx0fe49DMjQuvNaEOu9Jou6u9FwdqQ8xbZIKlD47sXrOI8g59kIeeQL42NBLI4AvO+UJsbaPX0hEK/4rHSBQ==",
"license": "ISC",
"peerDependencies": {
"vue": ">=3.0.1"
}
},
"node_modules/@octokit/auth-token": { "node_modules/@octokit/auth-token": {
"version": "6.0.0", "version": "6.0.0",
"resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz", "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz",
@@ -2163,15 +2172,6 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/lucide-vue-next": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/lucide-vue-next/-/lucide-vue-next-1.0.0.tgz",
"integrity": "sha512-V6SPvx1IHTj/UY+FrIYWV5faISsPSb8BnWSFDxAtezWKvWc9ZZ40PDrdu1/Qb5vg4lHWr1hs1BAMGVGm6V1Xdg==",
"license": "ISC",
"peerDependencies": {
"vue": ">=3.0.1"
}
},
"node_modules/magic-string": { "node_modules/magic-string": {
"version": "0.30.21", "version": "0.30.21",
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",

View File

@@ -9,9 +9,9 @@
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@lucide/vue": "1.16.0",
"bootstrap": "5.3.8", "bootstrap": "5.3.8",
"date-fns": "4.3.0", "date-fns": "4.3.0",
"lucide-vue-next": "1.0.0",
"marked": "18.0.4", "marked": "18.0.4",
"vue": "3.5.34", "vue": "3.5.34",
"vue-i18n": "11.4.4", "vue-i18n": "11.4.4",

View File

@@ -82,7 +82,7 @@
</template> </template>
<script> <script>
import { CircleUserRound, Home, Info, Layers, Lock, LogOut, Settings, Shield, Star } from 'lucide-vue-next' import { CircleUserRound, Home, Info, Layers, Lock, LogOut, Settings, Shield, Star } from '@lucide/vue'
import ThemeToggle from './ThemeToggle.vue' import ThemeToggle from './ThemeToggle.vue'
import Notification from './Notification.vue' import Notification from './Notification.vue'

View File

@@ -21,7 +21,7 @@
<script> <script>
import { reactive } from 'vue' import { reactive } from 'vue'
import { AlertCircle, AlertTriangle, CheckCircle, Info } from 'lucide-vue-next' import { AlertCircle, AlertTriangle, CheckCircle, Info } from '@lucide/vue'
/** /**
* Singleton reactive notification state shared across the app instance. * Singleton reactive notification state shared across the app instance.
@@ -57,7 +57,7 @@ function pushKey(type, messageKey, titleKey) {
} }
/** /**
* Map a Bootstrap color variant to its corresponding lucide-vue-next icon name. * Map a Bootstrap color variant to its corresponding @lucide/vue icon name.
* *
* @param {'danger'|'warning'|'success'|'info'} type - Bootstrap color variant. * @param {'danger'|'warning'|'success'|'info'} type - Bootstrap color variant.
* @returns {string} The lucide icon component name. * @returns {string} The lucide icon component name.

View File

@@ -50,7 +50,7 @@ import {
BookOpen, BookOpen,
FileText, FileText,
Globe, Globe,
} from 'lucide-vue-next' } from '@lucide/vue'
import SimpleIcon from './SimpleIcon.vue' import SimpleIcon from './SimpleIcon.vue'
export default { export default {

View File

@@ -17,7 +17,7 @@ import {
Sunrise, Sunrise,
Trees, Trees,
Waves, Waves,
} from 'lucide-vue-next' } from '@lucide/vue'
onMounted(() => { onMounted(() => {
loadAutoTheme() loadAutoTheme()

View File

@@ -538,7 +538,7 @@
Terminal, Terminal,
Trash2, Trash2,
X, X,
} from 'lucide-vue-next' } from '@lucide/vue'
const app = createApp({ const app = createApp({
components: { components: {

View File

@@ -146,7 +146,7 @@
Settings, Settings,
Sliders, Sliders,
Volume2, Volume2,
} from 'lucide-vue-next' } from '@lucide/vue'
const app = createApp({ const app = createApp({
components: { components: {

View File

@@ -7,7 +7,7 @@ import {
Shield, Shield,
Trash2, Trash2,
Undo, Undo,
} from 'lucide-vue-next' } from '@lucide/vue'
const props = defineProps({ const props = defineProps({
platform: String, platform: String,

View File

@@ -3,7 +3,7 @@ import { computed, ref } from 'vue'
import { import {
Info, Info,
TriangleAlert, TriangleAlert,
} from 'lucide-vue-next' } from '@lucide/vue'
import Checkbox from "../../Checkbox.vue"; import Checkbox from "../../Checkbox.vue";
const props = defineProps([ const props = defineProps([

View File

@@ -1,6 +1,6 @@
<script setup> <script setup>
import { ref } from 'vue' import { ref } from 'vue'
import { Trash2 } from 'lucide-vue-next' import { Trash2 } from '@lucide/vue'
import PlatformLayout from '../../../PlatformLayout.vue' import PlatformLayout from '../../../PlatformLayout.vue'
import Checkbox from "../../../Checkbox.vue"; import Checkbox from "../../../Checkbox.vue";

View File

@@ -248,7 +248,7 @@
Smartphone, Smartphone,
Star, Star,
Tv, Tv,
} from 'lucide-vue-next' } from '@lucide/vue'
const app = createApp({ const app = createApp({
components: { components: {

View File

@@ -142,7 +142,7 @@
Info, Info,
CheckCircle, CheckCircle,
Download Download
} from 'lucide-vue-next' } from '@lucide/vue'
// Configure marked to allow HTML // Configure marked to allow HTML
marked.setOptions({ marked.setOptions({

View File

@@ -27,7 +27,7 @@
<script type="module"> <script type="module">
import { createApp } from 'vue' import { createApp } from 'vue'
import { initApp } from './init' import { initApp } from './init'
import { LogIn } from 'lucide-vue-next' import { LogIn } from '@lucide/vue'
const app = createApp({ const app = createApp({
components: { components: {

View File

@@ -65,7 +65,7 @@
import { initApp } from './init' import { initApp } from './init'
import Navbar from './Navbar.vue' import Navbar from './Navbar.vue'
import { apiFetch } from './fetch_utils' import { apiFetch } from './fetch_utils'
import { Save } from 'lucide-vue-next' import { Save } from '@lucide/vue'
const app = createApp({ const app = createApp({
components: { components: {

View File

@@ -45,7 +45,7 @@
Forward, Forward,
Hash, Hash,
Monitor, Monitor,
} from 'lucide-vue-next' } from '@lucide/vue'
let app = createApp({ let app = createApp({
components: { components: {

View File

@@ -219,7 +219,7 @@
Search, Search,
Trash2, Trash2,
XCircle, XCircle,
} from 'lucide-vue-next' } from '@lucide/vue'
const app = createApp({ const app = createApp({
components: { components: {