Skip to content

Commit 2afcab6

Browse files
committed
chore: add changeset for VuePress upgrade and documentation improvements
1 parent 9690471 commit 2afcab6

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
'@equinor/fusion-framework-docs': patch
3+
---
4+
5+
Upgrade VuePress and related dependencies:
6+
- @vuepress/bundler-vite: 2.0.0-rc.24 → 2.0.0-rc.26
7+
- @vuepress/cli: 2.0.0-rc.24 → 2.0.0-rc.26
8+
- @vuepress/client: 2.0.0-rc.24 → 2.0.0-rc.26
9+
- @vuepress/plugin-register-components: 2.0.0-rc.112 → 2.0.0-rc.118
10+
- @vuepress/utils: 2.0.0-rc.24 → 2.0.0-rc.26
11+
- vuepress: 2.0.0-rc.24 → 2.0.0-rc.26
12+
- vuepress-theme-hope: 2.0.0-rc.94 → 2.0.0-rc.98
13+
- vue: 3.5.21 → 3.5.25
14+
15+
Add serve script with configurable base path for local testing of production builds.
16+
17+
Fix incorrect AppLoader.tsx path in documentation (@packages/cli/src/bin/dev-portal/AppLoader.tsx → @packages/dev-portal/src/AppLoader.tsx).

vue-press/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
},
1111
"scripts": {
1212
"dev": "vuepress dev src",
13-
"build": "vuepress build src -d dist"
13+
"build": "vuepress build src -d dist",
14+
"preserve": "VUEPRESS_BASE='/' pnpm build",
15+
"serve": "http-server ./dist"
1416
},
1517
"license": "MIT",
1618
"devDependencies": {
@@ -22,7 +24,7 @@
2224
"mermaid": "^11.11.0",
2325
"sass-embedded": "^1.86.3",
2426
"typescript": "^5.8.2",
25-
"vue": "^3.4.38",
27+
"vue": "^3.5.25",
2628
"vuepress": "2.0.0-rc.26",
2729
"vuepress-theme-hope": "2.0.0-rc.98"
2830
}

vue-press/src/.vuepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { description, name, version } = require('../../../package.json');
1212
import theme from './theme.js';
1313

1414
export default defineUserConfig({
15-
base: '/fusion-framework/',
15+
base: (String(process.env.VUEPRESS_BASE) ?? '/fusion-framework/') as '/' | `/${string}/`,
1616
title: [name, version].join('@'),
1717
description,
1818
head: [

0 commit comments

Comments
 (0)