diff --git a/craco.config.js b/craco.config.js deleted file mode 100644 index 9a30aba..0000000 --- a/craco.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - style: { - postcss: { - plugins: [require('tailwindcss'), require('autoprefixer')], - }, - }, -} diff --git a/package.json b/package.json index 99b2731..e9aa8c7 100644 --- a/package.json +++ b/package.json @@ -6,21 +6,20 @@ "license": "MIT", "homepage": "/protocols", "dependencies": { - "@craco/craco": "^6.1.1", "@headlessui/react": "^1.4.1", "@vscode/codicons": "^0.0.21", "plausible-tracker": "^0.3.1", "react": "^17.0.2", "react-dom": "^17.0.2", - "react-scripts": "4.0.3", + "react-scripts": "5.0.0", "web-vitals": "^2.1.0", "wouter": "^2.7.4" }, "scripts": { - "start": "craco start", - "build": "env BUILD_PATH=build/protocols craco build", + "start": "react-scripts start", + "build": "env BUILD_PATH=build/protocols react-scripts build", "postbuild": "ts-node --project=./tsconfig.scripts.json ./scripts/bin/render-static-html.tsx", - "test": "craco test", + "test": "react-scripts test", "regenerate-protocols": "ts-node --project=./tsconfig.scripts.json ./scripts/bin/regenerate-protocols-data.ts", "print-registry": "ts-node --project=./tsconfig.scripts.json ./scripts/bin/print-protocol-registry-items.ts", "eject": "react-scripts eject" @@ -62,15 +61,15 @@ "@types/node": "^16.7.10", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", - "autoprefixer": "^9", + "autoprefixer": "^10.4.2", "fast-xml-parser": "^4.0.1", "html-minifier": "^4.0.0", "husky": "^7.0.2", "lint-staged": "^12.3.1", - "postcss": "^7", + "postcss": "^8.4.5", "prettier": "^2.3.2", "tailwind-scrollbar": "^1.3.1", - "tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.4", + "tailwindcss": "^3.0.16", "ts-node": "^10.2.1", "typescript": "^4.4.2" } diff --git a/src/components/breadcrumbs/Breadcrumbs.tsx b/src/components/breadcrumbs/Breadcrumbs.tsx index 6fcc90b..23e513c 100644 --- a/src/components/breadcrumbs/Breadcrumbs.tsx +++ b/src/components/breadcrumbs/Breadcrumbs.tsx @@ -61,7 +61,7 @@ export const Breadcrumbs: React.FC<{ metadata: WaylandProtocolMetadata }> = ({
{/* Heroicon name: solid/chevron-right */} = ({
{/* Heroicon name: solid/chevron-right */} void }> = ({ setIsSidebarOpen, setIsOutlineOpen, showOutlineButton }) => (
-
+