diff --git a/docs/nuxt.config.ts b/docs/nuxt.config.ts index 93244255..1d47db2a 100755 --- a/docs/nuxt.config.ts +++ b/docs/nuxt.config.ts @@ -1,4 +1,3 @@ -import wtfnode from 'wtfnode' import { version } from './package.json' export default defineNuxtConfig({ @@ -60,13 +59,6 @@ export default defineNuxtConfig({ css: [ '~/css/scrollbars.css', ], - debug: true, - hooks: { - // add open-handles detection on nuxt close hook - close: async () => { - wtfnode.dump() - }, - }, app: { pageTransition: { name: 'page', diff --git a/docs/package.json b/docs/package.json index 9ad8121a..b7ab6a75 100755 --- a/docs/package.json +++ b/docs/package.json @@ -27,8 +27,7 @@ "nuxt-icon": "^0.6.7", "nuxt-lego": "^0.0.14", "nuxt-lodash": "^2.5.3", - "nuxt-og-image": "^3.0.0-beta.52", - "playwright": "^1.40.1", + "nuxt-og-image": "^3.0.0-beta.53", "shiki-es": "^0.14.0", "three": "0.138.3", "troisjs": "^0.3.4", @@ -36,9 +35,6 @@ }, "resolutions": { "nitropack": "npm:nitropack-nightly@2.8.1-28352923.b53e001", - "nuxt-og-image": "^3.0.0-beta.52" - }, - "dependencies": { - "wtfnode": "^0.9.1" + "nuxt-og-image": "^3.0.0-beta.53" } } diff --git a/docs/pages/index.vue b/docs/pages/index.vue index fa2b57af..6762706c 100644 --- a/docs/pages/index.vue +++ b/docs/pages/index.vue @@ -18,31 +18,31 @@ onMounted(() => { showLighthouse3d.value = true }, 1000) } -}) -const blink = useDebounceFn(() => { - // cursor.value = !cursor.value - write() -}, 500) + const blink = useDebounceFn(() => { + // cursor.value = !cursor.value + write() + }, 500) -const codeToWrite = 'npx unlighthouse --site #your-site' -const write = useDebounceFn(() => { - // need to right trim the _ character from code.value - if (code.value.endsWith('█')) - code.value = code.value.slice(0, -1) + const codeToWrite = 'npx unlighthouse --site #your-site' + const write = useDebounceFn(() => { + // need to right trim the _ character from code.value + if (code.value.endsWith('█')) + code.value = code.value.slice(0, -1) - if (code.value.length < codeToWrite.length) - code.value += codeToWrite[code.value.length] + if (code.value.length < codeToWrite.length) + code.value += codeToWrite[code.value.length] - // start blink - blink() - // conditionally show the blink - if (cursor.value) - code.value += '█' -}, 70) + // start blink + blink() + // conditionally show the blink + if (cursor.value) + code.value += '█' + }, 70) -watch(() => code.value.length, write, { - immediate: true, + watch(() => code.value.length, write, { + immediate: true, + }) }) defineOgImageComponent('NuxtSeo', { diff --git a/docs/pnpm-lock.yaml b/docs/pnpm-lock.yaml index 4a601b94..4324624a 100644 --- a/docs/pnpm-lock.yaml +++ b/docs/pnpm-lock.yaml @@ -6,15 +6,11 @@ settings: overrides: nitropack: npm:nitropack-nightly@2.8.1-28352923.b53e001 - nuxt-og-image: ^3.0.0-beta.52 + nuxt-og-image: ^3.0.0-beta.53 importers: .: - dependencies: - wtfnode: - specifier: ^0.9.1 - version: 0.9.1 devDependencies: '@iconify-json/carbon': specifier: ^1.1.24 @@ -71,11 +67,8 @@ importers: specifier: ^2.5.3 version: 2.5.3 nuxt-og-image: - specifier: ^3.0.0-beta.52 - version: 3.0.0-beta.52(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0) - playwright: - specifier: ^1.40.1 - version: 1.40.1 + specifier: ^3.0.0-beta.53 + version: 3.0.0-beta.53(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0) shiki-es: specifier: ^0.14.0 version: 0.14.0 @@ -1785,7 +1778,7 @@ packages: chalk: 5.3.0 defu: 6.1.3 nuxt-link-checker: 2.1.10(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0) - nuxt-og-image: 3.0.0-beta.52(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0) + nuxt-og-image: 3.0.0-beta.53(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0) nuxt-schema-org: 3.2.1(@nuxt/devtools@1.0.4)(@unhead/shared@1.8.8)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(unhead@1.8.8)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0) nuxt-seo-experiments: 3.1.9(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0) nuxt-seo-ui: 0.4.4(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0) @@ -4972,14 +4965,6 @@ packages: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true - /fsevents@2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - /fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -7484,8 +7469,8 @@ packages: - supports-color dev: true - /nuxt-og-image@3.0.0-beta.52(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0): - resolution: {integrity: sha512-Zs8scoOrTGkW7gNmKYNlURu6ky9JGAcL9SPEhKHfG4wfGaZXcfjNtJ4IRufvUhNqzSP6085UUI8KNF125uxEvA==} + /nuxt-og-image@3.0.0-beta.53(@nuxt/devtools@1.0.4)(@vue/compiler-core@3.3.10)(nuxt@3.8.2)(postcss@8.4.32)(vite@5.0.6)(vue@3.3.10)(webpack@5.89.0): + resolution: {integrity: sha512-lMtkIuCF1On3p0Mr/qkZKSFuD6oOdx02/rfLBu6wenRStIOXohzM2IPELpfp4sZwFVf+h5Ub16qXMeD8v9WG5g==} dependencies: '@iconify-json/noto': 1.1.17 '@nuxt/devtools-kit': 1.0.4(nuxt@3.8.2)(vite@5.0.6) @@ -8230,16 +8215,6 @@ packages: hasBin: true dev: true - /playwright@1.40.1: - resolution: {integrity: sha512-2eHI7IioIpQ0bS1Ovg/HszsN/XKNwEG1kbzSDDmADpclKc7CyqkHw7Mg2JCz/bbCxg25QUPcjksoMW7JcIFQmw==} - engines: {node: '>=16'} - hasBin: true - dependencies: - playwright-core: 1.40.1 - optionalDependencies: - fsevents: 2.3.2 - dev: true - /portfinder@1.0.32: resolution: {integrity: sha512-on2ZJVVDXRADWE6jnQaX0ioEylzgBpQk8r55NE4wjXW1ZxO+BgDlY6DXwj20i0V8eB4SenDQ00WEaxfiIQPcxg==} engines: {node: '>= 0.12.0'} @@ -10752,11 +10727,6 @@ packages: optional: true dev: true - /wtfnode@0.9.1: - resolution: {integrity: sha512-Ip6C2KeQPl/F3aP1EfOnPoQk14Udd9lffpoqWDNH3Xt78svxPbv53ngtmtfI0q2Te3oTq79XKTnRNXVIn/GsPA==} - hasBin: true - dev: false - /xmlhttprequest-ssl@2.0.0: resolution: {integrity: sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==} engines: {node: '>=0.4.0'} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 36fed27a..beb8e27f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,4 @@ packages: - 'packages/*' - 'integrations/*' + - '!docs'