File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161
6262 - run : yarn test:e2e
6363
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
6565 docs :
6666 name : build docs
6767
@@ -71,11 +71,11 @@ jobs:
7171 - name : Check out code
7272 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
7373
74- - name : Install Node.js 20
74+ - name : Install Node.js 22
7575 uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
7676 with :
7777 cache : yarn
78- node-version : 20
78+ node-version : 22
7979
8080 - run : yarn --immutable
8181 working-directory : ./docs
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ package-lock.json
99docs /.vuepress /.cache
1010docs /.vuepress /.temp
1111docs /.yarn /*
12+ ! docs /.yarn /patches /
1213! 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' ;
42
53defineMermaidConfig ( {
64 // This can use a CSS variable because text is rendered in HTML tags
@@ -22,9 +20,3 @@ defineMermaidConfig({
2220 } ,
2321 // some spacing options available under "flowchart"
2422} ) ;
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
21import { viteBundler } from '@vuepress/bundler-vite' ;
2+ import { markdownChartPlugin } from '@vuepress/plugin-markdown-chart' ;
33import { searchPlugin } from '@vuepress/plugin-search' ;
44import { defaultTheme } from '@vuepress/theme-default' ;
55import { defineUserConfig } from 'vuepress' ;
6- import { mdEnhancePlugin } from 'vuepress-plugin-md-enhance' ;
76
87export default defineUserConfig ( {
98 title : 'beachball' ,
@@ -40,7 +39,7 @@ export default defineUserConfig({
4039 ] ,
4140 } ) ,
4241 plugins : [
43- mdEnhancePlugin ( {
42+ markdownChartPlugin ( {
4443 mermaid : true ,
4544 } ) ,
4645 searchPlugin ( ) ,
Original file line number Diff line number Diff line change 11{
2- "name" : " beachball- docs" ,
2+ "name" : " @ beachball/ docs" ,
33 "version" : " 0.0.0" ,
44 "description" : " Separate package with separate build to get rid of very outdated deps while keeping beachball v2 on Node 14" ,
55 "private" : true ,
6+ "type" : " module" ,
67 "scripts" : {
78 "docs" : " vuepress dev --host localhost" ,
89 "docs:build" : " vuepress build" ,
910 "release:docs" : " yarn docs:build && yarn gh-pages -d .vuepress/dist --dotfiles"
1011 },
1112 "devDependencies" : {
1213 "@vuepress/bundler-vite" : " ^2.0.0-rc.18" ,
14+ "@vuepress/plugin-markdown-chart" : " ^2.0.0-rc.109" ,
1315 "@vuepress/plugin-search" : " ^2.0.0-rc.61" ,
1416 "@vuepress/theme-default" : " ^2.0.0-rc" ,
1517 "gh-pages" : " ^6.0.0" ,
1618 "mermaid" : " ^11.4.0" ,
1719 "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"
2021 },
2122 "engines" : {
22- "node" : " >=20 " ,
23+ "node" : " >=22 " ,
2324 "yarn" : " ^4"
2425 },
2526 "packageManager" : " yarn@4.9.2"
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