Skip to content

Commit

Permalink
chore: ⬆️ Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
CPlusPatch committed Sep 20, 2024
1 parent ed26f7f commit 5622705
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 93 deletions.
21 changes: 11 additions & 10 deletions biome.json
Original file line number Diff line number Diff line change
@@ -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": {
"enabled": true
},
Expand All @@ -8,11 +8,19 @@
"rules": {
"all": true,
"correctness": {
"noNodejsModules": "off"
"noNodejsModules": "off",
"useImportExtensions": "off",
"noUnknownFunction": "off"
},
"complexity": {
"noExcessiveCognitiveComplexity": "off"
},
"suspicious": {
"noReactSpecificProps": "off"
},
"performance": {
"useTopLevelRegex": "off"
},
"style": {
"noDefaultExport": "off",
"noParameterProperties": "off",
Expand Down Expand Up @@ -66,14 +74,7 @@
}
},
"nursery": {
"noDuplicateElseIf": "warn",
"noDuplicateJsonKeys": "warn",
"noEvolvingTypes": "warn",
"noYodaExpression": "warn",
"useConsistentBuiltinInstantiation": "warn",
"useErrorMessage": "warn",
"useImportExtensions": "off",
"useThrowNewError": "warn"
"noDuplicateElseIf": "warn"
}
}
},
Expand Down
Binary file modified bun.lockb
Binary file not shown.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,47 @@
},
"dependencies": {
"@algolia/autocomplete-core": "^1.17.4",
"@headlessui/react": "^2.1.3",
"@headlessui/react": "^2.1.8",
"@headlessui/tailwindcss": "^0.2.1",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@next/mdx": "^14.2.7",
"@next/mdx": "^14.2.13",
"@sindresorhus/slugify": "^2.2.1",
"@tailwindcss/typography": "^0.5.15",
"@types/mdx": "^2.0.13",
"@types/node": "^22.5.1",
"@types/react": "^18.3.4",
"@types/node": "^22.5.5",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"@types/react-highlight-words": "^0.20.0",
"acorn": "^8.12.1",
"autoprefixer": "^10.4.20",
"clsx": "^2.1.1",
"fast-glob": "^3.3.2",
"flexsearch": "^0.7.43",
"framer-motion": "^11.3.30",
"framer-motion": "^11.5.5",
"mdast-util-to-string": "^4.0.0",
"mdx-annotations": "^0.1.4",
"next": "^14.2.7",
"next": "^14.2.13",
"next-themes": "^0.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-highlight-words": "^0.20.0",
"remark": "^15.0.1",
"remark-gfm": "^4.0.0",
"remark-mdx": "^3.0.1",
"shiki": "^1.14.1",
"shiki": "^1.18.0",
"simple-functional-loader": "^1.2.1",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"tailwindcss": "^3.4.12",
"typescript": "^5.6.2",
"unist-util-filter": "^5.0.1",
"unist-util-visit": "^5.0.0",
"zustand": "^4.5.5"
},
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@biomejs/biome": "^1.9.2",
"@iconify-icon/react": "^2.1.0",
"@next/bundle-analyzer": "^14.2.7",
"@shikijs/transformers": "^1.14.1",
"@next/bundle-analyzer": "^14.2.13",
"@shikijs/transformers": "^1.18.0",
"sharp": "^0.33.5"
},
"trustedDependencies": ["@biomejs/biome", "sharp"]
Expand Down
138 changes: 67 additions & 71 deletions styles/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,88 +1,84 @@
@layer base {
:root {
--shiki-color-text: theme('colors.white');
--shiki-token-constant: theme('colors.brand.300');
--shiki-token-string: theme('colors.brand.300');
--shiki-token-comment: theme('colors.zinc.500');
--shiki-token-keyword: theme('colors.sky.300');
--shiki-token-parameter: theme('colors.pink.300');
--shiki-token-function: theme('colors.violet.300');
--shiki-token-string-expression: theme('colors.brand.300');
--shiki-token-punctuation: theme('colors.zinc.200');
}
:root {
--shiki-color-text: theme("colors.white");
--shiki-token-constant: theme("colors.brand.300");
--shiki-token-string: theme("colors.brand.300");
--shiki-token-comment: theme("colors.zinc.500");
--shiki-token-keyword: theme("colors.sky.300");
--shiki-token-parameter: theme("colors.pink.300");
--shiki-token-function: theme("colors.violet.300");
--shiki-token-string-expression: theme("colors.brand.300");
--shiki-token-punctuation: theme("colors.zinc.200");
}

[inert] ::-webkit-scrollbar {
display: none;
}
[inert] ::-webkit-scrollbar {
display: none;
}

.prose [class*='language-'] code .highlighted {
background-color: var(--vp-code-line-highlight-color);
transition: background-color 0.5s;
margin: 0 -24px;
padding: 0 24px;
width: calc(100% + 48px);
display: inline-block;
}
.prose [class*="language-"] code .highlighted {
background-color: var(--vp-code-line-highlight-color);
transition: background-color 0.5s;
margin: 0 -24px;
padding: 0 24px;
width: calc(100% + 48px);
display: inline-block;
}

.prose [class*='language-'] code .highlighted.error {
background-color: var(--vp-code-line-error-color);
}
.prose [class*="language-"] code .highlighted.error {
background-color: var(--vp-code-line-error-color);
}

.prose [class*='language-'] code .highlighted.warning {
background-color: var(--vp-code-line-warning-color);
}
.prose [class*="language-"] code .highlighted.warning {
background-color: var(--vp-code-line-warning-color);
}

.prose [class*='language-'] code .diff {
transition: background-color 0.5s;
margin: 0 -24px;
padding: 0 24px;
width: calc(100% + 48px);
display: inline-block;
}
.prose [class*="language-"] code .diff {
transition: background-color 0.5s;
margin: 0 -24px;
padding: 0 24px;
width: calc(100% + 48px);
display: inline-block;
}

.prose [class*='language-'] code .diff:before {
position: absolute;
left: 10px;
}
.prose [class*="language-"] code .diff:before {
position: absolute;
left: 10px;
}

.prose [class*='language-'] .has-focused .line:not(.focused) {
filter: blur(0.095rem);
opacity: 0.4;
transition:
filter 0.35s,
opacity 0.35s;
}
.prose [class*="language-"] .has-focused .line:not(.focused) {
filter: blur(0.095rem);
opacity: 0.4;
transition: filter 0.35s, opacity 0.35s;
}

.prose [class*='language-'] .has-focused .line:not(.focused) {
opacity: 0.7;
transition:
filter 0.35s,
opacity 0.35s;
}
.prose [class*="language-"] .has-focused .line:not(.focused) {
opacity: 0.7;
transition: filter 0.35s, opacity 0.35s;
}

.prose [class*='language-']:hover .has-focused .line:not(.focused) {
filter: blur(0);
opacity: 1;
}
.prose [class*="language-"]:hover .has-focused .line:not(.focused) {
filter: blur(0);
opacity: 1;
}

.prose [class*='language-'] code .diff.remove {
background-color: var(--vp-code-line-diff-remove-color);
opacity: 0.7;
}
.prose [class*="language-"] code .diff.remove {
background-color: var(--vp-code-line-diff-remove-color);
opacity: 0.7;
}

.prose [class*='language-'] code .diff.remove:before {
content: '-';
color: var(--vp-code-line-diff-remove-symbol-color);
}
.prose [class*="language-"] code .diff.remove:before {
content: "-";
color: var(--vp-code-line-diff-remove-symbol-color);
}

.prose [class*='language-'] code .diff.add {
background-color: var(--vp-code-line-diff-add-color);
}
.prose [class*="language-"] code .diff.add {
background-color: var(--vp-code-line-diff-add-color);
}

.prose [class*='language-'] code .diff.add:before {
content: '+';
color: var(--vp-code-line-diff-add-symbol-color);
}
.prose [class*="language-"] code .diff.add:before {
content: "+";
color: var(--vp-code-line-diff-add-symbol-color);
}
}

@tailwind base;
Expand Down

0 comments on commit 5622705

Please sign in to comment.