chore: ⬆️ Upgrade dependencies

This commit is contained in:
Jesse Wierzbinski 2024-09-20 14:39:19 +02:00
parent ed26f7f243
commit 5622705136
No known key found for this signature in database
4 changed files with 90 additions and 93 deletions

View file

@ -1,5 +1,5 @@
{ {
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", "$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"organizeImports": { "organizeImports": {
"enabled": true "enabled": true
}, },
@ -8,11 +8,19 @@
"rules": { "rules": {
"all": true, "all": true,
"correctness": { "correctness": {
"noNodejsModules": "off" "noNodejsModules": "off",
"useImportExtensions": "off",
"noUnknownFunction": "off"
}, },
"complexity": { "complexity": {
"noExcessiveCognitiveComplexity": "off" "noExcessiveCognitiveComplexity": "off"
}, },
"suspicious": {
"noReactSpecificProps": "off"
},
"performance": {
"useTopLevelRegex": "off"
},
"style": { "style": {
"noDefaultExport": "off", "noDefaultExport": "off",
"noParameterProperties": "off", "noParameterProperties": "off",
@ -66,14 +74,7 @@
} }
}, },
"nursery": { "nursery": {
"noDuplicateElseIf": "warn", "noDuplicateElseIf": "warn"
"noDuplicateJsonKeys": "warn",
"noEvolvingTypes": "warn",
"noYodaExpression": "warn",
"useConsistentBuiltinInstantiation": "warn",
"useErrorMessage": "warn",
"useImportExtensions": "off",
"useThrowNewError": "warn"
} }
} }
}, },

BIN
bun.lockb

Binary file not shown.

View file

@ -12,16 +12,16 @@
}, },
"dependencies": { "dependencies": {
"@algolia/autocomplete-core": "^1.17.4", "@algolia/autocomplete-core": "^1.17.4",
"@headlessui/react": "^2.1.3", "@headlessui/react": "^2.1.8",
"@headlessui/tailwindcss": "^0.2.1", "@headlessui/tailwindcss": "^0.2.1",
"@mdx-js/loader": "^3.0.1", "@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1", "@mdx-js/react": "^3.0.1",
"@next/mdx": "^14.2.7", "@next/mdx": "^14.2.13",
"@sindresorhus/slugify": "^2.2.1", "@sindresorhus/slugify": "^2.2.1",
"@tailwindcss/typography": "^0.5.15", "@tailwindcss/typography": "^0.5.15",
"@types/mdx": "^2.0.13", "@types/mdx": "^2.0.13",
"@types/node": "^22.5.1", "@types/node": "^22.5.5",
"@types/react": "^18.3.4", "@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@types/react-highlight-words": "^0.20.0", "@types/react-highlight-words": "^0.20.0",
"acorn": "^8.12.1", "acorn": "^8.12.1",
@ -29,10 +29,10 @@
"clsx": "^2.1.1", "clsx": "^2.1.1",
"fast-glob": "^3.3.2", "fast-glob": "^3.3.2",
"flexsearch": "^0.7.43", "flexsearch": "^0.7.43",
"framer-motion": "^11.3.30", "framer-motion": "^11.5.5",
"mdast-util-to-string": "^4.0.0", "mdast-util-to-string": "^4.0.0",
"mdx-annotations": "^0.1.4", "mdx-annotations": "^0.1.4",
"next": "^14.2.7", "next": "^14.2.13",
"next-themes": "^0.3.0", "next-themes": "^0.3.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1", "react-dom": "^18.3.1",
@ -40,19 +40,19 @@
"remark": "^15.0.1", "remark": "^15.0.1",
"remark-gfm": "^4.0.0", "remark-gfm": "^4.0.0",
"remark-mdx": "^3.0.1", "remark-mdx": "^3.0.1",
"shiki": "^1.14.1", "shiki": "^1.18.0",
"simple-functional-loader": "^1.2.1", "simple-functional-loader": "^1.2.1",
"tailwindcss": "^3.4.10", "tailwindcss": "^3.4.12",
"typescript": "^5.5.4", "typescript": "^5.6.2",
"unist-util-filter": "^5.0.1", "unist-util-filter": "^5.0.1",
"unist-util-visit": "^5.0.0", "unist-util-visit": "^5.0.0",
"zustand": "^4.5.5" "zustand": "^4.5.5"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "^1.8.3", "@biomejs/biome": "^1.9.2",
"@iconify-icon/react": "^2.1.0", "@iconify-icon/react": "^2.1.0",
"@next/bundle-analyzer": "^14.2.7", "@next/bundle-analyzer": "^14.2.13",
"@shikijs/transformers": "^1.14.1", "@shikijs/transformers": "^1.18.0",
"sharp": "^0.33.5" "sharp": "^0.33.5"
}, },
"trustedDependencies": ["@biomejs/biome", "sharp"] "trustedDependencies": ["@biomejs/biome", "sharp"]

View file

@ -1,88 +1,84 @@
@layer base { @layer base {
:root { :root {
--shiki-color-text: theme('colors.white'); --shiki-color-text: theme("colors.white");
--shiki-token-constant: theme('colors.brand.300'); --shiki-token-constant: theme("colors.brand.300");
--shiki-token-string: theme('colors.brand.300'); --shiki-token-string: theme("colors.brand.300");
--shiki-token-comment: theme('colors.zinc.500'); --shiki-token-comment: theme("colors.zinc.500");
--shiki-token-keyword: theme('colors.sky.300'); --shiki-token-keyword: theme("colors.sky.300");
--shiki-token-parameter: theme('colors.pink.300'); --shiki-token-parameter: theme("colors.pink.300");
--shiki-token-function: theme('colors.violet.300'); --shiki-token-function: theme("colors.violet.300");
--shiki-token-string-expression: theme('colors.brand.300'); --shiki-token-string-expression: theme("colors.brand.300");
--shiki-token-punctuation: theme('colors.zinc.200'); --shiki-token-punctuation: theme("colors.zinc.200");
} }
[inert] ::-webkit-scrollbar { [inert] ::-webkit-scrollbar {
display: none; display: none;
} }
.prose [class*='language-'] code .highlighted { .prose [class*="language-"] code .highlighted {
background-color: var(--vp-code-line-highlight-color); background-color: var(--vp-code-line-highlight-color);
transition: background-color 0.5s; transition: background-color 0.5s;
margin: 0 -24px; margin: 0 -24px;
padding: 0 24px; padding: 0 24px;
width: calc(100% + 48px); width: calc(100% + 48px);
display: inline-block; display: inline-block;
} }
.prose [class*='language-'] code .highlighted.error { .prose [class*="language-"] code .highlighted.error {
background-color: var(--vp-code-line-error-color); background-color: var(--vp-code-line-error-color);
} }
.prose [class*='language-'] code .highlighted.warning { .prose [class*="language-"] code .highlighted.warning {
background-color: var(--vp-code-line-warning-color); background-color: var(--vp-code-line-warning-color);
} }
.prose [class*='language-'] code .diff { .prose [class*="language-"] code .diff {
transition: background-color 0.5s; transition: background-color 0.5s;
margin: 0 -24px; margin: 0 -24px;
padding: 0 24px; padding: 0 24px;
width: calc(100% + 48px); width: calc(100% + 48px);
display: inline-block; display: inline-block;
} }
.prose [class*='language-'] code .diff:before { .prose [class*="language-"] code .diff:before {
position: absolute; position: absolute;
left: 10px; left: 10px;
} }
.prose [class*='language-'] .has-focused .line:not(.focused) { .prose [class*="language-"] .has-focused .line:not(.focused) {
filter: blur(0.095rem); filter: blur(0.095rem);
opacity: 0.4; opacity: 0.4;
transition: transition: filter 0.35s, opacity 0.35s;
filter 0.35s, }
opacity 0.35s;
}
.prose [class*='language-'] .has-focused .line:not(.focused) { .prose [class*="language-"] .has-focused .line:not(.focused) {
opacity: 0.7; opacity: 0.7;
transition: transition: filter 0.35s, opacity 0.35s;
filter 0.35s, }
opacity 0.35s;
}
.prose [class*='language-']:hover .has-focused .line:not(.focused) { .prose [class*="language-"]:hover .has-focused .line:not(.focused) {
filter: blur(0); filter: blur(0);
opacity: 1; opacity: 1;
} }
.prose [class*='language-'] code .diff.remove { .prose [class*="language-"] code .diff.remove {
background-color: var(--vp-code-line-diff-remove-color); background-color: var(--vp-code-line-diff-remove-color);
opacity: 0.7; opacity: 0.7;
} }
.prose [class*='language-'] code .diff.remove:before { .prose [class*="language-"] code .diff.remove:before {
content: '-'; content: "-";
color: var(--vp-code-line-diff-remove-symbol-color); color: var(--vp-code-line-diff-remove-symbol-color);
} }
.prose [class*='language-'] code .diff.add { .prose [class*="language-"] code .diff.add {
background-color: var(--vp-code-line-diff-add-color); background-color: var(--vp-code-line-diff-add-color);
} }
.prose [class*='language-'] code .diff.add:before { .prose [class*="language-"] code .diff.add:before {
content: '+'; content: "+";
color: var(--vp-code-line-diff-add-symbol-color); color: var(--vp-code-line-diff-add-symbol-color);
} }
} }
@tailwind base; @tailwind base;