From 291bba65a3b858242358a75155e61c45233635cf Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Sun, 25 Feb 2024 16:24:32 +0100 Subject: [PATCH] text nuxt build cache --- nuxt.config.ts | 3 +- package.json | 1 + src/content/skills.json | 208 ++++++++++++++++++++-------------------- yarn.lock | 19 ++++ 4 files changed, 127 insertions(+), 104 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 6763d74..d0509d8 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -11,7 +11,6 @@ export default defineNuxtConfig({ }, modules: [ - '@nuxt/ui', '@nuxt/content', '@nuxtjs/seo', 'nuxt-auth-utils', @@ -19,6 +18,8 @@ export default defineNuxtConfig({ '@pinia/nuxt', '@pinia-plugin-persistedstate/nuxt', '@vueuse/nuxt', + 'nuxt-build-cache', + '@nuxt/ui', ], colorMode: { diff --git a/package.json b/package.json index a412437..f9194c4 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "@vueuse/core": "10.8.0", "@vueuse/nuxt": "10.8.0", "eslint": "8.56.0", + "nuxt-build-cache": "^0.1.1", "typescript": "5.3.3" } } diff --git a/src/content/skills.json b/src/content/skills.json index 87f7003..685290c 100644 --- a/src/content/skills.json +++ b/src/content/skills.json @@ -1,104 +1,106 @@ -[ - { - "name": "TypeScript", - "icon": "skill-icons:typescript" - }, - { - "name": "Python", - "icon": { - "dark": "skill-icons:python-dark", - "light": "skill-icons:python-light" +{ + "body": [ + { + "name": "TypeScript", + "icon": "skill-icons:typescript" + }, + { + "name": "Python", + "icon": { + "dark": "skill-icons:python-dark", + "light": "skill-icons:python-light" + } + }, + { + "name": "R-Lang", + "icon": { + "dark": "i-skill-icons-r-dark", + "light": "i-skill-icons-r-light" + } + }, + { + "name": "Java", + "icon": { + "dark": "skill-icons:java-dark", + "light": "skill-icons:java-light" + } + }, + { + "name": "HTML5", + "icon": "skill-icons:html" + }, + { + "name": "CSS3", + "icon": "skill-icons:css" + }, + { + "name": "Sass", + "icon": "skill-icons:sass" + }, + { + "name": "VueJS 3", + "icon": { + "dark": "skill-icons:vuejs-dark", + "light": "skill-icons:vuejs-light" + } + }, + { + "name": "NuxtJS 3", + "icon": { + "dark": "skill-icons:nuxtjs-dark", + "light": "skill-icons:nuxtjs-light" + } + }, + { + "name": "TailwindCSS", + "icon": { + "dark": "skill-icons:tailwindcss-dark", + "light": "skill-icons:tailwindcss-light" + } + }, + { + "name": "ViteJS", + "icon": { + "dark": "skill-icons:vite-dark", + "light": "skill-icons:vite-light" + } + }, + { + "name": "AdonisJS", + "icon": "skill-icons:adonis" + }, + { + "name": "MySQL", + "icon": { + "dark": "skill-icons:mysql-dark", + "light": "skill-icons:mysql-light" + } + }, + { + "name": "Redis", + "icon": { + "dark": "skill-icons:redis-dark", + "light": "skill-icons:redis-light" + } + }, + { + "name": "Docker", + "icon": "skill-icons:docker" + }, + { + "name": "Git", + "icon": "skill-icons:git" + }, + { + "name": "Prisma.io", + "icon": "skill-icons:prisma" + }, + { + "name": "Vercel", + "icon": { + "dark": "i-skill-icons-vercel-dark", + "light": "i-skill-icons-vercel-light" + } } - }, - { - "name": "R-Lang", - "icon": { - "dark": "i-skill-icons-r-dark", - "light": "i-skill-icons-r-light" - } - }, - { - "name": "Java", - "icon": { - "dark": "skill-icons:java-dark", - "light": "skill-icons:java-light" - } - }, - { - "name": "HTML5", - "icon": "skill-icons:html" - }, - { - "name": "CSS3", - "icon": "skill-icons:css" - }, - { - "name": "Sass", - "icon": "skill-icons:sass" - }, - { - "name": "VueJS 3", - "icon": { - "dark": "skill-icons:vuejs-dark", - "light": "skill-icons:vuejs-light" - } - }, - { - "name": "NuxtJS 3", - "icon": { - "dark": "skill-icons:nuxtjs-dark", - "light": "skill-icons:nuxtjs-light" - } - }, - { - "name": "TailwindCSS", - "icon": { - "dark": "skill-icons:tailwindcss-dark", - "light": "skill-icons:tailwindcss-light" - } - }, - { - "name": "ViteJS", - "icon": { - "dark": "skill-icons:vite-dark", - "light": "skill-icons:vite-light" - } - }, - { - "name": "AdonisJS", - "icon": "skill-icons:adonis" - }, - { - "name": "MySQL", - "icon": { - "dark": "skill-icons:mysql-dark", - "light": "skill-icons:mysql-light" - } - }, - { - "name": "Redis", - "icon": { - "dark": "skill-icons:redis-dark", - "light": "skill-icons:redis-light" - } - }, - { - "name": "Docker", - "icon": "skill-icons:docker" - }, - { - "name": "Git", - "icon": "skill-icons:git" - }, - { - "name": "Prisma.io", - "icon": "skill-icons:prisma" - }, - { - "name": "Vercel", - "icon": { - "dark": "i-skill-icons-vercel-dark", - "light": "i-skill-icons-vercel-light" - } - } -] + ] +} diff --git a/yarn.lock b/yarn.lock index ea9bc4d..5c8bb88 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7109,6 +7109,11 @@ nanoid@^4.0.2: resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-4.0.2.tgz#140b3c5003959adbebf521c170f282c5e7f9fb9e" integrity sha512-7ZtY5KTCNheRGfEFxnedV5zFiORN1+Y1N6zvPTnHQd8ENUvfaDBeuJDZb2bN/oXwXxu3qkTXDzy57W5vAmDTBw== +nanotar@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/nanotar/-/nanotar-0.1.1.tgz#24276a418130fa69f479577f343747e768810857" + integrity sha512-AiJsGsSF3O0havL1BydvI4+wR76sKT+okKRwWIaK96cZUnXqH0uNBOsHlbwZq3+m2BR1VKqHDVudl3gO4mYjpQ== + napi-wasm@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/napi-wasm/-/napi-wasm-1.1.0.tgz#bbe617823765ae9c1bc12ff5942370eae7b2ba4e" @@ -7411,6 +7416,20 @@ nuxt-auth-utils@0.0.19: pathe "^1.1.2" uncrypto "^0.1.3" +nuxt-build-cache@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/nuxt-build-cache/-/nuxt-build-cache-0.1.1.tgz#7d770b00931c2eb4487eee1992b656d1fdd7427c" + integrity sha512-jn3iSYR1gdg/eK1HkgERauUu1pJSUzwJ2Oi0qOwDGrYSlO4mycJ62L0cPtpmBR2Ah/iSrMbjLOxfMMWguVEHQA== + dependencies: + "@nuxt/kit" "^3.10.1" + consola "^3.2.3" + globby "^14.0.0" + nanotar "^0.1.1" + nypm "^0.3.6" + ohash "^1.1.3" + pkg-types "^1.0.3" + std-env "^3.7.0" + nuxt-component-meta@^0.6.3: version "0.6.3" resolved "https://registry.yarnpkg.com/nuxt-component-meta/-/nuxt-component-meta-0.6.3.tgz#f299368072f85f86a78e7169988e26603c7ff75c"