mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
package updates
This commit is contained in:
parent
fa69902465
commit
0b503518b6
@ -34,18 +34,15 @@ export default defineConfig({
|
|||||||
integrations: [
|
integrations: [
|
||||||
react(),
|
react(),
|
||||||
expressiveCode({
|
expressiveCode({
|
||||||
theme: 'nord',
|
themes: ['nord'],
|
||||||
// https://github.com/expressive-code/expressive-code/blob/ad08cf74095b30055e841d59497990fade634c86/packages/%40expressive-code/core/src/common/core-styles.ts
|
// https://github.com/expressive-code/expressive-code/blob/ad08cf74095b30055e841d59497990fade634c86/packages/%40expressive-code/core/src/common/core-styles.ts
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
borderRadius: 'var(--border-radius)',
|
borderRadius: 'var(--border-radius)',
|
||||||
uiFontFamily: 'var(--font-family-monospace)',
|
uiFontFamily: 'var(--font-family-monospace)',
|
||||||
uiFontSize: 'var(--font-size-mini)',
|
uiFontSize: 'var(--font-size-mini)',
|
||||||
codeFontFamily: 'var(--font-family-monospace)',
|
codeFontFamily: 'var(--font-family-monospace)',
|
||||||
codeFontSize: '0.8rem'
|
codeFontSize: '0.8rem',
|
||||||
},
|
frames: {
|
||||||
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)'
|
frameBoxShadowCssValue: 'var(--box-shadow)'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
7333
package-lock.json
generated
7333
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
55
package.json
55
package.json
@ -49,9 +49,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "^0.3.1",
|
"@astrojs/check": "^0.3.2",
|
||||||
"@astrojs/react": "^3.0.4",
|
"@astrojs/react": "^3.0.7",
|
||||||
"@astrojs/rss": "^3.0.0",
|
"@astrojs/rss": "^4.0.1",
|
||||||
"@astrojs/sitemap": "^3.0.3",
|
"@astrojs/sitemap": "^3.0.3",
|
||||||
"@coingecko/cryptoformat": "^0.7.0",
|
"@coingecko/cryptoformat": "^0.7.0",
|
||||||
"@nanostores/persistent": "^0.9.1",
|
"@nanostores/persistent": "^0.9.1",
|
||||||
@ -59,8 +59,8 @@
|
|||||||
"@nanostores/react": "^0.7.1",
|
"@nanostores/react": "^0.7.1",
|
||||||
"@radix-ui/react-select": "^2.0.0",
|
"@radix-ui/react-select": "^2.0.0",
|
||||||
"@rainbow-me/rainbowkit": "^1.3.0",
|
"@rainbow-me/rainbowkit": "^1.3.0",
|
||||||
"astro": "3.4.3",
|
"astro": "4.0.4",
|
||||||
"astro-expressive-code": "^0.26.2",
|
"astro-expressive-code": "^0.29.4",
|
||||||
"astro-redirect-from": "^1.0.4",
|
"astro-redirect-from": "^1.0.4",
|
||||||
"date-fns": "^2.30.0",
|
"date-fns": "^2.30.0",
|
||||||
"dms2dec": "^1.1.0",
|
"dms2dec": "^1.1.0",
|
||||||
@ -73,24 +73,25 @@
|
|||||||
"pigeon-maps": "^0.21.3",
|
"pigeon-maps": "^0.21.3",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
|
"sharp": "^0.33.0",
|
||||||
"slugify": "^1.6.6",
|
"slugify": "^1.6.6",
|
||||||
"swr": "^2.2.4",
|
"swr": "^2.2.4",
|
||||||
"viem": "^1.19.11",
|
"viem": "^1.19.13",
|
||||||
"wagmi": "^1.4.5"
|
"wagmi": "^1.4.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@playwright/test": "^1.39.0",
|
"@playwright/test": "^1.40.1",
|
||||||
"@testing-library/jest-dom": "^6.1.4",
|
"@testing-library/jest-dom": "^6.1.5",
|
||||||
"@testing-library/react": "^14.0.0",
|
"@testing-library/react": "^14.1.2",
|
||||||
"@types/node": "^20.8.8",
|
"@types/node": "^20.10.4",
|
||||||
"@types/react": "^18.2.39",
|
"@types/react": "^18.2.43",
|
||||||
"@types/react-dom": "^18.2.14",
|
"@types/react-dom": "^18.2.17",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||||
"@typescript-eslint/parser": "^6.13.1",
|
"@typescript-eslint/parser": "^6.14.0",
|
||||||
"@vitest/coverage-v8": "^0.34.6",
|
"@vitest/coverage-v8": "^1.0.4",
|
||||||
"eslint": "^8.52.0",
|
"eslint": "^8.55.0",
|
||||||
"eslint-config-prettier": "^9.0.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-astro": "^0.29.1",
|
"eslint-plugin-astro": "^0.30.0",
|
||||||
"eslint-plugin-jsx-a11y": "^6.8.0",
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
||||||
"eslint-plugin-prettier": "^5.0.1",
|
"eslint-plugin-prettier": "^5.0.1",
|
||||||
"eslint-plugin-react": "^7.33.2",
|
"eslint-plugin-react": "^7.33.2",
|
||||||
@ -98,27 +99,27 @@
|
|||||||
"hast-util-to-html": "^9.0.0",
|
"hast-util-to-html": "^9.0.0",
|
||||||
"husky": "^8.0.3",
|
"husky": "^8.0.3",
|
||||||
"identity-obj-proxy": "^3.0.0",
|
"identity-obj-proxy": "^3.0.0",
|
||||||
"jsdom": "^22.1.0",
|
"jsdom": "^23.0.1",
|
||||||
"markdownlint-cli": "^0.37.0",
|
"markdownlint-cli": "^0.38.0",
|
||||||
"mdast-util-to-hast": "^13.0.2",
|
"mdast-util-to-hast": "^13.0.2",
|
||||||
"mdast-util-to-string": "^4.0.0",
|
"mdast-util-to-string": "^4.0.0",
|
||||||
"mdast-util-toc": "^7.0.0",
|
"mdast-util-toc": "^7.0.0",
|
||||||
"node-iptc": "^1.0.5",
|
"node-iptc": "^1.0.5",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"ora": "^7.0.1",
|
"ora": "^7.0.1",
|
||||||
"prettier": "^3.0.3",
|
"prettier": "^3.1.1",
|
||||||
"prettier-plugin-astro": "^0.12.2",
|
"prettier-plugin-astro": "^0.12.2",
|
||||||
"sharp-ico": "^0.1.5",
|
"sharp-ico": "^0.1.5",
|
||||||
"stylelint": "^15.11.0",
|
"stylelint": "^15.11.0",
|
||||||
"stylelint-config-css-modules": "^4.3.0",
|
"stylelint-config-css-modules": "^4.3.0",
|
||||||
"stylelint-config-standard": "^34.0.0",
|
"stylelint-config-standard": "^34.0.0",
|
||||||
"stylelint-prettier": "^4.0.2",
|
"stylelint-prettier": "^4.0.2",
|
||||||
"svgo": "^3.0.2",
|
"svgo": "^3.1.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.3.3",
|
||||||
"unist-util-visit": "^5.0.0",
|
"unist-util-visit": "^5.0.0",
|
||||||
"vite-tsconfig-paths": "^4.2.1",
|
"vite-tsconfig-paths": "^4.2.2",
|
||||||
"vitest": "^0.34.6"
|
"vitest": "^1.0.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "18"
|
"node": "18"
|
||||||
|
@ -5,7 +5,7 @@ import {
|
|||||||
beforeAll,
|
beforeAll,
|
||||||
afterAll,
|
afterAll,
|
||||||
vi,
|
vi,
|
||||||
type SpyInstance
|
type MockInstance
|
||||||
} from 'vitest'
|
} from 'vitest'
|
||||||
import { render, screen } from '@testing-library/react'
|
import { render, screen } from '@testing-library/react'
|
||||||
import * as nanostores from '@nanostores/react'
|
import * as nanostores from '@nanostores/react'
|
||||||
@ -26,7 +26,7 @@ const mockData = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
describe('Location component', () => {
|
describe('Location component', () => {
|
||||||
let useStoreSpy: SpyInstance
|
let useStoreSpy: MockInstance
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
vi.mock('@nanostores/react')
|
vi.mock('@nanostores/react')
|
||||||
|
@ -5,8 +5,9 @@ import rehypeStringify from 'rehype-stringify'
|
|||||||
import { VFile } from 'vfile'
|
import { VFile } from 'vfile'
|
||||||
import { test, expect, beforeAll } from 'vitest'
|
import { test, expect, beforeAll } from 'vitest'
|
||||||
import { remarkLeadParagraph, type MyFile } from '.'
|
import { remarkLeadParagraph, type MyFile } from '.'
|
||||||
|
import { type Processor } from 'unified'
|
||||||
|
|
||||||
let processor: ReturnType<typeof unified>
|
let processor: Processor<any, any, any, any, string>
|
||||||
|
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
processor = unified()
|
processor = unified()
|
||||||
|
Loading…
Reference in New Issue
Block a user