Skip to content

Commit 893b54b

Browse files
committed
chore: update app-vite rc.5
1 parent f1bf686 commit 893b54b

14 files changed

Lines changed: 464 additions & 507 deletions

File tree

.oxfmtrc.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
"singleQuote": true,
55
"printWidth": 100,
66
"bracketSpacing": true,
7-
"files": {
8-
"ignore": [
9-
"node_modules",
10-
"packages/*/node_modules",
11-
"packages/*/dist",
12-
"packages/docs/.quasar",
13-
"packages/docs/dist"
14-
]
15-
}
7+
"ignorePatterns": [
8+
"**/node_modules/**",
9+
"**/.quasar/**",
10+
"**/dist/**",
11+
"**/coverage/**",
12+
"packages/docs/src/.q-press/**",
13+
"pnpm-lock.yaml"
14+
]
1615
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"oxlint": "^1.71.0",
3838
"typescript": "~6.0.3",
3939
"vitest": "^4.1.9",
40-
"vue": "^3.5.38"
40+
"vue": "^3.5.39"
4141
},
4242
"engines": {
4343
"node": ">=22.13",

packages/app-extension/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ quasar ext add @quasar/qwindow
1616
## Requirements
1717

1818
- Quasar v2.
19-
- `@quasar/app-vite` >=3.0.0-rc.3.
19+
- `@quasar/app-vite` >=3.0.0-rc.5.
2020

2121
## Uninstall
2222

packages/app-extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
"@quasar/quasar-ui-qwindow": "workspace:^"
4747
},
4848
"devDependencies": {
49-
"@quasar/app-vite": "3.0.0-rc.3",
49+
"@quasar/app-vite": "3.0.0-rc.5",
5050
"quasar": "^2.20.1",
5151
"typescript": "~6.0.3"
5252
},
5353
"peerDependencies": {
54-
"@quasar/app-vite": ">=3.0.0-rc.3"
54+
"@quasar/app-vite": ">=3.0.0-rc.5"
5555
},
5656
"engines": {
5757
"node": ">=22.13",

packages/app-extension/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { defineIndexScript } from '#q-app'
99

1010
export default defineIndexScript((api) => {
1111
api.compatibleWith('quasar', '^2.0.0')
12-
api.compatibleWith('@quasar/app-vite', '>=3.0.0-rc.3')
12+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-rc.5')
1313

1414
api.registerDescribeApi('QWindow', '~@quasar/quasar-ui-qwindow/dist/api/QWindow.json')
1515

packages/docs/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@
2828
"markdown-it-container": "^4.0.0",
2929
"pinia": "^3.0.4",
3030
"quasar": "^2.20.1",
31-
"vue": "^3.5.38",
31+
"vue": "^3.5.39",
3232
"vue-router": "^5.1.0"
3333
},
3434
"devDependencies": {
35-
"@md-plugins/quasar-app-extension-q-press": "0.1.0-rc.17",
36-
"@md-plugins/search-ui": "0.1.0-rc.17",
37-
"@md-plugins/vite-examples-plugin": "0.1.0-rc.17",
38-
"@md-plugins/vite-md-plugin": "0.1.0-rc.17",
39-
"@md-plugins/vite-search-plugin": "0.1.0-rc.17",
40-
"@md-plugins/vite-ssg-plugin": "0.1.0-rc.17",
41-
"@quasar/app-vite": "3.0.0-rc.3",
35+
"@md-plugins/quasar-app-extension-q-press": "0.1.0-rc.18",
36+
"@md-plugins/search-ui": "0.1.0-rc.18",
37+
"@md-plugins/vite-examples-plugin": "0.1.0-rc.18",
38+
"@md-plugins/vite-md-plugin": "0.1.0-rc.18",
39+
"@md-plugins/vite-search-plugin": "0.1.0-rc.18",
40+
"@md-plugins/vite-ssg-plugin": "0.1.0-rc.18",
41+
"@quasar/app-vite": "3.0.0-rc.5",
4242
"@quasar/quasar-ui-qwindow": "workspace:*",
4343
"@types/node": "^26.0.1",
44-
"@vue/server-renderer": "^3.5.38",
44+
"@vue/server-renderer": "^3.5.39",
4545
"autoprefixer": "^10.5.2",
4646
"mermaid": "^11.15.0",
4747
"sass-embedded": "1.100.0",

packages/docs/src/.q-press/css/code-theme.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
border-radius: inherit;
66

77
&.twoslash {
8-
overflow: visible;
8+
overflow-x: auto;
9+
overflow-y: auto;
910
}
1011

1112
code {

packages/docs/src/.q-press/layouts/MarkdownHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ const hasToc = computed(
219219
route.meta.fullwidth !== true &&
220220
route.meta.fullscreen !== true &&
221221
siteConfig.config.useToc &&
222-
markdownStore.toc.length !== 0,
222+
markdownStore.toc.length > 1,
223223
)
224224
const hasMoreLinks = computed(() => siteConfig.links.moreLinks.length > 0)
225225
</script>

packages/docs/src/.q-press/layouts/MarkdownPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ const hasToc = computed(
239239
route.meta.fullscreen !== true &&
240240
props.fullscreen !== true &&
241241
siteConfig.config.useToc &&
242-
markdownStore.toc.length !== 0,
242+
markdownStore.toc.length > 1,
243243
)
244244
245245
const tocClass = computed(

packages/docs/src/.q-press/stores/markdown.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,17 @@ export const useMarkdownStore = defineStore('markdown-store', {
8080
})),
8181
] as TocMenuItem[])
8282
: []
83+
84+
if (this.toc.length <= 1) {
85+
this.tocDrawer = false
86+
}
8387
},
8488

8589
injectToc() {
8690
const route = useRoute()
8791

8892
this.toc = []
93+
this.tocDrawer = false
8994
this.activeToc = route.hash.length > 1 ? route.hash.substring(1) : null
9095
},
9196

0 commit comments

Comments
 (0)