Skip to content

Commit

Permalink
Revert "Fix"
Browse files Browse the repository at this point in the history
  • Loading branch information
JenkJS authored Aug 6, 2024
1 parent 10125f4 commit 9036ea4
Show file tree
Hide file tree
Showing 11 changed files with 3,855 additions and 3,825 deletions.
5 changes: 0 additions & 5 deletions .idea/.gitignore

This file was deleted.

57 changes: 0 additions & 57 deletions .idea/codeStyles/Project.xml

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/material_theme_project_new.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/vcs.xml

This file was deleted.

2 changes: 1 addition & 1 deletion components/custom-content-renderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</template>

<script lang="ts" setup>
import type { ParsedContent } from '@nuxt/content';
import type { ParsedContent } from "@nuxt/content/dist/runtime/types/index";
const props = defineProps<{
value: ParsedContent;
Expand Down
5 changes: 2 additions & 3 deletions components/docs/item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@
import type {
ParsedContent,
QueryBuilder,
} from '@nuxt/content';
} from "@nuxt/content/dist/runtime/types/index";
const { t } = useI18n();
const localePath = useLocalePath();
Expand Down Expand Up @@ -144,7 +143,7 @@ scrollSpy({
});
const filteredList = computed(() => {
return everything.value.filter((article: any) => {
return everything.value.filter((article) => {
if (!article._path) {
return false;
}
Expand Down
24 changes: 4 additions & 20 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,13 @@ const copyDocsAssetsToPublic = async () => {

export default defineNuxtConfig({
ssr: true,

app: {
pageTransition: false, // Enable later
layoutTransition: false,
},

experimental: {
viewTransition: true,
},

modules: [
"@nuxtjs/tailwindcss",
"@nuxtjs/i18n",
Expand All @@ -139,7 +136,6 @@ export default defineNuxtConfig({
"@nuxt/content",
"nuxt-multi-cache",
],

multiCache: {
component: {
// If true the cache is enabled.
Expand All @@ -148,7 +144,6 @@ export default defineNuxtConfig({
enabled: true,
},
},

security: {
nonce: true,
ssg: {
Expand Down Expand Up @@ -176,58 +171,49 @@ export default defineNuxtConfig({
exclude: [/node_modules/, /\.git/],
},
},

nitro: {
prerender: {
routes: [...docsRoutes],
crawlLinks: true,
failOnError: false,
},
},

hooks: {
"build:before": async () => {
await copyDocsAssetsToPublic();
},
},

runtimeConfig: {
public: {
siteUrl: publicWebUrl,
baseURL: publicWebUrl,
},
},

content: {
documentDriven: false,
},

site: {
siteUrl: publicWebUrl,
},

sitemap: {
discoverImages: false,
autoLastmod: true,
credits: false,
},

typescript: {
typeCheck: true,
strict: true,
},

fontMetrics: {
fonts: [
{ family: "ProximaNova", src: "fonts/ProximaNova-Regular.woff2" },
{ family: "ProximaNova", src: "/fonts/ProximaNova-Regular.woff2" },
{
family: "ProximaNova-Italic",
src: "fonts/ProximaNova-RegularIt.woff2",
src: "/fonts/ProximaNova-RegularIt.woff2",
},
{ family: "ProximaNova-Bold", src: "fonts/ProximaNova-Bold.woff2" },
{ family: "ProximaNova-Bold", src: "/fonts/ProximaNova-Bold.woff2" },
],
},

i18n: {
baseUrl: publicWebUrl,
skipSettingLocaleOnNavigate: false,
Expand Down Expand Up @@ -274,6 +260,4 @@ export default defineNuxtConfig({
},
locales,
},

compatibilityDate: "2024-08-02",
});
});
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"apply-updates": "npx npm-check-updates -u && yarn install"
},
"devDependencies": {
"@nuxt/content": "^2.13.2",
"@nuxt/content": "^2.10.0",
"@nuxtjs/device": "^3.1.1",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@nuxtjs/fontaine": "^0.4.1",
Expand All @@ -34,8 +34,8 @@
"nuxt-simple-robots": "^3.1.10",
"nuxt-simple-sitemap": "^4.4.1",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"vue-tsc": "^2.0.26"
"typescript": "^5.3.3",
"vue-tsc": "^1.8.27"
},
"dependencies": {
"@nuxt/types": "^2.17.3",
Expand All @@ -44,7 +44,6 @@
"@types/canvas-confetti": "^1.6.4",
"@types/markdown-it": "^13.0.7",
"@types/uuid": "^9.0.7",
"@volar/typescript": "^2.3.4",
"canvas-confetti": "^1.9.2",
"date-fns": "^3.3.1",
"fs-extra": "^11.2.0",
Expand All @@ -56,7 +55,6 @@
"nuxt-security": "^1.0.0",
"swiper": "^11.0.5",
"tailwindcss": "^3.4.1",
"vue-i18n-routing": "^1.2.0",
"vue3-marquee": "^4.1.0"
}
}
Loading

0 comments on commit 9036ea4

Please sign in to comment.