diff --git a/.yarnrc.yml b/.yarnrc.yml index c875f0b..970533c 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,12 +1,12 @@ compressionLevel: mixed -plugins: - - checksum: 7930a64ba6239d4502df0204edda913788df1a9614a9056d23b53345d844f6f13526dae71c2be5282071502c3c077db7b1e97bcf019037db3ca35c737cd25b0c - path: .yarn/plugins/plugin-dedupe-on-install.cjs - spec: "https://raw.githubusercontent.com/ambar/yarn-plugin-dedupe-on-install/main/index.js" - packageExtensions: react-plotly.js@*: peerDependenciesMeta: plotly.js: optional: true + +plugins: + - checksum: 7930a64ba6239d4502df0204edda913788df1a9614a9056d23b53345d844f6f13526dae71c2be5282071502c3c077db7b1e97bcf019037db3ca35c737cd25b0c + path: .yarn/plugins/plugin-dedupe-on-install.cjs + spec: "https://raw.githubusercontent.com/ambar/yarn-plugin-dedupe-on-install/main/index.js" diff --git a/package.json b/package.json index 763f384..0e569f7 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@matejmazur/react-katex": "^3.1.3", "@mui/icons-material": "^6.3.1", "@mui/material": "^6.3.1", - "@mui/system": "^6.1.0", + "@mui/system": "^6.3.1", "fetch-suspense": "^1.2.2", "katex": "^0.16.19", "merge-sx": "^3.3.1", @@ -38,7 +38,6 @@ "react": "^19.0.0", "react-dom": "^19.0.0", "react-error-boundary": "^5.0.0", - "react-helmet-async": "^2.0.5", "react-is": "^19.0.0", "react-plotly.js": "^2.6.0", "react-portal-target": "^1.0.2", @@ -73,11 +72,11 @@ "restructured": "^0.0.11", "rollup": "^4.29.1", "typescript": "^5.7.2", - "unplugin-fonts": "^1.1.1", + "unplugin-fonts": "^1.3.1", "vite": "^6.0.5", "vite-bundle-visualizer": "^1.2.1" }, - "packageManager": "yarn@4.5.3", + "packageManager": "yarn@4.6.0", "lint-staged": { "!(rawPosts)": "biome check --no-errors-on-unmatched --files-ignore-unknown=true --write" } diff --git a/src/components/routes/App/index.tsx b/src/components/routes/App/index.tsx index b2eae77..e60ef01 100644 --- a/src/components/routes/App/index.tsx +++ b/src/components/routes/App/index.tsx @@ -1,5 +1,4 @@ import { useMemo } from 'react' -import { Helmet } from 'react-helmet-async' import { PortalTarget } from 'react-portal-target' import { Link, Navigate, Route, matchPath, useLocation } from 'react-router-dom' import SlideRoutes from 'react-slide-routes' @@ -79,9 +78,7 @@ const App = () => { return ( - - phil.red - + phil.red { } return ( <> - - - {document.title} - {' – '} - Blog – phil.red - - + + {document.title} + {' – Blog – phil.red'} + ) @@ -74,9 +70,7 @@ const RoutedPost: FC = () => { const Blog = () => ( <> - - Blog – phil.red - + Blog – phil.red } /> } /> diff --git a/src/components/routes/Code/index.tsx b/src/components/routes/Code/index.tsx index fea7c34..f06949f 100644 --- a/src/components/routes/Code/index.tsx +++ b/src/components/routes/Code/index.tsx @@ -1,5 +1,4 @@ import { createElement } from 'react' -import { Helmet } from 'react-helmet-async' import { isValidElementType } from 'react-is' import Avatar from '@mui/material/Avatar' @@ -110,9 +109,7 @@ const GitHubItems = () => ( const Code = () => ( <> - - Code – phil.red - + Code – phil.red { const root = createRoot(elem) root.render( - - - - - + + + , ) }) diff --git a/yarn.lock b/yarn.lock index 499afbb..e73aed5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -807,7 +807,7 @@ __metadata: languageName: node linkType: hard -"@mui/system@npm:^6.1.0, @mui/system@npm:^6.3.1": +"@mui/system@npm:^6.3.1": version: 6.3.1 resolution: "@mui/system@npm:6.3.1" dependencies: @@ -1567,12 +1567,12 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.11.2": - version: 8.11.2 - resolution: "acorn@npm:8.11.2" +"acorn@npm:^8.14.0": + version: 8.14.0 + resolution: "acorn@npm:8.14.0" bin: acorn: bin/acorn - checksum: 10/ff559b891382ad4cd34cc3c493511d0a7075a51f5f9f02a03440e92be3705679367238338566c5fbd3521ecadd565d29301bc8e16cb48379206bffbff3d72500 + checksum: 10/6df29c35556782ca9e632db461a7f97947772c6c1d5438a81f0c873a3da3a792487e83e404d1c6c25f70513e91aa18745f6eafb1fcc3a43ecd1920b21dd173d2 languageName: node linkType: hard @@ -1645,16 +1645,6 @@ __metadata: languageName: node linkType: hard -"anymatch@npm:~3.1.2": - version: 3.1.3 - resolution: "anymatch@npm:3.1.3" - dependencies: - normalize-path: "npm:^3.0.0" - picomatch: "npm:^2.0.4" - checksum: 10/3e044fd6d1d26545f235a9fe4d7a534e2029d8e59fa7fd9f2a6eb21230f6b5380ea1eaf55136e60cbf8e613544b3b766e7a6fa2102e2a3a117505466e3025dc2 - languageName: node - linkType: hard - "aproba@npm:^1.0.3 || ^2.0.0": version: 2.0.0 resolution: "aproba@npm:2.0.0" @@ -1734,13 +1724,6 @@ __metadata: languageName: node linkType: hard -"binary-extensions@npm:^2.0.0": - version: 2.2.0 - resolution: "binary-extensions@npm:2.2.0" - checksum: 10/ccd267956c58d2315f5d3ea6757cf09863c5fc703e50fbeb13a7dc849b812ef76e3cf9ca8f35a0c48498776a7478d7b4a0418e1e2b8cb9cb9731f2922aaad7f8 - languageName: node - linkType: hard - "brace-expansion@npm:^1.1.7": version: 1.1.11 resolution: "brace-expansion@npm:1.1.11" @@ -1760,7 +1743,7 @@ __metadata: languageName: node linkType: hard -"braces@npm:^3.0.3, braces@npm:~3.0.2": +"braces@npm:^3.0.3": version: 3.0.3 resolution: "braces@npm:3.0.3" dependencies: @@ -1910,25 +1893,6 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.5.3": - version: 3.5.3 - resolution: "chokidar@npm:3.5.3" - dependencies: - anymatch: "npm:~3.1.2" - braces: "npm:~3.0.2" - fsevents: "npm:~2.3.2" - glob-parent: "npm:~5.1.2" - is-binary-path: "npm:~2.1.0" - is-glob: "npm:~4.0.1" - normalize-path: "npm:~3.0.0" - readdirp: "npm:~3.6.0" - dependenciesMeta: - fsevents: - optional: true - checksum: 10/863e3ff78ee7a4a24513d2a416856e84c8e4f5e60efbe03e8ab791af1a183f569b62fc6f6b8044e2804966cb81277ddbbc1dc374fba3265bd609ea8efd62f5b3 - languageName: node - linkType: hard - "chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -2637,7 +2601,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.2, fast-glob@npm:^3.3.2": +"fast-glob@npm:^3.2.2, fast-glob@npm:^3.3.2": version: 3.3.2 resolution: "fast-glob@npm:3.3.2" dependencies: @@ -2811,7 +2775,7 @@ __metadata: languageName: node linkType: hard -"glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": +"glob-parent@npm:^5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" dependencies: @@ -3172,15 +3136,6 @@ __metadata: languageName: node linkType: hard -"invariant@npm:^2.2.4": - version: 2.2.4 - resolution: "invariant@npm:2.2.4" - dependencies: - loose-envify: "npm:^1.0.0" - checksum: 10/cc3182d793aad82a8d1f0af697b462939cb46066ec48bbf1707c150ad5fad6406137e91a262022c269702e01621f35ef60269f6c0d7fd178487959809acdfb14 - languageName: node - linkType: hard - "ip@npm:^2.0.0": version: 2.0.1 resolution: "ip@npm:2.0.1" @@ -3212,15 +3167,6 @@ __metadata: languageName: node linkType: hard -"is-binary-path@npm:~2.1.0": - version: 2.1.0 - resolution: "is-binary-path@npm:2.1.0" - dependencies: - binary-extensions: "npm:^2.0.0" - checksum: 10/078e51b4f956c2c5fd2b26bb2672c3ccf7e1faff38e0ebdba45612265f4e3d9fc3127a1fa8370bbf09eab61339203c3d3b7af5662cbf8be4030f8fac37745b0e - languageName: node - linkType: hard - "is-core-module@npm:^2.12.0, is-core-module@npm:^2.13.0": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" @@ -3278,7 +3224,7 @@ __metadata: languageName: node linkType: hard -"is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": +"is-glob@npm:^4.0.1, is-glob@npm:^4.0.3": version: 4.0.3 resolution: "is-glob@npm:4.0.3" dependencies: @@ -3496,7 +3442,7 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0, loose-envify@npm:^1.4.0": +"loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -3843,13 +3789,6 @@ __metadata: languageName: node linkType: hard -"normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": - version: 3.0.0 - resolution: "normalize-path@npm:3.0.0" - checksum: 10/88eeb4da891e10b1318c4b2476b6e2ecbeb5ff97d946815ffea7794c31a89017c70d7f34b3c2ebf23ef4e9fc9fb99f7dffe36da22011b5b5c6ffa34f4873ec20 - languageName: node - linkType: hard - "normalize-url@npm:^6.0.1": version: 6.1.0 resolution: "normalize-url@npm:6.1.0" @@ -4054,7 +3993,7 @@ __metadata: "@matejmazur/react-katex": "npm:^3.1.3" "@mui/icons-material": "npm:^6.3.1" "@mui/material": "npm:^6.3.1" - "@mui/system": "npm:^6.1.0" + "@mui/system": "npm:^6.3.1" "@total-typescript/ts-reset": "npm:^0.6.1" "@tsconfig/strictest": "npm:^2.0.5" "@types/estree": "npm:^1.0.5" @@ -4085,7 +4024,6 @@ __metadata: react: "npm:^19.0.0" react-dom: "npm:^19.0.0" react-error-boundary: "npm:^5.0.0" - react-helmet-async: "npm:^2.0.5" react-is: "npm:^19.0.0" react-json-tree: "npm:^0.19.0" react-plotly.js: "npm:^2.6.0" @@ -4096,7 +4034,7 @@ __metadata: rollup: "npm:^4.29.1" typed-jsx: "npm:^0.1.1" typescript: "npm:^5.7.2" - unplugin-fonts: "npm:^1.1.1" + unplugin-fonts: "npm:^1.3.1" vite: "npm:^6.0.5" vite-bundle-visualizer: "npm:^1.2.1" languageName: unknown @@ -4109,7 +4047,7 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.3.1": +"picomatch@npm:^2.2.1, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 10/60c2595003b05e4535394d1da94850f5372c9427ca4413b71210f437f7b2ca091dbd611c45e8b37d10036fa8eade25c1b8951654f9d3973bfa66a2ff4d3b08bc @@ -4385,26 +4323,6 @@ __metadata: languageName: node linkType: hard -"react-fast-compare@npm:^3.2.2": - version: 3.2.2 - resolution: "react-fast-compare@npm:3.2.2" - checksum: 10/a6826180ba75cefba1c8d3ac539735f9b627ca05d3d307fe155487f5d0228d376dac6c9708d04a283a7b9f9aee599b637446635b79c8c8753d0b4eece56c125c - languageName: node - linkType: hard - -"react-helmet-async@npm:^2.0.5": - version: 2.0.5 - resolution: "react-helmet-async@npm:2.0.5" - dependencies: - invariant: "npm:^2.2.4" - react-fast-compare: "npm:^3.2.2" - shallowequal: "npm:^1.1.0" - peerDependencies: - react: ^16.6.0 || ^17.0.0 || ^18.0.0 - checksum: 10/03a8fbf4779c90899012809da09a6b174a2e11e2db4c7f4e61672903dd4e2f3bb732619da4254fc874c502251a07c8da01c752ed7d6df429c7718cf8451d176a - languageName: node - linkType: hard - "react-is@npm:^16.13.1, react-is@npm:^16.7.0": version: 16.13.1 resolution: "react-is@npm:16.13.1" @@ -4538,7 +4456,7 @@ __metadata: languageName: node linkType: hard -"readdirp@npm:^3.6.0, readdirp@npm:~3.6.0": +"readdirp@npm:^3.6.0": version: 3.6.0 resolution: "readdirp@npm:3.6.0" dependencies: @@ -4897,13 +4815,6 @@ __metadata: languageName: node linkType: hard -"shallowequal@npm:^1.1.0": - version: 1.1.0 - resolution: "shallowequal@npm:1.1.0" - checksum: 10/f4c1de0837f106d2dbbfd5d0720a5d059d1c66b42b580965c8f06bb1db684be8783538b684092648c981294bf817869f743a066538771dbecb293df78f765e00 - languageName: node - linkType: hard - "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -5315,31 +5226,29 @@ __metadata: languageName: node linkType: hard -"unplugin-fonts@npm:^1.1.1": - version: 1.1.1 - resolution: "unplugin-fonts@npm:1.1.1" +"unplugin-fonts@npm:^1.3.1": + version: 1.3.1 + resolution: "unplugin-fonts@npm:1.3.1" dependencies: - fast-glob: "npm:^3.2.12" - unplugin: "npm:^1.3.1" + fast-glob: "npm:^3.3.2" + unplugin: "npm:2.0.0-beta.1" peerDependencies: "@nuxt/kit": ^3.0.0 - vite: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 + vite: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 peerDependenciesMeta: "@nuxt/kit": optional: true - checksum: 10/32d5f36b5d9b5c4f1159b2db2dd168e7099288f700085a16b8e2968901d97e6d2fb15ee8241d90f16541472dcff6146c88ebedcf09c70f9f4bdfe990539ee799 + checksum: 10/980c927d95d825fe7889dbecd8425fb528282ac6d40680ccbadfdfee943b7b77ce8280dfbb7ef79b4e5da98f17cf7a11cde1af31eafec4816dd620071f4d84ab languageName: node linkType: hard -"unplugin@npm:^1.3.1": - version: 1.5.1 - resolution: "unplugin@npm:1.5.1" +"unplugin@npm:2.0.0-beta.1": + version: 2.0.0-beta.1 + resolution: "unplugin@npm:2.0.0-beta.1" dependencies: - acorn: "npm:^8.11.2" - chokidar: "npm:^3.5.3" - webpack-sources: "npm:^3.2.3" - webpack-virtual-modules: "npm:^0.6.0" - checksum: 10/470575a98514a394b667305878390ed244cf0bea80cc65c4700806dc12e48d3ae03e38c72ce1a4db23540307e98b68a8213c5fda319cecc5e844ad1975d2d9b0 + acorn: "npm:^8.14.0" + webpack-virtual-modules: "npm:^0.6.2" + checksum: 10/f5f01c2808ad5fa07634f016701ddcd2f8ee17e4c0e9cc29325b40850b7a2c62bea6e0c48446baae87ca7fdf7c8276e826271537b54daf1570cbadcd826c88fd languageName: node linkType: hard @@ -5430,17 +5339,10 @@ __metadata: languageName: node linkType: hard -"webpack-sources@npm:^3.2.3": - version: 3.2.3 - resolution: "webpack-sources@npm:3.2.3" - checksum: 10/a661f41795d678b7526ae8a88cd1b3d8ce71a7d19b6503da8149b2e667fc7a12f9b899041c1665d39e38245ed3a59ab68de648ea31040c3829aa695a5a45211d - languageName: node - linkType: hard - -"webpack-virtual-modules@npm:^0.6.0": - version: 0.6.1 - resolution: "webpack-virtual-modules@npm:0.6.1" - checksum: 10/12a43ecdb910185c9d7e4ec19cc3b13bff228dae362e8a487c0bd292b393555e017ad16f771d5ce5b692d91d65b71a7bcd64763958d39066a5351ea325395539 +"webpack-virtual-modules@npm:^0.6.2": + version: 0.6.2 + resolution: "webpack-virtual-modules@npm:0.6.2" + checksum: 10/d9a0d035f7ec0c7f1055aaf88bfe48b7f96458043916a1b2926d9012fd61de3810a6b768e31a8cd4b3c84a9b6d55824361a9dd20aaf9f5ccfb6f017af216a178 languageName: node linkType: hard