Skip to content

Commit a0852df

Browse files
committed
feat: update deps
1 parent b88ebc0 commit a0852df

File tree

6 files changed

+1348
-1479
lines changed

6 files changed

+1348
-1479
lines changed

eslint.config.js

+24-21
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
import antfu from '@antfu/eslint-config'
22

3-
export default antfu(
4-
{
5-
overrides: {
6-
vue: {
7-
'vue/no-v-text-v-html-on-component': 'off',
8-
'vue/component-name-in-template-casing': 'off',
9-
},
10-
},
11-
formatters: {
12-
markdown: true,
13-
css: true,
14-
slidev: {
15-
files: [
16-
'**/slides.md',
17-
'**/template.md',
18-
'**/example.md',
19-
'test/fixtures/markdown/**/*.md',
20-
'packages/vscode/syntaxes/slidev.example.md',
21-
],
22-
},
3+
export default antfu({
4+
// pnpm: true,
5+
formatters: {
6+
markdown: true,
7+
css: true,
8+
slidev: {
9+
files: [
10+
'**/slides.md',
11+
'**/template.md',
12+
'**/example.md',
13+
'test/fixtures/markdown/**/*.md',
14+
'packages/vscode/syntaxes/slidev.example.md',
15+
],
2316
},
2417
},
25-
)
18+
})
19+
.removeRules(
20+
'vue/no-v-text-v-html-on-component',
21+
'vue/component-name-in-template-casing',
22+
)
23+
// .override('antfu/yaml/pnpm-workspace', {
24+
// ignores: [
25+
// 'packages/create-theme/template/**',
26+
// 'packages/create-app/template/**',
27+
// ],
28+
// })

package.json

+1-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"version": "51.3.0",
44
"private": true,
5-
"packageManager": "pnpm@10.4.1",
5+
"packageManager": "pnpm@10.6.2",
66
"engines": {
77
"node": ">=18.0.0"
88
},
@@ -73,14 +73,6 @@
7373
"vue-tsc": "catalog:",
7474
"zx": "catalog:"
7575
},
76-
"pnpm": {
77-
"patchedDependencies": {
78-
"@hedgedoc/markdown-it-plugins@2.1.4": "patches/@hedgedoc__markdown-it-plugins@2.1.4.patch"
79-
},
80-
"onlyBuiltDependencies": [
81-
"cypress"
82-
]
83-
},
8476
"resolutions": {
8577
"typescript": "catalog:",
8678
"vite": "catalog:"

packages/client/builtin/Monaco.vue

+30-27
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,36 @@ import { useNav } from '../composables/useNav'
2222
import { useSlideContext } from '../context'
2323
import { makeId } from '../logic/utils'
2424

25-
const props = withDefaults(defineProps<{
26-
codeLz: string
27-
diffLz?: string
28-
lang?: string
29-
readonly?: boolean
30-
lineNumbers?: 'on' | 'off' | 'relative' | 'interval'
31-
height?: number | string // Posible values: 'initial', 'auto', '100%', '200px', etc.
32-
editorOptions?: monaco.editor.IEditorOptions
33-
ata?: boolean
34-
runnable?: boolean
35-
writable?: string
36-
autorun?: boolean | 'once'
37-
showOutputAt?: RawAtValue
38-
outputHeight?: string
39-
highlightOutput?: boolean
40-
runnerOptions?: Record<string, unknown>
41-
}>(), {
42-
codeLz: '',
43-
lang: 'typescript',
44-
readonly: false,
45-
lineNumbers: 'off',
46-
height: 'initial',
47-
ata: true,
48-
runnable: false,
49-
autorun: true,
50-
highlightOutput: true,
51-
})
25+
const props = withDefaults(
26+
defineProps<{
27+
codeLz?: string
28+
diffLz?: string
29+
lang?: string
30+
readonly?: boolean
31+
lineNumbers?: 'on' | 'off' | 'relative' | 'interval'
32+
height?: number | string // Posible values: 'initial', 'auto', '100%', '200px', etc.
33+
editorOptions?: monaco.editor.IEditorOptions
34+
ata?: boolean
35+
runnable?: boolean
36+
writable?: string
37+
autorun?: boolean | 'once'
38+
showOutputAt?: RawAtValue
39+
outputHeight?: string
40+
highlightOutput?: boolean
41+
runnerOptions?: Record<string, unknown>
42+
}>(),
43+
{
44+
codeLz: '',
45+
lang: 'typescript',
46+
readonly: false,
47+
lineNumbers: 'off',
48+
height: 'initial',
49+
ata: true,
50+
runnable: false,
51+
autorun: true,
52+
highlightOutput: true,
53+
},
54+
)
5255

5356
const CodeRunner = defineAsyncComponent(() => import('../internals/CodeRunner.vue').then(r => r.default))
5457

packages/client/builtin/TocList.vue

+10-7
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@ import { toArray } from '@antfu/utils'
1313
import { computed } from 'vue'
1414
import { useNav } from '../composables/useNav'
1515

16-
const props = withDefaults(defineProps<{
17-
level: number
18-
start?: string | number
19-
listStyle?: string | string[]
20-
list: TocItem[]
21-
listClass?: string | string[]
22-
}>(), { level: 1 })
16+
const props = withDefaults(
17+
defineProps<{
18+
level?: number
19+
start?: string | number
20+
listStyle?: string | string[]
21+
list: TocItem[]
22+
listClass?: string | string[]
23+
}>(),
24+
{ level: 1 },
25+
)
2326

2427
const { isPresenter } = useNav()
2528

0 commit comments

Comments
 (0)