1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +01:00

package updates

This commit is contained in:
Matthias Kretschmann 2023-12-12 19:54:18 +00:00
parent fa69902465
commit 0b503518b6
Signed by: m
GPG Key ID: 606EEEF3C479A91F
5 changed files with 3384 additions and 4020 deletions

View File

@ -34,18 +34,15 @@ export default defineConfig({
integrations: [
react(),
expressiveCode({
theme: 'nord',
themes: ['nord'],
// https://github.com/expressive-code/expressive-code/blob/ad08cf74095b30055e841d59497990fade634c86/packages/%40expressive-code/core/src/common/core-styles.ts
styleOverrides: {
borderRadius: 'var(--border-radius)',
uiFontFamily: 'var(--font-family-monospace)',
uiFontSize: 'var(--font-size-mini)',
codeFontFamily: 'var(--font-family-monospace)',
codeFontSize: '0.8rem'
},
codeFontSize: '0.8rem',
frames: {
// https://github.com/expressive-code/expressive-code/blob/main/packages/%40expressive-code/plugin-frames/README.md#available-plugin-options
styleOverrides: {
frameBoxShadowCssValue: 'var(--box-shadow)'
}
}

7337
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -49,9 +49,9 @@
]
},
"dependencies": {
"@astrojs/check": "^0.3.1",
"@astrojs/react": "^3.0.4",
"@astrojs/rss": "^3.0.0",
"@astrojs/check": "^0.3.2",
"@astrojs/react": "^3.0.7",
"@astrojs/rss": "^4.0.1",
"@astrojs/sitemap": "^3.0.3",
"@coingecko/cryptoformat": "^0.7.0",
"@nanostores/persistent": "^0.9.1",
@ -59,8 +59,8 @@
"@nanostores/react": "^0.7.1",
"@radix-ui/react-select": "^2.0.0",
"@rainbow-me/rainbowkit": "^1.3.0",
"astro": "3.4.3",
"astro-expressive-code": "^0.26.2",
"astro": "4.0.4",
"astro-expressive-code": "^0.29.4",
"astro-redirect-from": "^1.0.4",
"date-fns": "^2.30.0",
"dms2dec": "^1.1.0",
@ -73,24 +73,25 @@
"pigeon-maps": "^0.21.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sharp": "^0.33.0",
"slugify": "^1.6.6",
"swr": "^2.2.4",
"viem": "^1.19.11",
"wagmi": "^1.4.5"
"viem": "^1.19.13",
"wagmi": "^1.4.11"
},
"devDependencies": {
"@playwright/test": "^1.39.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.8.8",
"@types/react": "^18.2.39",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.13.1",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-astro": "^0.29.1",
"@playwright/test": "^1.40.1",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^14.1.2",
"@types/node": "^20.10.4",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitest/coverage-v8": "^1.0.4",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^0.30.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
@ -98,27 +99,27 @@
"hast-util-to-html": "^9.0.0",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jsdom": "^22.1.0",
"markdownlint-cli": "^0.37.0",
"jsdom": "^23.0.1",
"markdownlint-cli": "^0.38.0",
"mdast-util-to-hast": "^13.0.2",
"mdast-util-to-string": "^4.0.0",
"mdast-util-toc": "^7.0.0",
"node-iptc": "^1.0.5",
"npm-run-all": "^4.1.5",
"ora": "^7.0.1",
"prettier": "^3.0.3",
"prettier": "^3.1.1",
"prettier-plugin-astro": "^0.12.2",
"sharp-ico": "^0.1.5",
"stylelint": "^15.11.0",
"stylelint-config-css-modules": "^4.3.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-prettier": "^4.0.2",
"svgo": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"svgo": "^3.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"unist-util-visit": "^5.0.0",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^0.34.6"
"vite-tsconfig-paths": "^4.2.2",
"vitest": "^1.0.4"
},
"engines": {
"node": "18"

View File

@ -5,7 +5,7 @@ import {
beforeAll,
afterAll,
vi,
type SpyInstance
type MockInstance
} from 'vitest'
import { render, screen } from '@testing-library/react'
import * as nanostores from '@nanostores/react'
@ -26,7 +26,7 @@ const mockData = {
}
describe('Location component', () => {
let useStoreSpy: SpyInstance
let useStoreSpy: MockInstance
beforeAll(() => {
vi.mock('@nanostores/react')

View File

@ -5,8 +5,9 @@ import rehypeStringify from 'rehype-stringify'
import { VFile } from 'vfile'
import { test, expect, beforeAll } from 'vitest'
import { remarkLeadParagraph, type MyFile } from '.'
import { type Processor } from 'unified'
let processor: ReturnType<typeof unified>
let processor: Processor<any, any, any, any, string>
beforeAll(() => {
processor = unified()