Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const docusaurusConfig = withSiteConfig().then(async (siteConfig) => {
},
future: {
v4: true,
experimental_faster: {
faster: {
/**
* no config options for swcJsLoader so far.
* Instead configure it over the jsLoader in the next step
Expand All @@ -156,7 +156,8 @@ const docusaurusConfig = withSiteConfig().then(async (siteConfig) => {
rspackPersistentCache: process.env.NETLIFY ? false : true,
mdxCrossCompilerCache: true,
ssgWorkerThreads: true
}
},
experimental_vcs: 'default-v2'
},
webpack: {
jsLoader: (isServer) => {
Expand Down
76 changes: 38 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "concurrently --raw --kill-others 'PACKAGE_SRC=packages PACKAGE_DEST=tdev-website/docs/packages docusaurus start' 'sleep 1s && ts-node updateSync/packageDocsSync/watch.ts --src packages --dest tdev-website/docs/packages'",
"prebuild": "ts-node updateSync/packageDocsSync/preBuild.ts --src packages --dest tdev-website/docs/packages",
"start": "concurrently --raw --kill-others 'PACKAGE_SRC=packages PACKAGE_DEST=tdev-website/docs/packages docusaurus start' 'sleep 1s && ts-node --files updateSync/packageDocsSync/watch.ts --src packages --dest tdev-website/docs/packages'",
"prebuild": "ts-node --files updateSync/packageDocsSync/preBuild.ts --src packages --dest tdev-website/docs/packages",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
Expand All @@ -21,15 +21,15 @@
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest --coverage",
"updateTdev": "ts-node updateSync/updateTdev.ts"
"updateTdev": "ts-node --files updateSync/updateTdev.ts"
},
"dependencies": {
"@docusaurus/core": "^3.9.2",
"@docusaurus/faster": "^3.9.2",
"@docusaurus/preset-classic": "^3.9.2",
"@docusaurus/theme-classic": "^3.9.2",
"@docusaurus/theme-common": "^3.9.2",
"@docusaurus/theme-mermaid": "^3.9.2",
"@docusaurus/core": "^3.10.0",
"@docusaurus/faster": "^3.10.0",
"@docusaurus/preset-classic": "^3.10.0",
"@docusaurus/theme-classic": "^3.10.0",
"@docusaurus/theme-common": "^3.10.0",
"@docusaurus/theme-mermaid": "^3.10.0",
"@lexical/clipboard": "^0.35.0",
"@lexical/link": "^0.35.0",
"@lexical/list": "^0.35.0",
Expand All @@ -41,27 +41,27 @@
"@lexical/utils": "^0.35.0",
"@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1",
"@mdx-js/react": "^3.0.0",
"@mdxeditor/editor": "^3.50.0",
"@mermaid-js/layout-elk": "^0.2.0",
"@mdx-js/react": "^3.1.1",
"@mdxeditor/editor": "^3.54.0",
"@mermaid-js/layout-elk": "^0.2.1",
"@octokit/rest": "^21.1.0",
"@sentry/react": "^9.12.0",
"@sentry/webpack-plugin": "^3.3.1",
"ace-builds": "^1.41.0",
"axios": "^1.9.0",
"ace-builds": "^1.43.6",
"axios": "^1.14.0",
"better-auth": "^1.4.9",
"browser-image-compression": "^2.0.2",
"clsx": "^2.1.1",
"docusaurus-plugin-sass": "^0.2.6",
"dotenv": "^16.5.0",
"es-toolkit": "^1.39.10",
"dotenv": "^17.4.1",
"es-toolkit": "^1.45.1",
"exceljs": "^4.4.0",
"gray-matter": "^4.0.3",
"hashery": "^1.3.0",
"hashery": "^1.5.1",
"heic2any": "^0.0.4",
"idb": "^8.0.3",
"js-yaml": "^4.1.0",
"known-css-properties": "^0.36.0",
"js-yaml": "^4.1.1",
"known-css-properties": "^0.37.0",
"mdast-util-gfm-footnote": "^2.1.0",
"mdast-util-math": "^3.0.0",
"micromark-extension-math": "^3.1.0",
Expand All @@ -73,45 +73,45 @@
"qrcode.react": "^4.2.0",
"quill": "^2.0.3",
"raw-loader": "^4.0.2",
"rc-slider": "^11.1.8",
"react": "^19.2.0",
"rc-slider": "^11.1.9",
"react": "^19.2.4",
"react-ace": "^14.0.1",
"react-diff-viewer-continued": "^3.4.0",
"react-dom": "^19.2.0",
"react-dom": "^19.2.4",
"react-draggable": "^4.5.0",
"react-katex": "^3.0.1",
"react-katex": "^3.1.0",
"react-quilljs": "^2.0.5",
"react-select": "^5.10.1",
"react-select": "^5.10.2",
"reactjs-popup": "^2.0.6",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0",
"sass": "^1.93.2",
"socket.io-client": "^4.8.1",
"sass": "^1.99.0",
"socket.io-client": "^4.8.3",
"uuid": "^13.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.9.2",
"@docusaurus/plugin-rsdoctor": "^3.9.2",
"@docusaurus/tsconfig": "^3.9.2",
"@docusaurus/types": "^3.9.2",
"@types/exceljs": "^1.3.0",
"@docusaurus/module-type-aliases": "^3.10.0",
"@docusaurus/plugin-rsdoctor": "^3.10.0",
"@docusaurus/tsconfig": "^3.10.0",
"@docusaurus/types": "^3.10.0",
"@types/exceljs": "^1.3.2",
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/micromatch": "^4.0.9",
"@types/micromatch": "^4.0.10",
"@types/minimist": "^1.2.5",
"@types/react-dom": "^19.0.3",
"@types/react-dom": "^19.2.3",
"@types/react-katex": "^3.0.4",
"@types/uuid": "^10.0.0",
"@types/wicg-file-system-access": "^2023.10.6",
"@types/uuid": "^11.0.0",
"@types/wicg-file-system-access": "^2023.10.7",
"@vitest/coverage-v8": "^2.0.5",
"concurrently": "^9.2.1",
"fs-extra": "^11.2.0",
"prettier": "^3.3.2",
"fs-extra": "^11.3.4",
"prettier": "^3.8.1",
"remark": "^15.0.1",
"remark-directive": "^4.0.0",
"remark-frontmatter": "^5.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"typescript": "^6.0.2",
"vfile": "^6.0.3",
"vitest": "^2.0.5"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/tdev/page-index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"version": "1.0.0",
"main": "index.ts",
"types": "index.ts",
"dependencies": {},
"dependencies": { },
"devDependencies": {
"@docusaurus/core": "*",
"@docusaurus/module-type-aliases": "*",
"@types/better-sqlite3": "^7.6.13",
"better-sqlite3": "^12.6.2"
"better-sqlite3": "^12.8.0"
},
"peerDependencies": {
"@tdev/core": "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/tdev/pyodide-code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"types": "index.ts",
"dependencies": {
"comlink": "^4.4.2",
"pyodide": "^0.29.1"
"pyodide": "^0.29.3"
},
"devDependencies": {
"@docusaurus/core": "*",
Expand Down
2 changes: 1 addition & 1 deletion packages/tdev/remark-graphviz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "remark-plugin/index.ts",
"types": "remark-plugin/index.ts",
"dependencies": {
"@hpcc-js/wasm-graphviz": "^1.7.0"
"@hpcc-js/wasm-graphviz": "^1.21.2"
},
"devDependencies": {
"vitest": "*",
Expand Down
4 changes: 2 additions & 2 deletions packages/tdev/remark-pdf/PdfViewer/PdfViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import styles from './PdfViewer.module.scss';
import clsx from 'clsx';
import React, { useState } from 'react';
import { pdfjs, Document, Page } from 'react-pdf';
import 'react-pdf/dist/esm/Page/AnnotationLayer.css';
import 'react-pdf/dist/esm/Page/TextLayer.css';
import 'react-pdf/dist/Page/AnnotationLayer.css';
import 'react-pdf/dist/Page/TextLayer.css';
import Icon from '@mdi/react';
import { mdiArrowLeftCircle, mdiArrowRightCircle, mdiDownload } from '@mdi/js';
import Button from '@tdev-components/shared/Button';
Expand Down
2 changes: 1 addition & 1 deletion packages/tdev/webserial/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"w3c-web-serial",
"docusaurus-plugin-sass",
"@docusaurus/module-type-aliases",
"@types/node",
"node",
"@types/wicg-file-system-access"
]
}
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// This file is not used in compilation. It is here just for a nice editor experience.
"extends": "./tsconfig.tdev.json",
"compilerOptions": {
"ignoreDeprecations": "6.0",
"paths": {
"@tdev-components/*": ["tdev-website/website/components/*", "src/components/*"],
"@tdev-hooks/*": ["tdev-website/website/hooks/*", "src/hooks/*"],
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.tdev.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"extends": "@docusaurus/tsconfig",
"compilerOptions": {
"baseUrl": ".",
"ignoreDeprecations": "6.0",
"experimentalDecorators": false,
"types": [
"docusaurus-plugin-sass",
"@docusaurus/module-type-aliases",
"@types/node",
"node",
"@types/wicg-file-system-access"
],
"module": "esnext",
Expand Down
4 changes: 2 additions & 2 deletions updateSync/packageDocsSync/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export const getDebouncedSyncer = async (packageDir: string, destDir: string) =>
}
});

const setPackageConfig = async (pkgKey: string, newConfig?: TdevPackageConfig) => {
const setPackageConfig = async (pkgKey: string, newConfig?: TdevPackageConfig | null) => {
if (!newConfig) {
return false;
}
Expand Down Expand Up @@ -257,7 +257,7 @@ export const getDebouncedSyncer = async (packageDir: string, destDir: string) =>
(newConfig) => {
return setPackageConfig(pkgKey, newConfig).then((changed) => {
if (changed) {
return syncDocsFolder(newConfig, destDir);
return syncDocsFolder(newConfig!, destDir);
}
return Promise.resolve(`ℹ️ ${pkgKey} docs config unchanged.`);
});
Expand Down
1 change: 1 addition & 0 deletions updateSync/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"rootDir": "./",
"esModuleInterop": true,
"skipLibCheck": true,
"ignoreDeprecations": "6.0",
"baseUrl": "../../",
"paths": {
"*": ["node_modules/*"]
Expand Down
Loading
Loading