File tree Expand file tree Collapse file tree 8 files changed +1669
-1253
lines changed Expand file tree Collapse file tree 8 files changed +1669
-1253
lines changed Original file line number Diff line number Diff line change 61
61
62
62
- run : yarn test:e2e
63
63
64
- # The docs have a separate installation using Node 20 due to needing newer dependencies
64
+ # The docs have a separate installation using Node 22 due to needing newer dependencies
65
65
docs :
66
66
name : build docs
67
67
@@ -71,11 +71,11 @@ jobs:
71
71
- name : Check out code
72
72
uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
73
73
74
- - name : Install Node.js 20
74
+ - name : Install Node.js 22
75
75
uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
76
76
with :
77
77
cache : yarn
78
- node-version : 20
78
+ node-version : 22
79
79
80
80
- run : yarn --immutable
81
81
working-directory : ./docs
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ package-lock.json
9
9
docs /.vuepress /.cache
10
10
docs /.vuepress /.temp
11
11
docs /.yarn /*
12
+ ! docs /.yarn /patches /
12
13
! docs /.yarn /releases /
Original file line number Diff line number Diff line change 1
- 20
1
+ 22
Original file line number Diff line number Diff line change 1
- // @ts -check
2
- import { defineClientConfig } from 'vuepress/client' ;
3
- import { defineMermaidConfig } from 'vuepress-plugin-md-enhance/client' ;
1
+ import { defineMermaidConfig } from '@vuepress/plugin-markdown-chart/client' ;
4
2
5
3
defineMermaidConfig ( {
6
4
// This can use a CSS variable because text is rendered in HTML tags
@@ -22,9 +20,3 @@ defineMermaidConfig({
22
20
} ,
23
21
// some spacing options available under "flowchart"
24
22
} ) ;
25
-
26
- export default defineClientConfig ( {
27
- enhance : context => {
28
- context . app . directive ;
29
- } ,
30
- } ) ;
Original file line number Diff line number Diff line change 1
- // @ts -check
2
1
import { viteBundler } from '@vuepress/bundler-vite' ;
2
+ import { markdownChartPlugin } from '@vuepress/plugin-markdown-chart' ;
3
3
import { searchPlugin } from '@vuepress/plugin-search' ;
4
4
import { defaultTheme } from '@vuepress/theme-default' ;
5
5
import { defineUserConfig } from 'vuepress' ;
6
- import { mdEnhancePlugin } from 'vuepress-plugin-md-enhance' ;
7
6
8
7
export default defineUserConfig ( {
9
8
title : 'beachball' ,
@@ -40,7 +39,7 @@ export default defineUserConfig({
40
39
] ,
41
40
} ) ,
42
41
plugins : [
43
- mdEnhancePlugin ( {
42
+ markdownChartPlugin ( {
44
43
mermaid : true ,
45
44
} ) ,
46
45
searchPlugin ( ) ,
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " beachball- docs" ,
2
+ "name" : " @ beachball/ docs" ,
3
3
"version" : " 0.0.0" ,
4
4
"description" : " Separate package with separate build to get rid of very outdated deps while keeping beachball v2 on Node 14" ,
5
5
"private" : true ,
6
+ "type" : " module" ,
6
7
"scripts" : {
7
8
"docs" : " vuepress dev --host localhost" ,
8
9
"docs:build" : " vuepress build" ,
9
10
"release:docs" : " yarn docs:build && yarn gh-pages -d .vuepress/dist --dotfiles"
10
11
},
11
12
"devDependencies" : {
12
13
"@vuepress/bundler-vite" : " ^2.0.0-rc.18" ,
14
+ "@vuepress/plugin-markdown-chart" : " ^2.0.0-rc.109" ,
13
15
"@vuepress/plugin-search" : " ^2.0.0-rc.61" ,
14
16
"@vuepress/theme-default" : " ^2.0.0-rc" ,
15
17
"gh-pages" : " ^6.0.0" ,
16
18
"mermaid" : " ^11.4.0" ,
17
19
"sass-embedded" : " ^1.81.0" ,
18
- "vuepress" : " ^2.0.0-rc" ,
19
- "vuepress-plugin-md-enhance" : " ^2.0.0-rc.59"
20
+ "vuepress" : " ^2.0.0-rc"
20
21
},
21
22
"engines" : {
22
- "node" : " >=20 " ,
23
+ "node" : " >=22 " ,
23
24
"yarn" : " ^4"
24
25
},
25
26
"packageManager" :
" [email protected] "
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "noEmit" : true ,
4
+ "allowJs" : true ,
5
+ "checkJs" : true ,
6
+ "strict" : true ,
7
+ "lib" : [" es2022" , " dom" ],
8
+ "module" : " es2022" ,
9
+ "moduleResolution" : " bundler" ,
10
+ "types" : []
11
+ },
12
+ "include" : [" ./.vuepress/*.js" ]
13
+ }
You can’t perform that action at this time.
0 commit comments