[READ-ONLY] Mirror of https://github.com/danielroe/roe.dev. This is the code and content for my personal website, built in Nuxt. roe.dev
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: update color-mode module (#1334)

+6 -32
+2 -7
package.json
··· 31 31 "@nuxt/content": "2.9.0", 32 32 "@nuxt/image": "1.0.0", 33 33 "@nuxt/kit": "3.8.1", 34 - "@nuxtjs/color-mode": "3.3.0", 34 + "@nuxtjs/color-mode": "3.3.1", 35 35 "@nuxtjs/fontaine": "0.4.1", 36 36 "@nuxtjs/html-validator": "1.5.2", 37 37 "@nuxtjs/plausible": "0.2.3", ··· 99 99 "commit-msg": "pnpm commitlint --edit $1", 100 100 "pre-commit": "pnpm lint-staged" 101 101 }, 102 - "packageManager": "pnpm@8.10.2", 103 - "pnpm": { 104 - "patchedDependencies": { 105 - "@nuxtjs/color-mode@3.3.0": "patches/@nuxtjs__color-mode@3.3.0.patch" 106 - } 107 - } 102 + "packageManager": "pnpm@8.10.2" 108 103 }
-15
patches/@nuxtjs__color-mode@3.3.0.patch
··· 1 - diff --git a/dist/runtime/plugin.server.mjs b/dist/runtime/plugin.server.mjs 2 - index fdf0733d4be968bdb043247042403ac11171fe2b..a28362add57252d4472622af7885ca21895df606 100644 3 - --- a/dist/runtime/plugin.server.mjs 4 - +++ b/dist/runtime/plugin.server.mjs 5 - @@ -12,7 +12,9 @@ const addScript = (head) => { 6 - head[serializeProp][hid] = ["innerHTML"]; 7 - }; 8 - export default defineNuxtPlugin((nuxtApp) => { 9 - - const colorMode = useState("color-mode", () => reactive({ 10 - + const colorMode = nuxtApp.ssrContext && 'islandContext' in nuxtApp.ssrContext 11 - + ? reactive({}) 12 - + : useState("color-mode", () => reactive({ 13 - preference, 14 - value: preference, 15 - unknown: true,
+4 -10
pnpm-lock.yaml
··· 4 4 autoInstallPeers: true 5 5 excludeLinksFromLockfile: false 6 6 7 - patchedDependencies: 8 - '@nuxtjs/color-mode@3.3.0': 9 - hash: yhatw3bbda574qeiohv37vxgf4 10 - path: patches/@nuxtjs__color-mode@3.3.0.patch 11 - 12 7 dependencies: 13 8 '@atproto/api': 14 9 specifier: ^0.6.20 ··· 29 24 specifier: 3.8.1 30 25 version: 3.8.1(rollup@3.29.4) 31 26 '@nuxtjs/color-mode': 32 - specifier: 3.3.0 33 - version: 3.3.0(patch_hash=yhatw3bbda574qeiohv37vxgf4)(rollup@3.29.4) 27 + specifier: 3.3.1 28 + version: 3.3.1(rollup@3.29.4) 34 29 '@nuxtjs/fontaine': 35 30 specifier: 0.4.1 36 31 version: 0.4.1(rollup@3.29.4) ··· 2080 2075 - vue-tsc 2081 2076 dev: false 2082 2077 2083 - /@nuxtjs/color-mode@3.3.0(patch_hash=yhatw3bbda574qeiohv37vxgf4)(rollup@3.29.4): 2084 - resolution: {integrity: sha512-YVFNmTISke1eL7uk5p9I1suOsM222FxrqKoF13HS4x94OKCWwPLLeTCEzHZ8orzKnaFUbCXpuL4pRv8gvW+0Kw==} 2078 + /@nuxtjs/color-mode@3.3.1(rollup@3.29.4): 2079 + resolution: {integrity: sha512-FQwl4p8qYJagqJRLYGrKEhMuFN32S1LrHsIJYUXLrMErcHtaIC3TaEamH7geyC3xeoTmAYCuSdtfzsSlwD/cJQ==} 2085 2080 dependencies: 2086 2081 '@nuxt/kit': 3.8.1(rollup@3.29.4) 2087 2082 lodash.template: 4.5.0 ··· 2090 2085 - rollup 2091 2086 - supports-color 2092 2087 dev: false 2093 - patched: true 2094 2088 2095 2089 /@nuxtjs/fontaine@0.4.1(rollup@3.29.4): 2096 2090 resolution: {integrity: sha512-8VnrFYnilfqlQVsCufiqoWusivYVOwP/0Nzu9FV44oryQlBa3qiT7EyOkKSmOxf9yZWCZBRc2wjTSxI+WTYlpg==}