File tree Expand file tree Collapse file tree 7 files changed +7468
-5424
lines changed
Expand file tree Collapse file tree 7 files changed +7468
-5424
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ const config = {
9292 'All trademarks and copyrights belong to their respective owners.' ,
9393 } ,
9494 prism : {
95+ additionalLanguages : [ 'bash' ] ,
9596 theme : lightCodeTheme ,
9697 darkTheme : darkCodeTheme ,
9798 } ,
Original file line number Diff line number Diff line change 1515 "typecheck" : " tsc"
1616 },
1717 "dependencies" : {
18- "@docusaurus/core" : " 2.4.3 " ,
19- "@docusaurus/plugin-sitemap" : " 2.4.3 " ,
20- "@docusaurus/preset-classic" : " 2.4.3 " ,
21- "@mdx-js/react" : " ^1.6.22 " ,
22- "@swmansion/t-rex-ui" : " ^0 .0.14 " ,
23- "clsx" : " ^1. 2.1" ,
24- "prism-react-renderer" : " ^1.3.5 " ,
25- "react" : " ^17.0.2 " ,
26- "react-dom" : " ^17.0.2 "
18+ "@docusaurus/core" : " 3.7.0 " ,
19+ "@docusaurus/plugin-sitemap" : " 3.7.0 " ,
20+ "@docusaurus/preset-classic" : " 3.7.0 " ,
21+ "@mdx-js/react" : " ^3.0.0 " ,
22+ "@swmansion/t-rex-ui" : " 1 .0.0 " ,
23+ "clsx" : " ^2.1.0 " ,
24+ "prism-react-renderer" : " ^2.1.0 " ,
25+ "react" : " ^18.2.0 " ,
26+ "react-dom" : " ^18.2.0 "
2727 },
2828 "devDependencies" : {
29- "@docusaurus/module-type-aliases" : " 2.4.3 " ,
30- "@tsconfig/ docusaurus" : " ^1.0.5 " ,
31- "typescript" : " ^4.7.4 "
29+ "@docusaurus/module-type-aliases" : " 3.7.0 " ,
30+ "@docusaurus/tsconfig " : " 3.7.0 " ,
31+ "typescript" : " ~5.2.2 "
3232 },
3333 "browserslist" : {
3434 "production" : [
4343 ]
4444 },
4545 "engines" : {
46- "node" : " >=16.14 "
46+ "node" : " >=18.0 "
4747 }
4848}
Original file line number Diff line number Diff line change 1- const darkTheme = require ( 'prism-react-renderer/themes/github' ) ;
1+ const darkTheme = require ( 'prism-react-renderer' ) . themes . github ;
22
33module . exports = {
44 ...darkTheme ,
Original file line number Diff line number Diff line change 1- const lightTheme = require ( 'prism-react-renderer/themes/github' ) ;
1+ const lightTheme = require ( 'prism-react-renderer' ) . themes . github ;
22
33module . exports = {
44 ...lightTheme ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const MDXDetails = (props) => {
66 // Split summary item from the rest to pass it as a separate prop to the
77 // Details theme component
88 const summary = items . find (
9- ( item ) => React . isValidElement ( item ) && item . props ?. mdxType === 'summary'
9+ ( item ) => React . isValidElement ( item ) && item . type === 'summary'
1010 ) ;
1111
1212 const children = < > { items . filter ( ( item ) => item !== summary ) } </ > ;
Original file line number Diff line number Diff line change 11{
22 // This file is not used in compilation. It is here just for a nice editor experience.
3- "extends" : " @tsconfig/ docusaurus/tsconfig.json " ,
3+ "extends" : " @docusaurus/tsconfig" ,
44 "compilerOptions" : {
55 "baseUrl" : " ."
66 }
You can’t perform that action at this time.
0 commit comments